Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71697 - wine-20041019-r3 fails when the doc USE flag is enabled
Summary: wine-20041019-r3 fails when the doc USE flag is enabled
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-18 13:38 UTC by Greg
Modified: 2004-12-03 19:58 UTC (History)
4 users (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 Greg 2004-11-18 13:38:39 UTC
Trying to compile with doc in the use flags causes the ebuild to fail. Removing the doc flag it installs fine

Reproducible: Always
Steps to Reproduce:
1.USE="doc" emerge wine
2.
3.

Actual Results:  
docbook2html -u winelib-user.sgml
Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html
Working on:
/var/tmp/portage/wine-20041019-r3/work/wine-20041019/documentation/winelib-user.sgml
Done.
docbook2html -u wine-faq.sgml
Done.
false wine-devel.sgml
make: *** [wine-devel.pdf] Error 1
make: *** Waiting for unfinished jobs....
Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html
Working on:
/var/tmp/portage/wine-20041019-r3/work/wine-20041019/documentation/wine-faq.sgml
Done.
make: Leaving directory
`/var/tmp/portage/wine-20041019-r3/work/wine-20041019/documentation'

!!! ERROR: app-emulation/wine-20041019-r3 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! docs
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
wind should install with documentation.

Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r4 i686)
=================================================================
System uname: 2.6.9-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.6
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mtune=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acpi acpi4linux activefilter aim alsa amd apm audiofile avi bdf
berkdb bidi bindist bitmap-fonts bonobo bzlib c calendar cddb cdparanoia cdr
cdrom cjk codecs crypt cups curl curlwrappers dga dhcp directfb divx4linux doc
dvd dvdr dvdread eds emoticon encode erandom esd ethereal evo exif f77 faac faad
fam fbcon ffmpeg fftw fla flac foomaticdb fortran ftp gb gcj gd gdbm geoip ggi
gif gimp gimpprint glade gnome gnomedb gnuplot gphoto2 gpm graphviz gs gstreamer
gtk gtk2 gtkhtml guile hal hbci hostap-noplx hub i8x0 icq icu imagemagick imap
imlib imlib2 interbase intl ipv6 jabber jack java javacomm javadoc javamail
javascript jbig jce jikes jp2 jpeg jpeg2k junit jython kadu-modules kadu-voice
latex lcd ldap libcaca libg++ libgda libwww live lzo lzw lzw-tiff mad matroska
mdb mikmod mime ming mmx mmx2 mng monkey mono mozilla moznocompose moznoirc
moznomail mozp3p mozsvg mp3 mpeg mpeg4 mplayer msn ncurses net network nls nntp
nptl ntlm objc ocaml offensive oggvorbis openal opengl oscar oss pam pcmcia pcre
pda pdf pdflib perl png pnp python qt quicktime readline rtc samba scanner sdl
session silc slang smime snmp speex spell sse sse2 ssl svg svga tcltk tcpd tetex
theora tidy tiff timidity truetype trusted unicode usb v4l v4l2 vcdimager vim
vim-with-x wifi wmf wxwin wxwindows x86 xine xml xml2 xmms xosd xpm xscreensaver
xsl xv xvid xvmc yahoo yv12 zlib"
Comment 1 David Klempner 2004-11-18 18:35:20 UTC
Same issue.

# emerge --info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.2, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r2 i686)
=================================================================
System uname: 2.6.9-gentoo-r2 i686 AMD Athlon(tm) 
Gentoo Base System version 1.6.6
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.22,sys-kernel/linux-headers-2.4.19-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://xco.cs.uiuc.edu/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://xco.cs.uiuc.edu/gentoo-portage"
USE="3dnow 3dnowex S3TC X Xaw3d aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo canna cdr cjk crypt cscope cups curl dedicated dga directfb doc dvd emacs encode escreen esd f77 faad fam fbcon flac foomaticdb fortran freewnn gcj gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib java jpeg junit kde kerberos ldap libg++ libwww lirc mad mbox mikmod mmx motif mozcalendar mozilla mozsvg mpeg mpi mule multitarget music mysql ncurses network nls nvidia objc odbc offensive oggvorbis opengl oss pam pdflib perl plotutils png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd theora tiff truetype unicode usb uudeview v4l2 vanilla wmf x86 xgetdefault xine xinerama xml xml2 xmms xrandr xv xvmc zlib linguas_en linguas_ja"

Comment 2 Patrik Järnefelt 2004-11-22 01:16:44 UTC
It fails because there is no docbook2pdf so it's set to false in the Makefile. Re-emerge docbook-sgml-utils (and avoid -tetex, see #61938).
Comment 3 Ole Craig 2004-11-26 22:18:21 UTC
Encountered this exact problem, so I followed Patrik's advice... and ran into a different ebuild problem. I'll be filing it against docbook-sgml-utils in a moment (if it's not yet been noted) but since it came up while debugging this one I'll mention it here: docbook2txt requires a command-line HTML tool that accepts the "-dump" argument, so if you have links2 installed but not lynx, the wine ebuild with USE="doc" bombs out (3 scripts deep from the makefile) with 

[...]
docbook2txt wine-devel.sgml
Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html
Working on: /var/tmp/portage/wine-20041019-r3/work/wine-20041019/documentation/wine-devel.sgml
Unknown option -dump
make: *** [wine-devel.txt] Error 9
[...]

(My solution was to install lynx, which does accept the "-dump" arg.)
Comment 4 SpanKY gentoo-dev 2004-11-29 21:47:14 UTC
not a bug in wine it would seem
Comment 5 SpanKY gentoo-dev 2004-12-03 19:58:28 UTC
*** Bug 73293 has been marked as a duplicate of this bug. ***