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

Bug 107859

Summary: wine-20050930 refuses to build.
Product: Gentoo Linux Reporter: Peter Karlsson <peterk2>
Component: Current packagesAssignee: Wine Maintainers <wine>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Log file as requested.

Description Peter Karlsson 2005-10-02 02:53:01 UTC
I'm trying to upgrade wine from 20050830 to 20050930. The build fails when doing
'emerge -Du world' and also when doing 'emerge wine'. It fails after leaving the
`/var/tmp/portage/wine-20050930/work/wine-20050930/fonts' directory. It doesn't
leave much to go on so I wouldn't know where to begin to look for clues as to
where the bug is...


Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. Do 'emerge -Du world' or 'emerge wine'.
3.

Actual Results:  
<snip>
../tools/fnt2fon system-936-96-16.fnt system-1252-96-16.fnt svgasys.fon
System 12 pts 96x96 dpi
System 12 pts 96x96 dpi
../tools/fnt2fon system-949-96-16.fnt hvgasys.fon
../tools/fnt2fon system-950-96-16.fnt system-1252-96-16.fnt cvgasys.fon
System 12 pts 96x96 dpi
System 12 pts 96x96 dpi
System 12 pts 96x96 dpi
System 12 pts 96x96 dpi
System 12 pts 96x96 dpi
make[1]: Leaving directory `/var/tmp/portage/wine-20050930/work/wine-20050930/fonts'

!!! ERROR: app-emulation/wine-20050930 failed.
!!! Function src_compile, Line 107, Exitcode 2
!!! all
!!! If you need support, post the topmost build error, NOT this status message.
</snip>

Expected Results:  
Completed build.

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r10_050902_SMP_PREEMPT i686)
=================================================================
System uname: 2.6.12-gentoo-r10_050902_SMP_PREEMPT i686 Intel(R) Pentium(R) 4
CPU 2.40GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mfpmath=sse,387 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/MozillaFirefox/searchplugins /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/cursors/xorg-x11/default /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mfpmath=sse,387 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://ftp.du.se/pub/os/gentoo
ftp://ftp.du.se/pub/os/gentoo http://mirror.pudas.net/gentoo
ftp://mirror.pudas.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi aim alsa ansi arts audiofile avi
bash-completion bcmath berkdb bitmap-fonts bzlib caps cdparanoia cdr crypt
cscope ctype cups curl dga directfb divx4linux doc dv dvd dvdr dvdread eds emacs
emboss encode esd examples exif fbcon ffmpeg fftw flac foomaticdb fortran
freetype ftp gd gdbm gif gimp ginac glut gmp gnutls gphoto2 gpm gstreamer gtk
gtk2 guile iconv icq imagemagick imap imlib jabber java jpeg junit kerberos
ladcca lcms ldap leim libdts libg++ liblzo libwww lm_sensors mad matroska
memlimit mhash mikmod mime mmap mmx mng motif mozilla mp3 mpeg mplayer mysql
mythtv ncurses nls nptl ogg oggvorbis openal opengl oss pam pcntl pcre pdflib
perl pic pie plotutils png portaudio posix postgresql ppds python qt quicktime
readline real recode ruby sasl scanner sdl session shared sharedmem sndfile
sockets sox speex spell sse ssl svg symlink sysvipc szip tcltk tcpd tetex theora
threads tiff toolame truetype truetype-fonts type1-fonts unicode usb v4l vanilla
vcd videos vorbis win32codecs wmf x264 xanim xine xml xml2 xmms xpm xprint xv
xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2005-10-02 12:10:36 UTC
run `emerge wine >& log` and post the log file as an attachment
Comment 2 Peter Karlsson 2005-10-02 13:12:06 UTC
Created attachment 69748 [details]
Log file as requested.

I grep'ed through the log and I found this:

2304:cc1: error: unrecognized option `-fno-stack-protector'
2305:make[1]: *** [glibc.o] Error 1
2306-make[1]: Leaving directory
`/var/tmp/portage/wine-20050930/work/wine-20050930/loader'
2307:make: *** [loader] Error 2
2308-make: *** Waiting for unfinished jobs....

It seems that my gcc doesn't recognise the '-fno-stack-protector' flag.
Can it have something to do with this:
'http://www.winehq.com/hypermail/wine-patches/2004/09/0449.html'?

Thanks!

Peter K
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-10-02 23:35:59 UTC
Don't use vanilla use flag if you don't know what are you doing...
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-10-02 23:36:13 UTC
This is a dupe...

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