Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71800 - wine-20041019-r3 doesn't compile
Summary: wine-20041019-r3 doesn't compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-19 15:22 UTC by Rodolfo Schulz de Lima
Modified: 2004-12-01 21:42 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 Rodolfo Schulz de Lima 2004-11-19 15:22:33 UTC
I'm running a 
servidor root # uname -a
Linux servidor 2.6.9-gentoo-r3 #1 SMP Fri Nov 12 03:13:09 BRST 2004 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux

with
servidor root # gcc --version
gcc (GCC) 3.4.3  (Gentoo Linux 3.4.3, ssp-3.4.3-0, pie-8.7.6.6)

but compiling wine-20041019-r3 fails with:

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

make[1]: Entering directory `/var/tmp/portage/wine-20041019-r3/work/wine-20041019/libs'
make[2]: Entering directory `/var/tmp/portage/wine-20041019-r3/work/wine-20041019/libs/port'
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -pipe -O2 -o ffs.o ffs.c
In file included from ffs.c:22:
../../include/wine/port.h:53: error: conflicting types for 'mode_t'
/usr/include/sys/types.h:72: error: previous declaration of 'mode_t' was here
../../include/wine/port.h:56: error: conflicting types for 'off_t'
/usr/include/sys/types.h:90: error: previous declaration of 'off_t' was here
../../include/wine/port.h:68: error: conflicting types for 'fsblkcnt_t'
/usr/include/sys/types.h:248: error: previous declaration of 'fsblkcnt_t' was here
../../include/wine/port.h:71: error: conflicting types for 'fsfilcnt_t'
/usr/include/sys/types.h:252: error: previous declaration of 'fsfilcnt_t' was here
make[2]: *** [ffs.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/wine-20041019-r3/work/wine-20041019/libs/port'
make[1]: *** [port] Error 2
make[1]: Leaving directory `/var/tmp/portage/wine-20041019-r3/work/wine-20041019/libs'
make: *** [libs] Error 2

I had this problem with my LFS box and I had to tweak the code to make it work. Maybe there is a cleaner way. The same happens with
servidor root # gcc --version
gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)



Reproducible: Always
Steps to Reproduce:
1.use kernel-2.6
2.use g
3.emerge wine

Actual Results:  
compile failure

Expected Results:  
wine merged successfully

servidor root # emerge --info wine
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.3, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r3 i686)
=================================================================
System uname: 2.6.9-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="apache2 apm avi bash-completion berkbd berkdb bitmap-fonts bzlib crypt cups
curl dba encode exif f77 foomaticdb fortran ftp gd gdbm gif gmp gpm hardenedphp
imap imlib inifile innodb jpeg libg++ libwww mad mbox mikmod mime mmx mmx2 mng
motif mpeg mysql mysqli ncurses nis nls nptl nptlonly offensive oggvorbis oss
pam pcre pdflib perl php png posix python qt quicktime readline samba sasl sdl
session shared simplexml slang sockets spell sse sse2 ssl svga sysvipc tcpd
threads tidy tiff truetype virus-scan winbind x86 xinetd xml2 xmms xv zlib"
Comment 1 Benjamin Billian 2004-11-24 13:54:40 UTC
Same problem with wine-20041019

Linux nibbler 2.6.9-gentoo-r4 #3 Wed Nov 24 14:33:01 CET 2004 i686 Intel(R) Celeron(R) CPU 2.00GHz GenuineIntel GNU/Linux

gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r4 i686)
=================================================================
System uname: 2.6.9-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://chod.cwru.edu/gentoo ftp://chod.cwru.edu/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="berkdb crypt encode f77 fortran gdbm ipv6 libg++ libwww ncurses nptl pam pcre perl python readline skey sse ssl tcpd x86 xml2 zlib"


make[1]: Entering directory `/var/tmp/portage/wine-20041019/work/wine-20041019/libs'
make[2]: Entering directory `/var/tmp/portage/wine-20041019/work/wine-20041019/libs/port'
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=pentium4 -mcpu=pentium4 -pipe -O2 -o ffs.o ffs.c
In file included from ffs.c:22:
../../include/wine/port.h:53: error: conflicting types for `mode_t'
/usr/include/sys/types.h:72: error: previous declaration of `mode_t'
../../include/wine/port.h:56: error: conflicting types for `off_t'
/usr/include/sys/types.h:90: error: previous declaration of `off_t'
../../include/wine/port.h:59: warning: redefinition of `pid_t'
/usr/include/sys/types.h:100: warning: `pid_t' previously declared here
../../include/wine/port.h:68: error: conflicting types for `fsblkcnt_t'
/usr/include/sys/types.h:248: error: previous declaration of `fsblkcnt_t'
../../include/wine/port.h:71: error: conflicting types for `fsfilcnt_t'
/usr/include/sys/types.h:252: error: previous declaration of `fsfilcnt_t'
make[2]: *** [ffs.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/wine-20041019/work/wine-20041019/libs/port'
make[1]: *** [port] Error 2
make[1]: Leaving directory `/var/tmp/portage/wine-20041019/work/wine-20041019/libs'
make: *** [libs] Error 2
Comment 2 SpanKY gentoo-dev 2004-12-01 21:42:07 UTC
run `emerge wine >& log` and post the log file

for some reason, a bunch of things arent being detected by configure like they should