[MacPorts] #35036: kde4 baseapps crash (compiled from source for different root tree)
#35036: kde4 baseapps crash (compiled from source for different root tree) --------------------------------+------------------------------------------- Reporter: estellnb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: kde4-baseapps, kdegames4 --------------------------------+------------------------------------------- # /opt/kde-local/bin/servicemenuinstallation /opt/kde-local/bin/servicemenuinstallation:7: undefined method `length' for nil:NilClass (NoMethodError) # /opt/kde-local/bin/kde-open / Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! kioclient(329): Session bus not found Abort trap: 6 Though kdebase4 and kde4-baseapps are installed no appropriate runtime environment seems to be in place. I can not even find konqueror: # port contents kde4-baseapps | grep bin /opt/kde-local/bin/kfmclient /opt/kde-local/bin/servicemenudeinstallation /opt/kde-local/bin/servicemenuinstallation # port installed | grep kde | grep @4 kde4-baseapps @4.8.3_0 (active) kde4-runtime @4.8.3_1 (active) kdegames4 @4.8.3_0 (active) kdelibs4 @4.8.3_2 (active) kdepimlibs4 @4.8.3_0 (active) Alle kdegames4 crash: kmahjongg, kfourline, ... -- Ticket URL: <https://trac.macports.org/ticket/35036> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35036: kde4 baseapps crash (compiled from source for different root tree) --------------------------------+------------------------------------------- Reporter: estellnb@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: kde4-baseapps, kdegames4 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: sharky@… (added) * owner: macports-tickets@… => snc@… Old description:
# /opt/kde-local/bin/servicemenuinstallation /opt/kde-local/bin/servicemenuinstallation:7: undefined method `length' for nil:NilClass (NoMethodError)
# /opt/kde-local/bin/kde-open / Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! kioclient(329): Session bus not found Abort trap: 6
Though kdebase4 and kde4-baseapps are installed no appropriate runtime environment seems to be in place. I can not even find konqueror:
# port contents kde4-baseapps | grep bin /opt/kde-local/bin/kfmclient /opt/kde-local/bin/servicemenudeinstallation /opt/kde-local/bin/servicemenuinstallation
# port installed | grep kde | grep @4 kde4-baseapps @4.8.3_0 (active) kde4-runtime @4.8.3_1 (active) kdegames4 @4.8.3_0 (active) kdelibs4 @4.8.3_2 (active) kdepimlibs4 @4.8.3_0 (active)
Alle kdegames4 crash: kmahjongg, kfourline, ...
New description: {{{ # /opt/kde-local/bin/servicemenuinstallation /opt/kde-local/bin/servicemenuinstallation:7: undefined method `length' for nil:NilClass (NoMethodError) # /opt/kde-local/bin/kde-open / Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! kioclient(329): Session bus not found Abort trap: 6 }}} Though kdebase4 and kde4-baseapps are installed no appropriate runtime environment seems to be in place. I can not even find konqueror: {{{ # port contents kde4-baseapps | grep bin /opt/kde-local/bin/kfmclient /opt/kde-local/bin/servicemenudeinstallation /opt/kde-local/bin/servicemenuinstallation # port installed | grep kde | grep @4 kde4-baseapps @4.8.3_0 (active) kde4-runtime @4.8.3_1 (active) kdegames4 @4.8.3_0 (active) kdelibs4 @4.8.3_2 (active) kdepimlibs4 @4.8.3_0 (active) }}} Alle kdegames4 crash: kmahjongg, kfourline, ... -- Comment: Please use WikiFormatting when writing in Trac. -- Ticket URL: <https://trac.macports.org/ticket/35036#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35036: kde4 baseapps crash (compiled from source for different root tree) --------------------------------+------------------------------------------- Reporter: estellnb@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: kde4-baseapps, kdegames4 --------------------------------+------------------------------------------- Comment(by estellnb@…): If I run it from the command line I get the following error messages (PATH & DYLD_LIBRARY_PATH set correctly as in shell): {{{ $ /Applications/MacPorts/KDE4/kmahjongg.app/Contents/MacOS/kmahjongg dyld: Symbol not found: __cg_jpeg_resync_to_restart Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO Expected in: /opt/kde-local/lib/libJPEG.dylib in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO Trace/BPT trap: 5 }}} -- Ticket URL: <https://trac.macports.org/ticket/35036#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35036: kde4 baseapps crash (compiled from source for different root tree) --------------------------------+------------------------------------------- Reporter: estellnb@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: kde4-baseapps, kdegames4 --------------------------------+------------------------------------------- Comment(by estellnb@…): After an update I get the following messages: {{{ $ /Applications/MacPorts/KDE4/kmahjongg.app/Contents/MacOS/kmahjongg QIODevice::setTextModeEnabled: The device is not open kmahjongg(59894)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. kmahjongg(59894)/KSharedDataCache: Unable to find an appropriate lock to guard the shared cache. This *should* be essentially impossible. :( kmahjongg(59894)/KSharedDataCache: Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise. kmahjongg(59894)/KSharedDataCache: Unable to unmap shared memory segment 0x10c34a000 Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! kmahjongg(59894)/kdeui (kdelibs): Session bus not found To circumvent this problem try the following command (with Linux and bash) export $(dbus-launch) KCrash: Application 'kmahjongg' crashing... KCrash: Attempting to start /opt/kde- local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi from kdeinit Warning: Path of socketfile exceeds UNIX_PATH_MAX. KCrash: Attempting to start /opt/kde- local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi directly QIODevice::setTextModeEnabled: The device is not open QProcess: Destroyed while process is still running. }}} Crucial programs like startkde and konqueror are still missing. Is there anything I can install additionally to kde4-baseapps&-runtime or have you simply forgotten about the kde4base? -- Ticket URL: <https://trac.macports.org/ticket/35036#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35036: kde4 baseapps crash (compiled from source for different root tree) --------------------------------+------------------------------------------- Reporter: estellnb@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: kde4-baseapps, kdegames4 --------------------------------+------------------------------------------- Comment(by estellnb@…): $ dbus-launch Failed to start message bus: launchd's environment variable DBUS_LAUNCHD_SESSION_BUS_SOCKET is empty, but should contain a socket path. EOF in dbus-launch reading address from bus daemon # export DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/dbus.sock # dbus-launch Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation not permitted EOF in dbus-launch reading address from bus daemon # whoami root -- Ticket URL: <https://trac.macports.org/ticket/35036#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35036: kde4 baseapps crash (compiled from source for different root tree) --------------------------------+------------------------------------------- Reporter: estellnb@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: kde4-baseapps, kdegames4 --------------------------------+------------------------------------------- Comment(by vloodo@…): Replying to [comment:4 estellnb@…]:
$ dbus-launch Failed to start message bus: launchd's environment variable DBUS_LAUNCHD_SESSION_BUS_SOCKET is empty, but should contain a socket path.
EOF in dbus-launch reading address from bus daemon
# export DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/dbus.sock # dbus-launch Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation not permitted
EOF in dbus-launch reading address from bus daemon # whoami root
What happens when you try to start kdeinit manually from the {{{/Applications/MacPorts/KDE4/kdeinit4.app/Contents/MacOS/}}} directory? I am asking this because your problem might be related to ticket #33187. -- Ticket URL: <https://trac.macports.org/ticket/35036#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35036: kde4 baseapps crash (compiled from source for different root tree) --------------------------------+------------------------------------------- Reporter: estellnb@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: kde4-baseapps, kdegames4 --------------------------------+------------------------------------------- Comment(by estellnb@…): Replying to [ticket:35036 estellnb@…]:
{{{ # /opt/kde-local/bin/servicemenuinstallation /opt/kde-local/bin/servicemenuinstallation:7: undefined method `length' for nil:NilClass (NoMethodError)
# /opt/kde-local/bin/kde-open / Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! kioclient(329): Session bus not found Abort trap: 6 }}}
Though kdebase4 and kde4-baseapps are installed no appropriate runtime environment seems to be in place. I can not even find konqueror:
{{{ # port contents kde4-baseapps | grep bin /opt/kde-local/bin/kfmclient /opt/kde-local/bin/servicemenudeinstallation /opt/kde-local/bin/servicemenuinstallation
# port installed | grep kde | grep @4 kde4-baseapps @4.8.3_0 (active) kde4-runtime @4.8.3_1 (active) kdegames4 @4.8.3_0 (active) kdelibs4 @4.8.3_2 (active) kdepimlibs4 @4.8.3_0 (active) }}}
Alle kdegames4 crash: kmahjongg, kfourline, ...
-- Ticket URL: <https://trac.macports.org/ticket/35036#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35036: kde4 baseapps crash (compiled from source for different root tree) --------------------------------+------------------------------------------- Reporter: estellnb@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: kde4-baseapps, kdegames4 --------------------------------+------------------------------------------- Comment(by estellnb@…): {{{ $ /Applications/MacPorts/KDE4/kdeinit4.app/Contents/MacOS/kdeinit4 imac:elm elm$ QIODevice::setTextModeEnabled: The device is not open Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! klauncher(760) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. kdeinit4: Communication error with launcher. Exiting! }}} -- Ticket URL: <https://trac.macports.org/ticket/35036#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35036: kde4 baseapps crash (compiled from source for different root tree) --------------------------------+------------------------------------------- Reporter: estellnb@… | Owner: sharky@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: kde4-baseapps, kdegames4 --------------------------------+------------------------------------------- Changes (by snc@…): * owner: snc@… => sharky@… * cc: sharky@… (removed) * cc: michaelld@… (added) -- Ticket URL: <https://trac.macports.org/ticket/35036#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35036: kde4 baseapps crash (compiled from source for different root tree) --------------------------------+------------------------------------------- Reporter: estellnb@… | Owner: sharky@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: kde4-baseapps, kdegames4 --------------------------------+------------------------------------------- Comment(by estellnb@…): {{{ # export DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/dbus.sock # dbus-launch Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation not permitted> EOF in dbus-launch reading address from bus daemon }}} There are still problems setting up the IPC for dbus. Perhaps an strace (or a similar command for MacOS) could help us forth. Maybe also a look into the old fink repos could help because they would likely have had to solve the same problem. -- Ticket URL: <https://trac.macports.org/ticket/35036#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts