Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 388479

Summary: xorg-server-1.9.5-r1 fails to build when docbook-xml-dtd:4.3 is missing
Product: Gentoo Linux Reporter: Joerg Schaible <joerg.schaible>
Component: [OLD] UnspecifiedAssignee: Gentoo X packagers <x11>
Severity: normal CC: jem
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Joerg Schaible 2011-10-25 21:07:23 UTC
The ebuild of xorg-server-1.9.5-r1 fails to declare a build dependency to docbook-xml-dtd:4.3. The build fails if the package is not installed.

Reproducible: Always

Steps to Reproduce:
1. Unmerge docbook-xml-dtd:4.3 if it is installed
2. Emerge xorg-server-1.9.5-r1
Actual Results:  
Build fails generating the man pages.

Expected Results:  
docbook-xml-dtd:4.3 should have been installed first to build xorg-sewrver 1.9.5-r1 successfully.

>>> Source configured.
>>> Compiling source in /var/tmp/portage/portage/x11-base/xorg-server-1.9.5-r1/work/xorg-server-1.9.5 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/portage/x11-base/xorg-server-1.9.5-r1/work/xorg-server-1.9.5_build"
make -j3 -s 
Making all in doc
Making all in xml
Making all in dtrace
  GEN    Xserver-DTrace.html
/usr/bin/xmlto: Zeile 316: local: kann nur innerhalb einer Funktion benutzt werden.
xmlto: /var/tmp/portage/portage/x11-base/xorg-server-1.9.5-r1/work/xorg-server-1.9.5/doc/xml/dtrace/Xserver-DTrace.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
/var/tmp/portage/portage/x11-base/xorg-server-1.9.5-r1/work/xorg-server-1.9.5/doc/xml/dtrace/Xserver-DTrace.xml:5: warning: failed to load external entity ""
warning: failed to load external entity ""
validity error : Could not load the external subset ""
Document /var/tmp/portage/portage/x11-base/xorg-server-1.9.5-r1/work/xorg-server-1.9.5/doc/xml/dtrace/Xserver-DTrace.xml does not validate
make[4]: *** [Xserver-DTrace.html] Fehler 13
make[3]: *** [all-recursive] Fehler 1
make[2]: *** [all-recursive] Fehler 1
make[1]: *** [all] Fehler 2
make: *** [all-recursive] Fehler 1
emake failed
 * ERROR: x11-base/xorg-server-1.9.5-r1 failed (compile phase):
 *   died running emake, base_src_make
 * Call stack:
 *, line   91:  Called src_compile
 *   environment, line 3880:  Called xorg-2_src_compile
 *   environment, line 4906:  Called autotools-utils_src_compile
 *   environment, line  829:  Called base_src_compile
 *   environment, line  974:  Called base_src_make
 *   environment, line 1012:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 * If you need support, post the output of 'emerge --info =x11-base/xorg-server-1.9.5-r1',
 * the complete build log and the output of 'emerge -pqv =x11-base/xorg-server-1.9.5-r1'.
 * The complete build log is located at '/var/log/portage/x11-base:xorg-server-1.9.5-r1:20111025-205511.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/x11-base/xorg-server-1.9.5-r1/temp/environment'.
 * S: '/var/tmp/portage/portage/x11-base/xorg-server-1.9.5-r1/work/xorg-server-1.9.5'

>>> Failed to emerge x11-base/xorg-server-1.9.5-r1
Comment 1 Matt Turner gentoo-dev 2017-01-26 06:01:17 UTC
*** Bug 389789 has been marked as a duplicate of this bug. ***
Comment 2 Matt Turner gentoo-dev 2018-06-08 06:20:28 UTC
xorg-2.eclass has

    doc? (

and xorg-server has


so this was fixed at some point.