Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350923 - on emerge -avuND @ world, on ~amd64 system, sys-devel/bin86-0.16.18 fails.
Summary: on emerge -avuND @ world, on ~amd64 system, sys-devel/bin86-0.16.18 fails.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-07 03:22 UTC by Jim Dory
Modified: 2011-01-11 08:11 UTC (History)
1 user (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 Jim Dory 2011-01-07 03:22:05 UTC
Doing emerge world on unstable AMD64, sys-devel/bin86-0.16.18 fails on: readobj.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [ld86] Error 1

Being pulled in by app-emulation/virtualbox-modules-4.0.0, but experienced same error before virtualbox-modules-4.0.0 hit the shelves. (i.e. virtualbox-modules-3.12.0 or whatever was last)


Reproducible: Always

Steps to Reproduce:
1.emerge -avuND @world
2.
3.

Actual Results:  
A snippet of emerge output:
typeconv.c: In function 'xxerr':
typeconv.c:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -D_POSIX_SOURCE   -Wl,-O1 -Wl,--as-needed  objchop.c   -o objchop
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -D_POSIX_SOURCE   -Wl,-O1 -Wl,--as-needed  catimage.c   -o catimage
objchop.c: In function 'main':
objchop.c:49: warning: format '%ld' expects type 'long int', but argument 3 has type 'Long'
objchop.c:49: warning: format '%ld' expects type 'long int', but argument 4 has type 'Long'
objchop.c:49: warning: format '%ld' expects type 'long int', but argument 5 has type 'Long'
objchop.c:49: warning: format '%ld' expects type 'long int', but argument 6 has type 'Long'
io.c: In function 'flusherr':
io.c:142: warning: ignoring return value of 'write', declared with attribute warn_unused_result
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -D_POSIX_SOURCE   -Wl,-O1 -Wl,--as-needed  objdump86.c   -o objdump86
writex86.c: In function 'write_elks':
writex86.c:433: warning: cast from pointer to integer of different size
writebin.c: In function 'writebin':
writebin.c:1062: warning: ignoring return value of 'write', declared with attribute warn_unused_result
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed dumps.o io.o ld.o readobj.o table.o typeconv.o linksyms.o mkar.o writex86.o writebin.o writeemu.o -o ld86
objdump86.c: In function 'do_module':
objdump86.c:240: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
readobj.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [ld86] Error 1
make[1]: *** Waiting for unfinished jobs....
catimage.c: In function 'main':
catimage.c:65: warning: format '%04lx' expects type 'long unsigned int', but argument 4 has type 'Long'
catimage.c:65: warning: format '%04lx' expects type 'long unsigned int', but argument 5 has type 'Long'
make[1]: Leaving directory `/var/tmp/portage/sys-devel/bin86-0.16.18/work/bin86-0.16.18/ld'
make: *** [all] Error 1
emake failed
 * ERROR: sys-devel/bin86-0.16.18 failed:
 *   (no error message)



Expected Results:  
successful emergence.

# emerge --info
Portage 2.2.0_alpha14 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.1-r3, 2.6.36-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r3-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.0.1
Timestamp of tree: Fri, 07 Jan 2011 02:15:01 +0000
ccache version 3.1.3 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/ccache:     3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo local_overlay proaudio ladi
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.its.uidaho.edu/pub/gentoo/ http://lug.mtu.edu/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j7"
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 /var/lib/layman/pro-audio /var/lib/layman/ladi"
SYNC="rsync://rsync8.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb bitmap-fonts bluetooth branding bzip2 cairo cdda cddb cdr classic cli consolekit cracklib crypt cups cxx dbus dri drm dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gdu gif gimp gimpprint glx gnutls gpm iconv ieee1394 ipv6 jack jack-tmpfs jackmidi java jpeg kde kipi ladspa lame lash lcms ldap libnotify lv2 mad midi mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nfs nls nptl nptlonly nsplugin ogg opengl openmp oss pam pango pcre pdf perl php5 png policykit portaudio ppds pppd python qalculate qt3support qt4 raw readline redeyes samba sane scanner sdl semantic-desktop session sndfile spell sse sse2 ssl startup-notification subtitles svg swscaler sysfs taglib tcpd theora tiff truetype type1-fonts udev unicode usb v4l2 vorbis vst vst-sdk x264 xanim xcb xcomposite xine xinerama xml xorg xrandr xsane xulrunner xv xvid zlib" ALSA_CARDS="ice1712 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 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" CAMERAS="canon" 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="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeon" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jim Dory 2011-01-07 03:26:06 UTC
(In reply to comment #0)
> Doing emerge world on unstable AMD64, sys-devel/bin86-0.16.18 fails on:
> readobj.o: file not recognized: File truncated
> collect2: ld returned 1 exit status
> make[1]: *** [ld86] Error 1
> 
> Being pulled in by app-emulation/virtualbox-modules-4.0.0, but experienced same
> error before virtualbox-modules-4.0.0 hit the shelves. (i.e.
> virtualbox-modules-3.12.0 or whatever was last)
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.emerge -avuND @world
> 2.
> 3.
> 
> Actual Results:  
> A snippet of emerge output:
> typeconv.c: In function 'xxerr':
> typeconv.c:14: warning: ignoring return value of 'write', declared with
> attribute warn_unused_result
> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -D_POSIX_SOURCE   -Wl,-O1
> -Wl,--as-needed  objchop.c   -o objchop
> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -D_POSIX_SOURCE   -Wl,-O1
> -Wl,--as-needed  catimage.c   -o catimage
> objchop.c: In function 'main':
> objchop.c:49: warning: format '%ld' expects type 'long int', but argument 3 has
> type 'Long'
> objchop.c:49: warning: format '%ld' expects type 'long int', but argument 4 has
> type 'Long'
> objchop.c:49: warning: format '%ld' expects type 'long int', but argument 5 has
> type 'Long'
> objchop.c:49: warning: format '%ld' expects type 'long int', but argument 6 has
> type 'Long'
> io.c: In function 'flusherr':
> io.c:142: warning: ignoring return value of 'write', declared with attribute
> warn_unused_result
> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -D_POSIX_SOURCE   -Wl,-O1
> -Wl,--as-needed  objdump86.c   -o objdump86
> writex86.c: In function 'write_elks':
> writex86.c:433: warning: cast from pointer to integer of different size
> writebin.c: In function 'writebin':
> writebin.c:1062: warning: ignoring return value of 'write', declared with
> attribute warn_unused_result
> x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed dumps.o io.o ld.o readobj.o
> table.o typeconv.o linksyms.o mkar.o writex86.o writebin.o writeemu.o -o ld86
> objdump86.c: In function 'do_module':
> objdump86.c:240: warning: ignoring return value of 'fread', declared with
> attribute warn_unused_result
> readobj.o: file not recognized: File truncated
> collect2: ld returned 1 exit status
> make[1]: *** [ld86] Error 1
> make[1]: *** Waiting for unfinished jobs....
> catimage.c: In function 'main':
> catimage.c:65: warning: format '%04lx' expects type 'long unsigned int', but
> argument 4 has type 'Long'
> catimage.c:65: warning: format '%04lx' expects type 'long unsigned int', but
> argument 5 has type 'Long'
> make[1]: Leaving directory
> `/var/tmp/portage/sys-devel/bin86-0.16.18/work/bin86-0.16.18/ld'
> make: *** [all] Error 1
> emake failed
>  * ERROR: sys-devel/bin86-0.16.18 failed:
>  *   (no error message)
> 
> 
> 
> Expected Results:  
> successful emergence.
> 
> # emerge --info
> Portage 2.2.0_alpha14 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5,
> glibc-2.12.1-r3, 2.6.36-gentoo-r3 x86_64)
> =================================================================
> System uname:
> Linux-2.6.36-gentoo-r3-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.0.1
> Timestamp of tree: Fri, 07 Jan 2011 02:15:01 +0000
> ccache version 3.1.3 [enabled]
> app-shells/bash:     4.1_p9
> dev-java/java-config: 2.1.11-r3
> dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
> dev-util/ccache:     3.1.3
> dev-util/cmake:      2.8.3-r1
> sys-apps/baselayout: 2.0.1-r1
> sys-apps/openrc:     0.6.8
> sys-apps/sandbox:    2.4
> sys-devel/autoconf:  2.13, 2.68
> sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
> sys-devel/binutils:  2.21
> sys-devel/gcc:       4.4.5, 4.5.2
> sys-devel/gcc-config: 1.4.1
> sys-devel/libtool:   2.4-r1
> sys-devel/make:      3.82
> virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
> Repositories: gentoo local_overlay proaudio ladi
> ACCEPT_KEYWORDS="amd64 ~amd64"
> ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth AdobeFlash-10.1"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-march=native -O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /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"
> CXXFLAGS="-march=native -O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages
> news parallel-fetch preserve-libs protect-owned sandbox sfperms
> unknown-features-warn unmerge-logs unmerge-orphans userfetch"
> GENTOO_MIRRORS="http://mirror.its.uidaho.edu/pub/gentoo/
> http://lug.mtu.edu/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo
> http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
> http://mirror.usu.edu/mirrors/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> LINGUAS="en en_US"
> MAKEOPTS="-j7"
> 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 /var/lib/layman/pro-audio
> /var/lib/layman/ladi"
> SYNC="rsync://rsync8.us.gentoo.org/gentoo-portage"
> USE="X a52 aac acl acpi alsa amd64 avahi berkdb bitmap-fonts bluetooth branding
> bzip2 cairo cdda cddb cdr classic cli consolekit cracklib crypt cups cxx dbus
> dri drm dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm
> gdu gif gimp gimpprint glx gnutls gpm iconv ieee1394 ipv6 jack jack-tmpfs
> jackmidi java jpeg kde kipi ladspa lame lash lcms ldap libnotify lv2 mad midi
> mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nfs
> nls nptl nptlonly nsplugin ogg opengl openmp oss pam pango pcre pdf perl php5
> png policykit portaudio ppds pppd python qalculate qt3support qt4 raw readline
> redeyes samba sane scanner sdl semantic-desktop session sndfile spell sse sse2
> ssl startup-notification subtitles svg swscaler sysfs taglib tcpd theora tiff
> truetype type1-fonts udev unicode usb v4l2 vorbis vst vst-sdk x264 xanim xcb
> xcomposite xine xinerama xml xorg xrandr xsane xulrunner xv xvid zlib"
> ALSA_CARDS="ice1712 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 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" CAMERAS="canon"
> 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="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633
> glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US"
> PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev
> vesa radeon" 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, FFLAGS, INSTALL_MASK, LANG,
> LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
> PORTAGE_RSYNC_EXTRA_OPTS
> 

BTW, I can (and successfully did) an "emerge --resume --skipfirst" and was able to skip that bin86 package.

cheers, and thanks for looking, Jim
Comment 2 Jim Dory 2011-01-07 03:27:41 UTC
(In reply to comment #1)

Oops - sorry about not editing that last reply - if I could now I would..

Comment 3 Dustin Polke 2011-01-08 21:07:28 UTC
(In reply to comment #0)
> Doing emerge world on unstable AMD64, sys-devel/bin86-0.16.18 fails on:
> readobj.o: file not recognized: File truncated
This smells a bit like you ran out of diskspace or memory. Could you please check that this is not the case?
Comment 4 Jim Dory 2011-01-08 23:45:57 UTC
(In reply to comment #3)
> (In reply to comment #0)
> > Doing emerge world on unstable AMD64, sys-devel/bin86-0.16.18 fails on:
> > readobj.o: file not recognized: File truncated
> This smells a bit like you ran out of diskspace or memory. Could you please
> check that this is not the case?
> 

My diskspace for partitions ( /,/home ) range in the 20%. I have 6GB of ram. emerge --resume --skipfirst proceeded fine to install new virtualbox plus a few other things. Is there a way to check something else for you?

I just ran emerge -av1 bin86 and looking at top, something is eating up my memory but I have 2.4GB free. Needless to say I get same error in fail. 

Thanks for your help! I have been able to carry on without that package being updated so far.  /jd
Comment 5 Panagiotis Christopoulos (RETIRED) gentoo-dev 2011-01-11 07:59:22 UTC
Disable ccache and give it a try again. I resolve this as TEST-REQUEST. Reopen if it didn't work and/or just comment if it worked. 
Comment 6 Jim Dory 2011-01-11 08:11:49 UTC
(In reply to comment #5)
> Disable ccache and give it a try again. I resolve this as TEST-REQUEST. Reopen
> if it didn't work and/or just comment if it worked. 
> 
Affirmative - that worked. Remove ccache from FEATURES in make.conf and bin86 successfully emerged. (I then re-enabled ccache, afterward.)