View previous topic :: View next topic |
Author |
Message |
suprafluid n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Jan 2011 Posts: 48 Location: Deep in the Bavarian Forrest, Germany
|
Posted: Thu Nov 03, 2022 9:13 am Post subject: I/O Error: Attempt to load network entity docbook.xsl |
|
|
Hi all,
I already looked this emerge error up and also found other reporting this
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
and I tried several hints I found but still I am unable to emerge two packages:
emerge systemd-utils
emerge pax-utils
both emerges produce the same error:
(output from emerge systemd-utils)
[426/434] /usr/bin/xsltproc -o man/hwdb.7 --nonet --xinclude --maxdepth 9000 --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 --stringparam systemd.version 251 --path /tmp/portage/sys-apps/systemd-utils-251.4-r2/work/systemd-stable-251.4-abi_x86_64.amd64/man:/tmp/portage/sys-apps/systemd-utils-251.4-r2/work/systemd-stable-251.4/man ../systemd-stable-251.4/man/custom-man.xsl ../systemd-stable-251.4/man/hwdb.xml
FAILED: man/hwdb.7
/usr/bin/xsltproc -o man/hwdb.7 --nonet --xinclude --maxdepth 9000 --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 --stringparam systemd.version 251 --path /tmp/portage/sys-apps/systemd-utils-251.4-r2/work/systemd-stable-251.4-abi_x86_64.amd64/man:/tmp/portage/sys-apps/systemd-utils-251.4-r2/work/systemd-stable-251.4/man ../systemd-stable-251.4/man/custom-man.xsl ../systemd-stable-251.4/man/hwdb.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"
compilation error: file ../systemd-stable-251.4/man/custom-man.xsl line 12 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
ninja: build stopped: subcommand failed.
If I run it manually on cmd line (means outside emerge) it goes through with no errors.
/usr/bin/xsltproc -o man/hwdb.7 --nonet --xinclude --maxdepth 9000 --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 --stringparam systemd.version 251 --path /tmp/portage/sys-apps/systemd-utils-251.4-r2/work/systemd-stable-251.4-abi_x86_64.amd64/man:/tmp/portage/sys-apps/systemd-utils-251.4-r2/work/systemd-stable-251.4/man ../systemd-stable-251.4/man/custom-man.xsl ../systemd-stable-251.4/man/hwdb.xml
No error
- I checked access rights of all files in /etc/xml all files are readable by all (644)
- I added -doc to the use flags but it still compiles the man and ends witht he same error
- I resycned the tree
- I re-emerged
app-text/xmlto
dev-libs/libxml2
app-text/docbook-xml-dtd
all several times, but with no luck.
Any ideas what else I coud try? _________________ Running GENTOO since 2004 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54453 Location: 56N 3W
|
Posted: Thu Nov 03, 2022 9:56 am Post subject: |
|
|
suprafluid,
Pastebin the build log of the pacdage that generated the I/O Error: Attempt to load network entity docbook.xsl error.
During building, portage will not permit random files to be fetched from the internet.
It requires all the files for the build to be downloaded before compiling starts.
This is a safety feature, as the build process cannot download random-evil-file.
There is an knob to disable that safety net but we need to see the build log first. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
suprafluid n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Jan 2011 Posts: 48 Location: Deep in the Bavarian Forrest, Germany
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54453 Location: 56N 3W
|
Posted: Thu Nov 03, 2022 10:13 am Post subject: |
|
|
suprafluid,
Make friends with wgetpaste.
Many users here, including me, will not download random files from the internet. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31019 Location: here
|
Posted: Thu Nov 03, 2022 10:16 am Post subject: |
|
|
Do you have app-text/docbook-xsl-stylesheets installed? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
suprafluid n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Jan 2011 Posts: 48 Location: Deep in the Bavarian Forrest, Germany
|
Posted: Thu Nov 03, 2022 11:02 am Post subject: |
|
|
fedeliallalinea wrote: | Do you have app-text/docbook-xsl-stylesheets installed? |
Yes it is installed and I also tried reinstalling it
[edit]
NeddySeagoon
ok there you go and thank you for the hint!
http://0x0.st/ogju.log _________________ Running GENTOO since 2004 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54453 Location: 56N 3W
|
Posted: Thu Nov 03, 2022 12:44 pm Post subject: |
|
|
suprafluid,
It's trying to download from the internet during build.
Code: | 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"
compilation error: file ../systemd-stable-251.4/man/custom-man.xsl line 12 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
ninja: build stopped: subcommand failed. |
The sandbox will prevent that. * Code: | FEATURES: network-sandbox |
Its possibly a bug. Nothing in the tree should do that.
Report the bug please.
The workaround, which is a security risk too, is to run.
Code: | FEATURES=-network-sandbox emerge -1av sys-apps/systemd-utils | to build the package with the network-sandbox off and not add it to the world file.
FEATURES=-network-sandbox on the command line makes the change apply for this command only.
Or wait for the bugfix, which is safer. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31019 Location: here
|
Posted: Thu Nov 03, 2022 12:48 pm Post subject: |
|
|
NeddySeagoon wrote: | Its possibly a bug. Nothing in the tree should do that. |
This happens probably because it cannot find the local ones installed with docbook-* packages.
In my system package compile fine so I suspect some misconfiguration in the OP system. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
suprafluid n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Jan 2011 Posts: 48 Location: Deep in the Bavarian Forrest, Germany
|
Posted: Thu Nov 03, 2022 1:25 pm Post subject: |
|
|
Quote: |
Code: | FEATURES=-network-sandbox emerge -1av sys-apps/systemd-utils | to build the package with the network-sandbox off and not add it to the world file.
FEATURES=-network-sandbox on the command line makes the change apply for this command only.
Or wait for the bugfix, which is safer. |
Thank you for this but it also runs into the same error.
I'll file a bug. _________________ Running GENTOO since 2004 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
suprafluid n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Jan 2011 Posts: 48 Location: Deep in the Bavarian Forrest, Germany
|
Posted: Thu Nov 03, 2022 1:34 pm Post subject: |
|
|
fedeliallalinea wrote: | NeddySeagoon wrote: | Its possibly a bug. Nothing in the tree should do that. |
This happens probably because it cannot find the local ones installed with docbook-* packages.
In my system package compile fine so I suspect some misconfiguration in the OP system. |
Yes it seems like this cannot be found localy and so it tries downloading it what the sandbox of emerge blocks.
I don't know where it is comming from. None of the configs changed in the last years. This used to be a simple Apache/MySQL/PHP server with a Postfix mail server. I have no idea what happened. It cam suddenly after an emerge -uD @world _________________ Running GENTOO since 2004 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
suprafluid n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Jan 2011 Posts: 48 Location: Deep in the Bavarian Forrest, Germany
|
Posted: Tue Nov 08, 2022 7:27 am Post subject: |
|
|
FYI: The but I opened has already been closed again by some admin.
One said that is hs nothing to do witht he ebuild. So I still have tris problem and no ide what to do... the system has not been reconfigured since almost 2 years and was updated regularly. So I have no idea where this "misconfiguration" of xml docbook is comming from..
Anyone any ideas what to do? _________________ Running GENTOO since 2004 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 21918
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
suprafluid n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Jan 2011 Posts: 48 Location: Deep in the Bavarian Forrest, Germany
|
Posted: Fri Nov 11, 2022 1:33 pm Post subject: Solution |
|
|
What the exact reason of this fault was I cannot say. It still demained after re-ermging all docbooks.
But finally if found a solution:
- unmerged any ebuild that contained the name docbook
- unmerged any ebuild that contained the name sgml
- deleted /etc/xml and /etc/sgml manually
Made a emerge @world - problem solved. _________________ Running GENTOO since 2004 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
symmetric n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Jul 2023 Posts: 12
|
Posted: Thu Jul 27, 2023 7:27 am Post subject: |
|
|
I ran into this today.
Instead of removing a bunch of packages and rebuilding world, I simply rebuilt anything that seemed docbook related:
Code: |
# emerge -1v docbook-xml-dtd build-docbook-catalog docbook-xsl-ns-stylesheets docbook-xsl-stylesheets sgml-common libxslt
|
This resolved the issue. Which package(s) in this list were actually at fault I can't say. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
engineermdr Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/161291171443e39fe22bf9a.gif)
Joined: 08 Nov 2003 Posts: 297 Location: Altoona, WI, USA
|
Posted: Thu Oct 19, 2023 2:35 pm Post subject: |
|
|
I am having this exact same problem. I've tried both solutions above that helped others, but neither were successful.
emerge --info '=sys-apps/dbus-1.15.6::gentoo' : https://bpa.st/NLJA
emerge -pqv '=sys-apps/dbus-1.15.6::gentoo' : https://bpa.st/OREA
I also can't seem to get wgetpaste to save the build.log. I can open it and view it in vim, but wgetpaste gives me a 2023-10-19 09:24:58 ERROR 400: Bad Request. So here's the failure messages:
Code: | I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
Document /tmp/portage/sys-apps/dbus-1.15.6/work/dbus-1.15.6/doc/dbus-specification.xml does not validate |
I don't know anything about docbook, but here is a start.
/etc/xml/catalog : https://bpa.st/QXAQ
/etc/xml/docbook : https://bpa.st/NZCQ
I would appreciate some help. I'm stuck unable to update my system completely. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|