Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166127 - app-text/docbook2X and app-text/docbook-sgml-utils - collision in /usr/bin/{docbook2man,docbook2texi}
Summary: app-text/docbook2X and app-text/docbook-sgml-utils - collision in /usr/bin/{d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
: 166777 168391 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-09 21:02 UTC by Anthony Mutiso
Modified: 2008-04-09 09:33 UTC (History)
3 users (show)

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


Attachments
New ebuild, --prefix-program=.pl and an elog (docbook2X-0.8.7.ebuild,927 bytes, text/plain)
2007-04-11 07:44 UTC, Alec Warner (RETIRED)
Details
Fix for the "fixed" docbook2X-0.8.7-r1.ebuild (docbook2X-0.8.7-r1.ebuild,988 bytes, text/plain)
2007-07-23 02:34 UTC, Thomas S. Howard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Mutiso 2007-02-09 21:02:53 UTC
I was having trouble with an emerge of gnome-power-manager failing on a SGML to man conversion step. Eventually traced to problem to the fact that I had both app-text/docbook2X and app-text/docbook-sgml-utils installed and the /usr/bin/docbook2man file as taken from the app-text/docbook2X which did not work.

After "emerge -vCa app-text/docbook2X-0.8.7" and "emerge -va app-text/docbook-sgml-utils" all worked as expected.


Reproducible: Didn't try

Steps to Reproduce:
1. emerge =app-text/docbook-sgml-utils-0.6.14
2. emerge =app-text/docbook2X-0.8.7
3. emerge =gnome-extra/gnome-power-manager-2.16.3

Actual Results:  
--- Cut from portage log ---
Making all in man
make[2]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.16.3/work/gnome-power-manager-2.16.3/man'
docbook2man gnome-power-manager.sgml > gnome-power-manager.1
docbook2man gnome-power-preferences.sgml > gnome-power-preferences.1
gnome-power-manager.sgml:1: parser error : StartTag: invalid element name
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
 ^
gnome-power-manager.sgml:1: parser error : Extra content at the end of the document
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
 ^
unable to parse gnome-power-manager.sgml
gnome-power-preferences.sgml:1: parser error : StartTag: invalid element name
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
 ^
gnome-power-preferences.sgml:1: parser error : Extra content at the end of the document
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
 ^
unable to parse gnome-power-preferences.sgml
Empty Stream at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi/XML/LibXML/SAX/Parser.pm line 24
make[2]: *** [gnome-power-preferences.1] Error 9
make[2]: *** Waiting for unfinished jobs....
Empty Stream at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi/XML/LibXML/SAX/Parser.pm line 24
make[2]: *** [gnome-power-manager.1] Error 9
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.16.3/work/gnome-power-manager-2.16.3/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.16.3/work/gnome-power-manager-2.16.3'
make: *** [all] Error 2
make: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.16.3/work/gnome-power-manager-2.16.3'

!!! ERROR: gnome-extra/gnome-power-manager-2.16.3 failed.
Call stack:
  ebuild.sh, line 1613:   Called dyn_compile
  ebuild.sh, line 970:   Called qa_call 'src_compile'
  environment, line 1762:   Called src_compile
  ebuild.sh, line 1303:   Called gnome2_src_compile
  gnome2.eclass, line 71:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/gnome-extra:gnome-power-manager-2.16.3:20070207-211432.log'.



Expected Results:  
Normal emerge results

Removing app-text/docbook2X-0.8.7 and remerge app-text/docbook-sgml-utils-0.6.14 allows the emerge of gnome-extra/gnome-power-manager-2.16.3 to complete.

There maybe other examples of of the difference between
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 07:22:25 UTC
*** Bug 168391 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-27 15:12:20 UTC
*** Bug 166777 has been marked as a duplicate of this bug. ***
Comment 3 Alec Warner (RETIRED) archtester gentoo-dev Security 2007-04-11 07:44:29 UTC
Created attachment 115950 [details]
New ebuild, --prefix-program=.pl and an elog

Someone commit this.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-04-11 08:10:50 UTC
in cvs now.
Comment 5 Thomas S. Howard 2007-07-23 02:34:35 UTC
Created attachment 125715 [details]
Fix for the "fixed" docbook2X-0.8.7-r1.ebuild

Apparently, no one noticed until now that tacking on a ".pl" to everything breaks the two scripts that actually need renaming.  Also, it renames the utf8trans binary, which is compiled from C source, and sgml2xml-isoent which is really a big sed script with a bit of shell wrapping it. I've fixed this by only renaming the two files that actually collide.
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2008-04-09 09:33:30 UTC
Thomas, thank you, I've applied your patch (and fixed bug #205703). But next time, please, open new bug to report new breakages.