Summary: | gnome-extra/gnome-power-manager-2.24.0 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maciej Piechotka <uzytkownik2> |
Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, pacho, tetromino |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 238235 | ||
Bug Blocks: | 238650 | ||
Attachments: |
gnome-power-manager-2.24.0-build-log
0001-Fixed-gnome-power-manager-2.24.0-docbook2man-issues.patch 0001-Fixed-gnome-power-manager-2.24.0-docbook2man-issues.patch |
Description
Maciej Piechotka
2008-09-29 07:02:39 UTC
I can confirm the build failure. # USE="X doc policykit" emerge gnome-power-manager [...] Making all in man make[2]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.0/work/gnome-power-manager-2.24.0/man' docbook2man gnome-power-manager.sgml > gnome-power-manager.1 docbook2man gnome-power-statistics.sgml > gnome-power-statistics.1 docbook2man gnome-power-preferences.sgml > gnome-power-preferences.1 nsgmls:/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.0/work/gnome-power-manager-2.24.0/man/gnome-power-statistics.sgml:1:59:W: cannot generate system identifier for public text "-//OASIS//DTD DocBook V4.1//EN" nsgmls:/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.0/work/gnome-power-manager-2.24.0/man/gnome-power-statistics.sgml:34:0:E: reference to entity "REFENTRY" for which no system identifier could be generated nsgmls:/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.0/work/gnome-power-manager-2.24.0/man/gnome-power-statistics.sgml:1:0: entity was defined here nsgmls:/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.0/work/gnome-power-manager-2.24.0/man/gnome-power-statistics.sgml:34:0:E: DTD did not contain element declaration for document type name nsgmls:/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.0/work/gnome-power-manager-2.24.0/man/gnome-power-statistics.sgml:36:9:E: element "REFENTRY" undefined [...] nsgmls:/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.0/work/gnome-power-manager-2.24.0/man/gnome-power-preferences.sgml:114:9:E: element "PARA" undefined nsgmls:/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.0/work/gnome-power-manager-2.24.0/man/gnome-power-preferences.sgml:114:63:E: element "EMAIL" undefined nsgmls:/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.0/work/gnome-power-manager-2.24.0/man/gnome-power-preferences.sgml:115:22:E: element "PRODUCTNAME" undefined make[2]: *** [gnome-power-manager.1] Error 8 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [gnome-power-statistics.1] Error 8 make[2]: *** [gnome-power-preferences.1] Error 8 make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.0/work/gnome-power-manager-2.24.0/man' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.0/work/gnome-power-manager-2.24.0' make: *** [all] Error 2 * * ERROR: gnome-extra/gnome-power-manager-2.24.0 failed. Note that the same error occurs even when USE=-doc Created attachment 166740 [details]
gnome-power-manager-2.24.0-build-log
The complete build log
please report upstream and paste the url in the URL field, thanks. Maybe I am wrong but, I dubt it's safe use as much CFLAGS as you seem to be using, Have you tried with less CFLAGS? Something like "-Os -march=pentium-m -pipe" (In reply to comment #4) > Maybe I am wrong but, I dubt it's safe use as much CFLAGS as you seem to be > using, Have you tried with less CFLAGS? Something like "-Os -march=pentium-m > -pipe" Pacho, before you start spreading wrong information, -Os *breaks* applications and some libraries (including gtk+ itself), you should *not* be using it. Thanks (In reply to comment #5) > (In reply to comment #4) > > Maybe I am wrong but, I dubt it's safe use as much CFLAGS as you seem to be > > using, Have you tried with less CFLAGS? Something like "-Os -march=pentium-m > > -pipe" > > Pacho, before you start spreading wrong information, -Os *breaks* applications > and some libraries (including gtk+ itself), you should *not* be using it. > > Thanks > I posted -Os simply because reporter was using it (maybe because it prefers it for any reason). But, thanks for the recommendation :-) Please mark this as "depends on bug 238235". CFLAGS has nothing to do with this; this is a docbook script failure. After peppering the scripts that comprise the bizarre docbook build system with echo's, I've figured out a cause: line 16 in /usr/share/sgml/docbook/utils-0.6.14/frontends/docbook : "grep -i '<!DOCTYPE' " Now, you may ask, what could possibly be wrong with that line? Well, it turns out, the developers of grep-2.5.3 in their infinite wisdom *broke the -i switch*. WTF? Downgrading to grep-2.5.1a-r1 makes gnome-power-manager-2.24.0 compile once again. That grep should be bloody masked or fixed I think. Some other things broke too, ask omp :P base-system@, what say you? Note to others about gnome-power-manager - I'd like to forward port CPU freq UI before putting it to portage, because otherwise people are loosing their gconf saved settings on frequency due to schemas loosing the entries, and we should want the freq UI to be back because ondemand sucks in too many cases still Created attachment 166946 [details, diff]
0001-Fixed-gnome-power-manager-2.24.0-docbook2man-issues.patch
The patch for overlay fixing this issue - at least for me.
It is also in: git://github.com/uzytkownik/gnome-overlay.git - however as multiply commits.
It looks like the old sed line is failing because it was working on Makefile.am and not Makefile.in. Could you try with that instead? If it works, it'd save an eautoreconf call :) Thanks Created attachment 166967 [details, diff]
0001-Fixed-gnome-power-manager-2.24.0-docbook2man-issues.patch
The second patch
Fixed in overlay, I've also removed some lines which seemed like left-overs from older versions. Thanks |