Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318339 - sys-power/pm-utils-1.3.0-r2 fails to build (cant validate xml against remote dtd)
Summary: sys-power/pm-utils-1.3.0-r2 fails to build (cant validate xml against remote ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-03 22:10 UTC by Pavel Stratil
Modified: 2010-05-03 22:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Stratil 2010-05-03 22:10:55 UTC
make[2]: Entering directory `/var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0/man'
/usr/bin/xmlto man pm-is-supported.xml
/usr/bin/xmlto man pm-action.xml
xmlto: /var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0/man/pm-is-supported.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
/var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0/man/pm-is-supported.xml:27: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
]>
  ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
Document /var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0/man/pm-is-supported.xml does not validate
make[2]: *** [pm-is-supported.1] Error 13
make[2]: *** Waiting for unfinished jobs....
xmlto: /var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0/man/pm-action.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
/var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0/man/pm-action.xml:27: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
	  ]>
	    ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
Document /var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0/man/pm-action.xml does not validate
make[2]: *** [pm-action.8] Error 13
make[2]: Leaving directory `/var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0/man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0'
make: *** [all] Error 2
 * ERROR: sys-power/pm-utils-1.3.0-r2 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3320:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-power/pm-utils-1.3.0-r2',
 * the complete build log and the output of 'emerge -pqv =sys-power/pm-utils-1.3.0-r2'.
 * The complete build log is located at '/var/tmp/portage/sys-power/pm-utils-1.3.0-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-power/pm-utils-1.3.0-r2/temp/environment'.
 * S: '/var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0'


Reproducible: Always




I guess that an easy fix could be to provide the dtd with the ebuild....
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-05-03 22:25:36 UTC
fixed, thanks

emerge app-text/docbook-xml-dtd:4.5
Comment 2 Robert Cabrera 2010-05-03 22:44:33 UTC
I've got exactly the same issue.

pm_utils-1.3.0-r2 had previously built and installed perfectly on my system.

Today when I emerge -uav portage brought in xmlto-0.0.23 as a dependency before rebuilding pm-utils which wasn't there when it compiled and installed before. 

Something was changed in the ebuild to cause this to happen now and needs to be corrected.

I build with USE="alsa networkmanager -debug -ntp (-doc%)" VIDEO_CARDS="-intel -radeon"

Build dies with this message:
config.status: executing depfiles commands

                    pm-utils 1.3.0
                  ==================

        prefix:                    /usr
        compiler:                  i686-pc-linux-gnu-gcc
        cflags:                    -O2 -march=native -mtune=native -pipe

>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0 ...
make -j1 -s 
config.status: creating config.h
config.status: config.h is unchanged
Making all in pm
Making all in sleep.d
Making all in power.d
Making all in module.d
Making all in man
xmlto: /var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0/man/pm-is-supported.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
/var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0/man/pm-is-supported.xml:27: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
]>
  ^
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
Document /var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0/man/pm-is-supported.xml does not validate
make[2]: *** [pm-is-supported.1] Error 13
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 * ERROR: sys-power/pm-utils-1.3.0-r2 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 2845:  Called _eapi2_src_compile
 *     ebuild.sh, line  640:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-power/pm-utils-1.3.0-r2',
 * the complete build log and the output of 'emerge -pqv =sys-power/pm-utils-1.3.0-r2'.
 * The complete build log is located at '/var/tmp/portage/sys-power/pm-utils-1.3.0-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-power/pm-utils-1.3.0-r2/temp/environment'.
 * S: '/var/tmp/portage/sys-power/pm-utils-1.3.0-r2/work/pm-utils-1.3.0'

>>> Failed to emerge sys-power/pm-utils-1.3.0-r2, Log file:

>>>  '/var/tmp/portage/sys-power/pm-utils-1.3.0-r2/temp/build.log'
----------------------------------------------------------------------------------------------------------------------------------------------------------------
emerge --info
Portage 2.2_rc67 (default/linux/x86/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-zen2 i686)
=================================================================
System uname: Linux-2.6.33-zen2-i686-Intel-R-_Pentium-R-_M_processor_2.26GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 03 May 2010 20:15:01 +0000
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/config/kdm /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.wetzlmayr.com/ http://osmirrors.cerias.purdue.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.hoobly.com/ ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j1 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi akonadi alsa apm ass audiofile autoipd avahi bash-completion berkdb binfilter bluetooth bonjour branding bzip2 cairo cdda cddax cddb cdio cdparanoia cdr cleartype cli clucene connection-sharing consolekit contrast corefonts cracklib crypt css cups custom-cflags custom-cpuopts custom-optimization cxx dbus dell designer-plugin desktopglobe dga dhclient dhcpcd dirac djvu dri dts dv dvb dvd dvdr ebook editor emboss emovix enca encode eselect exif extensions faac faad fam fame fat fbcon fbcondecor fbsplash ffmpeg firefox firefox3 flac fortran ftp fts3 gadu gcj gd gdbm ggi gif gimp git glibc-omitfp gmm gmp gnokii gnutls google-gadgets gphoto2 gpm graphite graphviz groupwise grub gtk hal handbook hotpixels httpd hyperestraier iconv icq id3tag ieee1394 imagemagick imlib indi inotify ioctl iodbc ipod ipv6 jabber jack java java6 javascript jce jingle joystick jpeg jpeg2k kate kde kerberos kig-scripting kipi konqueror kontact ladspa lame laptop lastfm lcdfilter lcms ldap lensfun libass libcaca libnotify libproxy libsamplerate libsysfs libtiger libv4l libv4l2 live lm_sensors logrotate lua lzma lzo mad matroska mdnsresponder-compat meanwhile mikmod mime mjpeg mmx mng modplug modules mozilla mp3 mp3tunes mp4 mpeg mplayer msn mtp mudflap musepack musicbrainz mysql mysqli ncurses networkmanager nls nntp npp nptl nptlonly nsplugin ntfs nvidia objc objc++ objc-gc odbc offensive ogg openal openexr opengl openmp optimization optimized-qmake oscar otr pam pango pch pcmcia pcre pdf perl plasma pm-utils pmu png pnm policykit posix ppds ppp pppd python qalculate qt-dbus qt-webkit qt3support qt4 qtmultimedia qtscript quicktime radio raw rdesktop rdp readline reflection resolvconf rss rtc rtsp samba sasl scanner schroedinger sdl sdl-image secure-delete semantic-desktop session shout skins sms sndfile solver sox speex spell spl sql sqlite sse sse2 ssl startup-notification stream strong-optimization svg svga symlink sysfs system-sqlite taglib tcl tcpd templates theora threads thumbnail tidy tiff tk truetype twolame udev unicode usb v4l v4l2 vcd vcdinfo vcdx vhook vidix vlm vnc vorbis watchdog wavpack webpresence wicd wifi win32codecs windeco winpopup wma wma-fixed wmf wpd wpg wv2 wxwidgets wxwindows x264 x86 xanim xattr xcb xcomposite xinerama xml xmlpatterns xorg xulrunner xv xvid xvmc yahoo yv12 zeroconf zip zlib" ALSA_CARDS="intel8x0 intel8x0m" 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="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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nv nvidia" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS