From owner-freebsd-ports@FreeBSD.ORG Sat Jan 1 10:52:54 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5E0F106564A for ; Sat, 1 Jan 2011 10:52:54 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id 287678FC15 for ; Sat, 1 Jan 2011 10:52:53 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id 3C90734D404; Sat, 1 Jan 2011 10:52:52 +0000 (GMT) From: David Southwell Organization: Voice & Vision To: freebsd-ports@freebsd.org Date: Sat, 1 Jan 2011 10:52:51 +0000 User-Agent: KMail/1.13.5 (FreeBSD/7.2-RELEASE-p3; KDE/4.5.4; amd64; ; ) References: <100BF2A0703C45FAAC6F734D692F4B06@graphics> <1293813956.38942.11.camel@z6000.lenzinote> <82F0E42272084D06B70C01D22056FF25@graphics> In-Reply-To: <82F0E42272084D06B70C01D22056FF25@graphics> X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201101011052.52076.david@vizion2000.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 'Kurt Jaeger' , 'Sergio de Almeida Lenzi' Subject: Re: KDE4 load libicui18n.so.38 not found - can create system crash! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2011 10:52:55 -0000 > _____ > > From: Sergio de Almeida Lenzi [mailto:lenzi.sergio@gmail.com] > Sent: 31 December 2010 08:46 > To: David Southwell > Cc: 'Kurt Jaeger'; freebsd-ports@freebsd.org > Subject: RE: KDE4 load libicui18n.so.38 not found - can create system > crash! > > > for me, I solved this problem with this script, use: sh script > libicui18n.s0.38 > it scans every lib in /usr/local for the string libicui18n.so.38 > and than finds the package that has that lib, > finally it builds the ports that have that string. > > ======================================= > t=/tmp/$$ > find /usr/local -name "*.so" | \ > while read x > do > if grep $1 $x > then > pkg_info -qW $x >> $t > echo found in $x > fi > done > if [ -s $t ] > then > portmaster $(sort -u $t) > fi > rm -f $t > ======================================== > Seems a much more sensible approach than rebuilding all ports depending > upon icu. On my system there are 250 targets using portupgrade -fr > devel/icu My guess is your script would have considerably reduced the > number of ports. However I am going to let it complete now the run is > underway. > > Any ideas why one gets a crash on a second attempt to startx? For more info > see first posting in the thread. > OK rebuilding devel/icu and all ports that depend upon it resolved the problem with the system and startx loads kde4 as normal. However I am left with this nagging concern about why a complete system crash occured when following a first failure to load the second attempt caused an immediate system crash. So I am reposting the original script below. Any ideas where to take this? Thanks David _______________________________________________________ SCRIPT _____________________________ Script started on Fri Dec 31 14:56:27 2010 You have mail. %startx xauth: creating new authority file /home/david/.serverauth.32995 X.Org X Server 1.7.5 Release Date: 2010-02-16 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.2-RELEASE-p3 amd64 Current Operating System: FreeBSD dns1.vizion2000.net 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Thu Aug 20 12:54:34 BST 2009 david@dns1.vizion2000.net:/usr/obj/usr/src/sys/GENERIC amd64 Build Date: 18 December 2010 11:28:21PM Current version of pixman: 0.18.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 31 14:56:33 2010 (==) Using config file: "/etc/X11/xorg.conf" failed to set mtrr: Invalid argument record: RECORD extension enabled at configure time. record: This extension is known to be broken, disabling extension now.. record: http://bugs.freedesktop.org/show_bug.cgi?id=20500 kbuildsycoca4 running... kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry Actions in "ServiceMenus/krename_all_nonrec.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry Actions in "ServiceMenus/krename_dir_rec.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(33106)/kdecore (services) KServicePrivate::init: The desktop entry file "Graphics/ElectricEyes.desktop" has an empty mimetype! kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry MimeType in ".hidden/kommander.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/local/share/applications/gcalctool.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/local/share/applications/xmms.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/local/share/applications/gretl.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(33106) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/local/share/applications/xsane.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(33106)/kdecore (services) KServicePrivate::init: The desktop entry file "/usr/home/david/.local/share/applications/Shells.desktop" has Type= "Application" but no Exec line kbuildsycoca4(33106) KBuildServiceFactory::createEntry: Invalid Service : "/usr/home/david/.local/share/applications/Shells.desktop" kbuildsycoca4(33106) parseLayoutNode: The menu spec file contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix your file. startkde: Starting up... Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kded(36752)/kdeui (KIconLoader) KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase QMetaObject::invokeMethod: No such method KUniqueApplication::loadCommandLineOptionsForNewInstance() kbuildsycoca4 running... Fetched layout groups from X server: layouts: ("us") variants: ("") Fetched layout groups from X server: layouts: ("us") variants: ("") kglobalaccel(43911)/kdeui (KIconLoader) KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase QMetaObject::invokeMethod: No such method KUniqueApplication::loadCommandLineOptionsForNewInstance() QDBusObjectPath: invalid path "" kcminit(44395)/kdeui (KIconLoader) KSharedDataCache::Private::mapSharedMemory: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase kded(36752)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.5' Could not open library ksmserver: Cannot load library /usr/local/kde4/lib/libkdeinit4_ksmserver.so: (Shared object "libicui18n.so.38" not found, required by "libpulse-mainloop-glib.so.0") /libexec/ld-elf.so.1: Shared object "libicui18n.so.38" not found, required by "libpulse-mainloop-glib.so.0" startkde: Shutting down... klauncher: Exiting on signal 1 kde3: not found kde3: not found startkde: Running shutdown scripts... startkde: Done. waiting for X server to shut down kded4: Fatal IO error: client killed %exit Script done on Fri Dec 31 14:57:58 2010 Any ideas Photographic Artist Permanent Installations & Design Creative Imagery and Advanced Digital Techniques High Dynamic Range Photography & Official Portraiture Combined darkroom & digital creations & Systems Adminstrator for the vizion2000.net network