Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190169 - wine-0.9.44 compilation encounters 'C' language error in iconcache.c
Summary: wine-0.9.44 compilation encounters 'C' language error in iconcache.c
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-25 13:16 UTC by Ricky Marshall
Modified: 2007-08-25 15:10 UTC (History)
0 users

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 Ricky Marshall 2007-08-25 13:16:50 UTC
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC_
_ -D_SHELL32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-alia
sing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=k8 -O
2 -pipe  -o iconcache.o iconcache.c


Reproducible: Always

Steps to Reproduce:
1. emerge =app-emulation/wine-0.9.44
2.
3.

Actual Results:  
Build fails.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-25 13:24:43 UTC
You neglected to post any error, also emerge --info is missing.
Comment 2 Ricky Marshall 2007-08-25 13:51:49 UTC
(In reply to comment #0)
> x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
> -D__WINESRC_
> _ -D_SHELL32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe
> -fno-strict-alia
> sing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=k8
> -O
> 2 -pipe  -o iconcache.o iconcache.c
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. emerge =app-emulation/wine-0.9.44
> 2.
> 3.
> 
> Actual Results:  
> Build fails.
> 

(In reply to comment #1)
> You neglected to post any error, also emerge --info is missing.
> 

I went back to collect the error and got this:

 # emerge -up wine
Segmentation fault

so I guess I'm out of business. The error, as I recall, was something like: 'unexpected \357 in code'

 emerge --info
Portage 2.1.3.7 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Processor 4200+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 25 Aug 2007 12:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://open-systems.ufl.edu/mirrors/gentoo "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups doc dri dvd eds emboss encode ffmpeg font-server foomaticdb fortran gif gpm gstreamer gtk gtk2 iconv imagemagick imlib ipv6 isdnlog jpeg lirc lzw lzw-tiff midi mp3 mpeg mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb v4l v4l2 xorg xpm xv 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



Comment 3 Ricky Marshall 2007-08-25 14:27:09 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include 
> > -D__WINESRC_
> > _ -D_SHELL32_ -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe
> > -fno-strict-alia
> > sing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=k8
> > -O
> > 2 -pipe  -o iconcache.o iconcache.c
> > 
> > 
> > Reproducible: Always
> > 
> > Steps to Reproduce:
> > 1. emerge =app-emulation/wine-0.9.44
> > 2.
> > 3.
> > 
> > Actual Results:  
> > Build fails.
> > 
> 
> (In reply to comment #1)
> > You neglected to post any error, also emerge --info is missing.
> > 
> 
> I went back to collect the error and got this:
> 
>  # emerge -up wine
> Segmentation fault
> 
> so I guess I'm out of business. The error, as I recall, was something like:
> 'unexpected \357 in code'
> 
>  emerge --info
> Portage 2.1.3.7 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.5-r4,
> 2.6.22-gentoo-r2 x86_64)
> =================================================================
> System uname: 2.6.22-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Processor 4200+
> Gentoo Base System release 1.12.9
> Timestamp of tree: Sat, 25 Aug 2007 12:30:01 +0000
> dev-java/java-config: 1.3.7, 2.0.33-r1
> dev-lang/python:     2.4.4-r4
> dev-python/pycrypto: 2.0.1-r6
> sys-apps/baselayout: 1.12.9-r2
> sys-apps/sandbox:    1.2.18.1
> sys-devel/autoconf:  2.13, 2.61-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
> sys-devel/binutils:  2.17
> sys-devel/gcc-config: 1.3.16
> sys-devel/libtool:   1.5.23b
> virtual/os-headers:  2.6.21
> ACCEPT_KEYWORDS="amd64"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-march=k8 -O2 -pipe"
> 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/X11/xkb /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
> /etc/terminfo /etc/texmf/web2c"
> CXXFLAGS="-march=k8 -O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict
> unmerge-orphans userfetch"
> GENTOO_MIRRORS="http://gentoo.osuosl.org/
> ftp://ftp.ussg.iu.edu/pub/linux/gentoo
> http://open-systems.ufl.edu/mirrors/gentoo "
> MAKEOPTS="-j3"
> PKGDIR="/usr/portage/packages"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
> --force --whole-file --delete --delete-after --stats --timeout=180
> --exclude=/distfiles --exclude=/local --exclude=/packages
> --filter=H_**/files/digest-*"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="X aac alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups doc dri dvd
> eds emboss encode ffmpeg font-server foomaticdb fortran gif gpm gstreamer gtk
> gtk2 iconv imagemagick imlib ipv6 isdnlog jpeg lirc lzw lzw-tiff midi mp3 mpeg
> mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python
> qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff
> truetype-fonts type1-fonts usb v4l v4l2 xorg xpm xv 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 mulaw multi
> null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard
> mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
> lcdm001 mtxorb ncurses text" LIRC_DEVICES="hauppauge" USERLAND="GNU"
> VIDEO_CARDS="nvidia"
> Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
> LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
> PORTDIR_OVERLAY
> 

This bug should probably be marked "cannot reproduce" because I think the problem is my system, not the ebuild.

I took off "-j3" and tried again emerge -u wine again. This time I got the following errors:

x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=k8 -O2 -pipe  -o wavfile.o wavfile.c
In file included from ../../include/windef.h:234,
                 from wavfile.c:22:
../../include/winnt.h:2811:12: warning: missing whitespace after the macro name
../../include/winnt.h:2812:2: error: invalid preprocessing directive #defiNe
../../include/winnt.h:2813:30: warning: missing whitespace after the macro name
../../include/winnt.h:2815:16: warning: missing whitespace after the macro name
../../include/winnt.h:2817:2: error: invalid preprocessing directive #deFine
../../include/winnt.h:2818:22: warning: missing whitespace after the macro name
../../include/winnt.h:2821:2: error: invalid preprocessing directive #def

When I look at the source code in /usr/portage/distfiles I do not see any of these putative corruptions.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-08-25 15:10:42 UTC
Well, your emerge segfaulting and random compile failure suggest really broken system and/or hardware issues.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-08-25 15:10:51 UTC

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