[MacPorts] #31655: kde4-runtime build error

MacPorts noreply at macports.org
Wed Oct 19 03:44:34 PDT 2011


#31655: kde4-runtime build error
------------------------------+---------------------------------------------
 Reporter:  kjesso@…          |       Owner:  snc@…           
     Type:  defect            |      Status:  assigned        
 Priority:  Normal            |   Milestone:                  
Component:  ports             |     Version:  2.0.3           
 Keywords:                    |        Port:  kde4-runtime    
------------------------------+---------------------------------------------

Comment(by kjesso@…):

 Unbelievable, I got it working!!! haha

 Here's what was happening when I ran Krusader from the terminal:

 {{{
 Keith-Jessos-MacBook-Pro:~ kjesso$
 /Applications/MacPorts/KDE4/krusader.app/Contents/MacOS/krusader
 KGlobal::locale::Warning your global KLocale is being recreated with a
 valid main component instead of a fake component, this usually means you
 tried to call i18n related functions before your main component was
 created. You should not do that since it most likely will not work
 krusader(402)/KSharedDataCache ensureFileAllocated: This system misses
 support for posix_fallocate() -- ensure this partition has room for at
 least 10547296 bytes.
 krusader(402)/KSharedDataCache: Unable to find an appropriate lock to
 guard the shared cache.  This *should* be essentially impossible. :(
 krusader(402)/KSharedDataCache: Unable to perform initial setup, this
 system probably does not really support process-shared pthreads or
 semaphores, even though it claims otherwise.
 krusader(402)/KSharedDataCache: Unable to unmap shared memory segment
 0x117bae000
 Dynamic session lookup supported but failed: launchd did not provide a
 socket path, verify that org.freedesktop.dbus-session.plist is loaded!
 krusader(402)/kdeui (kdelibs): Session bus not found
 To circumvent this problem try the following command (with Linux and bash)
 export $(dbus-launch)
 KCrash: Application 'krusader' crashing...
 KCrash: Attempting to start
 /opt/local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi from
 kdeinit
 Warning: Path of socketfile exceeds UNIX_PATH_MAX.
 KCrash: Attempting to start
 /opt/local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi directly
 QProcess: Destroyed while process is still running.
 drkonqi(406)/KSharedDataCache ensureFileAllocated: This system misses
 support for posix_fallocate() -- ensure this partition has room for at
 least 10547296 bytes.
 drkonqi(406)/KSharedDataCache: Unable to find an appropriate lock to guard
 the shared cache.  This *should* be essentially impossible. :(
 drkonqi(406)/KSharedDataCache: Unable to perform initial setup, this
 system probably does not really support process-shared pthreads or
 semaphores, even though it claims otherwise.
 drkonqi(406)/KSharedDataCache: Unable to unmap shared memory segment
 0x118731000
 Dynamic session lookup supported but failed: launchd did not provide a
 socket path, verify that org.freedesktop.dbus-session.plist is loaded!
 drkonqi(406)/kdeui (kdelibs): Session bus not found
 To circumvent this problem try the following command (with Linux and bash)
 export $(dbus-launch)
 Keith-Jessos-MacBook-Pro:~ kjesso$
 }}}

 I also found reference to this error on this page
 https://trac.macports.org/ticket/31355.

 I did another google search with "Warning your global KLocale is being
 recreated with a valid main component instead of a fake component" and
 found some random page saying to run the command '''export $(dbus-
 launch)''', which gave me the following output:

 {{{
 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
 declare -x Apple_PubSub_Socket_Render="/tmp/launch-nYhy7C/Render"
 declare -x COMMAND_MODE="unix2003"
 declare -x DISPLAY="/tmp/launch-KePd2u/org.x:0"
 declare -x HOME="/Users/kjesso"
 declare -x LANG="en_CA.UTF-8"
 declare -x LOGNAME="kjesso"
 declare -x OLDPWD
 declare -x
 PATH="/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
 declare -x PWD="/Users/kjesso"
 declare -x SHELL="/bin/bash"
 declare -x SHLVL="1"
 declare -x SSH_AUTH_SOCK="/tmp/launch-EFnO6k/Listeners"
 declare -x TERM="xterm-color"
 declare -x TERM_PROGRAM="Apple_Terminal"
 declare -x TERM_PROGRAM_VERSION="273.1"
 declare -x TMPDIR="/var/folders/Rv/RvhMqEUAEgWucSbwA3AB0U+++TI/-Tmp-/"
 declare -x USER="kjesso"
 declare -x __CF_USER_TEXT_ENCODING="0x1F5:0:0"
 }}}

 So I did a search on "launchd's environment variable
 DBUS_LAUNCHD_SESSION_BUS_SOCKET is empty but should contain a socket path"
 and found this page
 http://comments.gmane.org/gmane.os.apple.macports.user/23660, which
 basically told me to run the following:

 {{{
 sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-
 system.plist
 launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
 (under your normal user account, *not* as root. See 'port notes dubs')
 }}}

 After this I tried running Krusader again, but this time from the terminal
 (I tried before and it failed with same error). But this time I got the
 following output:

 {{{
 Keith-Jessos-MacBook-Pro:~ kjesso$
 /Applications/MacPorts/KDE4/krusader.app/Contents/MacOS/krusader
 KGlobal::locale::Warning your global KLocale is being recreated with a
 valid main component instead of a fake component, this usually means you
 tried to call i18n related functions before your main component was
 created. You should not do that since it most likely will not work
 krusader(455)/KSharedDataCache ensureFileAllocated: This system misses
 support for posix_fallocate() -- ensure this partition has room for at
 least 10547296 bytes.
 krusader(455)/KSharedDataCache: Unable to find an appropriate lock to
 guard the shared cache.  This *should* be essentially impossible. :(
 krusader(455)/KSharedDataCache: Unable to perform initial setup, this
 system probably does not really support process-shared pthreads or
 semaphores, even though it claims otherwise.
 krusader(455)/KSharedDataCache: Unable to unmap shared memory segment
 0x118600000
 krusader(455): Couldn't start knotify from knotify4.desktop:  "KLauncher
 could not be reached via D-Bus. Error when calling
 start_service_by_desktop_path:
 The name org.kde.klauncher was not provided by any .service files
 "

 krusader(455)/kdeui (KNotification) KNotification::slotReceivedIdError:
 Error while contacting notify daemon "Failed to execute program
 /opt/local/bin/knotify4: Unknown error: 0"
 Connecting to deprecated signal
 QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
 krusader(455)/KSharedDataCache ensureFileAllocated: This system misses
 support for posix_fallocate() -- ensure this partition has room for at
 least 10547296 bytes.
 krusader(455)/KSharedDataCache: Unable to find an appropriate lock to
 guard the shared cache.  This *should* be essentially impossible. :(
 krusader(455)/KSharedDataCache: Unable to perform initial setup, this
 system probably does not really support process-shared pthreads or
 semaphores, even though it claims otherwise.
 krusader(455)/KSharedDataCache: Unable to unmap shared memory segment
 0x11c735000
 krusader(455)/KSharedDataCache ensureFileAllocated: This system misses
 support for posix_fallocate() -- ensure this partition has room for at
 least 10547296 bytes.
 krusader(455)/KSharedDataCache: Unable to find an appropriate lock to
 guard the shared cache.  This *should* be essentially impossible. :(
 krusader(455)/KSharedDataCache: Unable to perform initial setup, this
 system probably does not really support process-shared pthreads or
 semaphores, even though it claims otherwise.
 krusader(455)/KSharedDataCache: Unable to unmap shared memory segment
 0x11c735000
 krusader(455)/KSharedDataCache ensureFileAllocated: This system misses
 support for posix_fallocate() -- ensure this partition has room for at
 least 10547296 bytes.
 krusader(455)/KSharedDataCache: Unable to find an appropriate lock to
 guard the shared cache.  This *should* be essentially impossible. :(
 krusader(455)/KSharedDataCache: Unable to perform initial setup, this
 system probably does not really support process-shared pthreads or
 semaphores, even though it claims otherwise.
 krusader(455)/KSharedDataCache: Unable to unmap shared memory segment
 0x11c735000
 krusader(455)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned
 initialize() D-Bus call failed:  "The name org.kde.kded was not provided
 by any .service files"

 krusader(455)/kdecore (K*TimeZone*): No time zone information obtained
 from ktimezoned
 kbuildsycoca4 running...
 krusader(455)/KSharedDataCache ensureFileAllocated: This system misses
 support for posix_fallocate() -- ensure this partition has room for at
 least 10547296 bytes.
 krusader(455)/KSharedDataCache: Unable to find an appropriate lock to
 guard the shared cache.  This *should* be essentially impossible. :(
 krusader(455)/KSharedDataCache: Unable to perform initial setup, this
 system probably does not really support process-shared pthreads or
 semaphores, even though it claims otherwise.
 krusader(455)/KSharedDataCache: Unable to unmap shared memory segment
 0x11c735000
 krusader(455)/KSharedDataCache ensureFileAllocated: This system misses
 support for posix_fallocate() -- ensure this partition has room for at
 least 10547296 bytes.
 krusader(455)/KSharedDataCache: Unable to find an appropriate lock to
 guard the shared cache.  This *should* be essentially impossible. :(
 krusader(455)/KSharedDataCache: Unable to perform initial setup, this
 system probably does not really support process-shared pthreads or
 semaphores, even though it claims otherwise.
 krusader(455)/KSharedDataCache: Unable to unmap shared memory segment
 0x11c735000
 krusader(455)/KSharedDataCache ensureFileAllocated: This system misses
 support for posix_fallocate() -- ensure this partition has room for at
 least 10547296 bytes.
 krusader(455)/KSharedDataCache: Unable to find an appropriate lock to
 guard the shared cache.  This *should* be essentially impossible. :(
 krusader(455)/KSharedDataCache: Unable to perform initial setup, this
 system probably does not really support process-shared pthreads or
 semaphores, even though it claims otherwise.
 krusader(455)/KSharedDataCache: Unable to unmap shared memory segment
 0x11c735000
 Wed Oct 19 02:53:36 Keith-Jessos-MacBook-Pro.local krusader[455] <Error>:
 kCGErrorIllegalArgument: _CGSFindSharedWindow: WID -1
 Wed Oct 19 02:53:36 Keith-Jessos-MacBook-Pro.local krusader[455] <Error>:
 kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as
 they are logged.
 Wed Oct 19 02:53:36 Keith-Jessos-MacBook-Pro.local krusader[455] <Error>:
 kCGErrorIllegalArgument: CGSCopyWindowProperty
 Wed Oct 19 02:53:36 Keith-Jessos-MacBook-Pro.local krusader[455] <Error>:
 kCGErrorIllegalArgument: CGSGetWindowProperty
 Wed Oct 19 02:53:36 Keith-Jessos-MacBook-Pro.local krusader[455] <Error>:
 kCGErrorIllegalArgument: windowGroup: error getting ordering group
 property
 Wed Oct 19 02:56:47 Keith-Jessos-MacBook-Pro.local krusader[455] <Error>:
 kCGErrorIllegalArgument: _CGSFindSharedWindow: WID -1
 Wed Oct 19 02:56:47 Keith-Jessos-MacBook-Pro.local krusader[455] <Error>:
 kCGErrorIllegalArgument: CGSCopyWindowProperty
 Wed Oct 19 02:56:47 Keith-Jessos-MacBook-Pro.local krusader[455] <Error>:
 kCGErrorIllegalArgument: CGSGetWindowProperty
 Wed Oct 19 02:56:47 Keith-Jessos-MacBook-Pro.local krusader[455] <Error>:
 kCGErrorIllegalArgument: windowGroup: error getting ordering group
 property
 krusader(455)/kdeui (KNotification) KNotification::slotReceivedIdError:
 Error while contacting notify daemon "Failed to execute program
 /opt/local/bin/knotify4: Unknown error: 0"
 Wed Oct 19 02:59:57 Keith-Jessos-MacBook-Pro.local krusader[455] <Error>:
 doClip: empty path.
 krusader(455) KSambaSharePrivate::testparmParamValue: We got some errors
 while running testparm "Load smb config files from /private/etc/smb.conf
 Processing section "[homes]"
 Processing section "[Keith Jesso's Public Folder]"
 Processing section "[printers]"
 Loaded services file OK.
 "
 }}}

 Then the "Welcome to Krusader!" screen popped up along with the
 configuration screens after clicking OK. I also just tried it by running
 it from the GUI in Applications > MacPorts > KDE4 > Krusader and it also
 works fine. I can't believe I got it running, I've been waiting to get
 something like this on the Mac since I switched over months ago. I've
 always loved Total Commander under Windows and all these substitutes on
 the Mac just aren't the same, but Krusader is awesome!

-- 
Ticket URL: <https://trac.macports.org/ticket/31655#comment:20>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list