Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446702 - sys-fs/eudev-1_beta1 src_install failed - error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
Summary: sys-fs/eudev-1_beta1 src_install failed - error : Attempt to load network ent...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: udev maintainers
URL:
Whiteboard: Fixed in sys-fs/eudev
Keywords: Bug, REGRESSION
Depends on:
Blocks:
 
Reported: 2012-12-10 10:37 UTC by Tomáš Mózes
Modified: 2013-08-25 15:44 UTC (History)
10 users (show)

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


Attachments
build.log (build.log,25.91 KB, text/plain)
2012-12-10 13:02 UTC, Tomáš Mózes
Details
build.log (build.log,36.47 KB, text/plain)
2013-01-09 20:25 UTC, William Hubbs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2012-12-10 10:37:56 UTC
Hello,
the doc creation fails:

make[2]: Leaving directory `/var/tmp/portage/sys-fs/eudev-1_beta1/work/eudev-1_beta1/test'
Making all in man
make[2]: Entering directory `/var/tmp/portage/sys-fs/eudev-1_beta1/work/eudev-1_beta1/man'
/usr/bin/xsltproc -o udev.7 --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl udev.xml
/usr/bin/xsltproc -o udevadm.8 --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl udevadm.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
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
make[2]: *** [udev.7] Error 4
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [udevadm.8] Error 4
make[2]: Leaving directory `/var/tmp/portage/sys-fs/eudev-1_beta1/work/eudev-1_beta1/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/eudev-1_beta1/work/eudev-1_beta1'
make: *** [all] Error 2
 * ERROR: sys-fs/eudev-1_beta1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-fs/eudev-1_beta1'`,
 * the complete build log and the output of `emerge -pqv '=sys-fs/eudev-1_beta1'`.
 * The complete build log is located at '/var/tmp/portage/sys-fs/eudev-1_beta1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/eudev-1_beta1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-fs/eudev-1_beta1/work/eudev-1_beta1'
 * S: '/var/tmp/portage/sys-fs/eudev-1_beta1/work/eudev-1_beta1'


The problem seems related to:
/var/tmp/portage/sys-fs/eudev-1_beta1/work/eudev-1_beta1/man/Makefile

XSLTPROC_FLAGS = \
        --nonet \
        --stringparam man.output.quietly 1 \
        --stringparam funcsynopsis.style ansi \
        --stringparam man.th.extra1.suppress 1 \
        --stringparam man.authors.section.enabled 0 \
        --stringparam man.copyright.section.enabled 0

XSLTPROC_PROCESS_MAN = \
        $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

The xsltproc flags contain nonet, however it requires to fetch it from the net...

# emerge --info
Portage 2.1.11.36 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.5.3-gentoo x86_64)
=================================================================
System uname: Linux-3.5.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Mon, 10 Dec 2012 08:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv mmx modules mudflap multilib ncurses nls nptl openmp pam pcre pppd readline session sse sse2 ssl tcpd unicode zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 pypy1_9 jython2_5" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-10 11:39:32 UTC
Please attach the entire build log to this bug report.
Comment 2 Tomáš Mózes 2012-12-10 13:02:08 UTC
Created attachment 331960 [details]
build.log
Comment 3 Tomáš Mózes 2012-12-10 13:03:17 UTC
It's a xenU.
Comment 4 avx 2012-12-17 07:32:01 UTC
Same here, ~amd64, almost for a week now.
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2012-12-17 16:13:40 UTC
It looks like it's a missing-dependencies issue.  I'm trying to confirm this in a chroot right now,  but it will take the rest of the day.

Please test by running 'emerge -1 app-text/docbook-xsl-stylesheets' and then re-emerge eudev.
Comment 6 avx 2012-12-17 20:06:02 UTC
(In reply to comment #5)
> It looks like it's a missing-dependencies issue.  I'm trying to confirm this
> in a chroot right now,  but it will take the rest of the day.
> 
> Please test by running 'emerge -1 app-text/docbook-xsl-stylesheets' and then
> re-emerge eudev.

Got that already, still failing.
Comment 7 avx 2012-12-17 20:14:34 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > It looks like it's a missing-dependencies issue.  I'm trying to confirm this
> > in a chroot right now,  but it will take the rest of the day.
> > 
> > Please test by running 'emerge -1 app-text/docbook-xsl-stylesheets' and then
> > re-emerge eudev.
> 
> Got that already, still failing.

Ignore last comment, was in the wrong shell. Merging this package and then trying again works! Though I'd like this to be an optional dep.
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2012-12-17 20:20:54 UTC
(In reply to comment #7)
> Ignore last comment, was in the wrong shell. Merging this package and then
> trying again works! Though I'd like this to be an optional dep.

Unfortunately it can not be optional, as that results in network connectivity attempts during merge. This is highly inappropriate, and the bug report is completely legitimate.
I do not see another way out then adding the missing DEPEND entry like Ian proposed.
Comment 9 Tomáš Mózes 2012-12-18 08:18:38 UTC
Both solutions work fine, thanks guys!
Comment 10 Tony Vroon (RETIRED) gentoo-dev 2012-12-19 22:53:23 UTC
Now experienced on a new install, missing DEPEND confirmed as a fix. Can we commit please?
Comment 11 Richard Yao (RETIRED) gentoo-dev 2012-12-20 00:13:01 UTC
(In reply to comment #10)
> Now experienced on a new install, missing DEPEND confirmed as a fix. Can we
> commit please?

The DEPEND was being applied exclusively on the 9999 ebuild, which was wrong. I have committed the fix to sys-fs/eudev. However, we inherited this bug from sys-fs/udev. I am reassigning this to the udev maintainers for resolution in their package.
Comment 12 William Hubbs gentoo-dev 2013-01-09 19:22:49 UTC
This is fixed in udev-197. Thanks for the report.
Comment 13 William Hubbs gentoo-dev 2013-01-09 19:42:57 UTC
@ryao:
I was told by @axs that this bug doesn't apply to udev because systemd
generates the manpages before they roll the release tarball.
Comment 14 William Hubbs gentoo-dev 2013-01-09 20:25:42 UTC
Created attachment 334994 [details]
build.log

Here is a build log for udev-197 with docbook-xsl-stylesheets not on my
system and not in the depends.
The manpages are in the tarball, so there doesn't appear to be any net
activity in the build.
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-25 15:43:58 UTC
*** Bug 482426 has been marked as a duplicate of this bug. ***