GNOME Bugzilla – Bug 127880
fontconfig can't handle parallell build
Last modified: 2004-12-22 21:47:04 UTC
When doing a "gmake -j 3 install" from the meta/gnome-desktop dir, fontconfig crash out like this: gmake[8]: Nothing to be done for `install-exec-am'. /bin/sh ./mkinstalldirs /opt/gnome-2.6/etc/fonts /bin/sh ./mkinstalldirs /opt/gnome-2.6/lib/pkgconfig if [ -f /opt/gnome-2.6/etc/fonts/local.conf ]; then \ echo "not overwriting existing /opt/gnome-2.6/etc/fonts/local.conf"; \ else if [ -f ./local.conf ]; then \ echo " /opt/sfw/bin/ginstall -c -m 644 ./local.conf /opt/gnome-2.6/etc/fonts/local.conf"; \ /opt/sfw/bin/ginstall -c -m 644 ./local.conf /opt/gnome-2.6/etc/fonts/local.conf; \ else if [ -f local.conf ]; then \ echo " /opt/sfw/bin/ginstall -c -m 644 local.conf /opt/gnome-2.6/etc/fonts/local.conf"; \ /opt/sfw/bin/ginstall -c -m 644 local.conf /opt/gnome-2.6/etc/fonts/local.conf; \ fi; fi; fi /opt/sfw/bin/ginstall -c -m 644 ./local.conf /opt/gnome-2.6/etc/fonts/local.conf /opt/sfw/bin/ginstall: cannot create regular file `/opt/gnome-2.6/etc/fonts/local.conf': No such file or directory gmake[8]: *** [install-data-local] Error 1 gmake[8]: *** Waiting for unfinished jobs.... mkdir /opt/gnome-2.6/etc/fonts gmake[8]: *** Waiting for unfinished jobs.... /opt/sfw/bin/ginstall -c -m 644 ./fontconfig.pc /opt/gnome-2.6/lib/pkgconfig/fontconfig.pc gmake[8]: *** Waiting for unfinished jobs.... /opt/sfw/bin/ginstall -c -m 644 ./fonts.conf /opt/gnome-2.6/etc/fonts/fonts.conf /opt/sfw/bin/ginstall -c -m 644 ./fonts.dtd /opt/gnome-2.6/etc/fonts/fonts.dtd gmake[8]: Leaving directory `/home/jonas/hacking-0.28.1/bootstrap/fontconfig/work/main.d/fontconfig-2.2.1' gmake[7]: *** [install-am] Error 2 gmake[7]: Leaving directory `/home/jonas/hacking-0.28.1/bootstrap/fontconfig/work/main.d/fontconfig-2.2.1' gmake[6]: *** [install-recursive] Error 1 gmake[6]: Leaving directory `/home/jonas/hacking-0.28.1/bootstrap/fontconfig/work/main.d/fontconfig-2.2.1' gmake[5]: *** [install-work/main.d/fontconfig-2.2.1/Makefile] Error 2 gmake[5]: Leaving directory `/home/jonas/hacking-0.28.1/bootstrap/fontconfig' gmake[4]: *** [../../bootstrap/fontconfig/cookies/main.d/install] Error 2 gmake[4]: Leaving directory `/home/jonas/hacking-0.28.1/bootstrap/xft' gmake[3]: *** [../../bootstrap/xft/cookies/main.d/install] Error 2 gmake[3]: Leaving directory `/home/jonas/hacking-0.28.1/gnome/pango' gmake[2]: *** [../../gnome/pango/cookies/main.d/install] Error 2 gmake[2]: Leaving directory `/home/jonas/hacking-0.28.1/gnome/gtk+' gmake[1]: *** [../../gnome/gtk+/cookies/main.d/install] Error 2 gmake[1]: Leaving directory `/home/jonas/hacking-0.28.1/gnome/metacity' gmake: *** [../../gnome/metacity/cookies/main.d/install] Error 2 jonas@brusen:42~/hacking-0.28.1/meta/gnome-desktop> But then, doing a "gmake install" immediately after this, works like a dream. ==> Can't make in parallell! (And Yes, there are two CPU's in my ol' box :)
I had almost exactly, if not exactly, the same error occur. The difference is that I only have one processor, not two like in the original report. Also, when I tried to run "gmake install" like in the original report, it failed with the same error that I am attatching to this comment. Before I go into a step by step description of the events that preceeded the error, a few details about my system: Fedora Core 1, full install (not an upgrade), all official updates installed, including the kernel. KDE 3.1.94, installed from the RPMS that KDE has available for Fedora Core 1. Processor: AMD Athlon XP 2100+ Motherboard: Abit KD7 RAM: 512mb Steps I followed: 1. Downloaded *.bz2 tarballs from a mirror of ftp.gnome.org 2. Downloaded garnome-0.28.3 and edited the appropriate file to point to the directory that I have my Gnome tarballs in. 3. cd'd to the appropriate directory, su'd into root, and ran "make install", as stated in the README file. 4. The process started off wonderfully, then I went to sleep. 5. Woke up a few hours later, and I was greeted with the error that I am attatching to this comment. I just noticed that the original bug report had the OS listed as "Sun OS" Like I stated above, I am running Fedora Core Linux 1, but the error is the same, nonetheless. I have had problems attatching files to Bugzilla reports before, so if there is an issue with my attatchment, I will immediately post another comment containing the appropriate file :)
OOOPS! Forgot to even attempt to attatch this file :) make[7]: Entering directory `/home/steve/garnome-0.28.3/bootstrap/fontconfig/work/main.d/fontconfig-2.2.1' make[8]: Entering directory `/home/steve/garnome-0.28.3/bootstrap/fontconfig/work/main.d/fontconfig-2.2.1' make[8]: Nothing to be done for `install-exec-am'. /bin/sh ./mkinstalldirs /root/garnome/etc/fonts /usr/bin/install -c -m 644 ./fonts.conf /root/garnome/etc/fonts/fonts.conf /usr/bin/install -c -m 644 ./fonts.dtd /root/garnome/etc/fonts/fonts.dtd /bin/sh ./mkinstalldirs /root/garnome/lib/pkgconfig /usr/bin/install -c -m 644 ./fontconfig.pc /root/garnome/lib/pkgconfig/fontconfig.pc if [ -f /root/garnome/etc/fonts/local.conf ]; then \ echo "not overwriting existing /root/garnome/etc/fonts/local.conf"; \ else if [ -f ./local.conf ]; then \ echo " /usr/bin/install -c -m 644 ./local.conf /root/garnome/etc/fonts/local.conf"; \ /usr/bin/install -c -m 644 ./local.conf /root/garnome/etc/fonts/local.conf; \ else if [ -f local.conf ]; then \ echo " /usr/bin/install -c -m 644 local.conf /root/garnome/etc/fonts/local.conf"; \ /usr/bin/install -c -m 644 local.conf /root/garnome/etc/fonts/local.conf; \ fi; fi; fi not overwriting existing /root/garnome/etc/fonts/local.conf if [ x = x ]; then fc-cache/fc-cache -f -v; fi /home/steve/garnome-0.28.3/bootstrap/fontconfig/work/main.d/fontconfig-2.2.1/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts": caching, 0 fonts, 13 dirs /home/steve/garnome-0.28.3/bootstrap/fontconfig/work/main.d/fontconfig-2.2.1/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts/default": caching, 0 fonts, 2 dirs /home/steve/garnome-0.28.3/bootstrap/fontconfig/work/main.d/fontconfig-2.2.1/fc-cache/.libs/lt-fc-cache: "/usr/share/fonts/default/ghostscript": make[8]: *** [install-data-local] Error 139 make[8]: Leaving directory `/home/steve/garnome-0.28.3/bootstrap/fontconfig/work/main.d/fontconfig-2.2.1' make[7]: *** [install-am] Error 2 make[7]: Leaving directory `/home/steve/garnome-0.28.3/bootstrap/fontconfig/work/main.d/fontconfig-2.2.1' make[6]: *** [install-recursive] Error 1 make[6]: Leaving directory `/home/steve/garnome-0.28.3/bootstrap/fontconfig/work/main.d/fontconfig-2.2.1' make[5]: *** [install-work/main.d/fontconfig-2.2.1/Makefile] Error 2 make[5]: Leaving directory `/home/steve/garnome-0.28.3/bootstrap/fontconfig' make[4]: *** [../../bootstrap/fontconfig/cookies/main.d/install] Error 2 make[4]: Leaving directory `/home/steve/garnome-0.28.3/bootstrap/xft' make[3]: *** [../../bootstrap/xft/cookies/main.d/install] Error 2 make[3]: Leaving directory `/home/steve/garnome-0.28.3/gnome/pango' make[2]: *** [../../gnome/pango/cookies/main.d/install] Error 2 make[2]: Leaving directory `/home/steve/garnome-0.28.3/gnome/gtk+' make[1]: *** [../../gnome/gtk+/cookies/main.d/install] Error 2 make[1]: Leaving directory `/home/steve/garnome-0.28.3/gnome/metacity' make: *** [../../gnome/metacity/cookies/main.d/install] Error 2
Reassigning.
In the first case, this has been fixed in GARNOME 2.6.2 and later releases. In the latter, installing the ghostscript font packages would fix that error -- the documentation has been updated to reflect this.