Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 73465

Summary: emerge wine fails with USE="doc" and MAKEOPTS="-jn" (n > 1)
Product: Gentoo Linux Reporter: Olivier Cloirec <olivier.cloirec>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Olivier Cloirec 2004-12-05 10:20:33 UTC
When compiling wine with doc enabled and MAKEOPTS="-jn" with n > 1 (tried with 7 on my laptop because of distcc compilation), the doc step fails.
TeX seem to not support well parralel tasks.

A workarround is to put -j1 in your MAKEOPTS or (if you'd like to keep parralel compilation) replace the line
emake -C documentation doc || die "docs"
by
emake -j1 -C documentation doc || die "docs"

Have a good week and thanks for your work...
Olivier

Reproducible: Always
Steps to Reproduce:
1. Include "doc" in your USE flags
2. Include "-jn" where n is greater than 1 in your MAKEOPTS
3. Re-emerge wine

Actual Results:  
Wine build complete.
make: Entering directory
`/var/tmp/portage/wine-20041201/work/wine-20041201/documentation'
docbook2html -u wine-devel.sgml
docbook2html -u wine-user.sgml
docbook2html -u winelib-user.sgml
docbook2html -u wine-faq.sgml
docbook2pdf wine-devel.sgml
docbook2pdf wine-user.sgml
docbook2pdf 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-20041201/work/wine-20041201/documentation/wine-faq.sgml
Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print
Working on:
/var/tmp/portage/wine-20041201/work/wine-20041201/documentation/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-20041201/work/wine-20041201/documentation/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#print
Working on:
/var/tmp/portage/wine-20041201/work/wine-20041201/documentation/wine-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-20041201/work/wine-20041201/documentation/wine-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-20041201/work/wine-20041201/documentation/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#print
Working on:
/var/tmp/portage/wine-20041201/work/wine-20041201/documentation/wine-devel.sgml
Done.
docbook2ps 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#print
Working on:
/var/tmp/portage/wine-20041201/work/wine-20041201/documentation/wine-devel.sgml
Done.
docbook2ps wine-user.sgml
Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print
Working on:
/var/tmp/portage/wine-20041201/work/wine-20041201/documentation/wine-user.sgml
Done.
docbook2ps winelib-user.sgml
! Unable to read an entire line---bufsize=200000.
Please increase buf_size in texmf.cnf.
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5)
(/var/tmp/portage/wine-20041201/work/wine-20041201/documentation/wine-user.texmake:
*** [wine-user.pdf] Error 9
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#print
Working on:
/var/tmp/portage/wine-20041201/work/wine-20041201/documentation/winelib-user.sgml
Done.
This is TeX, Version 3.14159 (Web2C 7.4.5)

(/var/tmp/portage/wine-20041201/work/wine-20041201/documentation/wine-devel.tex
JadeTeX 2003/04/27: 3.13
(/usr/share/texmf/tex/latex/psnfss/t1ptm.fd)
Elements will be labelled
Jade begin document sequence at 21

(/var/tmp/portage/wine-20041201/work/wine-20041201/documentation/wine-devel.aux
)
Runaway definition?
->\LT@entry {2}{210.79999pt}\LT@entry {2 
! File ended while scanning definition of \LT@xiv.
<inserted text> 
                }
l.21 {48\p@}}
             \Node%
! Illegal parameter number in definition of \LT@xiv.
<to be read again> 
                   1
l.21 {48\p@}}
             \Node%
! Illegal parameter number in definition of \LT@xiv.
<to be read again> 
                   1
l.21 {48\p@}}
             \Node%
)
Runaway definition?
->\LT@entry {2}{210.79999pt}\LT@entry {2 }\endgroup \immediate \openout \ETC.
! File ended while scanning definition of \LT@xiv.
<inserted text> 
                }
<*> wine-devel.tex
                  
! Emergency stop.
<*> wine-devel.tex
                  
No pages of output.
Transcript written on wine-devel.log.
 [43.0.27] [44.0.27] [45.0.27] [46.0.27]make: *** [wine-devel.ps] Error 9

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



emerge info displays:
Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.8-gentoo-r5 i686)
=================================================================
System uname: 2.6.8-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.6
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  6 2004, 17:12:15)]
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.9.3, 1.6.3, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10
virtual/os-headers:  2.4.19-r1, 2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium-m -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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/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="-O3 -march=pentium-m -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/ http://mir.zyrianes.net/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups doc dvd
dvdr emacs encode f77 fam fbcon flac foomaticdb fortran gdbm gif gphoto2 gpm gtk
gtk2 gtkhtml guile imagemagick imap imlib jack java jpeg ldap libg++ libwww lirc
mad maildir mikmod mmx motif mpeg mule mysql nas ncurses nls oggvorbis opengl
pam pdflib perl png python qt quicktime readline samba sdl slang speex spell sse
ssl svga tcltk tcpd tetex tiff truetype unicode usb wmf x86 xml xml2 xmms xosd
xv zlib"
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-12-05 11:09:01 UTC
please comment on the other bug

*** This bug has been marked as a duplicate of 73458 ***