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

Bug 265252

Summary: emerge rosegarden-1.5.1 fails with parallel make
Product: Gentoo Linux Reporter: Daniel Bausch <DanielBausch>
Component: [OLD] KDEAssignee: Professional Audio Applications Maintainers <proaudio>
Status: RESOLVED DUPLICATE    
Severity: normal CC: albzey, gentoobugzilla
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: log file

Description Daniel Bausch 2009-04-07 06:37:27 UTC
I was in the run of emerging world after updating to gcc-4.3.2. My system has two cores and I am using MAKEOPTS="-j3" regulary. The compilation of rosegarden-1.5.1 failed with the trace in the attached log. Emerging it with MAKEOPTS="-j1" worked flawlessly.

Reproducible: Sometimes

Steps to Reproduce:
This is sporadic. I have tried parallel make several times and it got beyond BaseProperties.



I guess, this happens, when the compilation of misc/Strings.o takes to long and the build of base/BasePropierties.o gets started in parallel.

# emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-glibc2.2.5
Timestamp of tree: Sun, 05 Apr 2009 21:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X X509 a52 aac accessibility acl acpi alsa amd64 ao apache2 arts audiofile bash-completion berkdb blender-game bluetooth bzip2 c++ cairo calendar caps cdda cddb cdio cdparanoia cdr cgi chipcard chroot cli cracklib crypt css cups curl cvs dbus dga divx dmx dri dssi dv dvd dvdr dvdread emboss encode esd evo exif expat fam fat fbcon ffmpeg fftw firefox flac flash fluidsynth foomaticdb fortran ftp gcj gd gdbm gif gimp glade glitz gmedia gmp gphoto2 gpm graphviz gstreamer gtk guile hal hbci iconv icq idn ieee1394 imagemagick imap imlib ipv6 irc isdnlog jack java java5 java6 javascript joystick jpeg junit kde kdeenablefinal kpathsea ladcca ladspa latex lcms libnotify lzo mad mbox midi mikmod mjpeg mmx mmxext mng modplug mono mozilla mp3 mpeg mplayer mudflap multilib musepack music mysql nas ncurses net network nls nptl nptlonly nsplugin objc ocaml odbc ogg openal openexr opengl openmp oss pam pch pcre pdf perl php plotutils png posix povray ppds pppd python qt3 qt3support qt4 quicktime rar readline realmedia reflection resolvconf rtc ruby samba scanner schroedinger sdl session slang slp sndfile snmp spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg svgz sysfs tcpd templates theora threads tidy tiff timidity transcode truetype unicode usb v4l v4l2 vcd vim-with-x vorbis wavpack wma wmf x264 xine xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="mpu401 usb-usx2y 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" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="vga nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Bausch 2009-04-07 06:39:08 UTC
Created attachment 187529 [details]
log file
Comment 2 Alex Zorach 2009-04-15 16:53:20 UTC
Have you tried this with different versions of gcc?  I am also using "-j3" and I just encountered this problem after switching my compiler to:

[2] x86_64-pc-linux-gnu-4.3.2 *

and doing an emerge -e world.

Previously I had been using:

[1] x86_64-pc-linux-gnu-4.1.2

and it compiled fine with the same settings.  Maybe this can help track down the problem?  Let me know if there is any more info I could give that would be helpful!  =)
Comment 3 Jesper Saxtorph 2009-06-11 20:15:45 UTC
This look like it is the same as bug 273747.
I have posted a solution on that other bug.
However, it sounds weird that Daniel (the reporter) describe it as sporadic.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2009-06-11 20:29:34 UTC
Not ours app... reassigning to maintainers to decide.
Comment 5 Albert Zeyer 2009-06-27 13:42:36 UTC
Same problem here but MAKEOPTS="-j1" emerge rosegarden does not work.
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2009-07-08 17:23:38 UTC
Thank you for report Daniel. The build log reveals that this is the same problem as bug 273747 and since it does not look like parallel make issue I'll mark this bug as duplicate of 273747. I really wonder how missing system headers could be fixed by -j1... if you have any ideas, please, reopen bug.

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