Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480924 - =sys-fs/udev-206-r3 fails to build manpages
Summary: =sys-fs/udev-206-r3 fails to build manpages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-13 21:01 UTC by Markos Chandras (RETIRED)
Modified: 2013-08-17 19:06 UTC (History)
0 users

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


Attachments
build.log (build.log,611.26 KB, text/x-log)
2013-08-13 21:01 UTC, Markos Chandras (RETIRED)
Details
build.log for mipsel build (non-multilib) (build.log,612.22 KB, text/plain)
2013-08-17 19:06 UTC, Markos Chandras (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markos Chandras (RETIRED) gentoo-dev 2013-08-13 21:01:52 UTC
Created attachment 355898 [details]
build.log

=sys-fs/udev-206-r3 fails to build manpages with the following error

/usr/bin/xsltproc -o man/udev.7 --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 --stringparam systemd.version 206 --path './man:/var/tmp/portage/sys-fs/udev-206-r3/work/systemd-206/man' /var/tmp/portage/sys-fs/udev-206-r3/work/systemd-206/man/custom-man.xsl /var/tmp/portage/sys-fs/udev-206-r3/work/systemd-206/man/udev.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 /var/tmp/portage/sys-fs/udev-206-r3/work/systemd-206/man/custom-man.xsl line 27 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
make: *** [man/udev.7] Error 5


Full log attached. The problem is reproducible on a MIPS64el stage1 catalyst build with portage snapshot based on 20130812 tree.

Portage 2.1.13.7 (default/linux/mips/13.0/mipsel/multilib/n32, gcc-4.6.4, glibc-2.17, 3.4.27-rt37-Cavium-Octeon mips64)
=================================================================
System uname: Linux-3.4.27-rt37-Cavium-Octeon-mips64-Cavium_Octeon_II_V0.9-with-gentoo-2.2
KiB Mem:     2044556 total,    318760 free
KiB Swap:    2097144 total,   2075108 free
Timestamp of tree: Mon, 12 Aug 2013 07:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r1
sys-apps/baselayout:      2.2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="mips ~mips"
ACCEPT_LICENSE="* -@EULA"
CBUILD="mips64el-unknown-linux-gnu"
CFLAGS="-O2 -march=mips64 -mplt -pipe"
CHOST="mips64el-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=mips64 -mplt -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 preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="build cxx mips multilib unicode" ABI_MIPS="n32" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python2_7" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON


Additional information as requested by Samuli.

Output of emerge -pv docbook-xml-dtd:4.2 docbook-xsl-stylesheets libxslt intltool:


Calculating dependencies... done!
[ebuild  N     ] app-arch/unzip-6.0-r3  USE="unicode -bzip2 -natspec" 1,345 kB
[ebuild  N     ] app-text/sgml-common-0.6.3-r5  126 kB
[ebuild  N     ] app-text/build-docbook-catalog-1.19.1 to /tmp/stage1root/ 5 kB
[ebuild  N     ] dev-perl/XML-Parser-2.410.0-r1 to /tmp/stage1root/ 233 kB
[ebuild  N     ] dev-libs/libxslt-1.1.28-r1 to /tmp/stage1root/ USE="-crypt -debug -python -static-libs" PYTHON_TARGETS="python2_7 (-python2_5) -python2_6" 3,356 kB
[ebuild  N     ] app-text/docbook-xsl-stylesheets-1.78.0 to /tmp/stage1root/ USE="-ruby" 4,894 kB
[ebuild  N     ] dev-util/intltool-0.50.2-r1 to /tmp/stage1root/ 186 kB
[ebuild  N     ] app-text/docbook-xml-dtd-4.2-r2:4.2 to /tmp/stage1root/ 77 kB


$ cat /etc/xml/catalog 
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"/>


There is not /etc/sgml directory
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2013-08-13 21:03:57 UTC
For completeness, the $date on the box is 

Tue Aug 13 21:03:22 Local time zone must be set--see zic manual page 2013

The timezone is wrong but it should not affect the build system timestamps.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2013-08-13 21:15:55 UTC
(In reply to Markos Chandras from comment #1)
> For completeness, the $date on the box is 
> 
> Tue Aug 13 21:03:22 Local time zone must be set--see zic manual page 2013
> 
> The timezone is wrong but it should not affect the build system timestamps.

set the timezone, this is starting to look like what I've seen the last time and I was propably confusing that date we talked about at IRC with this
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-08-13 21:49:55 UTC
00:45 <@hwoarang> ssuominen: removing the docbook crap made 206 fail again. Adding your patch made it build again
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2013-08-16 08:19:44 UTC
Turns out I was wrong and i did not apply the patch properly. I added --disable-manpages to the global econf section instead of the multilib one. With Samuli's patch now in tree I can still see the failure on a new mispel stage build

/usr/bin/xsltproc -o man/udev.7 --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.authors.section.enabled 0 --stringparam man.copyrig
ht.section.enabled 0 --stringparam systemd.version 206 --path './man:/var/tmp/portage/sys-fs/udev-206-r3/work/systemd-206/man' /var/tmp/portage/sys-fs/udev-206-r3/work/systemd-206/ma
n/custom-man.xsl /var/tmp/portage/sys-fs/udev-206-r3/work/systemd-206/man/udev.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 /var/tmp/portage/sys-fs/udev-206-r3/work/systemd-206/man/custom-man.xsl line 27 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
make: *** [man/udev.7] Error 5

I don't think the problem is ABI related. It also feels like it can randomly get triggered. Other stages manage to build udev others don't

Therefore, I am reopening the bug
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2013-08-16 16:28:50 UTC
screw it :)

+  16 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> udev-206-r3.ebuild,
+  udev-9999.ebuild:
+  Replace use of install-man7 and install-man8 targets with "doman" line in
+  attempt of ensuring we don't hit race w/ build-sys attempting to regenerated
+  the manpages needlessly wrt #480924 by Markos Chandras
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2013-08-17 19:06:52 UTC
Created attachment 356308 [details]
build.log for mipsel build (non-multilib)

attached is the build.log for mipsel build (non-multilib stage build)

Below are the requested portage output

$ cat /etc/xml/catalog
                                 
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"/>

$ Output of emerge -pv docbook-xml-dtd:4.2 docbook-xsl-stylesheets libxslt intltool:


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] app-arch/unzip-6.0-r3  USE="unicode -bzip2 -natspec" 1,345 kB
[ebuild  N     ] app-text/sgml-common-0.6.3-r5  126 kB
[ebuild  N     ] app-text/build-docbook-catalog-1.19.1 to /tmp/stage1root/ 5 kB
[ebuild  N     ] dev-perl/XML-Parser-2.410.0-r1 to /tmp/stage1root/ 233 kB
[ebuild  N     ] dev-libs/libxslt-1.1.28-r1 to /tmp/stage1root/ USE="-crypt -debug -python -static-libs" PYTHON_TARGETS="python2_7 (-python2_5) -python2_6" 3,356 kB
[ebuild  N     ] app-text/docbook-xsl-stylesheets-1.78.0 to /tmp/stage1root/ USE="-ruby" 4,894 kB
[ebuild  N     ] dev-util/intltool-0.50.2-r1 to /tmp/stage1root/ 186 kB
[ebuild  N     ] app-text/docbook-xml-dtd-4.2-r2:4.2 to /tmp/stage1root/ 77 kB