Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86245 - mplayer-1.0_pre6-r1 needs "-j1" to build
Summary: mplayer-1.0_pre6-r1 needs "-j1" to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 86276 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-22 05:22 UTC by Dave Andruczyk
Modified: 2007-05-29 12: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 Dave Andruczyk 2005-03-22 05:22:18 UTC
On my SMP system mplayer-1.0_pre6-r1 needs "-j1" to build otherwise the compile fails are various points through the build..  (It would be nicer to find out WHY the build fails instead of cheating at changing the flags to "-j1" in the ebuild though.)
Comment 1 Warren Spain 2005-03-31 03:51:19 UTC
I have confirmed this.  I set MAKEOPTS="-j1" in my make.conf, and it built.  won't build under -j2.  Maybe it can be hardcoded in the ebuild that we download?
Comment 2 Mathias Van Moortel 2005-04-01 14:01:15 UTC
Same problem here, tried to compile with distcc and MAKEOPTS="-j9", compile failed. Recompiled with -j1 and compile finished without errors. 
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-07 07:48:18 UTC
*** Bug 86276 has been marked as a duplicate of this bug. ***
Comment 4 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-07 08:05:38 UTC
fixed in cvs, thanks for reporting.
Comment 5 solar (RETIRED) gentoo-dev 2006-06-24 18:28:24 UTC
Somebody should take a stab at correcting the Makefile to handle -jNN vs the -j1 
hack that was used here.
Comment 6 Prakash Punnoor 2007-01-07 08:31:32 UTC
Could you please try again with 1.0-rc1? It worked fine for me with -j4:

* media-video/mplayer-1.0_rc1-r1::gentoo [R] (-3dfx) 3dnow 3dnowext X aac -aalib alsa (-altivec) -amr -arts -bidi -bindist -bl cdparanoia -cpudetection custom-cflags -debug -dga -directfb -doc dts -dv -dvb dvd dvdread -enca -encode -esd -fbcon -ggi gif gtk iconv ipv6 -jack -joystick jpeg -libcaca -lirc -live -livecd -lzo -mad -matrox (mmx) mmxext musepack -nas -openal opengl oss png -real rtc samba sdl speex (sse) (sse2) (-svga) -tga theora truetype unicode -v4l -v4l2 vorbis (-win32codecs) x264 -xanim -xinerama xv xvid xvmc linguas: -bg -cs -da de -el -en -es -fr -hu -ja -ko -mk -nl -no -pl -pt_BR -ro -ru -sk -tr -uk -zh_CN -zh_TW

Portage 2.1.2_rc4-r6 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5.90.20061223-r1, 2.6.20-rc3 x86_64)
=================================================================
System uname: 2.6.20-rc3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.8
Last Sync: Sun, 07 Jan 2007 06:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.9
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -msse3 -O2 -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache digest distlocks parallel-fetch sandbox sfperms splitdebug"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ "
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both"
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/overlays/toolchain_overlay /var/lportage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow-ext X a52 aac alsa amd64 berkdb bitmap-fonts bzip2 cairo cddb cdr cli cracklib crypt css cups cvs dlloader dri dts dvd dvdr eds emboss encode fam ffmpeg fftw firefox flac gif gimp glitz gpm graphviz gtk gtk2 hashstyle iconv ipv6 isdnlog java jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility ladspa libg++ libsamplerate mac mad mikmod mmx-ext mod mp3 mp4 mpeg musepack ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session smp sndfile speex spell spl ssl subversion svg taglib tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis x264 xcomposite xml xorg xv xvid xvmc 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse" KERNEL="linux" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="none dummy nv nvidia vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Maxim Reznik 2007-05-29 12:57:28 UTC
mplayer-1.0.20070321.ebuild still fails when there is MAKEOPTS="-j4" in my make.conf