Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284588 - media-tv/xbmc-9.04.1 has parallel make issues
Summary: media-tv/xbmc-9.04.1 has parallel make issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 11:28 UTC by Dirk Best
Modified: 2009-12-18 16:46 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 Dirk Best 2009-09-11 11:28:25 UTC
xbmc fails to compile on my system, but it doesn't display a real error message, just stops. Excerpt from the log:

make[4]: Leaving directory `/var/tmp/portage/media-tv/xbmc-9.04.1/work/9.04.1_Babylon-linux-osx-win32/XBMC/xbmc/lib/libass'
make[3]: Leaving directory `/var/tmp/portage/media-tv/xbmc-9.04.1/work/9.04.1_Babylon-linux-osx-win32/XBMC/xbmc/lib/libass'
make[2]: Leaving directory `/var/tmp/portage/media-tv/xbmc-9.04.1/work/9.04.1_Babylon-linux-osx-win32/XBMC/xbmc/lib/libass'
x86_64-pc-linux-gnu-g++ -shared -o ../../../../system/players/dvdplayer/libass-x86_64-linux.so ../libass/.libs/*.o \
          `cat ../../../cores/DllLoader/exports/wrapper.def` \
          ../../../cores/DllLoader/exports/wrapper.o
make[1]: Leaving directory `/var/tmp/portage/media-tv/xbmc-9.04.1/work/9.04.1_Babylon-linux-osx-win32/XBMC/xbmc/lib/libass/xbmc'
 *
 * ERROR: media-tv/xbmc-9.04.1 failed.


My emerge --info:

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.10.1-r0, 2.6.31-gentoo x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 11 Sep 2009 06:45:01 +0000
app-shells/bash:     4.0_p33
dev-lang/python:     2.6.2-r1, 3.1.1
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/ http://gentoo.intergenia.de"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j5"
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"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 apm berkdb bzip2 cairo cleartype cli consolekit cracklib crypt cups dbus dhcp dri encode flac fuse gdbm gif gnome gnome-keyring gnutls gpm gstreamer gtk hal iconv idn ipv6 isdnlog jpeg lame lcms libnotify lirc lzma mmx mp3 mudflap multilib musepack nautilus ncurses networkmanager nls nptl nptlonly nvidia offensive ogg opengl openmp pam pcre perl png policykit pppd python readline reflection samba sdl session speex spl sse sse2 ssh ssl svg sysfs tcpd theora threads tiff truetype unicode vdpau vorbis xml xorg xulrunner zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="atiusb" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Dirk Best 2009-09-11 13:05:11 UTC
This seems to be a problem with multiple jobs, the error is gone if I compile with MAKEOPTS="-j1".
Comment 2 Richard H. 2009-11-12 00:58:54 UTC
Not for me. If I try to compile with MAKEOPTS="-j1" I get the following:

In file included from tif_ojpeg.c:35:
/usr/include/jpeglib.h:1125:55: error: jpegint.h: No such file or directory
tif_ojpeg.c: In function ‘OJPEGPreDecode’:
tif_ojpeg.c:1414: error: dereferencing pointer to incomplete type
tif_ojpeg.c:1424: error: dereferencing pointer to incomplete type
tif_ojpeg.c:1425: error: dereferencing pointer to incomplete type
tif_ojpeg.c:1426: error: dereferencing pointer to incomplete type
tif_ojpeg.c:1428: error: ‘DSTATE_INHEADER’ undeclared (first use in this function)
tif_ojpeg.c:1428: error: (Each undeclared identifier is reported only once
tif_ojpeg.c:1428: error: for each function it appears in.)
tif_ojpeg.c:1508: error: dereferencing pointer to incomplete type
make[2]: *** [tif_ojpeg.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-tv/xbmc-9.04.1/work/9.04.1_Babylon-linux-osx-win32/XBMC/xbmc/lib/cximage-6.0/tiff'
make[1]: *** [tiff/tiff.a] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-tv/xbmc-9.04.1/work/9.04.1_Babylon-linux-osx-win32/XBMC/xbmc/lib/cximage-6.0'
make: *** [imagelib] Error 2


...which is exactly the same thing that fails when compiling with -j3, but it is waaaaay up in the log. With tha parallel compile it only seems to hurt on linking against that needed library.
Comment 3 SpanKY gentoo-dev 2009-11-12 01:58:34 UTC
unrelated issue
Comment 4 SpanKY gentoo-dev 2009-12-18 16:46:43 UTC
xbmc-9.04* has been punted