Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316025 - gnome-base/gdm-2.20 missing dependency on docbook-xml-dtd
Summary: gnome-base/gdm-2.20 missing dependency on docbook-xml-dtd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-18 21:38 UTC by Patrick
Modified: 2010-04-24 17:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2010-04-18 21:38:52 UTC
gdm depends upon a specific version of docbook-xml-dtd. Without it installed, the build fails with various errors.
In this case gdm-2.20.10 depends on docbook-xml-dtd-4.1.2

Reproducible: Always

Steps to Reproduce:
1. Try to install gdm-2.20.10-r3 without docbook-xml-dtd-4.1.2 installed

Actual Results:  
xsltproc -o gdm-ko.omf --stringparam db2omf.basename gdm --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang ko --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/var/tmp/portage/gnome-base/gdm-2.20.10-r3/work/gdm-2.20.10/docs/gdm.omf.in"  --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` ko/gdm.xml || { rm -f "gdm-ko.omf"; exit 1; }
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:113: parser error : Comment must not contain '--' (double-hyphen)
<!--end of ISOcyr1.module-->]]>
    ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:116: parser warning : PEReference: %ISOcyr2.module; not found
<![%ISOcyr2.module;[
                   ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:116: parser error : conditional section INCLUDE or IGNORE keyword expected
<![%ISOcyr2.module;[
                   ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:116: parser error : Content error in the external subset
<!ENTITY % ISOcyr2 PUBLIC
 ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:116: validity error : All markup of the conditional section is not in the same entity
<!ENTITY % ISOcyr2 PUBLIC
 ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:116: parser error : Content error in the external subset
<!ENTITY % ISOcyr2 PUBLIC
    ^
unable to parse ko/gdm.xml
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-lat2.ent:41: parser error : Content error in the external subset
<!E
^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-lat2.ent:41: validity error : All markup of the conditional section is not in the same entity
<!E
^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:177: validity error : All markup of the conditional section is not in the same entity
<!--end of ISOlat2.module-->]]>
                            ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:180: parser warning : PEReference: %ISOnum.module; not found
<![%ISOnum.module;[
                  ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:180: parser error : conditional section INCLUDE or IGNORE keyword expected
<![%ISOnum.module;[
                  ^
http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod:180: parser error : Content error in the external subset
<!ENTITY % ISOnum PUBLIC
 ^
unable to parse fr/gdm.xml
make[2]: *** [gdm-ko.omf] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [gdm-fr.omf] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/gdm-2.20.10-r3/work/gdm-2.20.10/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/gdm-2.20.10-r3/work/gdm-2.20.10'
make: *** [all] Error 2
 * ERROR: gnome-base/gdm-2.20.10-r3 failed:
 *   compile failure
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3223:  Called gnome2_src_compile
 *   environment, line 2426:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"

Expected Results:  
>>> Completed installing gdm-2.20.10-r3 into /var/tmp/portage/gnome-base/gdm-2.20.10-r3/image/
Comment 1 Pacho Ramos gentoo-dev 2010-04-23 07:14:42 UTC
gdm requires pango, and pango requires that docbook-xml-dtd version :-/
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-23 08:46:03 UTC
yes but it's a DEPEND, you can't rely on DEPENDs of another package.
Comment 3 Patrick 2010-04-24 00:30:59 UTC
Also, pango is an RDEPEND, meaning pango could be installed after the gdm emerge.
Comment 4 Pacho Ramos gentoo-dev 2010-04-24 17:59:58 UTC
Thanks Gilles for pointing it.

+  24 Apr 2010; Pacho Ramos <pacho@gentoo.org> gdm-2.20.10-r3.ebuild,
+  gdm-2.26.1.ebuild, gdm-2.28.2-r1.ebuild:
+  Add a DEPEND on app-text/docbook-xml-dtd:4.1.2 per bug #316025 (thanks to
+  Patrick for reporting).


Just solved in 2.20.10-r3 and newer versions since all gdm versions seem to need it. I haven't touched 2.20.10-r2 because it's current stable and -r3 will go to stable soon with Gnome 2.28 but, if any other Gnome team member complaints, I will add DEPEND to it also without problems.