Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179602 - xfce4-mixer-4.4.1 ignores ebuild option JOBS from eclasses
Summary: xfce4-mixer-4.4.1 ignores ebuild option JOBS from eclasses
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-24 07:10 UTC by Rafael Kolless
Modified: 2007-05-24 23:12 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 Rafael Kolless 2007-05-24 07:10:23 UTC
I try to build packages like xfce4-mixer-4.4.1 which sets the options JOBS="-j1" from the xfce44 eclass. The build system ignores this parameter completly and I have to set MAKE_OPTS="-J1" temporary in the emerge line.

emerge --info
Portage 2.1.2.7 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 24 May 2007 05:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
CHOST="i686-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/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.uni-c.dk/pub/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/data/system/var/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/data/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa arts asf audiofile bash-completion berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo capi cdparanoia cdr cli cracklib crypt css cups curl dbus dga directfb dri dts dv dvb dvd dvdr dvdread dvdreadi eds emboss encode esd exif fam fame fax ffmpeg firefox font-server fortran fping gdbm gif gimp gimpprint glut gmp gpm gstreamer gtk gtk2 hal iconv icq idn ieee1394 imagemagick imlib ipod isdnlog java javascript joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kipi koffice-plugin lcms libg++ lua mad maildir matroska mbox midi mikmod mime mjpeg mmx mmxext mng moneyplex monkey mozbranding moznocompose moznoirc moznomail mozsvg mp3 mpeg mplayer msn mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin objc ogg openal opengl openmp oscar oss pam pcre perl png ppds pppd python qt3 qt4 quicktime rar rdesktop readline real reflection reiserfs ruby samba scanner sdl session smp sms sox speedo spell spl sqlite sse sse-filters sse2 ssl stats subtitles sysfs tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb utf8 v4l vcd videos vidix vorbis wifi win32codecs x86 xcomposite xine xinerama xml xorg xpm xscreensaver xv xvid yahoo zlib" ALSA_CARDS="cs46xx" 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" FRITZCAPI_CARDS="fcpci" INPUT_DEVICES="keyboard joystick mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-05-24 12:44:33 UTC
It works fine here. How does it fail for you (attach full build log or sth)?
Comment 2 Zac Medico gentoo-dev 2007-05-24 18:49:32 UTC
Looking at the ebuild and eclass, it seems like it should work since emake ${JOBS} in xfce44_src_compile() will cause the -j option from MAKEOPTS to be overridden with -j1.

Do you have any eclasses in ${PORTDIR_OVERLAY}/eclass?  If not...

First, check if JOBS variable was properly set:

bzcat /var/db/pkg/xfce-extra/xfce4-mixer-4.4.1/environment.bz2 | grep ^JOBS=

Creating a --debug log, which should trace the JOBS variable being set and the emake command:

emerge --debug xfce4-mixer >& debug.log
Comment 3 Zac Medico gentoo-dev 2007-05-24 19:07:47 UTC
Note: xfce44_src_install calls emake DESTDIR=${D} install and doesn't append ${JOBS}.  Depending on where it fails, that could be the problem.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-05-24 19:09:53 UTC
I've changed .eclass a bit so ${JOBS} get also passed to xfce44_src_install so it doesn't fail in parallel when doing make install. Sync in a hour or so, and try again please.

If this doesn't help, please provide the information asked in previous comment(s).
Comment 5 Rafael Kolless 2007-05-24 23:12:16 UTC
Now the ebuild works with the changed .eclass and does not fail on the make install

Thanks for the fast fix