Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317559 - media-video/mplayer-9999 Fails to build from SVN, requires app-text/docbook-xml-dtd
Summary: media-video/mplayer-9999 Fails to build from SVN, requires app-text/docbook-x...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 321161 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-28 01:40 UTC by Scott Burgess
Modified: 2011-12-17 14:40 UTC (History)
1 user (show)

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 Scott Burgess 2010-04-28 01:40:00 UTC
I attempted to emerge the latest mplayer from SVN (media-video/mplayer-9999).

emerge --ask --verbose --tree mplayer        
These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] media-video/mplayer-9999  USE="X a52 alsa ass cddb cdio cdparanoia debug dirac doc dts dv dvd dvdnav enca encode faac faad gif iconv ipv6 jpeg live mad mmx mng mp3 network opengl osdmenu png quicktime rar rtc schroedinger sdl shm speex sse sse2 ssse3 theora toolame tremor truetype twolame unicode vorbis x264 xscreensaver xv xvid -3dnow -3dnowext -aalib (-altivec) -amr% -bidi -bindist -bl -bs2b -cpudetection -custom-cpuopts -dga -directfb -dvb -dxr3 -esd -external-ffmpeg -fbcon -ftp -ggi -gmplayer -jack -joystick -jpeg2k -ladspa -libcaca -lirc -lzo -md5sum -mmxext -nas -nut -openal -oss -pnm -pulseaudio -pvr -radio -real -samba -svga -tga -v4l -v4l2 -vdpau -vidix -win32codecs -xanim -xinerama -xvmc -zoran (-aac%*) (-opencore-amr%)" VIDEO_CARDS="mga tdfx vesa -s3virge" 0 kB

The build failed, with the following:

make: Entering directory `/var/tmp/portage/media-video/mplayer-9999/work/mplayer-9999/DOCS/xml'
mkdir -p ../HTML/en
sh configure
Searching for XML catalogs...
No SGML catalog found.
Searching for stylesheets...
Searching for html/chunk.xsl...
Not found. Using default (/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl)
Searching for html/docbook.xsl...
Not found. Using default (/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/docbook.xsl)
Searching for DTD...
Not found. Using default (/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd).
Looking for a valid XSLT processor...
Found xsltproc but no stylesheets on your system.
xsltproc is unusable without stylesheets.
No valid XSLT processor found.
Bailing out.
make: *** [xsltproc.sh] Error 1
make: Leaving directory `/var/tmp/portage/media-video/mplayer-9999/work/mplayer-9999/DOCS/xml'

After a bit of Googling, I tried emerging app-text/docbook-xml-dtd, which solved the problem. Mplayer built successfully after this.

Reproducible: Always

Steps to Reproduce:
1. Ensure app-text/docbook-xml-dtd is not emerged.
2. Emerge media-video/mplayer-9999. 


Actual Results:  
make: Entering directory `/var/tmp/portage/media-video/mplayer-9999/work/mplayer-9999/DOCS/xml'
mkdir -p ../HTML/en
sh configure
Searching for XML catalogs...
No SGML catalog found.
Searching for stylesheets...
Searching for html/chunk.xsl...
Not found. Using default (/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl)
Searching for html/docbook.xsl...
Not found. Using default (/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/docbook.xsl)
Searching for DTD...
Not found. Using default (/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd).
Looking for a valid XSLT processor...
Found xsltproc but no stylesheets on your system.
xsltproc is unusable without stylesheets.
No valid XSLT processor found.
Bailing out.
make: *** [xsltproc.sh] Error 1
make: Leaving directory `/var/tmp/portage/media-video/mplayer-9999/work/mplayer-9999/DOCS/xml'

Expected Results:  
Emerge should succeed.

emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r2-i686-Pentium-R-_Dual-Core_CPU_E5200_@_2.50GHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 26 Apr 2010 09:15:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.10
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-fno-omit-frame-pointer -O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-fno-omit-frame-pointer -O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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://mirror.internode.on.net/gentoo-portage"
USE="X a52 aac acl acpi alsa amrnb apm berkdb branding bzip2 cairo cdparanoia cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 jpeg lcms ldap libnotify live lm_sensors mad matroska mencode mikmod mmx mng modules mp3 mp4 mpeg mudflap musepack ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl pmu png ppds pppd python qt3support readline reflection samba sdl sensord session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs syslog tcpd theora tiff truetype unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexis Ballier gentoo-dev 2010-05-01 15:40:19 UTC
fixed, thanks
Comment 2 Nikoli 2010-05-31 21:55:17 UTC
This bug is not fixed, USE="doc" does not need app-text/docbook-xml-dtd, but needs app-text/docbook-xsl-stylesheets, which is only build depend of app-text/docbook-xml-dtd.

For reproducing do:
emerge -1v app-text/docbook-xml-dtd;emerge -C app-text/docbook-xsl-stylesheets;USE="doc "emerge -1v =media-video/mplayer-9999
Comment 3 Alexis Ballier gentoo-dev 2011-12-17 14:40:16 UTC
*** Bug 321161 has been marked as a duplicate of this bug. ***