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

Bug 270788

Summary: sci-geosciences/gpsd-2.38 emerge fails during gpslib compile
Product: Gentoo Linux Reporter: Ian Truelsen <ian.truelsen>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gpsd-2.38 build.log

Description Ian Truelsen 2009-05-22 02:07:30 UTC
When trying to do a new install of gpsd-2.38, it fails at the gpslib section of the build.

x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -march=athlon64 -O2 -pipe -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.6 -c crc24q.c -o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/crc24q.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: can not read symbols: File truncated
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: 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....
x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -march=athlon64 -O2 -pipe -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.6 -o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/gpspacket.so
building 'gpslib' extension
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -march=athlon64 -O2 -pipe -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.6 -c gpslib.c -o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/gpslib.o
gpslib.c:36: warning: no previous prototype for 'initgpslib'
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -march=athlon64 -O2 -pipe -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.6 -c geoid.c -o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/geoid.o
x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -march=athlon64 -O2 -pipe -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/gpslib.o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/build/geoid.o -L/usr/lib64 -lm -lpython2.6 -o /var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38/gpslib.so
make[1]: Leaving directory `/var/tmp/portage/sci-geosciences/gpsd-2.38/work/gpsd-2.38'
make: *** [all] Error 2
 * 
 * ERROR: sci-geosciences/gpsd-2.38 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3349:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed

I have also included the full build.log.

Reproducible: Always

Steps to Reproduce:
1. emerge gpsd
2.
3.




Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.2.4, glibc-2.10.1-r0, 2.6.27-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r5-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-50-with-gentoo-2.0.0
Timestamp of tree: Wed, 20 May 2009 20:30:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r4, 2.5.2-r8, 2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
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.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.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
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=athlon64 -O2 -pipe"
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"
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/liquidx /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus directfb dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipod ipv6 isdnlog jpeg ldap libnotify lm_sensors mad midi mikmod mmx mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis wifi xface xine xml xorg xpm xulrunner xv xvid yahoo 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="synaptics evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vga vesa v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ian Truelsen 2009-05-22 02:08:53 UTC
Created attachment 192078 [details]
gpsd-2.38 build.log
Comment 2 Sebastian Luther (few) 2009-05-22 07:38:52 UTC

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