Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 334531

Summary: sys-fs/udisks-1.0.1-r1 - /usr/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl udisks.xml I/O error : Attempt to load network entity
Product: Gentoo Linux Reporter: jody <jody.xha>
Component: [OLD] Core systemAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: shentino
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the output of 'emerge --info =sys-fs/udisks-1.0.1-r1'
The build log of 'sys-fs/udisks-1.0.1-r1'

Description jody 2010-08-26 08:52:12 UTC
When sys-fs/udisks is emerged either as part of emerging gnome or singly, it fails to complete. Here are the last few lines of the output:
...
Making all in man
make[3]: Entering directory `/var/tmp/portage/sys-fs/udisks-1.0.1-r1/work/udisks-1.0.1/doc/man'
/usr/bin/xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl udisks.xml
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

(This is not the same bug as 330993)

Reproducible: Always

Steps to Reproduce:
1. emerge sys-fs/udisks
2.
3.

Actual Results:  
The above error occurs

Expected Results:  
A correct completion of the command

My configuration:
Linux aim-hydra 2.6.34-gentoo-r1 #2 SMP PREEMPT Tue Aug 24 18:51:34 CEST 2010 i686 Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz GenuineIntel GNU/Linux
Comment 1 jody 2010-08-26 08:56:01 UTC
Created attachment 244635 [details]
the output of 'emerge --info =sys-fs/udisks-1.0.1-r1'
Comment 2 jody 2010-08-26 08:56:50 UTC
Created attachment 244637 [details]
The build log of 'sys-fs/udisks-1.0.1-r1'
Comment 3 jody 2010-08-26 09:04:25 UTC
Note: 
When i add "doc" to my USE variables in make.conf, it is still not possible to emerge udisks, but the error is different:
...
checking for openjade... no
checking for jade... no
configure: WARNING: Could not find openjade or jade, so SGML is not supported
checking for xsltproc... /usr/bin/xsltproc
checking for dblatex... no
checking for fop... no
configure: WARNING: neither dblatex nor fop found, so no pdf output from xml
checking for XML catalog (/etc/xml/catalog)... found
checking for xmlcatalog... /usr/bin/xmlcatalog
checking for DocBook XML DTD V4.3 in XML catalog... not found
configure: error: could not find DocBook XML DTD V4.3 in XML catalog
Comment 4 Raymond Jennings 2010-08-26 09:11:39 UTC
I semi-recently reported a very similiar bug on another package, gnome-deskbar or something.

Check for a missing dtd.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-08-26 10:04:38 UTC
works fine here, something wrong with your

app-text/docbook-xsl-stylesheets
app-text/docbook-xml-dtd:4.1.2

installations... nothing udisks ebuild can fix.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-08-27 18:20:48 UTC
it'll work fine as long as you have internet access or no glitch with it during ebuild. The build seems to require xml-dtd 4.3 and/or xsl stylesheets.
Comment 7 Raymond Jennings 2010-08-27 19:13:11 UTC
I'd propose in that case that those dtds and/or stylesheets are properly listed as dependencies if they aren't.

I think it's bogus to require internet access once everything's been fetched properly.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-27 19:53:38 UTC
(In reply to comment #0)
> (This is not the same bug as 330993)

You mean bug #330255.
Comment 9 Alex Buell 2010-11-12 23:36:17 UTC
I just ran into the same problem compiling polkit-0.96-r1 and yes the xml and xsl stylesheets are installed. If I can't get past this one by reinstalling the docbook xml/xsl stuff, I'll file a separate bug report. 
Comment 10 Alex Buell 2010-11-12 23:45:11 UTC
I solved the problem by reinstalling =app-text/docbook-xml-dtd-4.3-r1, this for anyone else who might run into the same problem that I did. Peace out! :)
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-11-21 20:42:47 UTC
please attach /etc/xml/catalog and /etc/xml/docbook files.
The dtds are already in DEPEND of the ebuild, so unless this is a recent addition (not as far as the log says) the build should have succeeded. However there is a long history of problems with tools manipulating xml/dtds catalogs.
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2010-12-02 15:39:48 UTC
ebuild has proper deps, the DTD in use is 4.1.2