Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263645 - sci-geosciences/gpsd-2.38 may have a parallel make bug
Summary: sci-geosciences/gpsd-2.38 may have a parallel make bug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
: 263572 270788 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-24 18:30 UTC by Tobias Klausmann (RETIRED)
Modified: 2009-06-05 03:58 UTC (History)
5 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 Tobias Klausmann (RETIRED) gentoo-dev 2009-03-24 18:30:13 UTC
On my amd64 I get these errors when using -j2 (not always, but about 1/3 of the time), but not with (-j1):

x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -O2 -march=k8 -pipe -msse3 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE -fPIC -I/var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38 -I/usr/include/python2.5 -c -I/var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38 -I/usr/include/python2.5 -c hex.c -o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/hex.o
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -O2 -march=k8 -pipe -msse3 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE -fPIC -I/var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38 -I/usr/include/python2.5 -c -I/var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38 -I/usr/include/python2.5 -c crc24q.c -o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/crc24q.o
x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -O2 -march=k8 -pipe -msse3 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/gpspacket.o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/packet.o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/isgps.o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/rtcm2.o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/strl.o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/hex.o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/crc24q.o -L/usr/lib64 -lm -lpython2.5 -o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/gpspacket.so
/var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/rtcm2.o: file not recognized: File truncated
collect2: ld returned 1 exit status
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
make[1]: *** [gpslib.so] Error 1
make[1]: *** Waiting for unfinished jobs....

Looks like a parallel make bug to me.

# emerge --info
Portage 2.1.6.10 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28.6 x86_64)
=================================================================
System uname: Linux-2.6.28.6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-glibc2.2.5
Timestamp of tree: Tue, 24 Mar 2009 17:45:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6
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.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="-O2 -march=k8 -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"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildsyspkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.tiscali.nl/"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude lost+found"
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://rsync5.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 acl alsa amd64 apache2 audacious audiofile bash-completion berkdb bzip2 calendar caps cdparanoia cdr cli cracklib crypt cups dio dri dts dvd dvdr dvdread encode ethereal exif ffmpeg fftw firefox fortran ftp gdbm gif glitz gpm gtk iconv imlib2 isdnlog jpeg kdeenablefinal ladcca lame lcms lua mad matroska midi mmap mmx mng moznocompose moznoirc moznomail mozsvg mp3 mpeg mplayer mudflap multilib mysqli ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcre pdflib perl png ppds pppd python qt4 readline recode reflection session sharedmem sockets sox spl srt sse sse2 ssl svg sysfs szip tcpd tetex theora unicode usb v4l v4l2 vcd vim vim-pager vlm vorbis wmf xcb xcomposite xorg xosd xpm xscreensaver xvid zlib" ALSA_CARDS="emu10k1 ice1724" 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="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 renato gallo 2009-04-15 11:06:29 UTC
same here on 64 arch nocona pentium quad core
Comment 2 Luke-Jr 2009-04-30 02:02:27 UTC
I ended up without /usr/sbin/gpsd-- hoping -j1 fixes. If so, then there's also a bug in the ebuild's error trapping.
Comment 3 Luke-Jr 2009-04-30 02:34:39 UTC
Nope, reinstall with -j1 did not yield a gpsd. Filed bug #267936
Comment 4 Sebastian Luther (few) 2009-05-22 07:38:29 UTC
*** Bug 263572 has been marked as a duplicate of this bug. ***
Comment 5 Sebastian Luther (few) 2009-05-22 07:38:52 UTC
*** Bug 270788 has been marked as a duplicate of this bug. ***
Comment 6 Steve Arnold archtester gentoo-dev 2009-06-05 03:58:55 UTC
-j1 workaround applied; closing...