Bug 462251

Summary: kdesrc-build kde-pim throws DBUS error inside kdepim-docker instance
Product: [Developer tools] kdesrc-build Reporter: Bob <kdebugs.20.gordonfj>
Component: generalAssignee: Michael Pyne <mpyne>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Bob 2022-11-25 19:27:29 UTC
SUMMARY
kdesrc-build kde-pim throws DBUS error inside kdepim-docker instance

STEPS TO REPRODUCE
1. Download kubuntu latest iso and install into a new VirtualBox VM instance
2. Follow steps from https://community.kde.org/KDE_PIM/Docker
3. Finally execute most critical step (from section "Running the Docker container"): run.sh $HOME/kdepim-dev

OBSERVED RESULT

bob029345@bob029345-VirtualBox:~/kdepim-docker$ ./run.sh $HOME/kdepim-dev
dbus at unix:abstract=/tmp/dbus-gXoBJ4oY8w,guid=282d241d1cd3b89b30ee8ac66381124a
dbus at 27
dbus killed, starting again
started dbus
neon@367a8b8badc3:~$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease                                                                      
Hit:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease                                                                    
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease                                                                    
Get:5 http://archive.neon.kde.org/unstable jammy InRelease [173 kB]                                                                 
Hit:6 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease          
Fetched 173 kB in 1s (127 kB/s)                                                        
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: http://archive.neon.kde.org/unstable/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
neon@367a8b8badc3:~$ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
neon@367a8b8badc3:~$ kdesrc-build kde-pim
~/kdesrc-build ~
The signatures feature is experimental at /home/neon/kdesrc-build/modules/ksb/Util/LoggedSubprocess.pm line 139.
The signatures feature is experimental at /home/neon/kdesrc-build/modules/ksb/Util/LoggedSubprocess.pm line 165.
The signatures feature is experimental at /home/neon/kdesrc-build/modules/ksb/Util/LoggedSubprocess.pm line 189.
The signatures feature is experimental at /home/neon/kdesrc-build/modules/ksb/Util/LoggedSubprocess.pm line 200.
The signatures feature is experimental at /home/neon/kdesrc-build/modules/ksb/Util/LoggedSubprocess.pm line 217.
The global configuration file is stored in the old location. It will still be
processed correctly, however, it's recommended to move it to the new location.
Please move ~/.kdesrc-buildrc to ~/kdepim/home/config/kdesrc-buildrc

The global data file is stored in the old location. It will still be
processed correctly, however, it's recommended to move it to the new location.
Please move ~/.kdesrc-build-data to ~/.local/state/kdesrc-build-data

Cloning sysadmin-repo-metadata
Encountered an error in the execution of the script.
--> org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

Please submit a bug against kdesrc-build on https://bugs.kde.org/

Your logs are saved in file:///home/neon/kdepim/logs/2022-11-25-01
~
neon@367a8b8badc3:~$

EXPECTED RESULT

The kde run.sh script should execute without any issue as this is done in a Docker container

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.10
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.0-23-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2500K CPU @ 3.30GHz
Memory: 7.8 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: innotek GmbH
Product Name: VirtualBox
System Version: 1.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-11-30 19:22:53 UTC
Not a kdesrc-build issue; the docker container needs the perl dbus package installed in it.