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

Bug 264310

Summary: app-emulation/wine-1.1.18: emerge fails with File format not recognized on fdi.o
Product: Gentoo Linux Reporter: Paul Monsour <sumerman>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: sumerman
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Monsour 2009-03-30 16:16:19 UTC
Emerging app-emulation/wine-1.1.18 fails with message "File format not recognized" on fdi.o

Reproducible: Always

Steps to Reproduce:
1. emerging app-emulation/wine-1.1.18
2.
3.

Actual Results:  
From the build log:

LD_LIBRARY_PATH="../../libs/wine:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__   -focabinet.res cabinet.rc
../../tools/winegcc/winegcc  -B../../tools/winebuild -shared ./cabinet.spec    cabinet_main.o fci.o fdi.o     cabinet.res  -o cabinet.dll.so  -lkernel32  ../../libs/port/libwine_port.a  -Wl,-O1 
fdi.o: file not recognized: File format not recognized
winebuild: /usr/bin/ld -m elf_i386 -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed
make[2]: *** [cabinet.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.18/work/wine-1.1.18/dlls/cabinet'
make[1]: *** [cabinet] Error 2
make[1]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=athlon64 -O2 -pipe -msse3  -o regsvr.o regsvr.c
x86_64-pc-linux-gnu-gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=athlon64 -O2 -pipe -msse3  -o progressdlg.o progressdlg.c
x86_64-pc-linux-gnu-gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=athlon64 -O2 -pipe -msse3  -o tmpfile.o tmpfile.c
x86_64-pc-linux-gnu-gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=athlon64 -O2 -pipe -msse3  -o regsvr.o regsvr.c
x86_64-pc-linux-gnu-gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -march=athlon64 -O2 -pipe -msse3  -o wavfile.o wavfile.c
LD_LIBRARY_PATH="../../libs/wine:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__   -forsrc.res rsrc.rc
LD_LIBRARY_PATH="../../libs/wine:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__ -DCOM_NO_WINDOWS_H  -forsrc.res rsrc.rc
../../tools/winegcc/winegcc  -B../../tools/winebuild -shared ./browseui.spec    aclmulti.o aclsource.o browseui_main.o compcatcachedaemon.o progressdlg.o regsvr.o     rsrc.res  -o browseui.dll.so  -luuid -lole32 -luser32 -ladvapi32 -lkernel32  ../../libs/port/libwine_port.a  -Wl,-O1 
/usr/bin/ld:progressdlg.o: file format not recognized; treating as linker script
/usr/bin/ld:progressdlg.o:1: syntax error
winebuild: /usr/bin/ld -m elf_i386 -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed
make[2]: *** [browseui.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.18/work/wine-1.1.18/dlls/browseui'
make[1]: *** [browseui] Error 2
../../tools/winegcc/winegcc  -B../../tools/winebuild -shared ./avifil32.spec    acmstream.o api.o avifile.o editstream.o extrachunk.o factory.o getframe.o icmstream.o regsvr.o tmpfile.o wavfile.o     rsrc.res  -o avifil32.dll.so  -luuid -lmsacm32 -lmsvfw32 -lwinmm -lole32 -luser32 -ladvapi32 -lkernel32  ../../libs/port/libwine_port.a  -Wl,-O1 
/usr/bin/ld:avifile.o: file format not recognized; treating as linker script
/usr/bin/ld:avifile.o:1: syntax error
winebuild: /usr/bin/ld -m elf_i386 -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed
make[2]: *** [avifil32.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.18/work/wine-1.1.18/dlls/avifil32'
make[1]: *** [avifil32] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.18/work/wine-1.1.18/dlls'
make: *** [dlls] Error 2
 [31;01m*[0m 
 [31;01m*[0m ERROR: app-emulation/wine-1.1.18 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m               ebuild.sh, line   48:  Called src_compile
 [31;01m*[0m             environment, line 2205:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       emake all || die "all"
 [31;01m*[0m  The die message:
 [31;01m*[0m   all


Expected Results:  
emerging wine-1.1.18

emerge --info:

Portage 2.2_rc28 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo x86_64)                                                          
=================================================================                   
System uname: Linux-2.6.29-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5                                                                 
Timestamp of tree: Mon, 30 Mar 2009 13:45:01 +0000                                  
ccache version 2.4 [enabled]                                                        
app-shells/bash:     4.0_p10-r1                                                     
dev-java/java-config: 2.1.7                                                         
dev-lang/python:     2.5.4-r2                                                       
dev-util/ccache:     2.4-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.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="-march=athlon64 -O2 -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 /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.hoobly.com/               http://gentoo.netnitco.net          http://osmirrors.cerias.purdue.edu/pub/gentoo/"
LANG="en_US.utf8"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emacs emboss encode esd evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlogjack java jpeg kde kpathsea ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib musicbrainz 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 webkit xft xml xorg xulrunner xv xvmc zlib" ALSA_CARDS="ice1712" 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 shmsoftvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbmauthn_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 mimemime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-31 21:46:47 UTC
Please try to emerge this package with ccache disabled.

Please report your results here and reopen this bug so that we can wrangle it further.
Comment 2 Paul Monsour 2009-03-31 22:54:29 UTC
(In reply to comment #1)
> Please try to emerge this package with ccache disabled.
> 
> Please report your results here and reopen this bug so that we can wrangle it
> further.
> 

Bingo! Thanks, Lars. That did the trick.