Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418295 - net-misc/spice-gtk-0.12 fails parallel src_install
Summary: net-misc/spice-gtk-0.12 fails parallel src_install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL: https://aur.archlinux.org/packages.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-30 19:35 UTC by Reto Gantenbein (ganto)
Modified: 2012-06-07 20:59 UTC (History)
0 users

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


Attachments
Build Log of System 1 with -j2 (sys1-j2-build.log,47.26 KB, text/plain)
2012-05-30 19:38 UTC, Reto Gantenbein (ganto)
Details
Build Log of System 2 with -j7 (sys2-j7-build.log,62.77 KB, text/plain)
2012-05-30 19:39 UTC, Reto Gantenbein (ganto)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reto Gantenbein (ganto) 2012-05-30 19:35:07 UTC
When using MAKEOPT="-j2" or higher, the compilation of spice-gtk-0.12 fails. The build error occured on two different systems with a different number of parallel jobs (2, 3 and 7) and a slightly different error message (see attached logs).

Compiling with only one job results in a successful build.

Reproducible: Always

Steps to Reproduce:
1. MAKEOPT="-j3" emerge =net-misc/spice-gtk-0.12

Actual Results:  
Build fails with the following error (or similar):

[...]
make  install-data-hook
make[6]: Entering directory `/var/tmp/portage/net-misc/spice-gtk-0.12/work/spice-gtk-0.12/gtk'
make[6]: Nothing to be done for `install-data-hook'.
make[6]: Leaving directory `/var/tmp/portage/net-misc/spice-gtk-0.12/work/spice-gtk-0.12/gtk'
/var/tmp/portage/net-misc/spice-gtk-0.12/work/spice-gtk-0.12/gtk/.libs/libspice-client-gtk-2.0.so: file not recognized: File truncated
collect2: ld returned 1 exit status
libtool: install: error: relink `SpiceClientGtk.la' with the above command before installing it
make[5]: *** [install-pyexecLTLIBRARIES] Error 1
make[5]: *** Waiting for unfinished jobs....

Expected Results:  
Successful build

>>> SYSTEM 1 <<<
thor ~ # emerge --info
Portage 2.1.10.49 (default/linux/amd64/10.0/server, gcc-4.5.3, glibc-2.14.1-r3, 3.3.5-gentoo-dom0 x86_64)
=================================================================
System uname: Linux-3.3.5-gentoo-dom0-x86_64-AMD_Athlon-tm-_II_X4_615e_Processor-with-gentoo-2.1
Timestamp of tree: Wed, 30 May 2012 01:00:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r1
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo linuxmonk xen
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
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"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/linuxmonk /var/lib/layman/xen"
SYNC="rsync://centos6/gentoo-portage"
USE="3dnow 3dnowext X aio alsa amd64 api apng ass bash-completion bzip2 caps cdda cddb cli consolekit cracklib crypt curl cxx dbus device-mapper dga dri dvd dvdnav ermt faac fdt flac gif gnutls gudev hvm hwdb iconv ioemu ipv6 jpeg libkms libnl macvtap minizip mmx mmxext modules mp3 mp4 mpeg mudflap multilib ncurses network nptl ogg opengl optimization pam pcre pic plymouth png policykit pppd pulseaudio pygrub qemu readline rtc rtmp rtsp screen session sndfile spice sse sse2 ssl svg symlink threads truetype udev unicode urandom vdisk vdpau vorbis x264 xattr xen 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 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="caps lvm syslog plymouth xen" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


>>> SYSTEM 2 <<<
merkur ~ # emerge --info
Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.4.0-gentoo x86_64)
=================================================================
System uname: Linux-3.4.0-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1075T_Processor-with-gentoo-2.1
Timestamp of tree: Wed, 30 May 2012 01:00:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.8, 2.7.3-r1, 3.2.3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            3.4.6-r2, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo ubelix sunrise linuxmonk x11 xen x-rex
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://de-mirror.org/distro/gentoo/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/ubelix /var/lib/layman/sunrise /var/lib/layman/linuxmonk /var/lib/layman/x11 /var/lib/layman/xen /var/lib/layman/rex"
SYNC="rsync://centos6/gentoo-portage"
USE="3dnow 3dnowext X X509 a52 aac aalib acpi aio aisleriot alsa amd64 amr apng archive aspell async audio autoipd automount avahi bacula-clientonly bacula-console bacula-nodir bacula-nosd banshee bash-completion berkdb bluetooth bonjour bookmarks branding brasero btrfs bzip2 cairo caps ccache cdaudio cdda cddb cdio cdr cdrkit cjk cli clutter colord console consolekit corefonts cracklib crypt css cups curl cxx daap dbus dc1394 deskbar device-mapper dga dhcp dia discouraged disk-partition diskio divx dmi dmraid dri drm dv dvd dvdr dvi dvipdfm eds emerald enca encode evo exchange exif expat fam fasttrack fat fbcon ffmpeg flac flickr fontconfig fortran ftp fts fts3 fuse gaim gallium gbm gcj gconf gd gdbm gdu gedit geoip gif gimp gimpprint git glib glitz glsa glut gmp gnome gnome-keyring gnome-print gnuplot gnutella gnutls gphoto2 gpm graphics graphviz grilo gs gsf gstreamer gtk gtkhtml gudev guile h323 hddtemp hfs httpd hwdb ical iconv icq icu id3tag idn ieee1394 imagemagick imap inherit-graph inkjar introspection ios ipod iptc ipv6 irc ithreads jabber jpeg kate kerberos keyring kpathsea kqemu kvm lame lastfm latex lcms libass libnotify libsamplerate libsexy live llvm-gcc lm_sensors logrotate lvm lzma lzo magic map matroska mdadm mdnsresponder-compat midi mjpeg mmap mmx mmxext modules mono mp2 mp3 mpeg msn mtp mudflap multilib musepack musicbrainz nautilus ncurses network networking networkmanager nfs nfsidmap nls nntp nolvm1 nolvmstatic nptl nsplugin nss ntfs ntfsprogs nvidia ocamlopt ofx ogg opengl openmp openvg osmesa pam parted pcntl pcre pdf pdfimport playlist plotutils png podcast policykit postscript ppds prediction print pstricks pulseaudio qemu qt3support quicktime rar rdesktop readline resolvconf rtc rtmp rtsp sasl schroedinger science scrobbler sdl secure-delete sendto session shout sip smi smp socialweb soundtouch soup sourceview spell sse sse2 ssh ssl stream subtitles subversion svg symlink taglib tagwriting tcpd telepathy tex4ht tga theora threads threadsonly tiff tk toolkit-scroll-bars totem tracker truetype udev unicode unique upnp urandom usb usbredir v4l2 vala valgrind vcd vdisk vdpau video vim-syntax virtualbox vlm vnc vorbis vte wav webgl webkit wma wmf x264 xa xanim xattr xcb xcomposite xetex xfs xinerama xml xmldoclet xmp xorg xulrunner xv xvid xvmc youtube zeroconf zlib" ALSA_CARDS="hda-intel" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="caps lvm mdraid syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="arm i386 sparc64 x86_64" QEMU_USER_TARGETS="arm i386 sparc64 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="nouveau vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Reto Gantenbein (ganto) 2012-05-30 19:38:40 UTC
Created attachment 313635 [details]
Build Log of System 1 with -j2
Comment 2 Reto Gantenbein (ganto) 2012-05-30 19:39:10 UTC
Created attachment 313637 [details]
Build Log of System 2 with -j7
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2012-05-31 04:40:57 UTC
finally found the culprit: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2012-05-31 05:55:15 UTC
ok, I've just committed a fix for the parallel install.
Can you please wait a bit, resync and try again?
If you have a /usr/portage/net-misc/spice-gtk/files/0.12-parallel-install.patch file you should have the updated version.

Reopen of it the problem still persists.
Comment 5 Reto Gantenbein (ganto) 2012-06-07 20:59:19 UTC
Thanks a lot for the fast fix. Works like a charm now :-)