First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 166127
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo SGML herd <sgml@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Anthony Mutiso <anm.mlist01@limuru.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
docbook2X-0.8.7.ebuild New ebuild, --prefix-program=.pl and an elog text/plain Alec Warner 2007-04-11 07:44 0000 927 bytes Details
docbook2X-0.8.7-r1.ebuild Fix for the "fixed" docbook2X-0.8.7-r1.ebuild text/plain Thomas S. Howard 2007-07-23 02:34 0000 988 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 166127 depends on: Show dependency tree
Show dependency graph
Bug 166127 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-02-09 21:02 0000
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 From Jakub Moc 2007-02-26 07:22:25 0000 -------
*** Bug 168391 has been marked as a duplicate of this bug. ***

------- Comment #2 From Jakub Moc 2007-02-27 15:12:20 0000 -------
*** Bug 166777 has been marked as a duplicate of this bug. ***

------- Comment #3 From Alec Warner 2007-04-11 07:44:29 0000 -------
Created an attachment (id=115950) [edit]
New ebuild, --prefix-program=.pl and an elog

Someone commit this.

------- Comment #4 From Robin Johnson 2007-04-11 08:10:50 0000 -------
in cvs now.

------- Comment #5 From Thomas S. Howard 2007-07-23 02:34:35 0000 -------
Created an attachment (id=125715) [edit]
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 From Peter Volkov 2008-04-09 09:33:30 0000 -------
Thomas, thank you, I've applied your patch (and fixed bug #205703). But next
time, please, open new bug to report new breakages.

First Last Prev Next    No search results available      Search page      Enter new bug