Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423493 - app-emulation/qemu - ?
Summary: app-emulation/qemu - ?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-25 17:18 UTC by Sinan Akpolat
Modified: 2012-07-03 13:37 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 Sinan Akpolat 2012-06-25 17:18:49 UTC
I tried to emerge qemu (app-emulation/qemu-0.11.1-r1) but it fails while compiling the source in an interesting step. It seems to be failing while generating documentation, qemu-doc.html via texi2html (texi2html-5.0-r1) program. 

I solved the problem by changing Makefile it is detailed in Additional Info field.


Reproducible: Always

Steps to Reproduce:
1. Type emerge qemu, works on qemu-0.11.1-r1 (maybe in qemu-0.11.1 too) which depends on texi2html
2.
3.
Actual Results:  
It prints

  GEN   qemu-doc.html
Option number is ambiguous (number-footnotes, number-sections)
Try `texi2html --help' for more information.
make: *** [qemu-doc.html] Error 2
emake failed 

and gives usual emerge failure outputs.

Expected Results:  
It should continue compiling after generating the html documents.

I asked about this in the Gentoo forums (http://forums.gentoo.org/viewtopic-t-927994.html?sid=2e5d4c2104dde43474f2170c4b2f45a0) and learned that texi2html should be called with -number-sections parameter instead of only -number. I unpacked the ebuild and under unpack-dir/qemu-0.11.1-r1/work/qemu-0.11.1 I opened Makefile and changed the line containing texi2html.

It is only a single line. It reads:

 $(call quiet-command,texi2html -I=. -monolithic -number $<,"  GEN   $@")

I changed "-number" to "-number-sections":

$(call quiet-command,texi2html -I=. -monolithic -number-sections $<,"  GEN   $@")

And now it compiles fine. I didn't xheck out the doc file though.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-27 01:06:17 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.