Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147907 - gnome-extra/gnome-power-manager-2.16.x: configure: error: Building DocBook docs explicitly required, but DocBook not found
Summary: gnome-extra/gnome-power-manager-2.16.x: configure: error: Building DocBook do...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2.16
  Show dependency tree
 
Reported: 2006-09-17 02:54 UTC by Alexander Skwar
Modified: 2006-11-07 12:52 UTC (History)
3 users (show)

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


Attachments
config.log (config.log,54.03 KB, text/plain)
2006-09-17 02:54 UTC, Alexander Skwar
Details
emerge -ep world (emerge-ep-world.txt,34.26 KB, text/plain)
2006-09-30 14:06 UTC, Alexander Skwar
Details
config.log from gnome-power-manager-2.16.1 (config.log,54.11 KB, text/plain)
2006-10-13 12:52 UTC, Alexander Skwar
Details
gnome-power-manager-2.16.1-r1.ebuild.xmlto-only-with-doc.patch (gnome-power-manager-2.16.1-r1.ebuild.xmlto-only-with-doc.patch,495 bytes, patch)
2006-11-07 11:40 UTC, Alexander Skwar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2006-09-17 02:54:37 UTC
I tried to build gnome-extra/gnome-power-manager-2.16.0:

[ebuild     U ] gnome-extra/gnome-power-manager-2.16.0 [2.14.3-r1] USE="-debug doc libnotify" 0 kB

Fails:

checking for IceConnectionNumber in -lICE... yes
checking whether to support PolicyKit... checking for xmlto... no
checking whether to build DocBook documentation... configure: error: Building DocBook docs explicitly required, but DocBook not found

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /Gentoo/Portage/build/portage/gnome-power-manager-2.16.0/work/gnome-power-manager-2.16.0/config.log

!!! ERROR: gnome-extra/gnome-power-manager-2.16.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called gnome2_src_compile
  gnome2.eclass, line 63:   Called gnome2_src_configure
  gnome2.eclass, line 59:   Called econf '--enable-docbook-docs' '--enable-libnotify' '--enable-actions-menu' '--with-dpms-ext' '--enable-gtk-doc'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


alexander@blatt /tmp $ emerge --info
Portage 2.1.2_pre1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r6.044.no-kernel-alsa i686)
=================================================================
System uname: 2.6.17-suspend2-r6.044.no-kernel-alsa i686 Intel(R) Celeron(R) M processor         1.50GHz
Gentoo Base System version 1.12.5
Last Sync: Sun, 17 Sep 2006 06:20:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 2.0.28-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/   http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/   ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     http://distro.ibiblio.org/pub/linux/distributions/gentoo/      ftp://distro.ibiblio.org/pub/linux/distributions/gentoo         http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LINGUAS="de"
PKGDIR="/Gentoo/Portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 alsa berkdb bitmap-fonts cli crypt dlloader dri elibc_glibc esd fortran gdbm gnome gstreamer hal input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog kdeenablefinal kdehiddenvisibility kernel_linux libedit libg++ libnotify linguas_de ncurses nls nptl nptlonly pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_vesa video_cards_vga video_cards_via xorg zlib"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexander Skwar 2006-09-17 02:54:59 UTC
Created attachment 97217 [details]
config.log
Comment 2 Alexander Skwar 2006-09-17 02:57:46 UTC
I don't have xmlto installed. In config.log, I find:

configure:23162: checking for xmlto
configure:23193: result: no
configure:23200: checking whether to build DocBook documentation
configure:23216: error: Building DocBook docs explicitly required, but DocBook not found

Is there a dependency missing on xmlto?
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-09-18 20:52:22 UTC
You have the doc use flag.  This pulls in docbook-sgml-utils, which pulls in openjade, which pulls in xmlto, so you *should* have xmlto on your system.  emerge -auvD --newuse world should pull it in.

Workarounds: emerge gnome-power-manager with -doc, or emerge -1 xmlto
Comment 4 Alexander Skwar 2006-09-18 23:17:30 UTC
(In reply to comment #3)
> You have the doc use flag.  This pulls in docbook-sgml-utils, which pulls in
> openjade, which pulls in xmlto, so you *should* have xmlto on your system. 
> emerge -auvD --newuse world should pull it in.
> 

Correct, I set USE=doc. But xmlto isn't pulled in. Also not shown by "emerge -puvD --newuse world"

alexander@blatt ~ $ emerge -pauvD --newuse world
>>> --pretend disables --ask... removing --ask from options.

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild   R   ] sys-apps/baselayout-1.12.5  USE="-bootstrap -build static unicode*" 0 kB 
[ebuild   R   ] gnome-extra/gnome-power-manager-2.16.0  USE="-debug doc* libnotify" 0 kB 

Total size of downloads: 0 kB


alexander@blatt /dev/shm $ LC_ALL=C ls -lad /var/db/pkg/*/*{doc*sgml*uti,openjade,xmlt}*
ls: cannot access /var/db/pkg/*/*xmlt*: No such file or directory
drwxr-xr-x 2 root root 4096 Sep  9 20:53 /var/db/pkg/app-text/docbook-sgml-utils-0.6.14
drwxr-xr-x 2 root root 4096 Sep  9 20:49 /var/db/pkg/app-text/openjade-1.3.2-r1

Reopening and adding text-markup to CC, as openjade doesn't depend on xmlto, although it should, as you say.

> Workarounds: emerge gnome-power-manager with -doc, or emerge -1 xmlto

Uhm, no. If gnome-power-manager doc doesn't work (as shown in this bug), then the doc flag should be removed. Or it should (maybe indirectly) depend on xmlto, which would be the correct procedure.
Comment 5 Alexander Skwar 2006-09-18 23:18:24 UTC
alexander@blatt ~ $ emerge -vpt openjade

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] app-text/openjade-1.3.2-r1  0 kB 

Total size of downloads: 0 kB


alexander@blatt /dev/shm $ emerge -vptDu openjade

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!

Total size of downloads: 0 kB

Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-09-30 13:45:16 UTC
Um, no.  There is nothing wrong with the deps, there is something wrong with your system. Your system thinks xmlto is installed when it's not (or xmlto bin was removed for some reason). You can use one of the workarounds, or you can emerge -e world, which should fix your system (but will take a long time).
Comment 7 Alexander Skwar 2006-09-30 14:06:51 UTC
Created attachment 98471 [details]
emerge -ep world

(In reply to comment #6)
> Um, no.  There is nothing wrong with the deps, there is something wrong with
> your system. Your system thinks xmlto is installed when it's not (or xmlto bin
> was removed for some reason). You can use one of the workarounds, or you can
> emerge -e world, which should fix your system (but will take a long time).

emerge -e world will not reinstall xmlto. See attached file.

So I still think, that there's something wrong with the dependencies. Or, maybe,  you could show what's wrong with my system.
Comment 8 Alexander Skwar 2006-10-13 12:52:56 UTC
Created attachment 99585 [details]
config.log from gnome-power-manager-2.16.1

The problem still exists with gnome-extra/gnome-power-manager-2.16.1

What does make you think, that there's nothing wrong with the dependencies? If everything were correct, shouldn't "emerge -e world" fix this?

checking for gconftool-2... /usr/bin/gconftool-2
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether to support PolicyKit... checking for xmlto... no
checking whether to build DocBook documentation... configure: error: Building DocBook docs explicitly required, but DocBook not found

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /Gentoo/Portage/build/portage/gnome-extra/gnome-power-manager-2.16.1/work/gnome-power-manager-2.16.1/config.log

!!! ERROR: gnome-extra/gnome-power-manager-2.16.1 failed.
Call stack:
  ebuild.sh, line 1548:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1257:   Called gnome2_src_compile
  gnome2.eclass, line 63:   Called gnome2_src_configure
  gnome2.eclass, line 59:   Called econf '--enable-docbook-docs' '--enable-libnotify' '--enable-actions-menu' '--with-dpms-ext' '--enable-gtk-doc'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 9 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-10-22 19:38:54 UTC
emerge -e world would fix it.  The issue is that you dont have docbook-sgml-tools (which is in the dependencies).
Comment 10 Alexander Skwar 2006-10-23 00:10:11 UTC
(In reply to comment #9)
> emerge -e world would fix it. 

It would? Then why does it not fix this problem? See attachment id=98471: "emerge -ep world".

> The issue is that you dont have
> docbook-sgml-tools (which is in the dependencies).

Then there's something wrong with the dependencies, as emerge -e world should, in theory, fix this issue, but in reality it does not.

What package should have docbook-sgml-tools as a dependency?
Comment 11 Michael Gorse 2006-10-23 20:26:14 UTC
I had the same problem.  Emerging xmlto fixed it.

gnome-power-manager does depend on docbook-sgml-utils, which depends on openjade, which depends on >=app-text/opensp-1.5-r1.  I had opensp-1.5.1 installed, and it does not depend on xmlto.  Opensp-1.5.2 does depend on xmlto, however.  If openjade is supposed to bring in xmlto, then perhaps it should be made to depend on >=app-text/opensp-1.5.2 rather than 1.5-r1?(In reply to comment #9)
> emerge -e world would fix it.  The issue is that you dont have
> docbook-sgml-tools (which is in the dependencies).

Comment 12 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-11-06 09:32:32 UTC
text-markup: should openjade be enough to get xmlto?  Or should we add explicit deps on xmlto for everything?
Comment 13 Alexander Skwar 2006-11-06 09:58:29 UTC
(In reply to comment #12)
> text-markup: should openjade be enough to get xmlto?

The problem lies with opensp. As Michael pointed out, opensp/opensp-1.5.2-r1.ebuild has: 


DEPEND="nls? ( >=sys-devel/gettext-0.14.5 )
    doc? (
        app-text/xmlto
        ~app-text/docbook-xml-dtd-4.1.2
    )"

There's no such depend with opensp/opensp-1.5.1.

So, with the current versions and deps, openjade will *NOT* get xmlto. Just like I'm telling you for more than 6 weeks now.

>  Or should we add explicit
> deps on xmlto for everything?

IMO it should either depend on >opensp-1.5.1 or opensp-1.5.1 must also get a depend on xmlto, just like 1.5.2-r1 has.

But that's been made clear by Michael close to two weeks ago.
Comment 14 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-11-06 16:43:46 UTC
I know, I can read ebuilds.  I asked text-markup, since they maintain openjade, and not gnome.
Comment 15 Leonardo Boshell (RETIRED) gentoo-dev 2006-11-06 17:16:03 UTC
(In reply to comment #12)
> text-markup: should openjade be enough to get xmlto?  Or should we add explicit
> deps on xmlto for everything?

Openjade shouldn't be relied upon to have xmlto as a dependency.

I'm not sure what you mean by "for everything", but looking at g-p-m's configure.in, this package looks for xmlto explicitely when --enable-docbook-docs is passed, which is not something a lot of GNOME packages do :), so adding the dependency to g-p-m's ebuild seems pretty justified.
Comment 16 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-11-07 09:40:19 UTC
Fixed.
Comment 17 Alexander Skwar 2006-11-07 11:39:06 UTC
(In reply to comment #16)
> Fixed.
> 

Yes, that will work, however it's not a good fix - IMO. gpm now always depends on xmlto. If it's built with USE=-doc, xmlto is not required.

I'll attach a patch, which fixes this.
Comment 18 Alexander Skwar 2006-11-07 11:40:33 UTC
Created attachment 101407 [details, diff]
gnome-power-manager-2.16.1-r1.ebuild.xmlto-only-with-doc.patch

Moving dependency on xmlto into the "doc?" section.
Comment 19 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-11-07 12:52:18 UTC
Sorry, fixed again.