Bug 147907 - gnome-extra/gnome-power-manager-2.16.x: configure: error: Building DocBook docs explicitly required, but DocBook not found
|
Bug#:
147907
|
Product: Gentoo Linux
|
Version: 2006.1
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: gnome@gentoo.org
|
Reported By: askwar@digitalprojects.com
|
|
Component: GNOME
|
|
|
URL:
|
|
Summary: gnome-extra/gnome-power-manager-2.16.x: configure: error: Building DocBook docs explicitly required, but DocBook not found
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-09-17 02:54 0000
|
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
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?
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
(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.
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
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).
Created an attachment (id=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.
Created an attachment (id=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.
emerge -e world would fix it. The issue is that you dont have
docbook-sgml-tools (which is in the dependencies).
(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?
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).
text-markup: should openjade be enough to get xmlto? Or should we add explicit
deps on xmlto for everything?
(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.
I know, I can read ebuilds. I asked text-markup, since they maintain openjade,
and not gnome.
(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.
(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.