Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89598 - wine-20050310-r1 fails to compile on amd64
Summary: wine-20050310-r1 fails to compile on amd64
Status: RESOLVED DUPLICATE of bug 88725
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-18 18:17 UTC by Sascha Wintz
Modified: 2005-07-17 13:06 UTC (History)
1 user (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 Sascha Wintz 2005-04-18 18:17:48 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../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.3-20050110/../../../../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.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../libXext.so when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../libXext.a when searching for -lXext
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../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.3-20050110/../../../../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.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
winegcc: gcc failed.
make[2]: *** [x11drv.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/wine-20050310-r1/work/wine-20050310/dlls/x11drv'
make[1]: *** [x11drv] Error 2
make[1]: Leaving directory `/var/tmp/portage/wine-20050310-r1/work/wine-20050310/dlls'
make: *** [dlls] Error 2

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


Reproducible: Always
Steps to Reproduce:
1. emerge latest wine ebuild
2.
3.




Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 21 2005, 22:26:38)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/cursors/xorg-x11/default/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://gentoo.server4you.net http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/misc /usr/local/portage/lila
/usr/local/portage/gnome-current /usr/local/portage/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa anthy avi bash-completion berkdb bitmap-fonts bmp
canna cdparanoia cdr cjk crypt cups curl dashboard dbus dmx dvd dvdr dvdread eds
encode epiphany fam ffmpeg flac font-server foomaticdb fortran freewnn gaim gcj
gd gif gimp gimpprint gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal howl icu
imagemagick imlib java joystick jp2 jpeg junit lzw lzw-tiff mad matroska mozilla
moznocompose moznoirc moznomail mozsvg mp3 mpeg mysql ncurses network nls nntp
no-old-linux nowin nptl nptlonly nvidia offensive ogg oggvorbis opengl pam
pam_console perl pic png ppds python quicktime readline rtc samba scanner sdl
skk slang spell sqlite ssl svg tcpd tiff transcode truetype truetype-fonts
type1-fonts unicode usb userlocales v4l2 vorbis xine xinerama xml2 xpm xprint
xrandr xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2005-04-19 04:40:17 UTC
what version of the emul-linux-x86-xlibs are you using?
Comment 2 Herbie Hopkins (RETIRED) gentoo-dev 2005-04-19 04:49:44 UTC

*** This bug has been marked as a duplicate of 88725 ***
Comment 3 Sascha Wintz 2005-04-19 09:06:37 UTC
Those are the emul packages I have installed.

emul-linux-x86-xlibs-2.1
emul-linux-x86-gtklibs-1.2
emul-linux-x86-baselibs-2.1
emul-linux-x86-soundlibs-2.1
emul-linux-x86-glibc-1000
emul-linux-x86-qtlibs-2.1
emul-linux-x86-compat-1.0

EXTRA_ECONF="--x-libraries=/emul/linux/x86/usr/lib" emerge wine

seems to fix that problem, but now I'm stuck here

gcc -m32 -c -I. -I. -I../include -I../include -I/usr/include/freetype2 -DLEX_OUTPUT_ROOT="\"lex.yy\""  -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -march=athlon64 -O2 -pipe -o sfnt2fnt.o sfnt2fnt.c
gcc -m32 -march=athlon64 -O2 -pipe -o sfnt2fnt sfnt2fnt.o -L../libs/unicode -lwine_unicode -L../libs/port -lwine_port -lfreetype -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../libfreetype.so when searching for -lfreetype
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../libfreetype.a when searching for -lfreetype
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libfreetype.so when searching for -lfreetype
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libfreetype.a when searching for -lfreetype
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
make[1]: *** [sfnt2fnt] Error 1
make[1]: Leaving directory `/var/tmp/portage/wine-20050310-r1/work/wine-20050310/tools'
make: *** [tools] Error 2

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


more people are having the same problem, like in this forum
http://forums.gentoo.org/viewtopic-t-325863-highlight-wine.html

I also tried LDFLAGS="-L/usr/lib32" and LDFLAGS="-L/emul/linux/x86/usr/lib32/" that didn't help either.

The freetype libs are there, so they are not missing

# ls -l /emul/linux/x86/usr/lib32/libfreetype.so*
lrwxrwxrwx  1 root root     20 Apr 18 20:05 /emul/linux/x86/usr/lib32/libfreetype.so -> libfreetype.so.6.3.7
lrwxrwxrwx  1 root root     20 Apr 18 20:05 /emul/linux/x86/usr/lib32/libfreetype.so.6 -> libfreetype.so.6.3.7
-rwxr-xr-x  1 root root 458948 Apr 18 20:05 /emul/linux/x86/usr/lib32/libfreetype.so.6.3.7