Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191661 - app-doc/xorg-docs-1.4-r1 does not build
Summary: app-doc/xorg-docs-1.4-r1 does not build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
: 191903 192243 192680 196002 (view as bug list)
Depends on:
Blocks: 191615
  Show dependency tree
 
Reported: 2007-09-08 08:21 UTC by rainer
Modified: 2009-12-25 16:38 UTC (History)
18 users (show)

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


Attachments
Patch for sgml-common-0.6.3-r5 ebuild (sgml-common-0.6.3-r5.ebuild.patch,468 bytes, patch)
2007-09-09 19:59 UTC, John R. Graham
Details | Diff
Patch to xorg-docs-1.4-r1 ebuild. (xorg-docs-1.4-r1.ebuild.patch,601 bytes, patch)
2007-09-09 20:03 UTC, John R. Graham
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rainer 2007-09-08 08:21:46 UTC
I am having xorg-docs-1.4 installed, an update to xorg-docs-1.4-r1 fails. 
jade belongs to openjade-1.3.2-r1.
This is all supposed to be stable versions.

Error message when emerge -u xorg-docs:

Working on: /var/tmp/portage/app-doc/xorg-docs-1.4-r1/work/xorg-docs-1.4/sgml/core/Xserver-spec.sgml
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/docbook.dsl:54:137:Q: number of ID references in start-tag must not exceed GRPCNT (32)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/docbook.dsl:53:0:Q: number of ID references in start-tag must not exceed GRPCNT (32)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1bg.ent:168:282:Q: length of interpreted parameter literal must not exceed LITLEN (240)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1bg.ent:169:282:Q: length of interpreted parameter literal must not exceed LITLEN (240)
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:6:19:E: "X00E1" is not a function name
jade:/usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/ent/iso-lat1.ent:7:19:E: "X00C1" is not a function name





Reproducible: Always




 # emerge --info
Portage 2.1.2.12 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 08 Sep 2007 06:50:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.twaren.net/Linux/Gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aim alsa amd64 apache apache2 apm arts audiofile bash-completion bcmath berkdb bidi bitmap-fonts blas bluetooth bzip2 cdparanoia cdr cli cracklib crypt cups curl curlwrappers dga directfb doc dri dts dvb dvd dvdr dvdread eds emacs emboss encode esd evo examples exif fastcgi fbcon ffmpeg fftw flac foomaticdb fortran ftp ggi gif ginac glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal iconv icq idn ieee1394 imagemagick imap imlib ipv6 isdnlog jabber java javascript jikes jpeg jpeg2k kde kdeenablefinal lapack lcms ldap leim libedit libwww lirc lm_sensors lzw lzw-tiff mad madwifi matroska midi mikmod mime mng mnogosearch mono mp3 mpeg mpi msn mudflap mule mysql mysqli nas ncurses nls nptl nptlonly nsplugin nvidia ogg ole openal opengl openmp osc oscar oss pam pcre pdf perl php plotutils png pppd python qt3 qt3support qt4 quicktime radius readline reflection samba scanner sdl seamonkey server session sockets socks5 spell spl ssl symlink szip tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vhosts vorbis wifi wxwindows xcomposite xface xine xml xmlrpc xorg xosd xpm xv xvid yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="imon" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ian Pickworth 2007-09-08 09:36:23 UTC
I see the same problem on ~x86.
There is another error message at the bottom of the OP's list that may help:

/usr/share/sgml/docbook/utils-0.6.14/backends/pdf: line 15: pdfjadetex: command not found

regards
Ian
Comment 2 Michael Mauch 2007-09-08 13:22:01 UTC
Reemerging app-text/jadetex-3.13-r1 helped here.
Comment 3 Christian H. Kuhn 2007-09-08 14:45:08 UTC
Same problem, other file with x86:

jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1sr.dsl:2:66:W: Kann keinen Systembezeichner für den öffentlichen Text "ISO 8879:1986//ENTITIES Added Latin 2//EN" erzeugen
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1sr.dsl:3:5:E: Referenz auf Entität "lat2", für welche kein Systembezeichner erzeugt werden konnte
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1sr.dsl:2:0: Die Entität wurde hier definiert
make[2]: *** [fonts.txt] Fehler 8
make[2]: Leaving directory `/var/tmp/portage/app-doc/xorg-docs-1.4-r1/work/xorg-docs-1.4/sgml/fonts'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/app-doc/xorg-docs-1.4-r1/work/xorg-docs-1.4/sgml'
make: *** [all-recursive] Fehler 1

!!! ERROR: app-doc/xorg-docs-1.4-r1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1328:   Called x-modular_src_compile
  x-modular.eclass, line 337:   Called x-modular_src_make
  x-modular.eclass, line 332:   Called die
Comment 4 Martin Jackson (RETIRED) gentoo-dev 2007-09-08 15:45:04 UTC
> jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1sr.dsl:2:0:
> Die Entität wurde hier definiert
> make[2]: *** [fonts.txt] Fehler 8
> make[2]: Leaving directory
> `/var/tmp/portage/app-doc/xorg-docs-1.4-r1/work/xorg-docs-1.4/sgml/fonts'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory
> `/var/tmp/portage/app-doc/xorg-docs-1.4-r1/work/xorg-docs-1.4/sgml'
> make: *** [all-recursive] Fehler 1
> 
> !!! ERROR: app-doc/xorg-docs-1.4-r1 failed.
> Call stack:
>   ebuild.sh, line 1638:   Called dyn_compile
>   ebuild.sh, line 985:   Called qa_call 'src_compile'
>   ebuild.sh, line 44:   Called src_compile
>   ebuild.sh, line 1328:   Called x-modular_src_compile
>   x-modular.eclass, line 337:   Called x-modular_src_make
>   x-modular.eclass, line 332:   Called die
> 

I saw the same thing as well.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2007-09-08 15:52:53 UTC
Could you post the elog messages that a re-emerge of app-text/docbook-dsssl-stylesheets-1.79 produces?
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2007-09-08 15:57:11 UTC
(In reply to comment #2)
> Reemerging app-text/jadetex-3.13-r1 helped here.

Yours was a different problem, then.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2007-09-08 16:08:12 UTC
(In reply to comment #5)
> Could you post the elog messages that a re-emerge of
> app-text/docbook-dsssl-stylesheets-1.79 produces?

False alarm. Appears to be unrelated.
Comment 8 Ken Oshakid 2007-09-08 17:05:05 UTC
re-emerging app-text/sgml-common solved it for me
Comment 9 rainer 2007-09-08 17:18:23 UTC
(In reply to comment #8)
> re-emerging app-text/sgml-common solved it for me
> 

I want to confirm that re-emerging app-text/sgml-common also solved the problem for me. 
Comment 10 Bob Johnson 2007-09-08 17:24:42 UTC
(In reply to comment #2)
> Reemerging app-text/jadetex-3.13-r1 helped here.
> 

Same problem here on x86 stable. xorg-docs fails because it can't find 
/usr/bin/pdfjadetex. This (was) a symlink on my system to /usr/bin/pdfvirtex,
which apparently no longer exists. Re-emerging app-text/jadetex restored
/usr/bin/pdfjadetex as a symlink to /usr/bin/pdftex and xorg-docs now compiles.

This appears to be a bug related to jadetex. Once upon a time some ebuild blew
away pdfvirtex but didn't update the symlink correctly.

Comment 11 Bob Johnson 2007-09-08 17:28:56 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > re-emerging app-text/sgml-common solved it for me
> > 
> 
> I want to confirm that re-emerging app-text/sgml-common also solved the problem
> for me. 
> 

Interestingly enough, re-emerge app-text/sgml-common didn't solve it for me. I tried that first. app-text/jadetex worked for me. (See http://bugs.gentoo.org/show_bug.cgi?id=191661#c10.) I wonder if different arch's have different issues? I'm x86 stable.


Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2007-09-08 18:02:29 UTC
# qlop -l app-text/sgml-common xorg-docs app-text/jadetex
Tue Jul  4 23:17:24 2006 >>> app-text/sgml-common-0.6.3-r4
Wed Jul 12 12:01:00 2006 >>> app-text/jadetex-3.13-r1
Fri Jul 21 00:22:15 2006 >>> app-doc/xorg-docs-1.2
Sat Sep 30 03:54:49 2006 >>> app-text/sgml-common-0.6.3-r4
Sat Sep 30 08:08:22 2006 >>> app-text/jadetex-3.13-r1
Mon Oct  2 12:33:32 2006 >>> app-doc/xorg-docs-1.2
Wed Nov  8 15:43:28 2006 >>> app-text/sgml-common-0.6.3-r4
Thu Nov  9 00:19:09 2006 >>> app-text/jadetex-3.13-r1
Mon May 21 01:01:35 2007 >>> app-doc/xorg-docs-1.4
Mon Aug 20 08:26:00 2007 >>> app-text/sgml-common-0.6.3-r5
-->[ During this time, app-doc/xorg-docs-1.4-r1 failed to build ]<--
Sat Sep  8 16:33:50 2007 >>> app-text/jadetex-3.13-r1
Sat Sep  8 19:20:00 2007 >>> app-text/sgml-common-0.6.3-r5
Sat Sep  8 19:55:48 2007 >>> app-doc/xorg-docs-1.4-r1

More confirmation that rebuilding app-text/sgml-common magically fixes the problem. Or app-text/jadetex.
Comment 13 Ian Pickworth 2007-09-08 19:53:36 UTC
(In reply to comment #12)
> 
> More confirmation that rebuilding app-text/sgml-common magically fixes the
> problem. Or app-text/jadetex.
> 
In my case it took an emerge of both - app-text/jadetext fixed the pdfjadetex missing problem, and app-text/sgml-common then fixed the error reported the error fixed in Comment #4.

ipic@ian2 ~ $ qlop -l app-text/sgml-common xorg-docs app-text/jadetex
....
Sat Sep  2 02:03:23 2006 >>> app-text/jadetex-3.13-r1
Sat Sep  2 05:39:12 2006 >>> app-text/sgml-common-0.6.3-r4
Sat Sep  2 08:39:50 2006 >>> app-text/jadetex-3.13-r1
Sat Sep  2 09:03:04 2006 >>> app-doc/xorg-docs-1.2
Mon Apr 30 21:23:00 2007 >>> app-doc/xorg-docs-1.4
Wed Aug 22 07:57:25 2007 >>> app-text/sgml-common-0.6.3-r5
Sat Sep  8 15:05:33 2007 >>> app-text/jadetex-3.13-r1
Sat Sep  8 19:46:32 2007 >>> app-text/sgml-common-0.6.3-r5
Sat Sep  8 19:54:28 2007 >>> app-doc/xorg-docs-1.4-r1

Regards
Ian
Comment 14 David Relson 2007-09-08 23:26:50 UTC
Having read all the comments, I ran:
   emerge -aqv1 jadetex sgml-common xorg-docs

Interestingly this displayed:
  [ebuild  N    ] app-text/jadetex-3.13-r1  
  [ebuild   R   ] app-text/sgml-common-0.6.3-r5  
  [ebuild     U ] app-doc/xorg-docs-1.4-r1 [1.4] USE="doc -debug" 

indicating I didn't have jadetex installed, which I presume to be the reason for the failed xorg-docs build.  This indicates a missing dependency on jadetex, does it not?
Comment 15 Martin Jackson (RETIRED) gentoo-dev 2007-09-09 02:24:31 UTC
No jadetex for me either.  I emerged it, re-emerged sgml-common, and xorg-docs emerged correctly.  x86 stable here, too.
Comment 16 Peter Ansell 2007-09-09 03:38:46 UTC
xorg-docs-1.4-r1 installed for me after I re-emerged jadetex. I am on ~x86 btw. 

I would hazard a guess that one of the eclass's has been updated but since jadetex isn't updated regularly it didn't catch the update until now, but thats just my opinion.

# qlop -l app-text/sgml-common xorg-docs app-text/jadetex
Mon May  9 04:50:32 2005 >>> app-text/sgml-common-0.6.3-r4
Mon May  9 05:04:17 2005 >>> app-text/jadetex-3.13-r1
Sat Mar 25 18:21:03 2006 >>> app-doc/xorg-docs-1.0.1
Fri Mar 31 15:01:24 2006 >>> app-text/sgml-common-0.6.3-r5
Wed Apr  5 15:52:59 2006 >>> app-doc/xorg-docs-1.1
Sun Jun 18 11:50:57 2006 >>> app-doc/xorg-docs-1.2
Tue Jun 20 14:38:12 2006 >>> app-text/sgml-common-0.6.3-r5
Tue Jun 20 17:04:09 2006 >>> app-doc/xorg-docs-1.2
Wed Jun 21 00:34:22 2006 >>> app-text/jadetex-3.13-r1
Sun Feb 18 10:01:43 2007 >>> app-doc/xorg-docs-1.3
Mon Mar  5 09:38:41 2007 >>> app-doc/xorg-docs-1.4
Sun Sep  9 13:01:49 2007 >>> app-text/jadetex-3.13-r1
Sun Sep  9 13:22:21 2007 >>> app-doc/xorg-docs-1.4-r1
Comment 17 Mihai Moldovan 2007-09-09 08:01:09 UTC
(Re?)merging sgml-common did the trick for me as well.

Does anyone close that bug now or will it stay on "new" for all people that search a solution on this? :)

-Ionic
Comment 18 Vasilis Lourdas 2007-09-09 12:27:37 UTC
(In reply to comment #17)
> (Re?)merging sgml-common did the trick for me as well.

Same here. Re-emerging jadetex did not help.
Comment 19 John R. Graham gentoo-dev 2007-09-09 17:51:18 UTC
Well, interestngly enough, re-emerging sgml-common did not work for me either, until *after* I emerged jadetex.  Thus, I concluded that jadetex is a missing dependency of *something*.  Unmerging jadetex had no effect on subsequent builds of xorg-docs.  Therefore, I conclude that jadetex is missing as a built time dependncy of sgml-common, and *not* of xorg-docs.

However, this is one of those weird two-toered dependency issues.  sgml-common installs just file *without* jadetex but will not support the build of xorg-docs unless it was installed while jadetex was installed.

Therefore it leaves me with a question.  Is jatdetex a *proper* dependency of sgml-common or not?

- John
Comment 20 John R. Graham gentoo-dev 2007-09-09 19:59:38 UTC
Created attachment 130432 [details, diff]
Patch for sgml-common-0.6.3-r5 ebuild

Okay, since sgml-common works just fine without jadetex installed, but has additional capabilities if it is built against jadetex, the appropriate thing seems to be a new local USE flag to enable jadetex support for sgml-common.

The attached patch implements the new local USE flag, named "jadetex", and, if set, causes the sgml-common ebuild to depend on app-text/jadetex.
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2007-09-09 20:00:40 UTC
*** Bug 191903 has been marked as a duplicate of this bug. ***
Comment 22 John R. Graham gentoo-dev 2007-09-09 20:03:08 UTC
Created attachment 130434 [details, diff]
Patch to xorg-docs-1.4-r1 ebuild.

A patch for the xorg-docs ebuild that causes it to check whether sgml-common was built with the jadetex USE flag enabled and to fail gracefully with a descriptive error message if not.
Comment 23 Marco Napetti 2007-09-11 12:16:38 UTC
Same problem here, on a stable amd64 system.


Some strange emerge output:

emerge -uDNaqv world
[ebuild     U ] app-doc/xorg-docs-1.4-r1 [1.4] USE="doc -debug"

emerge -aqv1 jadetex sgml-common xorg-docs
[ebuild  N    ] app-text/jadetex-3.13-r1
[ebuild   R   ] app-text/sgml-common-0.6.3-r5
[ebuild     U ] app-doc/xorg-docs-1.4-r1 [1.4] USE="doc -debug"

emerge -uDNaqv jadetex sgml-common xorg-docs
[ebuild     U ] app-text/tetex-3.0_p1-r4 [3.0_p1-r3] USE="X doc -Xaw3d -lesstif -motif -neXt -tk"
[ebuild  N    ] app-text/jadetex-3.13-r1
[ebuild     U ] app-doc/xorg-docs-1.4-r1 [1.4] USE="doc -debug"

And emerge --depclean want to remove app-doc/xorg-sgml-doctools.
Comment 24 John R. Graham gentoo-dev 2007-09-11 15:18:30 UTC
Well then, try out the patches,  :)  On my system at home, these patches represent a clean fox of the issues.

However, the plot is a little thicker.  On a system at work, which *does not* have jadetex installed, xorg-docs-1.4-r1 installed cleanly first time.  In trying to recreate the preconditions that made it fail at home (and thinking that perhaps jadetex *might* have been installed when sgml-common was emerged), I re-emerged sgml-common and then tried xorg-docs again:  *still* succeeded!


So, what I've crafted isn't a complete root cause fix (not to *all* issues, anyway).  I intend to compare the build logs between the two systems to see what else I can discover, but I'll have limited time for the next day or two.

Meanwhile, I'd appreciate it if some other people could try out the patched ebuilds.

- John
Comment 25 Jakub Moc (RETIRED) gentoo-dev 2007-09-16 11:55:03 UTC
*** Bug 192680 has been marked as a duplicate of this bug. ***
Comment 26 Péter Werner 2007-09-17 11:11:45 UTC
Here I have a system where
emerge -1avq jadetex sgml-common xorg-docs
did not help.
Comment 27 Andrea 2007-09-19 14:22:22 UTC
(In reply to comment #26)
> Here I have a system where
> emerge -1avq jadetex sgml-common xorg-docs
> did not help.
> 

Same for me here.

Comment 28 ProTech 2007-09-20 11:06:29 UTC
In my system jadetex is not installed, and never were. Re-emerging sgml-common does not help. xorg-docs emerge output:

make[2]: Entering directory `/var/tmp/portage/app-doc/xorg-docs-1.4-r1/work/xorg-docs-1.4/sgml/core'
SGML_SEARCH_PATH=/usr/share/sgml /usr/bin/docbook2txt Xserver-spec.sgml
Using catalogs: /usr/share/sgml/opensp-1.5.2/OpenSP/catalog, /usr/share/sgml/xml-iso-entities-8879.1986/catalog, /usr/share/sgml/jboss/catalog, /usr/share/sgml/openjade-1.3.2/catalog, /usr/share/sgml/openjade-1.3.2/dsssl/catalog, /usr/share/sgml/sgml-iso-entities-8879.1986/catalog, /usr/share/sgml/docbook/sgml-dtd-4.1/catalog, /usr/share/sgml/docbook/sgml-dtd-3.0/catalog, /usr/share/sgml/docbook/sgml-dtd-4.0/catalog, /usr/share/sgml/docbook/xml-simple-dtd-4.1.2.4/catalog, /usr/share/sgml/docbook/sgml-dtd-4.2/catalog, /usr/share/sgml/docbook/sgml-dtd-3.1/catalog, /usr/share/sgml/docbook/xml-simple-dtd-1.0/catalog, /usr/share/sgml/docbook/sgml-dtd-4.4/catalog, /usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html
Working on: /var/tmp/portage/app-doc/xorg-docs-1.4-r1/work/xorg-docs-1.4/sgml/core/Xserver-spec.sgml
jade:/var/tmp/portage/app-doc/xorg-docs-1.4-r1/work/xorg-docs-1.4/sgml/core/Xserver-spec.sgml:4:0:E: error connecting to "www.oasis-open.org" (Connection timed out)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/docbook.dsl:54:137:Q: number of ID references in start-tag must not exceed GRPCNT (32)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/docbook.dsl:53:0:Q: number of ID references in start-tag must not exceed GRPCNT (32)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1bg.ent:168:282:Q: length of interpreted parameter literal must not exceed LITLEN (240)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1bg.ent:169:282:Q: length of interpreted parameter literal must not exceed LITLEN (240)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1ru.ent:188:290:Q: length of interpreted parameter literal must not exceed LITLEN (240)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/../common/dbl1ru.ent:189:290:Q: length of interpreted parameter literal must not exceed LITLEN (240)
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/dbtable.dsl:224:13:E: 2nd argument for primitive "ancestor" of wrong type: "#<unknown object 137191408>" not a singleton node list
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/dbtable.dsl:224:13:E: 2nd argument for primitive "ancestor" of wrong type: "#<unknown object 137191408>" not a singleton node list
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/../common/dbtable.dsl:224:13:E: 2nd argument for primitive "ancestor" of wrong type: "#<unknown object 137191408>" not a singleton node list
make[2]: *** [Xserver-spec.txt] Error 8
make[2]: Leaving directory `/var/tmp/portage/app-doc/xorg-docs-1.4-r1/work/xorg-docs-1.4/sgml/core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-doc/xorg-docs-1.4-r1/work/xorg-docs-1.4/sgml'
make: *** [all-recursive] Error 1
Comment 29 ProTech 2007-09-20 11:10:48 UTC
I found an interesting line in the above log:

"error connecting to "www.oasis-open.org" (Connection timed out)"

Does this means you need a working internet connection to be able to compile it? My laptop is in the company intranet, and don't have direct access to the internet. Only through a proxy with username/password. 
Comment 30 Michael Behrns-Miller 2007-09-27 20:59:07 UTC
(In reply to comment #29)
> Only through a proxy with username/password. 

Same problem here, same situation: I will need jadetex to go through a proxy.  The rest of gentoo does fine using http_proxy and emerge-webrsync, but not jadetex.  Until that happens I seem to be broken.
Comment 31 Michael Behrns-Miller 2007-10-03 14:17:21 UTC
(In reply to comment #30)
> (In reply to comment #29)
> > Only through a proxy with username/password. 
> 
> Same problem here, same situation: I will need jadetex to go through a proxy. 
> The rest of gentoo does fine using http_proxy and emerge-webrsync, but not
> jadetex.  Until that happens I seem to be broken.
> 

Update: sgml-common is needed by kdelibs, and sgml-common forces xorg-docs to go directly to www.oasis-open.org to get some spec (but with no proxy support).

So it appears that KDE is broken for anyone behind a proxy using the "doc" USE flag.  The workaround for me was to remove the "doc" USE flag for now.
Comment 32 Andrew John Hughes 2007-10-04 08:45:57 UTC
Same here on ppc64, I've tried re-emerging jadetex to no avail.

Portage 2.1.3.9 (default-linux/ppc/ppc64/2006.1/64bit-userland-gcc4/970/pmac, gcc-4.1.2, glibc-2.5-r4, 2.6.19-gentoo-r5.omega ppc64)
=================================================================
System uname: 2.6.19-gentoo-r5.omega ppc64 PPC970MP, altivec supported
Timestamp of tree: Wed, 03 Oct 2007 09:00:01 +0000
distcc 2.18.3 powerpc64-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="ppc64"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O1 -mtune=970 -mcpu=970 -mabi=altivec -pipe -ggdb"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O1 -mtune=970 -mcpu=970 -mabi=altivec -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LINGUAS="en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl addbookmarks alias alsa altivec apache2 apm asf autoreplace avahi bash-completion berkdb bitmap-fonts bzip2 cairo cdda cddb cdparanoia cdr cli connectionstatus contactnotes cpudetection cracklib crypt cups daap dbus dia doc dri dts dv dvd dvdnav dvdr dvdread eds effects emacs emboss encode examples ffmpeg flac foomaticdb gadu gcj gdbm gif gmp gnutls gpgme gpm groupwise gstreamer gtk hal hfs highlight history iconv idn ieee1394 imap imlib ipod ipv6 irc isdnlog jingle jpeg jpeg2k kde lame latex lcms ldap libnotify libwww live mad mbox midi mikmod mng motif mp2 mp3 mpeg mudflap musicbrainz ncurses netmeeting nls nntp nowlistening nptl nptlonly nsplugin objc objc++ objc-gc ogg openal opengl openmp optimisememory oss pam pcre pdf perl png pnm pop postscript ppc64 ppds pppd python qt qt3 qt4 quicktime readline reflection rtc samba sametime sasl sdl session shout slp smime sms smtp speex spell spl sqlite ssl statistics stream svg tcpd tetex texteffect tga theora threads tiff translator truetype truetype-fonts type1-fonts unicode vcd visualization vorbis webpresence winpopup wmf x264 xanim xchattext xcomposite xine xinerama xml xorg xscreensaver xv xvid yahoo zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nv fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 33 Jeroen Roovers (RETIRED) gentoo-dev 2007-10-16 04:54:36 UTC
*** Bug 196002 has been marked as a duplicate of this bug. ***
Comment 34 Matías Graña 2007-10-22 22:21:36 UTC
(In reply to comment #31)
> (In reply to comment #30)
> > (In reply to comment #29)
> So it appears that KDE is broken for anyone behind a proxy using the "doc" USE
> flag.  The workaround for me was to remove the "doc" USE flag for now.

I also have the proxy problem. This didn't solve anything for me. Masking xorg-docs-1.4-r1 did: an emerge -uD world emerged xorg-docs-1.4, which compiled fine.

Comment 35 Jakub Moc (RETIRED) gentoo-dev 2008-01-11 10:30:18 UTC
(In reply to comment #29)
> "error connecting to "www.oasis-open.org" (Connection timed out)"
> 
> Does this means you need a working internet connection to be able to compile
> it? My laptop is in the company intranet, and don't have direct access to the
> internet. Only through a proxy with username/password. 

No, that means you are missing a dependency on some of the app-text/docbook-sgml-dtd cruft or the thing fails to use the locally installed catalogs for whatever reason (corruption etc.)
Comment 36 Ian McCulloch 2008-01-13 00:42:11 UTC
> I also have the proxy problem. This didn't solve anything for me. Masking
> xorg-docs-1.4-r1 did: an emerge -uD world emerged xorg-docs-1.4, which compiled
> fine.
> 

I just had the same experience, behind a non-transparent http proxy.  xorg-docs-1.4 works fine, xorg-docs-1.4-r1 does not.  Would seem to be a regression in xorg-docs.
Comment 37 peyser.alex 2009-03-25 06:13:04 UTC
And now, well into 2009, I have this bug again -- even brutally removing all sgml related packages and reinstalling them does no good (but I appear to have had no problem on an identical machine, with only differences in emerge ordering).

One can always depend on sgml related packages failing under gentoo -- for the last five years running.

Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Mon, 23 Mar 2009 13:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ "
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en es"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-local /usr/portage/local/layman/jokey"
SYNC="rsync://gentoo/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 ao arts artswrappersuid audiofile bash-completion berkdb bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt css cups curl dbus doc dri dv dvd dvdr dvdread eds emacs emboss emerald emovix encode esd evo exif extrafilters fam fame fat ffmpeg firefox flac fontconfig foomaticdb fortran gd gdbm gif gimp gnome gpm gs gstreamer gtk hal hddtemp hfs iconv ieee1394 imagemagick ipv6 isdnlog java jpeg kde kpathsea ladspa lame latex lcms ldap libnotify libsamplerate lm_sensors lzo mad midi mikmod mjpeg mmx mono mp3 mpeg mpi mudflap multilib musepack musicbrainz ncurses network nforce2 nls nptl nptlonly nsplugin ntfs nvidia offensive ogg opengl openmp pam pcre pdf perl plotutils pmu png portaudio ppds pppd preview-latex python qt3 qt3support qt4 quicktime raw readline reflection sdl sensord session smp sndfile sound spell spl sse sse2 ssl startup-notification svg symlink sysfs tcpd theora threads tiff truetype unicode usb userpriv v4l v4l2 vcd vorbis wmf x264 xcb xcomposite xetex xinerama xml xmp xorg xpm xprint xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 38 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-23 15:47:48 UTC
*** Bug 192243 has been marked as a duplicate of this bug. ***
Comment 39 Tomáš Chvátal (RETIRED) gentoo-dev 2009-12-25 16:38:42 UTC
Package was removed from main tree.