First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 21195
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: foser (RETIRED) <foser@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ivan Raikov <raikov@cc.gatech.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
fontconfig-log Output of emerge fontconfig text/plain Ivan Raikov 2003-05-18 14:19 0000 107.29 KB Details
fontconfig-2.2.0-r3.ebuild New ebuild which contains my patch to fontconfig-2.2.0-r2 application/octet-stream Mario Witte 2003-05-25 07:47 0000 3.34 KB Details
fontconfig-2.2.0-r3-installdocs.patch New patch for fontconfig-2.2.0-r2 patch Mario Witte 2003-05-25 07:48 0000 374 bytes Details | Diff
digest-fontconfig-2.2.0-r3 Digest for fontconfig-2.2.0-r3.ebuild application/octet-stream Mario Witte 2003-05-25 07:49 0000 68 bytes Details
Makefile doc/Makefile text/plain Ivan Raikov 2003-05-26 10:23 0000 17.06 KB Details
fontconfig-2.2.0-r3-installdocs.patch fontconfig-2.2.0-r3-installdocs.patch patch Ivan Raikov 2003-05-30 11:57 0000 1.17 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 21195 depends on: Show dependency tree
Bug 21195 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-05-18 13:00 0000
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 From Martin Holzer (RETIRED) 2003-05-18 13:15:24 0000 -------
do you have enough free diskspace ?

------- Comment #2 From Ivan Raikov 2003-05-18 13:19:00 0000 -------
Yeah... about 952M left on the /var/tmp partition after `emerge fontconfig'
fails.

------- Comment #3 From foser (RETIRED) 2003-05-18 13:54:14 0000 -------
please attach the full emerge ouput

------- Comment #4 From Ivan Raikov 2003-05-18 14:19:55 0000 -------
Created an attachment (id=12119) [details]
Output of emerge fontconfig

------- Comment #5 From Neil Salter 2003-05-21 17:31:43 0000 -------
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 From Mario Witte 2003-05-22 15:53:08 0000 -------
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 From Nikolas Garofil 2003-05-22 17:41:52 0000 -------
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 From foser (RETIRED) 2003-05-22 17:46:29 0000 -------
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 From Mario Witte 2003-05-25 07:46:50 0000 -------
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 From Mario Witte 2003-05-25 07:47:54 0000 -------
Created an attachment (id=12383) [details]
New ebuild which contains my patch to fontconfig-2.2.0-r2

------- Comment #11 From Mario Witte 2003-05-25 07:48:37 0000 -------
Created an attachment (id=12384) [details]
New patch for fontconfig-2.2.0-r2

------- Comment #12 From Mario Witte 2003-05-25 07:49:01 0000 -------
Created an attachment (id=12385) [details]
Digest for fontconfig-2.2.0-r3.ebuild

------- Comment #13 From Ivan Raikov 2003-05-25 09:46:00 0000 -------
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 From Mario Witte 2003-05-25 14:04:55 0000 -------
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 From Ivan Raikov 2003-05-26 10:23:05 0000 -------
Created an attachment (id=12419) [details]
doc/Makefile

Attached is doc/Makefile, as you requested.

------- Comment #16 From Sébastien Koechlin 2003-05-28 16:35:21 0000 -------
Same problem here, and -r3 solved it.

------- Comment #17 From Ivan Raikov 2003-05-30 11:57:53 0000 -------
Created an attachment (id=12588) [details]
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 From foser (RETIRED) 2003-06-10 15:54:11 0000 -------
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 From foser (RETIRED) 2003-06-10 16:02:48 0000 -------
*** Bug 21465 has been marked as a duplicate of this bug. ***

------- Comment #20 From Per Cederberg 2003-06-10 23:51:23 0000 -------
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 From foser (RETIRED) 2003-06-11 15:33:25 0000 -------
*** Bug 22617 has been marked as a duplicate of this bug. ***

------- Comment #22 From foser (RETIRED) 2003-06-11 16:42:17 0000 -------
just added 2.2.1 which always disables doc generation, please test it.

------- Comment #23 From Peter van der Spoel 2003-06-12 03:02:20 0000 -------
Version 2.2.1 fixed the problem for me that I reported in bug 22617.

------- Comment #24 From Ivan Raikov 2003-06-12 12:07:08 0000 -------
2.2.1 works for me, as well.

------- Comment #25 From foser (RETIRED) 2003-06-17 16:22:16 0000 -------
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 From foser (RETIRED) 2003-06-18 16:52:26 0000 -------
*** Bug 23053 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug