Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21195 - fontconfig-2.2.0-r2 emerge fails
Summary: fontconfig-2.2.0-r2 emerge fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
: 21465 22617 23053 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-18 13:00 UTC by Ivan Raikov
Modified: 2003-06-18 16:52 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of emerge fontconfig (fontconfig-log,107.29 KB, text/plain)
2003-05-18 14:19 UTC, Ivan Raikov
Details
New ebuild which contains my patch to fontconfig-2.2.0-r2 (fontconfig-2.2.0-r3.ebuild,3.34 KB, application/octet-stream)
2003-05-25 07:47 UTC, Mario Witte
Details
New patch for fontconfig-2.2.0-r2 (fontconfig-2.2.0-r3-installdocs.patch,374 bytes, patch)
2003-05-25 07:48 UTC, Mario Witte
Details | Diff
Digest for fontconfig-2.2.0-r3.ebuild (digest-fontconfig-2.2.0-r3,68 bytes, application/octet-stream)
2003-05-25 07:49 UTC, Mario Witte
Details
doc/Makefile (Makefile,17.06 KB, text/plain)
2003-05-26 10:23 UTC, Ivan Raikov
Details
fontconfig-2.2.0-r3-installdocs.patch (fontconfig-2.2.0-r3-installdocs.patch,1.17 KB, patch)
2003-05-30 11:57 UTC, Ivan Raikov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Raikov 2003-05-18 13:00:04 UTC
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"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-05-18 13:15:24 UTC
do you have enough free diskspace ?
Comment 2 Ivan Raikov 2003-05-18 13:19:00 UTC
Yeah... about 952M left on the /var/tmp partition after `emerge fontconfig' fails.
Comment 3 foser (RETIRED) gentoo-dev 2003-05-18 13:54:14 UTC
please attach the full emerge ouput
Comment 4 Ivan Raikov 2003-05-18 14:19:55 UTC
Created attachment 12119 [details]
Output of emerge fontconfig
Comment 5 Neil Salter 2003-05-21 17:31:43 UTC
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. 
 
Comment 6 Mario Witte 2003-05-22 15:53:08 UTC
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.
Comment 7 Nikolas Garofil 2003-05-22 17:41:52 UTC
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.
Comment 8 foser (RETIRED) gentoo-dev 2003-05-22 17:46:29 UTC
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.
Comment 9 Mario Witte 2003-05-25 07:46:50 UTC
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.
Comment 10 Mario Witte 2003-05-25 07:47:54 UTC
Created attachment 12383 [details]
New ebuild which contains my patch to fontconfig-2.2.0-r2
Comment 11 Mario Witte 2003-05-25 07:48:37 UTC
Created attachment 12384 [details, diff]
New patch for fontconfig-2.2.0-r2
Comment 12 Mario Witte 2003-05-25 07:49:01 UTC
Created attachment 12385 [details]
Digest for fontconfig-2.2.0-r3.ebuild
Comment 13 Ivan Raikov 2003-05-25 09:46:00 UTC
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
Comment 14 Mario Witte 2003-05-25 14:04:55 UTC
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
Comment 15 Ivan Raikov 2003-05-26 10:23:05 UTC
Created attachment 12419 [details]
doc/Makefile

Attached is doc/Makefile, as you requested.
Comment 16 Sébastien Koechlin 2003-05-28 16:35:21 UTC
Same problem here, and -r3 solved it.
Comment 17 Ivan Raikov 2003-05-30 11:57:53 UTC
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.
Comment 18 foser (RETIRED) gentoo-dev 2003-06-10 15:54:11 UTC
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.
Comment 19 foser (RETIRED) gentoo-dev 2003-06-10 16:02:48 UTC
*** Bug 21465 has been marked as a duplicate of this bug. ***
Comment 20 Per Cederberg 2003-06-10 23:51:23 UTC
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"...
Comment 21 foser (RETIRED) gentoo-dev 2003-06-11 15:33:25 UTC
*** Bug 22617 has been marked as a duplicate of this bug. ***
Comment 22 foser (RETIRED) gentoo-dev 2003-06-11 16:42:17 UTC
just added 2.2.1 which always disables doc generation, please test it.
Comment 23 Peter van der Spoel 2003-06-12 03:02:20 UTC
Version 2.2.1 fixed the problem for me that I reported in bug 22617.
Comment 24 Ivan Raikov 2003-06-12 12:07:08 UTC
2.2.1 works for me, as well.
Comment 25 foser (RETIRED) gentoo-dev 2003-06-17 16:22:16 UTC
ok i just put this 'fix' in 2.2.0-r2 and hope that is the end of this.

thanks for your help
Comment 26 foser (RETIRED) gentoo-dev 2003-06-18 16:52:26 UTC
*** Bug 23053 has been marked as a duplicate of this bug. ***