Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265593 - sys-fs/lvm2-2.02.45 failed to build with MAKEOPTS="-j3"
Summary: sys-fs/lvm2-2.02.45 failed to build with MAKEOPTS="-j3"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-10 00:23 UTC by Steve Kutnar
Modified: 2009-04-28 02:39 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log for lvm2 2.05.45 with MAKEOPTS="-j8" (1239326921-install-sys-fs_lvm2-2.02.45.build.log,43.59 KB, text/plain)
2009-04-10 01:32 UTC, Jose daLuz
Details
Output of paludis --info lvm2 (paludis_info_lvm2.txt,23.74 KB, text/plain)
2009-04-10 01:35 UTC, Jose daLuz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Kutnar 2009-04-10 00:23:12 UTC
Emerging lvm2-2.02.45 failed with my default MAKEOPTS of "-j3".  It built okay with MAKEOPTS="-j1".  I do not have the build log from the failed attempt.

Reproducible: Didn't try

Steps to Reproduce:
1. set MAKEOPTS to -j3  (Probably would work with other values, but I didn't test)
2. emerge
3.

Actual Results:  
Emerge fails

Expected Results:  
Emerge completes

As I mentioned, I don't have the log from the build that failed because I didn't really think about keeping it until I redid the emerge with MAKEOPTS="-j1" to see if it worked...

* Overlay eclasses override eclasses from PORTDIR:
 *                                                 
 *   '/usr/local/portage/layman/kde-testing/eclass/kde4-base.eclass'
 *   '/usr/local/portage/layman/kde-testing/eclass/kde4-functions.eclass'
 *   '/usr/local/portage/layman/kde-testing/eclass/kde4-meta.eclass'     
 *   '/usr/local/portage/layman/vmware/eclass/vmware.eclass'             
 *                                                                       
 * It is best to avoid overriding eclasses from PORTDIR because it will  
 * trigger invalidation of cached ebuild metadata that is distributed with
 * the portage tree. If you must override eclasses from PORTDIR then you  
 * are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to
 * run `emerge --regen` after each time that you run `emerge --sync`. Set  
 * PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to
 * disable this warning.                                                   
Portage 2.2_rc28 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.3-asneeded, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.0
Timestamp of tree: Thu, 09 Apr 2009 23:15:03 +0000
app-shells/bash:     4.0_p17
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.1-r1
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
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.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8-sse3 -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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8-sse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.osuosl.org/ http://gentoo.krasko.sk/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,-z,combreloc"
LINGUAS="en en_US"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/vmware /usr/local/portage/layman/kde-testing /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac acpi akode alsa amd64 ao branding bzip2 cairo caps cddb cdparanoia cli consolekit cracklib crypt css cups curl dbus dga djvu dri dv dvd dvdr dvdread encode exif expat faac faad fam fbcon ffmpeg flac fontconfig fortran geoip ggi gif glib gmp gnutls gphoto2 gpm gs gtk hal hyperestraier iconv icu id3tag idn ieee1394 imagemagick imlib isdnlog ithreads java joystick jpegjpeg2k kdehiddenvisibility kontact lame lcms libsamplerate lm_sensors lzo mad matroska mbox midi mjpeg mmap mmx mmxext mng modplug motif mp3 mpeg msn mudflap musepack musicbrainz ncurses network network-cron nls nptl nptlonly nsplugin offensive ogg openal opengl openmposcar oss pam pcre pdf perl plasma plotutils png pppd qt4 quicktime readline reflection rle ruby samba schroedinger sdl semantic-desktop session smp sndfile speex spell spl sse sse2 sse3 ssl startup-notification stats subversion suid svg sysfs syslog tcpd theora threads tiff truetype unicode usb utempter vcd vim-syntax vnc vorbis wavpack wmf wxwindows x264 xcomposite xft xine xml xorg xpm xscreensaverxslt xv xvid xvmc zlib" ALSA_CARDS="emu10k1 usb-audio" 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="joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jose daLuz 2009-04-10 01:32:07 UTC
Created attachment 187840 [details]
Build log for lvm2 2.05.45 with MAKEOPTS="-j8"
Comment 2 Jose daLuz 2009-04-10 01:34:20 UTC
I ran into the same thing, build log is attached.

Portage 2.2_rc28 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29 x86_64)
=================================================================
System uname: Linux-2.6.29-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-gentoo-2.0.0
Timestamp of tree: Fri, 10 Apr 2009 00:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
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.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j8"
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"
PORTDIR_OVERLAY="/usr/local/overlays/zugaina /usr/local/overlays/THE /usr/local/overlays/sunrise /usr/local/overlays/gnome /usr/local/overlays/desktop-effects /usr/local/overlays/vmware /usr/local/overlays/ikelos /usr/local/overlays/java-overlay /usr/local/overlays/berkano /usr/local/overlays/myoverlay"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility ldap libnotify mad midi mikmod mmx mono mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="cmipci hdaintel" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jose daLuz 2009-04-10 01:35:38 UTC
Created attachment 187842 [details]
Output of paludis --info lvm2
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2009-04-10 14:50:56 UTC
Caleb,

This also needs to be fixed before unmasking lvm2-2.02.45
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-04-12 20:36:19 UTC
I did a better workaround for the moment that doesn't force -j1.
Specifically, we now build the symlinks prior to starting the main build.

agk: not sure of a better fix from your side, why are you rm'ing the old symlinks anyway.