Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371933 - dev-libs/libcdio-0.82: .libs/device.o: file not recognized: File truncated
Summary: dev-libs/libcdio-0.82: .libs/device.o: file not recognized: File truncated
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-16 15:57 UTC by trilog_studios
Modified: 2011-06-16 23:34 UTC (History)
0 users

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


Attachments
Build log for libcdio-0.82 (build.log,53.60 KB, text/plain)
2011-06-16 16:01 UTC, trilog_studios
Details

Note You need to log in before you can comment on or make changes to this bug.
Description trilog_studios 2011-06-16 15:57:47 UTC
Build dies at ".libs/device.o: file not recognized: File truncated." Reproducable everytime. Tried to tweak .build file with WANT_AUTOMAKE="1.9" still same 

Reproducible: Always

Steps to Reproduce:
1.emerge libcdio
2.ERROR: dev-libs/libcdio-0.82 failed (compile phase)

Actual Results:  
echo '};' >> libcdio.la.ver
/bin/sh ../../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -version-info 12:0:0  -Wl,--version-script=libcdio.la.ver -Wl,-O1 -Wl,--as-needed -o libcdio.la -rpath /usr/lib64 _cdio_generic.lo _cdio_stdio.lo _cdio_stream.lo aix.lo bsdi.lo audio.lo cd_types.lo cdio.lo cdtext.lo device.lo disc.lo ds.lo freebsd.lo freebsd_cam.lo freebsd_ioctl.lo gnu_linux.lo bincue.lo cdrdao.lo image_common.lo nrg.lo logging.lo mmc.lo aspi32.lo win32_ioctl.lo win32.lo netbsd.lo os2.lo osx.lo read.lo sector.lo solaris.lo track.lo utf8.lo util.lo  -lm
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/_cdio_generic.o .libs/_cdio_stdio.o .libs/_cdio_stream.o .libs/aix.o .libs/bsdi.o .libs/audio.o .libs/cd_types.o .libs/cdio.o .libs/cdtext.o .libs/device.o .libs/disc.o .libs/ds.o .libs/freebsd.o .libs/freebsd_cam.o .libs/freebsd_ioctl.o .libs/gnu_linux.o .libs/bincue.o .libs/cdrdao.o .libs/image_common.o .libs/nrg.o .libs/logging.o .libs/mmc.o .libs/aspi32.o .libs/win32_ioctl.o .libs/win32.o .libs/netbsd.o .libs/os2.o .libs/osx.o .libs/read.o .libs/sector.o .libs/solaris.o .libs/track.o .libs/utf8.o .libs/util.o   -Wl,--as-needed -lm  -O2 -Wl,--version-script=libcdio.la.ver -Wl,-O1   -Wl,-soname -Wl,libcdio.so.12 -o .libs/libcdio.so.12.0.0
.libs/device.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[3]: *** [libcdio.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/libcdio-0.82/work/libcdio-0.82/lib/driver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libcdio-0.82/work/libcdio-0.82/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/libcdio-0.82/work/libcdio-0.82'
make: *** [all] Error 2
emake failed
 * ERROR: dev-libs/libcdio-0.82 failed (compile phase):
 *   died running emake, base_src_make
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2830:  Called base_src_compile
 *   environment, line  435:  Called base_src_make
 *   environment, line  473:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 * 
 * If you need support, post the output of 'emerge --info =dev-libs/libcdio-0.82',
 * the complete build log and the output of 'emerge -pqv =dev-libs/libcdio-0.82'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/libcdio-0.82/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libcdio-0.82/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/libcdio-0.82/work/libcdio-0.82'


Expected Results:  
Install libcdio libraries

emerge --info
Portage 2.1.10.3 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.13-r2, 2.6.39-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 16 Jun 2011 15:00:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs candy ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB de"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac ac3 acl alsa amd64 apng autogen automake bash-compltion berkdb bzip2 cairo cdda cdr cli cracklib crypt cue cups cxx device-mapper dirac dmx dri dv dvb dvd dvdr esd extras ffmpeg flac flash flashsupport fortran gdbm gdu gif gnome gnome-keyring gpm gtk iconv ipod ipv6 jack java jpeg jpeg2k lame libmpeg2 libnotify libsamplerate lock mad matroska mms mmx modules mp3 mp4 mpeg mudflap multilib musepack mythtv nautilus ncurses netlink nls nptl nptlonly ogg openmp pam pcre perl png policykit pppd private-headers pulseaudio python qt4 radio readline samba schroedinger session skins sqlite sse sse2 ssl startup-notification static-libs sysfs taglib tcpd theora threads thunar unicode vorbis wavpack wma-fixed x264 xml xorg xv xvid 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="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap 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" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 trilog_studios 2011-06-16 16:01:08 UTC
Created attachment 277259 [details]
Build log for libcdio-0.82
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-06-16 16:02:41 UTC
Get rid of ccache in FEATURES.
Comment 3 trilog_studios 2011-06-16 16:07:02 UTC
wow that was/is embarrassing :/ thanx
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-16 16:51:29 UTC
(In reply to comment #3)
> wow that was/is embarrassing :/ thanx

You mean ccache was the problem?
Comment 5 trilog_studios 2011-06-16 17:06:14 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > wow that was/is embarrassing :/ thanx
> 
> You mean ccache was the problem?

yes it was, cant figure it quite out