Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108052 - wine-20050930 fails to compile on amd64
Summary: wine-20050930 fails to compile on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-04 03:46 UTC by Matthew Hamilton
Modified: 2005-10-17 09:32 UTC (History)
5 users (show)

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 Matthew Hamilton 2005-10-04 03:46:42 UTC
The ebuild goes off normally as expected, until it hits the following section:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib64/libXext.so when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib64/libXext.a when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libXext.so
when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libXext.a
when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/libXext.so when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/libXext.a when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lXext
collect2: ld returned 1 exit status
winegcc: gcc failed.
make[2]: *** [ddraw.dll.so] Error 2
make[2]: Leaving directory
`/var/tmp/portage/wine-20050930/work/wine-20050930/dlls/ddraw'
make[1]: *** [ddraw] Error 2
make[1]: Leaving directory `/var/tmp/portage/wine-20050930/work/wine-20050930/dlls'
make: *** [dlls] Error 2

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

I checked that libXext.so is located at /usr/lib/libXext.so and is provided by
the "emul-linux-x86-xlibs" package. I'm using the multilib profile, and
wine-20050725-r1 builds correctly.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.53_rc3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
http://mirror.phy.olemiss.edu/mirror/gentoo http://ftp.heanet.ie/pub/gentoo/
http://mirror.datapipe.net/gentoo"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 avi berkdb bitmap-fonts bmp cdr crypt cups curl dbus
dvd dvdr dvdread eds emboss encode fam flac foomaticdb fortran gd gdbm gif gnome
gpm gstreamer gtk gtk2 guile hal imagemagick imap imlib ipv6 java jpeg ldap
libwww lzw lzw-tiff mad mozilla mp3 mpeg mysql ncurses nls nptl nptlonly ogg
oggvorbis openal opengl oss pam pdflib perl php png ppds python quicktime
readline samba sdl slang spell ssl tcpd tetex theora tiff truetype
truetype-fonts type1-fonts usb userlocales vorbis xine xml xml2 xpm xv zlib
linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2005-10-04 03:55:14 UTC
what does `file /usr/lib/libXext.so.$(whateverversion)` say? is it really a
32bit object? if yes, something's wrong with your setup: the correct location
would be /emul/linux/x86/usr/lib/libXext.so. Does that file exist?
Comment 2 Matthew Hamilton 2005-10-04 04:01:32 UTC
# file /usr/lib/libXext.so.6.4
/usr/lib/libXext.so.6.4: ELF 64-bit LSB shared object, AMD x86-64, version 1
(SYSV), not stripped

# readlink /usr/lib/libXext.so
libXext.so.6.4


----- 


# file /emul/linux/x86/usr/lib/libXext.so.6.4
/emul/linux/x86/usr/lib/libXext.so.6.4: ELF 32-bit LSB shared object, Intel
80386, version 1 (SYSV), stripped

# readlink /emul/linux/x86/usr/lib/libXext.so
libXext.so.6.4
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2005-10-04 05:04:41 UTC
fyi: i just tried and can't confirm, it works great here...

CCing wine, perhaps they have an idea
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2005-10-04 05:32:27 UTC
what does `grep emul /etc/ld.so.conf` show?
Comment 5 Matthew Hamilton 2005-10-04 13:20:09 UTC
# grep emul /etc/ld.so.conf
/emul/linux/x86/lib
/emul/linux/x86/usr/lib
Comment 6 Martin Schwier 2005-10-05 05:00:32 UTC
same problem here...
Comment 7 Matthew Hamilton 2005-10-05 21:02:35 UTC
There's been some progress! I unlinked the following libraries from /usr/lib and
re-linked them to the corresponding libraries in /emul/linux/x86/usr/lib:

libXext.so
libglut.so
libX11.so
libXi.so
libXu.so

Surprise surprise, wine emerges and runs with no difficulty. Running "equery
belongs" on the various files reveals nothing. Perhaps they were left over from
some package which no longer exists? I'm not sure how to check the consistency
of my setup with regard to libraries. Any suggestions?
Comment 8 Will Briggs 2005-10-07 18:18:17 UTC
I get emerging wine-20050930:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib64/libXext.so when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib64/libXext.a when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libXext.so
when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libXext.a
when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/libXext.so when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/libXext.a when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lXext
collect2: ld returned 1 exit status
winegcc: gcc failed.
make[2]: *** [winex11.drv.so] Error 2
make[2]: Leaving directory
`/var/tmp/portage/wine-20050930/work/wine-20050930/dlls/x11drv'
make[1]: *** [x11drv] Error 2
make[1]: Leaving directory `/var/tmp/portage/wine-20050930/work/wine-20050930/dlls'
make: *** [dlls] Error 2

Which is slightly different but seems to be the same error

I notice wine is built with (sensibly) -m32 but is looking in /usr/lib64 to link
(and /usr/lib is the same as /usr/lib64 right?) Does this mean it is nothing
more than a multilib barf?

I can't find any 32-bit libXext on my system - is there a dependency missing?

Just in case it's relevant: This is a re-emerge of 20050930.  It has built
previously on my system.  Changes since then include xorg update to 6.8.2-r6.
Comment 9 Erich 2005-10-07 21:39:02 UTC
Concur with above - updating to current (20050930) version of wine after
updating xorg-x11 to 6.8.2-r6 causes error:

make[2]: *** [winex11.drv.so] Error 2

For a more detailed error report, see the post immiediatly above this one. 
Comment 10 Matthew Hamilton 2005-10-07 23:50:48 UTC
In response to #8, yes it's a multilib issue. I edited the Makefile in
dlls/x11drv so that the line with -L/usr/lib64 -lXext -lglut (etc.) read
-L/emul/linux/x86/usr/lib and it compiled correctly. I'm not sure if this is a
gentoo problem or wine.
Comment 11 Tristan RENAUD 2005-10-08 00:11:15 UTC
Hi, 
 
Same compiling errors here : 
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./winex11.drv.spec    
bitblt.o bitmap.o brush.o clipboard.o clipping.o codepage.o dce.o desktop.o 
dga2.o dib.o dib_convert.o dib_dst_swap.o dib_src_swap.o event.o graphics.o 
init.o keyboard.o mouse.o opengl.o palette.o pen.o scroll.o settings.o text.o 
window.o winpos.o wintab.o x11ddraw.o x11drv_main.o xdnd.o xfont.o xim.o 
xrandr.o xrender.o xvidmode.o     -o winex11.drv.so -L../../dlls 
-L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/advapi32 
-L../../dlls/kernel32 -L../../dlls/ntdll -luser32 -lgdi32 -ladvapi32 
-lkernel32 -lntdll  -L../../libs/wine -lwine -L../../libs/unicode 
-lwine_unicode  -L/usr/lib64  -lXext -lX11  -L../../libs/port -lwine_port 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
skipping incompatible /usr/lib64/libXext.so when searching for -lXext 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
skipping incompatible /usr/lib64/libXext.a when searching for -lXext 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
skipping 
incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libXext.so when 
searching for -lXext 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
skipping 
incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libXext.a when 
searching for -lXext 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
skipping incompatible /usr/lib/libXext.so when searching for -lXext 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
skipping incompatible /usr/lib/libXext.a when searching for -lXext 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lXext 
collect2: ld a retourn
Comment 12 Tristan RENAUD 2005-10-08 00:11:15 UTC
Hi, 
 
Same compiling errors here : 
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./winex11.drv.spec    
bitblt.o bitmap.o brush.o clipboard.o clipping.o codepage.o dce.o desktop.o 
dga2.o dib.o dib_convert.o dib_dst_swap.o dib_src_swap.o event.o graphics.o 
init.o keyboard.o mouse.o opengl.o palette.o pen.o scroll.o settings.o text.o 
window.o winpos.o wintab.o x11ddraw.o x11drv_main.o xdnd.o xfont.o xim.o 
xrandr.o xrender.o xvidmode.o     -o winex11.drv.so -L../../dlls 
-L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/advapi32 
-L../../dlls/kernel32 -L../../dlls/ntdll -luser32 -lgdi32 -ladvapi32 
-lkernel32 -lntdll  -L../../libs/wine -lwine -L../../libs/unicode 
-lwine_unicode  -L/usr/lib64  -lXext -lX11  -L../../libs/port -lwine_port 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
skipping incompatible /usr/lib64/libXext.so when searching for -lXext 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
skipping incompatible /usr/lib64/libXext.a when searching for -lXext 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
skipping 
incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libXext.so when 
searching for -lXext 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
skipping 
incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libXext.a when 
searching for -lXext 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
skipping incompatible /usr/lib/libXext.so when searching for -lXext 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
skipping incompatible /usr/lib/libXext.a when searching for -lXext 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lXext 
collect2: ld a retourné 1 code d'état d'exécution 
winegcc: gcc failed. 
make[2]: *** [winex11.drv.so] Erreur 2 
make[2]: Leaving directory 
`/var/tmp/portage/wine-20050930/work/wine-20050930/dlls/x11drv' 
make[1]: *** [x11drv] Erreur 2 
make[1]: Leaving directory 
`/var/tmp/portage/wine-20050930/work/wine-20050930/dlls' 
make: *** [dlls] Erreur 2 
 
And my emerge --info : 
======================Portage 2.0.53_rc4 (default-linux/amd64/2005.0, 
gcc-3.4.4, glibc-2.3.5-r2, 2.6.12-gentoo-r9 x86_64) 
================================================================= 
System uname: 2.6.12-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+ 
Gentoo Base System version 1.12.0_pre8 
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.3.5, 2.4.2 
sys-apps/sandbox:    1.2.13 
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-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=k8 -O3 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-march=k8 -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ 
ftp://mirrors.blueyonder.co.uk/mirrors/gentoo ftp://mir.zyrianes.net/gentoo/ 
ftp://mir.zyrianes.net/gentoo/ http://gentoo.osuosl.org 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
LANG="fr_FR.UTF-8" 
LC_ALL="fr_FR.UTF-8" 
LINGUAS="fr" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/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 apache2 apm arts audiofile avi bash-completion 
berkdb bindist bitmap-fonts bmp bonobo bzlib cdb cdr cpudetection crypt cups 
curl dga doc dts dv dvb dvd dvdr dvdread eds emboss encode esd exif fam fbcon 
flac foomaticdb fortran ftp gb gd gif gnome gphoto2 gpm gstreamer gtk gtk2 
gtkhtml guile gveejay hal icq ieee1394 imagemagick imlib ipv6 jabber jack java 
jpeg kde libwww lzw lzw-tiff mad mikmod mime mjpeg motif mozilla mp3 mpeg 
mplayer mysql nas ncurses nls nvidia ofx ogg oggvorbis openal opengl oss pam 
pdflib perl png ppds print python qt quicktime rar readline real sdl speex 
spell ssl subtitles svg tcpd tetex theora tiff truetype truetype-fonts 
type1-fonts unicode usb userlocales v4l v4l2 videos visualization vorbis wmf 
xface xine xml xml2 xmms xosd xpm xprint xsl xv xvid yahoo zlib linguas_fr 
userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS 
 
 
Comment 13 Georg Sahli 2005-10-09 08:57:18 UTC
I did remove these links out of /usr/lib

lrwxrwxrwx  1 root root 16 10. Sep 15:48 libglut.so -> libglut.so.3.7.1
lrwxrwxrwx  1 root root 13 20. Sep 11:53 libX11.so -> libX11.so.6.2
lrwxrwxrwx  1 root root 14 20. Sep 11:53 libXext.so -> libXext.so.6.4
lrwxrwxrwx  1 root root 12 20. Sep 11:53 libXi.so -> libXi.so.6.0

and this link is not existant: libXu.so
Did not had to re-linked them to the corresponding libraries in
/emul/linux/x86/usr/lib, because there were allready in.

Now here my new failure:

/include/lcms  -o xrender.o xrender.c
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__
-DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -march=athlon64 -O2 -pipe
-I//usr/include/lcms  -o xvidmode.o xvidmode.c
xrender.c: In function `X11DRV_XRender_ExtTextOut':
xrender.c:1065: warning: unused variable `hdc'
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./winex11.drv.spec 
  bitblt.o bitmap.o brush.o clipboard.o clipping.o codepage.o dce.o desktop.o
dga2.o dib.o dib_convert.o dib_dst_swap.o dib_src_swap.o event.o graphics.o
init.o keyboard.o mouse.o opengl.o palette.o pen.o scroll.o settings.o text.o
window.o winpos.o wintab.o x11ddraw.o x11drv_main.o xdnd.o xfont.o xim.o
xrandr.o xrender.o xvidmode.o     -o winex11.drv.so -L../../dlls
-L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/advapi32
-L../../dlls/kernel32 -L../../dlls/ntdll -luser32 -lgdi32 -ladvapi32 -lkernel32
-lntdll  -L../../libs/wine -lwine -L../../libs/unicode -lwine_unicode 
-L/usr/lib64  -lXext -lX11  -L../../libs/port -lwine_port
make[3]: Leaving directory
`/var/tmp/portage/wine-20050930/work/wine-20050930/dlls/ddraw/tests'
make[2]: Leaving directory
`/var/tmp/portage/wine-20050930/work/wine-20050930/dlls/ddraw'
ld: Relocatable linking with relocations from format elf64-x86-64
(/usr/lib64/libX11.a(Context.o)) to format elf32-i386 (winex11.s1oHpj.o) is not
supported
winebuild: ld -m elf_i386 -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed.
make[2]: *** [winex11.drv.so] Error 2
make[2]: Leaving directory
`/var/tmp/portage/wine-20050930/work/wine-20050930/dlls/x11drv'
make[1]: *** [x11drv] Error 2
make: *** [dlls] Error 2

!!! ERROR: app-emulation/wine-20050930 failed.
!!! Function src_compile, Line 119, Exitcode 2
Comment 14 SAngeli 2005-10-09 12:17:39 UTC
Hi,

I am experiencing the same issues.
Any progress to wheather this issue has been solved?
I am currently without wine (which I need to use it)

Any corrective help would be appreciated.

Thank you,
Spiro
Comment 15 Edge 2005-10-11 15:21:49 UTC
This libXext error is nothing new to wine ebuilds.

If i take the 20050830 ebuild, and change it to say 20050930, and take out the
ldap patch, it compiles without error.

The differences include 
in 20050830:
    econf \
        CC=$(tc-getCC) \
        --sysconfdir=/etc/wine \

in 20050930:
    econf \
        --sysconfdir=/etc/wine \

Putting the "CC=$(tc-getCC) \" line into the 20050930 ebuild gets it to compile.

I have no idea what this line does, or whether it's a good idea to do it, but it
does get it to compile.
Comment 16 Georg Sahli 2005-10-13 01:43:30 UTC
Now that some days are gone and several updates came, I did try it again.

Here's my different new failure:

xim.c: In function `X11DRV_SetupXIM':
xim.c:388: warning: unused variable `style'
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__
-DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -march=athlon64 -O2 -pipe
-I//usr/include/lcms  -o xrender.o xrender.c
xrender.c: In function `X11DRV_XRender_ExtTextOut':
xrender.c:1065: warning: unused variable `hdc'
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__
-DWINE_NO_DEBUG_MSGS -DWINE_NO_TRACE_MSGS  -D_REENTRANT -fPIC -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -march=athlon64 -O2 -pipe
-I//usr/include/lcms  -o xvidmode.o xvidmode.c
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib64/libc.a when searching for -lc
make[2]: Leaving directory
`/var/tmp/portage/wine-20050930/work/wine-20050930/dlls/ddraw'
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./winex11.drv.spec 
  bitblt.o bitmap.o brush.o clipboard.o clipping.o codepage.o dce.o desktop.o
dga2.o dib.o dib_convert.o dib_dst_swap.o dib_src_swap.o event.o graphics.o
init.o keyboard.o mouse.o opengl.o palette.o pen.o scroll.o settings.o text.o
window.o winpos.o wintab.o x11ddraw.o x11drv_main.o xdnd.o xfont.o xim.o
xrandr.o xrender.o xvidmode.o     -o winex11.drv.so -L../../dlls
-L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/advapi32
-L../../dlls/kernel32 -L../../dlls/ntdll -luser32 -lgdi32 -ladvapi32 -lkernel32
-lntdll  -L../../libs/wine -lwine -L../../libs/unicode -lwine_unicode 
-L/usr/lib64  -lXext -lX11  -L../../libs/port -lwine_port
ld: Relocatable linking with relocations from format elf64-x86-64
(/usr/lib64/libX11.a(Context.o)) to format elf32-i386 (winex11.OiJb8q.o) is not
supported
winebuild: ld -m elf_i386 -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed.
make[2]: *** [winex11.drv.so] Error 2
make[2]: Leaving directory
`/var/tmp/portage/wine-20050930/work/wine-20050930/dlls/x11drv'
make[1]: *** [x11drv] Error 2
make: *** [dlls] Error 2

!!! ERROR: app-emulation/wine-20050930 failed.
!!! Function src_compile, Line 119, Exitcode 2
!!! all              

------------
Oh now I s                                                                     
  ee something, for the last 2 wine versions I did remove one of the Xorg-X11
patches, because I had only black Icons in Wine and OpenOffice.
This I did to remove the black icons:

http://forums.gentoo.org/viewtopic-t-365639-highlight-icons+black.html

Is this relating to the bug? But when I put the patch back in OpenOffice will be
unusual too.
Comment 17 SpanKY gentoo-dev 2005-10-13 18:53:15 UTC
i cant remember why that CC= line is there, but since it clearly makes a
difference and shouldnt hurt anything, ive added it back in
Comment 18 Georg Sahli 2005-10-17 09:32:46 UTC
Got failures with libwxgtk by thunderbird, and moved before removed links back.

lrwxrwxrwx  1 root root 16 10. Sep 15:48 libglut.so -> libglut.so.3.7.1
lrwxrwxrwx  1 root root 13 20. Sep 11:53 libX11.so -> libX11.so.6.2
lrwxrwxrwx  1 root root 14 20. Sep 11:53 libXext.so -> libXext.so.6.4
lrwxrwxrwx  1 root root 12 20. Sep 11:53 libXi.so -> libXi.so.6.0

Wine and Thunderbird did both compile ok.