Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436454 - dev-libs/dbus-glib-0.100[doc] - ../dbus-glib-docs.sgml:69: element include: XInclude error : could not load ../xml/dbus-gconnection.xml, and no fallback was found
Summary: dev-libs/dbus-glib-0.100[doc] - ../dbus-glib-docs.sgml:69: element include: X...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
: 456894 (view as bug list)
Depends on: 456972
Blocks: 436716
  Show dependency tree
 
Reported: 2012-09-28 00:42 UTC by Andrew Savchenko
Modified: 2013-02-12 17:50 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,26.83 KB, text/plain)
2012-09-28 00:42 UTC, Andrew Savchenko
Details
environment (environment,75.04 KB, text/plain)
2012-09-28 00:43 UTC, Andrew Savchenko
Details
emerge --info (emerge.info,7.55 KB, text/plain)
2012-09-28 00:43 UTC, Andrew Savchenko
Details
build.log for gtk+ (build.log,58.30 KB, text/plain)
2012-09-29 15:19 UTC, Andrew Savchenko
Details
environment for gtk+ (environment,110.76 KB, text/plain)
2012-09-29 15:20 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2012-09-28 00:42:04 UTC
Hello,

with USE=doc it fails to build:

  DOC   Building HTML
warning: failed to load external entity "../xml/dbus-gconnection.xml"
../dbus-glib-docs.sgml:69: element include: XInclude error : could not load ../xml/dbus-gconnection.xml, and no fallback was found
warning: failed to load external entity "../xml/dbus-gobject.xml"
../dbus-glib-docs.sgml:70: element include: XInclude error : could not load ../xml/dbus-gobject.xml, and no fallback was found
warning: failed to load external entity "../xml/dbus-gmessage.xml"
../dbus-glib-docs.sgml:71: element include: XInclude error : could not load ../xml/dbus-gmessage.xml, and no fallback was found
warning: failed to load external entity "../xml/dbus-gmethod.xml"
../dbus-glib-docs.sgml:72: element include: XInclude error : could not load ../xml/dbus-gmethod.xml, and no fallback was found
warning: failed to load external entity "../xml/dbus-gerror.xml"
../dbus-glib-docs.sgml:73: element include: XInclude error : could not load ../xml/dbus-gerror.xml, and no fallback was found
warning: failed to load external entity "../xml/dbus-gproxy.xml"
../dbus-glib-docs.sgml:74: element include: XInclude error : could not load ../xml/dbus-gproxy.xml, and no fallback was found
make[3]: *** [html-build.stamp] Error 6
Comment 1 Andrew Savchenko gentoo-dev 2012-09-28 00:42:40 UTC
Created attachment 325156 [details]
build.log
Comment 2 Andrew Savchenko gentoo-dev 2012-09-28 00:43:02 UTC
Created attachment 325158 [details]
environment
Comment 3 Andrew Savchenko gentoo-dev 2012-09-28 00:43:47 UTC
Created attachment 325160 [details]
emerge --info

gtk-doc version is 1.18-r1.
Comment 4 Andrew Savchenko gentoo-dev 2012-09-29 15:17:06 UTC
x11-libs/gtk+-3.4.4 fails to build the same way:

  DOC   Building HTML                                                                                                                          
warning: failed to load external entity "../../../../examples/gdk/composited-window-example.c"                                                 
warning: failed to load external entity "../xml/gdktesting.xml"                                                                                
../gdk-docs.sgml:45: element include: XInclude error : could not load ../xml/gdktesting.xml, and no fallback was found                         
make[4]: *** [html-build.stamp] Error 6

It looks like something is terribly wrong with gtk-doc-1.18-r1...
Comment 5 Andrew Savchenko gentoo-dev 2012-09-29 15:19:51 UTC
Created attachment 325318 [details]
build.log for gtk+
Comment 6 Andrew Savchenko gentoo-dev 2012-09-29 15:20:02 UTC
Created attachment 325320 [details]
environment for gtk+
Comment 7 Pacho Ramos gentoo-dev 2012-09-29 15:50:30 UTC
This is caused by dev-libs/libxslt-1.1.27 update as explained at:
https://bugzilla.gnome.org/show_bug.cgi?id=684731#c1

And it also shows this is caused by wrong doc files provided by affected package (it's not a general gtk-doc problem)

Then, please file a separate bug report for each broken package you find.

@gnome team, I think we should try to revert:
http://git.gnome.org/browse/libxslt/patch/?id=e669a8c7cefec93ee1bfaf59721aadc42e226d6e

Until tree (and upstream) fix this, as we also need latest libxslt stabilized due security problems (#436284)
Comment 8 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-09-29 17:23:55 UTC
(In reply to comment #7)
> @gnome team, I think we should try to revert:
> http://git.gnome.org/browse/libxslt/patch/
> ?id=e669a8c7cefec93ee1bfaf59721aadc42e226d6e
> 
> Until tree (and upstream) fix this, as we also need latest libxslt
> stabilized due security problems (#436284)

IMHO the solution is to finally remove the useless doc USE flag from gtk+ and all the other packages that use gtk-doc, include pre-built documentation in the tarball, and install that documentation by default no matter what USE flag.
Comment 9 Pacho Ramos gentoo-dev 2012-09-29 17:39:56 UTC
I agree, but I don't know what gnome2.eclass changes are needed (#262491)
Comment 10 Andrew Savchenko gentoo-dev 2012-09-29 19:23:05 UTC
(In reply to comment #7)
> Then, please file a separate bug report for each broken package you find.

Done as bug 436612.

If it will be more of them (I hope it wouldn't), then we'll need a tracker, perhaps.
Comment 11 Andrew Savchenko gentoo-dev 2012-09-30 20:40:19 UTC
Another one: bug 436710, there are some others as well.
Comment 12 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-10 10:23:22 UTC
This turned out to be a real problem with the dbus-glib-0.100 tarball: it contained a wrong and broken dbus-glib-sections.txt file. So thanks for reporting this issue!

I've informed upstream at https://bugs.freedesktop.org/show_bug.cgi?id=55830

>*dbus-glib-0.100-r1 (10 Oct 2012)
>
>  10 Oct 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  +dbus-glib-0.100-r1.ebuild, +files/dbus-glib-0.100-dbus-glib-sections.txt:
>  Fix broken API docs; prevents build failure with libxslt-1.1.27 (bug #436454,
>  thanks to Andrew Savchenko). Install API docs in /usr/share/gtk-doc to allow
>  links from other packages' documentation files, and for compatibility with
>  standard tools like dev-util/devhelp (bug #404965).
Comment 13 Rafał Mużyło 2013-02-12 16:53:02 UTC
*** Bug 456894 has been marked as a duplicate of this bug. ***
Comment 14 Michael Mol 2013-02-12 17:28:45 UTC
Why is this marked fixed? I just hit it last night.
Comment 15 Samuli Suominen (RETIRED) gentoo-dev 2013-02-12 17:42:41 UTC
(In reply to comment #14)
> Why is this marked fixed? I just hit it last night.

Because it's fixed in -r1 and you emerged older one
Comment 16 Michael Mol 2013-02-12 17:44:14 UTC
Ah, and -r1 isn't marked stable yet, though the older one is. Gotcha.
Comment 17 Samuli Suominen (RETIRED) gentoo-dev 2013-02-12 17:49:12 UTC
(In reply to comment #16)
> Ah, and -r1 isn't marked stable yet, though the older one is. Gotcha.

Bug 456972 for getting -r2 stable
Comment 18 Michael Mol 2013-02-12 17:50:04 UTC
Yup. I got the email when you added the dependency for this one.