[Xquartz-dev] I am having problems with 2.7.5_rc3 and _rc4 (rc2 & before were ok)

Martin Otte martinjotte at gmail.com
Mon Nov 4 08:13:00 PST 2013


Hi,

I am having a similar issue which I think is with the latest version of fontconfig in the two latest rc's.

It seems that everytime I restart xquartz, fontconfig is always rebuilding the font caches even though they don't need to be rebuilt. Apps that require fontconfig will need to wait until the font caches are rebuilt. This didn't happen with previous versions of the fontconfig library. If you manually run fc-cache with the latest release, you will see that fontconfig will keep rebuilding some of the font caches even though they don't need rebuilding.

Thanks,
Martin 


On Nov 4, 2013, at 6:20 AM, SciFi <sci-fi at hush.ai> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> 
> Hi,
> 
> (yeah I'm still here, still running 10.6.8
> with all security updates etc. <g>)
> 
> The latest two rc's for 2.7.5 (rc3 and rc4, so far) seem to have
> problems here.
> 
> (rc2 & before did not exhibit any of this)
> 
> I use the CLI installer (/usr/sbin/installer) under a 'login
> root' terminal.  Let me snip its log to show exactly where I
> think the problems stem from:
> 
>> # installer -dumplog -target / -pkg /Volumes/XQuartz-2.7.5_rc4/XQuartz.pkg 
>> […]
>> installer[25130]: PackageKit: Executing script "./postinstall" in /private/tmp/PKInstallSandbox.ApMrWM/Scripts/org.macosforge.xquartz.pkg.oK4S7s
>> installer[25130]: ./postinstall: lockfile: Forcing lock on "/opt/X11/var/run/font_cache.lock"
>> installer[25130]: ./postinstall: font_cache: Scanning system font directories to generate X11 font caches
>> installer[25130]: ./postinstall: font_cache: Making fonts.dir for updated directories.
>> […]
>> installer[25130]: ./postinstall: font_cache: Updating FC cache
>> installer[25130]: ./postinstall: /opt/X11/share/fonts: failed to write cache
>> installer[25130]: ./postinstall: /opt/X11/share/fonts/100dpi: failed to write cache
>> installer[25130]: ./postinstall: /opt/X11/share/fonts/75dpi: failed to write cache
>> installer[25130]: ./postinstall: /opt/X11/share/fonts/OTF: failed to write cache
>> installer[25130]: ./postinstall: /opt/X11/share/fonts/Speedo: failed to write cache
>> installer[25130]: ./postinstall: /opt/X11/share/fonts/TTF: failed to write cache
>> installer[25130]: ./postinstall: /opt/X11/share/fonts/Type1: failed to write cache
>> installer[25130]: ./postinstall: /opt/X11/share/fonts/cyrillic: failed to write cache
>> installer[25130]: ./postinstall: /opt/X11/share/fonts/encodings: failed to write cache
>> installer[25130]: ./postinstall: /opt/X11/share/fonts/encodings/large: failed to write cache
>> installer[25130]: ./postinstall: /opt/X11/share/fonts/misc: failed to write cache
>> installer[25130]: ./postinstall: /opt/X11/share/fonts/util: failed to write cache
>> [… and hundreds more such lines, one for each subdir under the various font paths …]
>> [… I've collected tons of fonts over the (long) years since 10.3-Tiger <g> …]
>> installer[25130]: ./postinstall: /opt/X11/share/fonts: failed to write cache
>> installer[25130]: ./postinstall: /usr/X11R6/lib/X11/fonts: failed to write cache
>> installer[25130]: ./postinstall: /System/Library/Fonts: failed to write cache
>> installer[25130]: ./postinstall: /Library/Fonts: failed to write cache
>> installer[25130]: ./postinstall: font_cache: Done
>> installer[25130]: PackageKit: Registered bundle file://localhost/Applications/Utilities/XQuartz.app/
>> installer[25130]: Installed "XQuartz 2.7.5_rc4" ()
>> installer[25130]: PackageKit: ----- End install -----
>> installer[25130]: Running install actions
>> installer[25130]: Removing temporary directory "/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-//Install.251301fxWVS"
>> installer[25130]: Finalize disk "WhiteCat"
>> installer[25130]: Notifying system of updated components
>> installer[25130]: 
>> installer[25130]: **** Summary Information ****
>> installer[25130]:   Operation      Elapsed time
>> installer[25130]: -----------------------------
>> installer[25130]:        disk      0.02 seconds
>> installer[25130]:      script      0.02 seconds
>> installer[25130]:        zero      0.02 seconds
>> installer[25130]:     install      426.42 seconds
>> installer[25130]:     -total-      426.48 seconds
>> installer[25130]: 
>> installer: The upgrade was successful.
>> 
>> # _
> 
> I'll launch XQuartz the normal way (use Finder to double-click
> the app icon under /Applications/Utilities).  It will start up,
> but with an unusually long period running the various font tools
> (again) before it's ready for use.
> 
> I will start various X11 apps in the terminal.  I notice that
> the cli app takes another unusually long time before it shows
> on the screen.  It is as if the system needs to "relink" the
> dylibs and whatnot -- but now it does this every time I start an
> X11 app, no matter what.  Since these are mostly apps based on
> Glib/GTK+ (and requisites etc.), this takes a _really_ long time.
> Once the app is 'finished' in this realm, it seems the app will
> run as expected.  (I have seen some awesome changes in the look
> of the fonts on-screen, better than the earlier XQuartz builds to
> be honest.)
> 
> As a specific example, I start Pan up to three times -- one for
> each NNTP server, in different configs -- simultaneously.  Each
> task is now taking this same long time before it is ready, every
> time I start one up.
> 
> With 2.7.5_rc2 and before, all is fine, with the exact same setup
> here.  I know the "relink" phase might be needed when the app is
> first started after such an update to XQuartz, but thereafter the
> app does not need another "relink" and starts up 'faster' -- even
> with the three Pan tasks as just mentioned.
> 
> FWIW, thank you for keeping 10.6 alive in this project for us who
> cannot afford new hardware for upgrading the o.s. itself (I have
> an 'only' model iMac6,1 here [32-bit EFI/BIOS/kernel but its
> Core-2-Duo can run 64-bit user space], still disabled / retired,
> barely enough "monthly allotment" for the rent/food/etc. and
> some [cheap] hobbies).
> 
> 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> 
> iQEcBAEBAgAGBQJSd4HuAAoJEKkeWNKet7+K6xMIAJPTxpJiefYB+ppISf82JqmV
> X128gYztOXYqWoy3gXQ0BnROJBM+/anLRo/lmzQaQsQiczcqYuVMtX3d3Bgm1UCP
> fTDi6vnSfD0m/BT5mgoz0P+51+LPxRFdSKnmlYGvwXyo6u6cKL7ptYA9mEnW2yID
> +JG6TItSSsUI1HfRxVmUuJR1ZLvUcWAf1sXrkLlg5Tm0xxh/2XnjHZGI5kwhoLZ+
> F7Xz3vaxneCbPxIESlmhgPRF7RHoGYBq1v2He7XPRj8qNLQBipQYIsytE3ErNaOj
> 0hhFeSGNxYP714Hwa8x3abmo3oMY6FthLB1nrSUs5mICSKN6puP3qsY14GKxFdU=
> =yLHq
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/xquartz-dev



More information about the Xquartz-dev mailing list