Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19928 - winex-20030328 fails to compile with perl threads
Summary: winex-20030328 fails to compile with perl threads
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-25 07:43 UTC by Pekka-Matti Nieminen
Modified: 2003-07-01 05:54 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 Pekka-Matti Nieminen 2003-04-25 07:43:28 UTC
Winex I am trying to emerge is winex-20030328. I also have tried to emerge the 
winex-cvs and it fails on a precise same error than this. 

Reproducible: Always
Steps to Reproduce:
1. emerge sync 
2. emerge -u winex 
Actual Results:  
Emerging dies and I get: 
[snipped the beginning of output] 
rm -f winemine && ln -s ../../wine winemine 
make[1]: Leaving directory 
`/var/tmp/portage/winex-20030328/work/wine/programs/winemine' 
make[1]: Entering directory 
`/var/tmp/portage/winex-20030328/work/wine/programs/winetest' 
gcc -c -I. -I. -I../../include -I../../include `perl -MExtUtils::Embed -e perl_inc` -g -O2 
-Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__int8=char 
-D__int16=short -D__int32=int "-D__int64=long long" -fPIC -DSTRICT 
-DNONAMELESSUNION -DNONAMELESSSTRUCT `perl -MExtUtils::Embed -e ccflags` 
-D_REENTRANT -I/usr/X11R6/include -o winetest.o winetest.c 
winetest.c: In function `xs_init': 
winetest.c:142: `my_perl' undeclared (first use in this function) 
winetest.c:142: (Each undeclared identifier is reported only once 
winetest.c:142: for each function it appears in.) 
winetest.c:142: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type 
winetest.c: In function `main': 
winetest.c:162: warning: passing arg 2 of `perl_parse' from incompatible pointer type 
make[1]: *** [winetest.o] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/winex-20030328/work/wine/programs/winetest' 
make: *** [winetest] Error 2 
 
!!! ERROR: app-emulation/winex-20030328 failed. 
!!! Function src_compile, Line 73, Exitcode 2 
!!! make died 
 
root@vmware root # 


root@vmware root # emerge info 
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) 
================================================================= 
System uname: 2.4.20-gentoo-r3 i686 AMD Athlon(tm) Processor 
GENTOO_MIRRORS="http://gentoo.linux.no http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="spell gdbm x86 3dnow aalib acpi alsa apm arts avi -berkdb cdr crypt cups dga 
directfb dvd encode -esd gif -gnome gpm gtk imlib java jpeg kde -ldap libg++ libwww 
-matrox maildir mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam 
-pcmcia pdf -pdflib perl pic png python qt quicktime readline samba sdl slang ssl svga 
tcltk -tcpd threads tiff truetype usb X xml2 xmms xv zlib" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-tbird -O3 -pipe" 
CXXFLAGS="-march=athlon-tbird -O3 -pipe" 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache" 
 
 
root@vmware root # perl --version 
 
This is perl, v5.8.0 built for i686-linux-thread-multi
Comment 1 Pekka-Matti Nieminen 2003-04-25 10:11:26 UTC
Got it compiled with a threadless perl. 
root@vmware root #USE="-threads" emerge perl 
root@vmware root #emerge winex 
 
 
So this ebuild could have a warning like Gimp's ebuild has. 
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-05-15 03:53:44 UTC
gimp-1.2.3-r3

how about 20030508 ?
Comment 3 Alex Veber (RETIRED) gentoo-dev 2003-06-26 09:16:26 UTC
does the latest version of winex and winex-cvs fix this? 
Comment 4 Sergey Kuleshov (RETIRED) gentoo-dev 2003-07-01 05:54:52 UTC
Winex is NOT compatible with threaded perl, so you need to remerge libperl and perl without USE=threads. I'll put appropriate notice into the ebuild. Also I'll rebort this bug to upstream developers.