Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile wine anymore
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
furio
n00b
n00b


Joined: 04 May 2006
Posts: 3

PostPosted: Tue Aug 22, 2006 1:16 pm    Post subject: Can't compile wine anymore Reply with quote

I'm running stable AMD64, and am running into problems compiling Wine lately, stable and unstable.

I've had Wine installed for a while but since 0.9.16, I haven't been able to emerge any updates. I've had succesful merges of 0.9.8-r1, 0.9.14, 0.9.15, 0.9.16 in my emerge history, but when I try the stable 0.9.8-r1 now, I get a similar error message as I'm getting with 0.9.19.

Btw I have used the search but didn't manage to find anything relevant :roll:

This are the use flags I'm compiling with:
[ebuild N ] app-emulation/wine-0.9.19 USE="X alsa cups gif hal jpeg lcms ncurses opengl oss -arts -dbus -debug -esd -glut -jack -ldap -nas -scanner -xml" 0 kB

This is my emerge --info:
Code:
Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4-z9 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4-z9 x86_64 AMD Athlon(tm) 64 Processor 4000+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups dlloader dri dts dvd dvdr eds emboss encode ffmpeg foomaticdb fortran gif glitz gpm gtk gtk2 hal imlib ipv6 isdnlog java jpeg kde lcms lm_sensors lzw lzw-tiff mad mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sse3 ssl svg tcpd tiff truetype truetype-fonts type1-fonts usb vorbis xcomposite xinerama xorg xpm xprint xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


This is what it looks like when it starts to compile, after configuring:
Code:

Configure finished.  Do 'make depend && make' to compile Wine.

make[1]: Entering directory `/var/tmp/portage/wine-0.9.19/work/wine-0.9.19/libs'
make[2]: Entering directory `/var/tmp/portage/wine-0.9.19/work/wine-0.9.19/libs/port'
x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith  -march=k8 -O2 -pipe -D__i386__  -o ffs.o ffs.c
In file included from /usr/include/bits/fcntl.h:8,
                 from /usr/include/gentoo-multilib/x86/fcntl.h:33,
                 from /usr/include/fcntl.h:4,
                 from ../../include/wine/port.h:30,
                 from ffs.c:22:
/usr/include/gentoo-multilib/amd64/bits/fcntl.h:153: error: redefinition of `struct flock'
/usr/include/gentoo-multilib/amd64/bits/fcntl.h:168: error: redefinition of `struct flock64'
In file included from /usr/include/bits/stat.h:8,
                 from /usr/include/gentoo-multilib/x86/sys/stat.h:105,
                 from /usr/include/sys/stat.h:4,
                 from /usr/include/gentoo-multilib/x86/fcntl.h:37,
                 from /usr/include/fcntl.h:4,
                 from ../../include/wine/port.h:30,
                 from ffs.c:22:
/usr/include/gentoo-multilib/amd64/bits/stat.h:44: error: redefinition of `struct stat'
/usr/include/gentoo-multilib/amd64/bits/stat.h:117: error: redefinition of `struct stat64'
In file included from /usr/include/bits/mathinline.h:8,
                 from /usr/include/gentoo-multilib/x86/math.h:382,
                 from /usr/include/math.h:4,
                 from ../../include/wine/port.h:31,
                 from ffs.c:22:
/usr/include/gentoo-multilib/amd64/bits/mathinline.h:37: error: redefinition of '__signbitf'
/usr/include/gentoo-multilib/x86/bits/mathinline.h:129: error: previous definition of '__signbitf' was here
/usr/include/gentoo-multilib/amd64/bits/mathinline.h:37: error: redefinition of '__signbitf'
/usr/include/gentoo-multilib/x86/bits/mathinline.h:129: error: previous definition of '__signbitf' was here
/usr/include/gentoo-multilib/amd64/bits/mathinline.h:43: error: redefinition of '__signbit'
/usr/include/gentoo-multilib/x86/bits/mathinline.h:135: error: previous definition of '__signbit' was here
/usr/include/gentoo-multilib/amd64/bits/mathinline.h:43: error: redefinition of '__signbit'
/usr/include/gentoo-multilib/x86/bits/mathinline.h:135: error: previous definition of '__signbit' was here
/usr/include/gentoo-multilib/amd64/bits/mathinline.h:49: error: redefinition of '__signbitl'
/usr/include/gentoo-multilib/x86/bits/mathinline.h:141: error: previous definition of '__signbitl' was here
/usr/include/gentoo-multilib/amd64/bits/mathinline.h:49: error: redefinition of '__signbitl'
/usr/include/gentoo-multilib/x86/bits/mathinline.h:141: error: previous definition of '__signbitl' was here
In file included from /usr/include/bits/waitstatus.h:8,
                 from /usr/include/gentoo-multilib/amd64/stdlib.h:43,
                 from /usr/include/stdlib.h:8,
                 from /usr/include/gentoo-multilib/x86/bits/string2.h:1299,
                 from /usr/include/bits/string2.h:4,
                 from /usr/include/gentoo-multilib/x86/string.h:417,
                 from /usr/include/string.h:4,
                 from ../../include/wine/port.h:43,
                 from ffs.c:22:
/usr/include/gentoo-multilib/amd64/bits/waitstatus.h:68: error: redefinition of `union wait'
In file included from /usr/include/bits/string2.h:8,
                 from /usr/include/gentoo-multilib/x86/string.h:417,
                 from /usr/include/string.h:4,
                 from ../../include/wine/port.h:43,
                 from ffs.c:22:
/usr/include/gentoo-multilib/amd64/bits/string2.h:972: error: redefinition of '__strcspn_c1'
/usr/include/gentoo-multilib/x86/bits/string2.h:972: error: previous definition of '__strcspn_c1' was here
/usr/include/gentoo-multilib/amd64/bits/string2.h:972: error: redefinition of '__strcspn_c1'
/usr/include/gentoo-multilib/x86/bits/string2.h:972: error: previous definition of '__strcspn_c1' was here
...........


Then follows a load of "error: redifinition"'s and "previous definition of xxx was here"'s, until it stops (like half a sec later) with:

Code:

/usr/include/gentoo-multilib/amd64/bits/confname.h:583: error: redeclaration of enumerator `_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS'
/usr/include/gentoo-multilib/x86/bits/confname.h:583: error: previous definition of '_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS' was here
/usr/include/gentoo-multilib/amd64/bits/confname.h:585: error: redeclaration of enumerator `_CS_POSIX_V6_LP64_OFF64_CFLAGS'
/usr/include/gentoo-multilib/x86/bits/confname.h:585: error: previous definition of '_CS_POSIX_V6_LP64_OFF64_CFLAGS' was here
/usr/include/gentoo-multilib/amd64/bits/confname.h:587: error: redeclaration of enumerator `_CS_POSIX_V6_LP64_OFF64_LDFLAGS'
/usr/include/gentoo-multilib/x86/bits/confname.h:587: error: previous definition of '_CS_POSIX_V6_LP64_OFF64_LDFLAGS' was here
/usr/include/gentoo-multilib/amd64/bits/confname.h:589: error: redeclaration of enumerator `_CS_POSIX_V6_LP64_OFF64_LIBS'
/usr/include/gentoo-multilib/x86/bits/confname.h:589: error: previous definition of '_CS_POSIX_V6_LP64_OFF64_LIBS' was here
/usr/include/gentoo-multilib/amd64/bits/confname.h:591: error: redeclaration of enumerator `_CS_POSIX_V6_LP64_OFF64_LINTFLAGS'
/usr/include/gentoo-multilib/x86/bits/confname.h:591: error: previous definition of '_CS_POSIX_V6_LP64_OFF64_LINTFLAGS' was here
/usr/include/gentoo-multilib/amd64/bits/confname.h:593: error: redeclaration of enumerator `_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS'
/usr/include/gentoo-multilib/x86/bits/confname.h:593: error: previous definition of '_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS' was here
/usr/include/gentoo-multilib/amd64/bits/confname.h:595: error: redeclaration of enumerator `_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS'
/usr/include/gentoo-multilib/x86/bits/confname.h:595: error: previous definition of '_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS' was here
/usr/include/gentoo-multilib/amd64/bits/confname.h:597: error: redeclaration of enumerator `_CS_POSIX_V6_LPBIG_OFFBIG_LIBS'
/usr/include/gentoo-multilib/x86/bits/confname.h:597: error: previous definition of '_CS_POSIX_V6_LPBIG_OFFBIG_LIBS' was here
/usr/include/gentoo-multilib/amd64/bits/confname.h:601: error: redeclaration of enumerator `_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS'
/usr/include/gentoo-multilib/x86/bits/confname.h:601: error: previous definition of '_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS' was here
make[2]: *** [ffs.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/wine-0.9.19/work/wine-0.9.19/libs/port'
make[1]: *** [port] Error 2
make[1]: Leaving directory `/var/tmp/portage/wine-0.9.19/work/wine-0.9.19/libs'
make: *** [libs] Error 2

!!! ERROR: app-emulation/wine-0.9.19 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  wine-0.9.19.ebuild, line 112:   Called die

!!! depend
!!! If you need support, post the topmost build error, and the call stack if relevant.


No idea what the problem is, if anyone has any suggestions, please :)
This is with version 0.9.19, but 0.9.8-r1 stops with the same error.

Note: I'm pretty sure the problems first started with 0.9.16, it didn't compile at first, I had to add ABI=x86 to the ebuild to make it work, but that trick doesn't work now.
Btw, removing ccache from FEATURES has no effect.

Thanks!
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Tue Aug 22, 2006 1:23 pm    Post subject: Reply with quote

eselect-compiler´s fault AFAIK, unmerge it re-emerge stable gcc-config and it should build.

cheers
Back to top
View user's profile Send private message
furio
n00b
n00b


Joined: 04 May 2006
Posts: 3

PostPosted: Tue Aug 22, 2006 5:08 pm    Post subject: Reply with quote

Well I didn't have eselect-compiler installed as can be seen in emerge --info, but you did make me look at gcc-config, which told me this:

Code:
gcc-config -l
 * gcc-config: Active gcc profile is invalid!
 [1] x86_64-pc-linux-gnu-3.4.6
 [2] x86_64-pc-linux-gnu-3.4.6-hardened
 [3] x86_64-pc-linux-gnu-3.4.6-hardenednopie
 [4] x86_64-pc-linux-gnu-3.4.6-hardenednopiessp
 [5] x86_64-pc-linux-gnu-3.4.6-hardenednossp


So I switched to the first option and it works :)

Thanks
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Tue Aug 22, 2006 7:34 pm    Post subject: Reply with quote

Quote:
Well I didn't have eselect-compiler installed as can be seen in emerge --info


oops, sorry. Ive hit something similiar recently and blindly thought it could be that ...

cheers
Back to top
View user's profile Send private message
gtbX
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2003
Posts: 126

PostPosted: Sat Aug 26, 2006 7:19 pm    Post subject: Reply with quote

It appears I've hit the same problem with wine-0.9.20:
Code:
.
.
.
/usr/include/gentoo-multilib/amd64/bits/confname.h:591: error: redeclaration of enumerator `_CS_POSIX_V6_LP64_OFF64_LINTFLAGS'
/usr/include/gentoo-multilib/x86/bits/confname.h:591: error: previous definition of '_CS_POSIX_V6_LP64_OFF64_LINTFLAGS' was here
/usr/include/gentoo-multilib/amd64/bits/confname.h:593: error: redeclaration of enumerator `_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS'
/usr/include/gentoo-multilib/x86/bits/confname.h:593: error: previous definition of '_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS' was here
/usr/include/gentoo-multilib/amd64/bits/confname.h:595: error: redeclaration of enumerator `_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS'
/usr/include/gentoo-multilib/x86/bits/confname.h:595: error: previous definition of '_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS' was here
/usr/include/gentoo-multilib/amd64/bits/confname.h:597: error: redeclaration of enumerator `_CS_POSIX_V6_LPBIG_OFFBIG_LIBS'
/usr/include/gentoo-multilib/x86/bits/confname.h:597: error: previous definition of '_CS_POSIX_V6_LPBIG_OFFBIG_LIBS' was here
/usr/include/gentoo-multilib/amd64/bits/confname.h:601: error: redeclaration of enumerator `_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS'
/usr/include/gentoo-multilib/x86/bits/confname.h:601: error: previous definition of '_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS' was here
make[2]: *** [ffs.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/wine-0.9.20/work/wine-0.9.20/libs/port'
make[1]: *** [port] Error 2
make[1]: Leaving directory `/var/tmp/portage/wine-0.9.20/work/wine-0.9.20/libs'
make: *** [libs] Error 2

!!! ERROR: app-emulation/wine-0.9.20 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  wine-0.9.20.ebuild, line 112:   Called die

!!! depend
!!! If you need support, post the topmost build error, and the call stack if relevant.

I recently ran into the eselect-compiler issue, and removed it. gcc-config tells me everything is ok:
Code:
# gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.6 *
 [2] x86_64-pc-linux-gnu-3.4.6-hardened
 [3] x86_64-pc-linux-gnu-3.4.6-hardenednopie
 [4] x86_64-pc-linux-gnu-3.4.6-hardenednopiessp
 [5] x86_64-pc-linux-gnu-3.4.6-hardenednossp


Here's my emerge --info:
Code:
# emerge --info
Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en en_GB en_ZA"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib acl acpi alsa avi berkdb bitmap-fonts blender-game bzip2 cairo cdparanoia cdr cli cpudetection crypt cups curl dbus djvu dlloader dri dts dvb dvd dvdr dvdread dvi emboss encode esd expat ffmpeg firefox flac fontconfig foomaticdb fortran fpx fuse gd gif gimp gimpprint glut gmp gnome gpm graphviz gs gstreamer gtk gtk2 guile hal howl imagemagick imlib ipv6 isdnlog java jbig joystick jpeg jpeg2k kqemu lcms libcaca lzw lzw-tiff mad matrox mng mp3 mpeg nautilus ncurses nls nptl nsplugin ntfs nvidia ogg openal openexr opengl pam pcre pdflib perl png ppds pppd python quicktime readline reflection reiser4 reiserfs rtc samba scanner sdl session speex spell spl ssl svg t1lib tcpd tetex tga theora tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis wma wma123 wmf xanim xinerama xml xmms xorg xpm xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_en linguas_en_GB linguas_en_ZA userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

Any help would be appreciated
Back to top
View user's profile Send private message
TheBigK
n00b
n00b


Joined: 14 Jul 2006
Posts: 33
Location: Osnabrück, Germany

PostPosted: Tue Aug 29, 2006 4:24 pm    Post subject: Reply with quote

I had the same problem and upgraded wine to testing... now its working with AMD64
Back to top
View user's profile Send private message
jure1873
Apprentice
Apprentice


Joined: 09 Feb 2006
Posts: 183

PostPosted: Wed Aug 30, 2006 8:27 am    Post subject: Reply with quote

gcc-config didn't report any errors for me but then I reselected the default profile. Now wine 0.9.20 compiles.
Back to top
View user's profile Send private message
gtbX
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2003
Posts: 126

PostPosted: Thu Aug 31, 2006 8:58 pm    Post subject: Reply with quote

Quote:
gcc-config didn't report any errors for me but then I reselected the default profile. Now wine 0.9.20 compiles.


That did it for me. It fixed my compilation error with glibc-2.4 as well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum