Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272010 - app-text/asciidoc-8.4.4 missing dependency of app-text/docbook-xml-dtd-4.5
Summary: app-text/asciidoc-8.4.4 missing dependency of app-text/docbook-xml-dtd-4.5
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-31 18:25 UTC by Jouni Rinne
Modified: 2009-06-27 08:23 UTC (History)
3 users (show)

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 Jouni Rinne 2009-05-31 18:25:42 UTC
I got the following error while updating awesome (USE="dbus -doc"):

>>> Emerging (1 of 1) x11-wm/awesome-3.2.1-r3
 * awesome-3.2.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                 [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking awesome-3.2.1.tar.bz2 to /var/tmp/portage/x11-wm/awesome-3.2.1-r3/work
>>> Source unpacked in /var/tmp/portage/x11-wm/awesome-3.2.1-r3/work
>>> Preparing source in /var/tmp/portage/x11-wm/awesome-3.2.1-r3/work/awesome-3.2.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-wm/awesome-3.2.1-r3/work/awesome-3.2.1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-wm/awesome-3.2.1-r3/work/awesome-3.2.1_build"
loading initial cache file /var/tmp/portage/x11-wm/awesome-3.2.1-r3/temp/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- cat -> /bin/cat
-- ln -> /bin/ln
-- grep -> /bin/grep
-- git -> /usr/bin/git
-- hostname -> /bin/hostname
-- gperf -> /usr/bin/gperf
-- asciidoc -> /usr/bin/asciidoc
-- xmlto -> /usr/bin/xmlto
-- gzip -> /bin/gzip
-- lua -> /usr/bin/lua
-- luadoc not found.
-- Could NOT find Doxygen  (missing:  DOXYGEN_EXECUTABLE)
-- Looking for wsyncup in /lib/libcurses.so
-- Looking for wsyncup in /lib/libcurses.so - found
-- Found Curses: /lib/libcurses.so
-- Found Lua51: /usr/lib/liblua.so;/usr/lib/libm.so
-- checking for module 'xcb>=1.1'
--   found xcb, version 1.1.90.1
-- checking for modules 'glib-2.0;cairo;x11;pango>=1.19.3;pangocairo>=1.19.3;xcb-randr;xcb-xtest;xcb-xinerama;xcb-event>=0.3.0;xcb-aux>=0.3.0;xcb-atom>=0.3.0;xcb-keysyms>=0.3.0;xcb-icccm>=0.3.3;xcb-image>=0.3.0;xcb-property>=0.3.0;cairo-xcb;xproto>=7.0.11;imlib2'
--   found glib-2.0, version 2.20.2
--   found cairo, version 1.8.6
--   found x11, version 1.1.5
--   found pango, version 1.24.2
--   found pangocairo, version 1.24.2
--   found xcb-randr, version 1.1.90.1
--   found xcb-xtest, version 1.1.90.1
--   found xcb-xinerama, version 1.1.90.1
--   found xcb-event, version 0.3.3
--   found xcb-aux, version 0.3.3
--   found xcb-atom, version 0.3.3
--   found xcb-keysyms, version 0.3.3
--   found xcb-icccm, version 0.3.3
--   found xcb-image, version 0.3.3
--   found xcb-property, version 0.3.3
--   found cairo-xcb, version 1.8.6
--   found xproto, version 7.0.14
--   found imlib2, version 1.4.2
-- checking for module 'dbus-1'
--   found dbus-1, version 1.2.12
-- Configuring lib/invaders.lua
-- Configuring lib/beautiful.lua
-- Configuring lib/awful/mouse.lua
-- Configuring lib/awful/menu.lua
-- Configuring lib/awful/tag.lua
-- Configuring lib/awful/util.lua
-- Configuring lib/awful/completion.lua
-- Configuring lib/awful/widget.lua
-- Configuring lib/awful/prompt.lua
-- Configuring lib/awful/hooks.lua
-- Configuring lib/awful/layout/suit/fair.lua
-- Configuring lib/awful/layout/suit/tile.lua
-- Configuring lib/awful/layout/suit/floating.lua
-- Configuring lib/awful/layout/suit/max.lua
-- Configuring lib/awful/layout/suit/init.lua
-- Configuring lib/awful/layout/suit/magnifier.lua
-- Configuring lib/awful/layout/init.lua
-- Configuring lib/awful/titlebar.lua
-- Configuring lib/awful/placement.lua
-- Configuring lib/awful/init.lua
-- Configuring lib/awful/screen.lua
-- Configuring lib/awful/client.lua
-- Configuring lib/tabulous.lua
-- Configuring lib/telak.lua
-- Configuring lib/naughty.lua
-- Configuring config.h
-- Configuring awesomerc.lua
-- Configuring themes/default/theme
-- Configuring themes/sky/theme
-- Configuring awesome-version-internal.h
-- Configuring awesome.doxygen
-- <<< Gentoo configuration >>>
Build type: RELEASE
Install path: /usr

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/x11-wm/awesome-3.2.1-r3/work/awesome-3.2.1_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-wm/awesome-3.2.1-r3/work/awesome-3.2.1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-wm/awesome-3.2.1-r3/work/awesome-3.2.1_build"
make -j1 all
Scanning dependencies of target generated_sources
[  0%] Generating widgetgen.h
[  0%] Generating atoms-intern.h
[  0%] Generating atoms-extern.h
[  0%] Generating common/tokenize.c
[  0%] Generating common/tokenize.h
[  7%] Built target generated_sources
Scanning dependencies of target awesome
[  9%] Building C object CMakeFiles/awesome.dir/awesome.c.o
[ 10%] Building C object CMakeFiles/awesome.dir/client.c.o
[ 12%] Building C object CMakeFiles/awesome.dir/cnode.c.o
[ 13%] Building C object CMakeFiles/awesome.dir/dbus.c.o
[ 15%] Building C object CMakeFiles/awesome.dir/event.c.o
[ 16%] Building C object CMakeFiles/awesome.dir/property.c.o
[ 18%] Building C object CMakeFiles/awesome.dir/ewmh.c.o
[ 20%] Building C object CMakeFiles/awesome.dir/keybinding.c.o
[ 21%] Building C object CMakeFiles/awesome.dir/key.c.o
[ 23%] Building C object CMakeFiles/awesome.dir/keygrabber.c.o
[ 24%] Building C object CMakeFiles/awesome.dir/mousegrabber.c.o
[ 26%] Building C object CMakeFiles/awesome.dir/layout.c.o
[ 27%] Building C object CMakeFiles/awesome.dir/luaa.c.o
[ 29%] Building C object CMakeFiles/awesome.dir/hooks.c.o
[ 30%] Building C object CMakeFiles/awesome.dir/mouse.c.o
[ 32%] Building C object CMakeFiles/awesome.dir/screen.c.o
[ 33%] Building C object CMakeFiles/awesome.dir/stack.c.o
[ 35%] Building C object CMakeFiles/awesome.dir/selection.c.o
[ 36%] Building C object CMakeFiles/awesome.dir/wibox.c.o
[ 38%] Building C object CMakeFiles/awesome.dir/systray.c.o
[ 40%] Building C object CMakeFiles/awesome.dir/tag.c.o
[ 41%] Building C object CMakeFiles/awesome.dir/titlebar.c.o
[ 43%] Building C object CMakeFiles/awesome.dir/widget.c.o
[ 44%] Building C object CMakeFiles/awesome.dir/window.c.o
[ 46%] Building C object CMakeFiles/awesome.dir/image.c.o
[ 47%] Building C object CMakeFiles/awesome.dir/draw.c.o
[ 49%] Building C object CMakeFiles/awesome.dir/swindow.c.o
[ 50%] Building C object CMakeFiles/awesome.dir/common/buffer.c.o
[ 52%] Building C object CMakeFiles/awesome.dir/common/atoms.c.o
[ 53%] Building C object CMakeFiles/awesome.dir/common/socket.c.o
[ 55%] Building C object CMakeFiles/awesome.dir/common/util.c.o
[ 56%] Building C object CMakeFiles/awesome.dir/common/version.c.o
[ 58%] Building C object CMakeFiles/awesome.dir/common/xembed.c.o
[ 60%] Building C object CMakeFiles/awesome.dir/common/xutil.c.o
[ 61%] Building C object CMakeFiles/awesome.dir/common/xcursor.c.o
[ 63%] Building C object CMakeFiles/awesome.dir/widgets/graph.c.o
[ 64%] Building C object CMakeFiles/awesome.dir/widgets/progressbar.c.o
[ 66%] Building C object CMakeFiles/awesome.dir/widgets/textbox.c.o
[ 67%] Building C object CMakeFiles/awesome.dir/widgets/systray.c.o
[ 69%] Building C object CMakeFiles/awesome.dir/widgets/imagebox.c.o
[ 70%] Building C object CMakeFiles/awesome.dir/common/tokenize.c.o
Linking C executable awesome
[ 72%] Built target awesome
Scanning dependencies of target awesome-client
[ 73%] Building C object CMakeFiles/awesome-client.dir/awesome-client.c.o
[ 75%] Building C object CMakeFiles/awesome-client.dir/common/socket.c.o
[ 76%] Building C object CMakeFiles/awesome-client.dir/common/util.c.o
[ 78%] Building C object CMakeFiles/awesome-client.dir/common/version.c.o
[ 80%] Building C object CMakeFiles/awesome-client.dir/common/tokenize.c.o
Linking C executable awesome-client
[ 81%] Built target awesome-client
Scanning dependencies of target man
[ 81%] Generating awesome.1.xml
[ 81%] Generating awesome.1
xmlto: /var/tmp/portage/x11-wm/awesome-3.2.1-r3/work/awesome-3.2.1_build/awesome.1.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
/var/tmp/portage/x11-wm/awesome-3.2.1-r3/work/awesome-3.2.1_build/awesome.1.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
D DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
                                                                               ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
Document /var/tmp/portage/x11-wm/awesome-3.2.1-r3/work/awesome-3.2.1_build/awesome.1.xml does not validate
make[2]: *** [awesome.1] Virhe 13
make[1]: *** [CMakeFiles/man.dir/all] Virhe 2
make: *** [all] Virhe 2
 *
 * ERROR: x11-wm/awesome-3.2.1-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2819:  Called cmake-utils_src_compile 'all'
 *             environment, line  743:  Called cmake-utils_src_make 'all'
 *             environment, line  822:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make failed!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-wm/awesome-3.2.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-wm/awesome-3.2.1-r3/temp/environment'.
 *

>>> Failed to emerge x11-wm/awesome-3.2.1-r3, Log file:

>>>  '/var/tmp/portage/x11-wm/awesome-3.2.1-r3/temp/build.log'

Installing app-text/docbook-xml-dtd-4.5 fixed the issue
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2009-06-07 01:39:19 UTC
its asciidoc and xmlto related issue.
Since asciidoc-8.4.3, asciidoc outputs docbook 4.5 doctype.

asciidoc-8.4.3/CHANGELOG:
> 2. Version 8.4.3 (2009-04-13)
> 
>    Additions and changes
>      * DocBook outputs default to DocBook version 4.5 doctype (previously
>        4.2).

--- asciidoc-8.2.7/docbook.conf>2008-07-03 10:33:39.000000000 +0900
+++ asciidoc-8.4.4/docbook.conf>2009-04-26 09:46:59.000000000 +0900
(snip)
-<!DOCTYPE {doctype-article?article}{doctype-book?book}{doctype-manpage?refentry} PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">^M
+<!DOCTYPE {doctype-article?article}{doctype-book?book}{doctype-manpage?refentry} PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">^M
(snip)

I think asciidoc-8.4.4 should RDEPEND on ~app-text/docbook-xml-dtd-4.5.

reassign to asciidoc and xmlto maintainer.
Comment 2 Kyle Jamison 2009-06-11 01:02:40 UTC
(In reply to comment #0)

I am having the same problem trying to install awesome 3.0 

>/var/tmp/portage/x11-wm/awesome-3.2.1-r3/work/awesome-3.2.1_build/awesome.1.xml
> does not validate (status 3)
> xmlto: Fix document syntax or use --skip-validation option
> I/O error : Attempt to load network entity
> http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
> /var/tmp/portage/x11-wm/awesome-3.2.1-r3/work/awesome-3.2.1_build/awesome.1.xml:2:
> warning: failed to load external entity
> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
> D DocBook XML V4.5//EN"
> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
>                                                                               
> ^
> I/O error : Attempt to load network entity
> http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
> warning: failed to load external entity
> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
> validity error : Could not load the external subset
> "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
> Document
> /var/tmp/portage/x11-wm/awesome-3.2.1-r3/work/awesome-3.2.1_build/awesome.1.xml
> does not validate
> make[2]: *** [awesome.1] Virhe 13
> make[1]: *** [CMakeFiles/man.dir/all] Virhe 2
> make: *** [all] Virhe 2
>  *
>  * ERROR: x11-wm/awesome-3.2.1-r3 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_compile
>  *             environment, line 2819:  Called cmake-utils_src_compile 'all'
>  *             environment, line  743:  Called cmake-utils_src_make 'all'
>  *             environment, line  822:  Called die
>  * The specific snippet of code:
>  *           emake "$@" || die "Make failed!";
>  *  The die message:
>  *   Make failed!

 I also get this exact error using # emerge -av awesome

(In reply to comment #1)
> its asciidoc and xmlto related issue.

 Ok, good to know, but I am still somewhat new to linux and I dont know what these programs do or how to fix it.

> reassign to asciidoc and xmlto maintainer.

 How?
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2009-06-11 03:22:37 UTC
please try to emerge app-text/docbook-xml-dtd-4.5.

# emerge -1v '~app-text/docbook-xml-dtd-4.5'
# emerge awesome
Comment 4 Kyle Jamison 2009-06-11 19:59:56 UTC
(In reply to comment #3)
> please try to emerge app-text/docbook-xml-dtd-4.5.
> 
> # emerge -1v '~app-text/docbook-xml-dtd-4.5'
> # emerge awesome
> 

Thanks for the quick reply! This worked, emerged successfully, thank you.
Comment 5 Patrick Lauer gentoo-dev 2009-06-27 08:23:25 UTC
+  27 Jun 2009; Patrick Lauer <patrick@gentoo.org> asciidoc-8.4.5.ebuild:
+  Adding app-text/docbook-xml-dtd-4.5 to RDEPEND in the hope to fix #272010

Does that fix the issue?