Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38198 - USE="doc" causes doc building errors in gail, gnomevfs, pango - catalogs problem
Summary: USE="doc" causes doc building errors in gail, gnomevfs, pango - catalogs problem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 11:55 UTC by Nuno Araujo
Modified: 2004-01-24 19:45 UTC (History)
0 users

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


Attachments
emerge output of pango-1.2.5-r1 build (2126-pango-1.2.5-r1.log,163.67 KB, text/plain)
2004-01-23 09:47 UTC, Christian Banik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Araujo 2004-01-14 11:55:44 UTC
When I try to emerge gnome-base/gail-1.4.1 it fails at the einstall part of the emerge with the error:

/bin/install: ne peut 
Comment 1 Nuno Araujo 2004-01-14 11:55:44 UTC
When I try to emerge gnome-base/gail-1.4.1 it fails at the einstall part of the emerge with the error:

/bin/install: ne peut évaluer `./html/index.sgml': Aucun fichier ou répertoire de ce type

Translation: /bin/install: can't evaluate `./html/index.sgml': No such file or directory of this type

This only happens when the useflag doc is set...

If i do: 
# USE="-doc" emerge -u gail 
the emerge is successful.





Reproducible: Always
Steps to Reproduce:
1. Set USE="+doc"
2. emerge gail
3.

Actual Results:  
make[2]: Rien à faire pour « install-exec-am ».
/bin/sh ../mkinstalldirs /var/tmp/portage/gail-1.4.1/image//usr/lib/gtk-2.0/modules
/bin/sh ../libtool  --mode=install /bin/install -c libferret.la
/var/tmp/portage/gail-1.4.1/image//usr/lib/gtk-2.0/modules/libferret.la
/bin/install -c .libs/libferret.so
/var/tmp/portage/gail-1.4.1/image//usr/lib/gtk-2.0/modules/libferret.so
/bin/install -c .libs/libferret.lai
/var/tmp/portage/gail-1.4.1/image//usr/lib/gtk-2.0/modules/libferret.la
libtool: install: warning: remember to run `libtool --finish
/usr/lib/gtk-2.0/modules'
make[2]: Leaving directory `/var/tmp/portage/gail-1.4.1/work/gail-1.4.1/tests'
make[1]: Leaving directory `/var/tmp/portage/gail-1.4.1/work/gail-1.4.1/tests'
Making install in docs
make[1]: Entering directory `/var/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs'
Making install in reference
make[2]: Entering directory
`/var/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs/reference'
Making install in libgail-util
make[3]: Entering directory
`/var/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs/reference/libgail-util'
make[4]: Entering directory
`/var/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs/reference/libgail-util'
make[4]: Rien à faire pour « install-exec-am ».
/bin/sh ../../../mkinstalldirs
/var/tmp/portage/gail-1.4.1/image//usr/share/gtk-doc/html/gail-libgail-util
mkdir /var/tmp/portage/gail-1.4.1/image/usr/share
mkdir /var/tmp/portage/gail-1.4.1/image/usr/share/gtk-doc
mkdir /var/tmp/portage/gail-1.4.1/image/usr/share/gtk-doc/html
mkdir
/var/tmp/portage/gail-1.4.1/image/usr/share/gtk-doc/html/gail-libgail-util(installfiles=`echo
./html/*.html`; \
if test "$installfiles" = './html/*.html'; \
then echo '-- Nothing to install' ; \
else \
  for i in $installfiles; do \
echo '-- Installing '$i ; \
/bin/install -c -m 644 $i
/var/tmp/portage/gail-1.4.1/image//usr/share/gtk-doc/html/gail-libgail-util; \
  done; \
  echo '-- Installing ./html/index.sgml' ; \
  /bin/install -c -m 644 ./html/index.sgml
/var/tmp/portage/gail-1.4.1/image//usr/share/gtk-doc/html/gail-libgail-util; \
fi)
-- Installing ./html/gail-libgail-util-GailMisc.html
-- Installing ./html/gail-libgail-util-GailTextUtil.html
-- Installing ./html/index.html
-- Installing ./html/libgail-util-main.html
-- Installing ./html/index.sgml
/bin/install: ne peut évaluer `./html/index.sgml': Aucun fichier ou répertoire
de ce type
make[4]: *** [install-data-local] Erreur 1
make[4]: Leaving directory
`/var/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs/reference/libgail-util'
make[3]: *** [install-am] Erreur 2
make[3]: Leaving directory
`/var/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs/reference/libgail-util'
make[2]: *** [install-recursive] Erreur 1
make[2]: Leaving directory
`/var/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs/reference'
make[1]: *** [install-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs'
make: *** [install-recursive] Erreur 1
 
!!! ERROR: gnome-base/gail-1.4.1 failed.
!!! Function einstall, Line 362, Exitcode 2
!!! einstall failed
 


Expected Results:  
The software should be installed

Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23-ck1)
=================================================================
System uname: 2.4.23-ck1 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse
-msse2"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx
-msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
ftp://sunsite.cnlab-switch.ch/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa altivec apache2 apm avi berkdb bluetooth bonobo cdr crypt
cscope cups dga doc dvd encode esd ethereal evo flash foomaticdb gb gd gdbm ggi
gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hbci imap imlib
innodb java javascript jikes jpeg junit lcms ldap leim libg++ libgda libwww mad
mdb mikmod mmx motif moynocompose moynoirc moynomail mozilla mozsvg mpeg mule
mysql ncurses nls odbc offensive ofx oggvorbis opengl oss pam pcmcia pda pdflib
perl plotutils png pnp ppds python qt quicktime radeon readline samba sasl
scanner sdl slp spell sse ssl stencil-buffer svga tcltk tcpd tetex tiff truetype
usb v4l videos wmf wxwindows x86 xinerama xml xml2 xmms xv zeo zlib"
Comment 2 Nuno Araujo 2004-01-14 14:07:25 UTC
gnome-vfs-2.4.1 and pango-1.2.5-r1 have the same problem
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2004-01-14 15:59:01 UTC
They would all be broken if something they all depended on with USE="doc" was broken, say.. your SGML catalogs. Please attach the full build output of one of the breaking packages, so we can investigate further.

Thanks.
Comment 4 Nuno Araujo 2004-01-14 18:36:23 UTC
I think this bug can be closed...

I don't know why, but when I tried to re-emerge this packages with the doc flag set, there were no errors...
Comment 5 Farrel Lifson 2004-01-14 23:17:04 UTC
I've got the same problem...
Here's my output from when it starts installing after compilation is finished:

make[2]: Leaving directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/gail'
make[1]: Leaving directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/gail'
Making install in tests
make[1]: Entering directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/tests'
make[2]: Entering directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/tests'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/tmp/portage/gail-1.4.1/image//usr/lib/gtk-2.0/modules
/bin/sh ../libtool  --mode=install /bin/install -c libferret.la /usr/tmp/portage/gail-1.4.1/image//usr/lib/gtk-2.0/modules/libferret.la
/bin/install -c .libs/libferret.so /usr/tmp/portage/gail-1.4.1/image//usr/lib/gtk-2.0/modules/libferret.so
/bin/install -c .libs/libferret.lai /usr/tmp/portage/gail-1.4.1/image//usr/lib/gtk-2.0/modules/libferret.la
libtool: install: warning: remember to run `libtool --finish /usr/lib/gtk-2.0/modules'
make[2]: Leaving directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/tests'
make[1]: Leaving directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/tests'
Making install in docs
make[1]: Entering directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs'
Making install in reference
make[2]: Entering directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs/reference'
Making install in libgail-util
make[3]: Entering directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs/reference/libgail-util'
make[4]: Entering directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs/reference/libgail-util'
make[4]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../mkinstalldirs /usr/tmp/portage/gail-1.4.1/image//usr/share/gtk-doc/html/gail-libgail-util
mkdir /usr/tmp/portage/gail-1.4.1/image/usr/share
mkdir /usr/tmp/portage/gail-1.4.1/image/usr/share/gtk-doc
mkdir /usr/tmp/portage/gail-1.4.1/image/usr/share/gtk-doc/html
mkdir /usr/tmp/portage/gail-1.4.1/image/usr/share/gtk-doc/html/gail-libgail-util(installfiles=`echo ./html/*.html`; \
if test "$installfiles" = './html/*.html'; \
then echo '-- Nothing to install' ; \
else \
  for i in $installfiles; do \
echo '-- Installing '$i ; \
/bin/install -c -m 644 $i /usr/tmp/portage/gail-1.4.1/image//usr/share/gtk-doc/html/gail-libgail-util; \
  done; \
  echo '-- Installing ./html/index.sgml' ; \
  /bin/install -c -m 644 ./html/index.sgml /usr/tmp/portage/gail-1.4.1/image//usr/share/gtk-doc/html/gail-libgail-util; \
fi)
-- Installing ./html/gail-libgail-util-GailMisc.html
-- Installing ./html/gail-libgail-util-GailTextUtil.html
-- Installing ./html/index.html
-- Installing ./html/libgail-util-main.html
-- Installing ./html/index.sgml
/bin/install: cannot stat `./html/index.sgml': No such file or directory
make[4]: *** [install-data-local] Error 1
make[4]: Leaving directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs/reference/libgail-util'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs/reference/libgail-util'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs/reference'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/tmp/portage/gail-1.4.1/work/gail-1.4.1/docs'
make: *** [install-recursive] Error 1
 
!!! ERROR: gnome-base/gail-1.4.1 failed.
!!! Function einstall, Line 388, Exitcode 2
!!! einstall failed
Comment 6 Farrel Lifson 2004-01-14 23:19:15 UTC
And here's my emerge info:

Portage 2.0.50_pre12 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-r4)
=================================================================
System uname: 2.4.22-gentoo-r4 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.10p1
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.5-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo  http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.leg.uct.ac.za/gentoo-portage"
USE="3dnow X alsa apm avi bonobo crypt cups curl doc encode esd evo foomaticdb gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline ruby ruby18 sdl slang spell ssl svg svga tcltk tcpd tetex truetype usb x86 xml xml2 xmms xv zlib"
Comment 7 Farrel Lifson 2004-01-14 23:34:06 UTC
I just temporarily got gail to install by running
USE="-doc" emerge -uU gnome-base/gail
Comment 8 Mike Gardiner (RETIRED) gentoo-dev 2004-01-15 01:40:32 UTC
As #2 says please attach a _full_ build log if you'd like me to find the problem.
Comment 9 Mike Gardiner (RETIRED) gentoo-dev 2004-01-15 03:40:27 UTC
Definitely a catalogs problem as well, taking to text-markup GNOME team.
Comment 10 Mike Gardiner (RETIRED) gentoo-dev 2004-01-17 01:21:24 UTC
Well if you've got it to install I guess we can't go through and reproduce. Definitely a local catalogs problem though.
Comment 11 Mike Gardiner (RETIRED) gentoo-dev 2004-01-17 01:22:37 UTC
(Sorry really meant to push the resolve-invalid button on the last mod)
Comment 12 Christian Banik 2004-01-23 09:47:57 UTC
Created attachment 24299 [details]
emerge output of pango-1.2.5-r1 build

This logfile shows how pango fails to build. Here is my "emerge info"-output:

Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r9,
2.4.20-gentoo-r9)
=================================================================
System uname: 2.4.20-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -mfpmath=sse -msse2 -mmmx
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -mfpmath=sse -msse2 -mmmx
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest fixpackages sandbox userpriv"
GENTOO_MIRRORS="ftp://ftp.uninett.no/pub/linux/Gentoo
ftp://gentoo.linux.no/pub/gentoo/ http://gentoo.linux.no/
ftp://trumpetti.atm.tut.fi/gentoo/ http://trumpetti.atm.tut.fi/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://ftp.easynet.nl/mirror/gentoo//
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo// http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acpi afs alsa apache2 apm arts avi berkdb cdr crypt cups dga
directfb doc dvb dvd dvdr emacs encode esd fbcon flash foomaticdb gd gdbm gif
gphoto2 gpm gtk gtk2 guile imap imlib innodb ipv6 java jpeg kde kerberos krb4
lcms ldap libg++ libwww lirc mad maildir mbox mikmod mmx motif mozilla mpeg
mysql ncurses nls nocd oggvorbis opengl oss pam pcmcia pdflib perl png pnp
python qt qtmt quicktime readline samba scanner sdl slang slp spell sse ssl
svga tcltk tcpd tetex tiff truetype usb wmf x86 xml xml2 xmms xv zlib
linguas_de linguas_en_GB linguas_eo linguas_fr linguas_ru linguas_sv"
Comment 13 Christian Banik 2004-01-23 09:49:03 UTC
I think this bug should be reopened since this issue is still in portage.
Comment 14 Mike Gardiner (RETIRED) gentoo-dev 2004-01-24 19:45:34 UTC
The real error is:

warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 6 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl

basically it cant find the xsl-stylesheets. If you rebuild your /etc/xml/catalog,docbook it'll work.