Emerging fontconfig fails with the following error: . . . for i in fontconfig-devel; do \ /bin/sh ../mkinstalldirs /var/tmp/portage/fontconfig-2.2.0-r2/image//usr/share/doc/fontconfig-2.2.0-r2/$i ; \ for f in $i/*; do \ echo '-- Installing '$f ; \ /bin/install -c -m 644 $f /var/tmp/portage/fontconfig-2.2.0-r2/image//usr/share/doc/fontconfig-2.2.0-r2/$f; \ done \ done mkdir /var/tmp/portage/fontconfig-2.2.0-r2/image/usr/share/doc/fontconfig-2.2.0-r2/fontconfig-devel -- Installing fontconfig-devel/* /bin/install: cannot stat `fontconfig-devel/*': No such file or directory make[2]: *** [install-data-local] Error 1 make[2]: Leaving directory `/var/tmp/portage/fontconfig-2.2.0-r2/work/fontconfig-2.2.0/doc' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/fontconfig-2.2.0-r2/work/fontconfig-2.2.0/doc' make: *** [install-recursive] Error 1 Reproducible: Always Steps to Reproduce: 1. emerge rsync 2. emerge fontconfig 3. Actual Results: The compilation process fails. Expected Results: Compilation and installation should have completed successfully. Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r4,2.3.1-r4) ================================================================= System uname: 2.4.21-rc2-rtl3.2-pre2 i686 Intel(R) Xeon(TM) CPU 1.70GHz GENTOO_MIRRORS="http://www.ibiblio.org/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /opt/jakarta/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss apm avi crypt cups gif jpeg libg++ mikmod mmx mpeg ncurses pdflib png quicktime spell xml2 xmms xv zlib gdbm berkdb slang readline arts nas bonobo svga java sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis motif opengl gphoto2 scanner -gtk -gnome 3dnow alsa cdr curl dga doc dvd emacs esd encode fbcon gd guile imap ipv6 kde lcms ldap leim mbox mozilla mule nls qt sasl sse tcltk tetex tiff truetype usb wmf X Xaw3d xml" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=i686 -O3 -pipe" CXXFLAGS="-mcpu=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j4" AUTOCLEAN="no" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
do you have enough free diskspace ?
Yeah... about 952M left on the /var/tmp partition after `emerge fontconfig' fails.
please attach the full emerge ouput
Created attachment 12119 [details] Output of emerge fontconfig
I'm experiencing the same problem. . . . -- Installing fontconfig-user.txt -- Installing fontconfig-devel.txt -- Installing fontconfig-user.html for i in fontconfig-devel; do \ /bin/sh ../mkinstalldirs /var/tmp/portage/fontconfig-2.2.0-r2/image//usr/share/doc/fontconfig-2.2.0-r2/$i ; \ for f in $i/*; do \ echo '-- Installing '$f ; \ /bin/install -c -m 644 $f /var/tmp/portage/fontconfig-2.2.0-r2/image//usr/share/doc/fontconfig-2.2.0-r2/$f; \ done \ done mkdir /var/tmp/portage/fontconfig-2.2.0-r2/image/usr/share/doc/fontconfig-2.2.0-r2/fontconfig-devel -- Installing fontconfig-devel/* /bin/install: cannot stat `fontconfig-devel/*': No such file or directory make[2]: *** [install-data-local] Error 1 make[2]: Leaving directory `/var/tmp/portage/fontconfig-2.2.0-r2/work/fontconfig-2.2.0/doc' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/fontconfig-2.2.0-r2/work/fontconfig-2.2.0/doc' make: *** [install-recursive] Error 1 !!! ERROR: media-libs/fontconfig-2.2.0-r2 failed. !!! Function einstall, Line 326, Exitcode 2 !!! einstall failed My USE setting is: USE="3dnow mmx matrox apm pda gphoto2 cdr scanner cups X dga opengl xv fbcon kde qt qtmt arts gnome gtk bonobo evo gtkhtml motif tcltk aalib imlib ncurses readline sdl svga lcms gif jpeg png tiff gd avi mpeg quicktime alsa esd mikmod oss nas ggi dvd xmms oggvorbis flash encode ipv6 pam ssl crypt socks5 imap ldap maildir mbox tcpd mozilla mozaccess-builtin mozctl mozirc mozxmlterm spell truetype xml xml2 pdflib plotutils tetex guile java perl python ruby slang libwww libg++ atlas pic zeo berkdb mysql postgres oci8 odbc innodb gdbm acl afs samba doc gpm mule zlib" Cheers, Neil.
The same problem occurs on my machine. It might be interesting to note that the directory /var/tmp/portage/fontconfig-2.2.0-r2/image/usr/share/doc/fontconfig-2.2.0-r2/fontconfig-devel _does_ exist.
I also have this problem, and at my system the directory "/var/tmp/portage/fontconfig-2.2.0-r2/image/usr/share/doc/fontconfig-2.2.0-r2/fontconfig-devel" exists BUT IT IS EMPTY.
it isn't in the official package, might have todo witht the fact that the docs get regenerated, but obviously not correct in your case. I really should hack the docs stuff out, it doesn't seem react to the switch well and i probably can just go with the docs in the tarball. If someone could fix the makefile docs stuff it would be helpful.
I found a way to fix the problem for me, so maybe some of you might want to try the attached ebuild and report if it works.
Created attachment 12383 [details] New ebuild which contains my patch to fontconfig-2.2.0-r2
Created attachment 12384 [details, diff] New patch for fontconfig-2.2.0-r2
Created attachment 12385 [details] Digest for fontconfig-2.2.0-r3.ebuild
The 2.2.0-r3 ebuild fails with the same error, despite the fact that it applies the installdocs patch. Was I supposed to do anything else besides copying the ebuild file, the digest, and the patch to their respective directories? mkdir /var/tmp/portage/fontconfig-2.2.0-r3/image/usr/share/doc/fontconfig-2.2.0-r3 for i in fontconfig-user.txt fontconfig-devel.txt fontconfig-user.html; do \ echo '-- Installing '$i ; \ /bin/install -c -m 644 $i /var/tmp/portage/fontconfig-2.2.0-r3/image//usr/share/doc/fontconfig-2.2.0-r3/$i; \ done -- Installing fontconfig-user.txt -- Installing fontconfig-devel.txt -- Installing fontconfig-user.html for i in fontconfig-devel; do \ /bin/sh ../mkinstalldirs /var/tmp/portage/fontconfig-2.2.0-r3/image//usr/share/doc/fontconfig-2.2.0-r3/$i ; \ for f in $i/*; do \ echo '-- Installing '$f ; \ /bin/install -c -m 644 $f /var/tmp/portage/fontconfig-2.2.0-r3/image//usr/share/doc/fontconfig-2.2.0-r3/$f; \ done \ done mkdir /var/tmp/portage/fontconfig-2.2.0-r3/image/usr/share/doc/fontconfig-2.2.0-r3/fontconfig-devel -- Installing fontconfig-devel/* /bin/install: cannot stat `fontconfig-devel/*': No such file or directory make[2]: *** [install-data-local] Error 1 make[2]: Leaving directory `/var/tmp/portage/fontconfig-2.2.0-r3/work/fontconfig-2.2.0/doc' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/fontconfig-2.2.0-r3/work/fontconfig-2.2.0/doc' make: *** [install-recursive] Error 1
Weird, it worked quite fine on my system. Normally a message about the missing file in fontconfig-devel should be given, but that shouldn't stop the install. Could you give us a copy (or the last 20 lines) of your doc/Makefile _after_ trying to emerge? You should find the file in /var/tmp/portage/fontconfig-2.2.0-r3/work/fontconfig-2.2.0/doc/Makefile
Created attachment 12419 [details] doc/Makefile Attached is doc/Makefile, as you requested.
Same problem here, and -r3 solved it.
Created attachment 12588 [details, diff] fontconfig-2.2.0-r3-installdocs.patch I removed directory 'fontconfig-devel' from the DOC_DIRS variable in doc/Makefile, and fontconfig now installs successfully on my machine.
ok, i assume you all have doc in USE ? the problem is probably the doc generation on some systems, but we do not really need to generate the docs so i'm just gonna disable that.
*** Bug 21465 has been marked as a duplicate of this bug. ***
If someone is interested there are some solutions listed in the duplicate bug also: http://bugs.gentoo.org/show_bug.cgi?id=21465 I havn't tried them myself, so I don't know if they work or not. To avoid the problem I just took the short route of USE="-doc"...
*** Bug 22617 has been marked as a duplicate of this bug. ***
just added 2.2.1 which always disables doc generation, please test it.
Version 2.2.1 fixed the problem for me that I reported in bug 22617.
2.2.1 works for me, as well.
ok i just put this 'fix' in 2.2.0-r2 and hope that is the end of this. thanks for your help
*** Bug 23053 has been marked as a duplicate of this bug. ***