Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error while emerging wine (fixed)
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
mikb
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2005
Posts: 118
Location: Sydney Australia

PostPosted: Wed Oct 31, 2007 8:04 pm    Post subject: Error while emerging wine (fixed) Reply with quote

I've no idea how to debug this. I get it trying to emerge both wine-0.9.48 and wine-9999:

Code:

make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-9999/work/wine/dlls/acledit'
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=athlon64 -mtune=athlon64 -pipe -O3 -fstack-protector  -o main.o main.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./acledit.spec    main.o         -o acledit.dll.so  -lkernel32   ../../libs/port/libwine_port.a
ld: Relocatable linking with relocations from format elf64-x86-64 (acledit.EQBFgm.o) to format elf32-i386 (acledit.bsV8dq.o) is not supported
winebuild: ld -m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed
make[2]: *** [acledit.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-9999/work/wine/dlls/acledit'
make[1]: *** [acledit] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-9999/work/wine/dlls'
make: *** [dlls] Error 2

Any suggestions appreciated (I really need this working today!)
_________________
With sufficient thrust, pigs fly just fine (RFC 1925, apparently talking about Gentoo)


Last edited by mikb on Sat Nov 03, 2007 10:38 am; edited 1 time in total
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Thu Nov 01, 2007 11:38 am    Post subject: Reply with quote

emerge --info plz :)
Back to top
View user's profile Send private message
mikb
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2005
Posts: 118
Location: Sydney Australia

PostPosted: Thu Nov 01, 2007 6:57 pm    Post subject: emerge --info Reply with quote

Code:

Portage 2.1.3.16 (hardened/amd64/multilib, gcc-4.1.1/amd64-hardened, glibc-2.6.1-r0, 2.6.22-hardened-r4-wanderer x86_64)
=================================================================
System uname: 2.6.22-hardened-r4-wanderer x86_64 AMD Athlon(tm) 64 Processor 3700+
Timestamp of tree: Wed, 31 Oct 2007 18:20:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1, 2.18-r1
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -pipe -O3 -fweb -frename-registers -fforce-addr -ftracer -fstack-protector"
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/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -pipe -O3 -fweb -frename-registers -fforce-addr -ftracer -fstack-protector"
DISTDIR="/var/tmp/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo http://mirror.isp.net.au/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="en_AU en_GB en_US"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/r300-driver /usr/local/portage/layman/emacs /usr/local/portage/layman/xeffects /usr/local/portage/overlay"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow X X509 a52 aac acl acpi alsa amd64 amr apache2 arts artswrappersuid avahi avi bash-completion berkdb bidi bluetooth branding bzip2 capi cardbus cdda cddb cdio cdr clamav cracklib crypt css ctype cups curl curlwrappers cvsgraph dbus devfs26 dga dhcp dio directfb divx4linux dlloader dnd doc dri dts dv dvb dvd dvdr dvdread dvr3 emacs emacs-w3 emul-linux-x86 encode enscript erandom ethereal exif expat fam fbcon fbdev fbsplash ffmpeg firefox fix-connected-rt flac flash fontconfig foomaticdb ftp gatos gcj gd gdbm geoip gif glibc-omitfp glx gnutls gphoto2 gpm gsm gstreamer gtk gtk2 hal hardened hardenedphp i8x0 icq ieee1394 imap imlib immqt-bc innodb ipod jabber jack java javascript jpeg jpeg2k kcal kde kdeenablefinal kdehiddenvisibility kdepim kerberos lame lcms libclamav libsamplerate libwww lirc lm_sensors logitech-mouse logrotate lua mad maildir mailwrapper mbox mgetty midi mikmod mime ming mjpeg mmap mng mp3 mp4live mpeg mppe-mppc multilib multislot musepack musicbrainz mysql ncurses network nforce2 nls noamazon nognome nptl nptlonly nsplugin odbc odk offensive ogg oggvorbis on-the-fly-crypt openexr opengl pam pam_console pam_timestamp pcmcia pcre pda pdf pdflib perl php pic pmu png posix povray ppds pppd profile pwdb python qt qt3 quicktime radiotap rdesktop readline rrdtool rtc samba sasl scanner sdk sdl sensord sharedmem skey slp sndfile snmp sockets sound speedo spell spl sql sse sse2 ssh ssl subversion svg symlink sysfs sysvipc szip tcl tcltk tcpd theora threads tidy tiff tk truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales v4l v4l2 vcd visualization vorbis webdav wifi winbind wmf x264 xattr xbase xcb xcomposite xemacs xface xine xinerama xml xorg xpm xsl xv xvid zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m usb-audio"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol"
ELIBC="glibc"
INPUT_DEVICES="keyboard mouse synaptics evdev"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LINGUAS="en_AU en_GB en_US"
LIRC_DEVICES="avermedia"
USERLAND="GNU"
VIDEO_CARDS="radeon vesa fbdev v4l ati"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


And I have the following emul libraries installed:
Code:

[I--] [ ~] app-emulation/emul-linux-x86-baselibs-10.2 (0)
[I--] [ ~] app-emulation/emul-linux-x86-compat-1.0-r3 (0)
[I--] [ ~] app-emulation/emul-linux-x86-gtklibs-11.0 (0)
[I--] [ ~] app-emulation/emul-linux-x86-java-1.4.2.03-r2 (1.4.2)
[I--] [ ~] app-emulation/emul-linux-x86-java-1.5.0.13 (1.5)
[I--] [ ~] app-emulation/emul-linux-x86-java-1.6.0.03 (1.6)
[I--] [ ~] app-emulation/emul-linux-x86-medialibs-10.2 (0)
[I--] [ ~] app-emulation/emul-linux-x86-qtlibs-10.0-r1 (0)
[I--] [ ~] app-emulation/emul-linux-x86-sdl-10.1 (0)
[I--] [ -] app-emulation/emul-linux-x86-soundlibs-10.0-r1 (0)
[I--] [ ~] app-emulation/emul-linux-x86-xlibs-10.1 (0)

_________________
With sufficient thrust, pigs fly just fine (RFC 1925, apparently talking about Gentoo)
Back to top
View user's profile Send private message
mikb
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2005
Posts: 118
Location: Sydney Australia

PostPosted: Sat Nov 03, 2007 10:46 am    Post subject: And the answer is ... Reply with quote

In a word, multilib.

Essentially it turns out the ebuild inherits multilib.eclass, and calls
Code:

         use amd64 && multilib_toolchain_setup x86

in src_compile().

Doesn't work.

It all builds (and the resulting ELF is 32 bit) if you remove all references to multilib from the ebuild.

I'm not sure if this is just WinE being clever, or if there is something broken in Gentoo multilib.

Any way, it builds now.

Oh, if you're running hardened, you need to use paxctl on the binaries.
_________________
With sufficient thrust, pigs fly just fine (RFC 1925, apparently talking about Gentoo)
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Sun Nov 04, 2007 1:13 am    Post subject: Reply with quote

Please file a bug report. To facilitate finding relevant information please include a link to this topic in the report and post a link to the report in this topic.
Back to top
View user's profile Send private message
mikb
Tux's lil' helper
Tux's lil' helper


Joined: 14 Dec 2005
Posts: 118
Location: Sydney Australia

PostPosted: Sun Nov 04, 2007 10:47 am    Post subject: Bug report Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=197944
_________________
With sufficient thrust, pigs fly just fine (RFC 1925, apparently talking about Gentoo)
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Mon Dec 17, 2007 3:49 am    Post subject: Reply with quote

I am having this with wine-0.9.51

Code:
winegcc: ../../tools/winebuild/winebuild failed
make[2]: *** [advapi32.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.51/work/wine-0.9.51/dlls/advapi32'
make[1]: *** [advapi32] Error 2
/usr/x86_64-pc-linux-gnu/bin/ld: Relocatable linking with relocations from format elf32-i386 (advpack.P4Z2C3.o) to format elf64-x86-64 (advpack.cZ8uvF.o) is not supported
winebuild: /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed
make[2]: *** [advpack.dll.so] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.51/work/wine-0.9.51/dlls/advpack'
make[1]: *** [advpack] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.51/work/wine-0.9.51/dlls'
make: *** [dlls] Error 2
 *
 * ERROR: app-emulation/wine-0.9.51 failed.
 * Call stack:
 *            ebuild.sh, line 1701:  Called dyn_compile
 *            ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *   wine-0.9.51.ebuild, line  114:  Called die
 * The specific snippet of code:
 *      emake all || die "all"
 *  The die message:
 *   all
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/wine-0.9.51/temp/build.log'.


And I am not using hardened.

Code:
# emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.6.1-r0, 2.6.22-vs2.2.0.5-gentoo x86_64)
=================================================================
System uname: 2.6.22-vs2.2.0.5-gentoo x86_64 Dual Core AMD Opteron(tm) Processor 285
Timestamp of tree: Mon, 17 Dec 2007 03:00:03 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/confcache:  0.4.2-r1
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer -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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache confcache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/masterdriverz /usr/portage/local/layman/marineam /usr/portage/local/layman/gechi /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/kde /usr/local/portage/gentoo-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7z 7zip X Xaw3d a52 aac acl acpi alsa amd64 apache2 arts bacula-split-init bash-completion berkdb binary-drivers bitmap-fonts boost bzip2 cairo ccache cdr cg cli colordiff cpudetection cracklib crosscompile crypt css cups cvs cvsgraph dbus dga divx doc dri dvd dvdr emacs emul-linux-x86 fbcon ffmpeg firefox font-server fortran fuse gdbm gif gmail gmp gnome gnomecanvas gnomedb gphoto2 gpm grammar graphviz gtk gtk2 gtkhtml gzip hal hddtemp iconv isdnlog ivtv java jikes joystick jpeg jpeg2k kde kerberos kexi ldap lirc lzo lzw midi mjpeg mmx mng mozilla mp3 mpeg mudflap mysql mysqli ncurses nfs nls nptl nptlonly nsplugin opengl openmp pam pcre pdf perl php png postgres pppd python qt4 readline reflection session smp spl sse sse2 ssl tcpd threads transcode truetype truetype-fonts type1-fonts unicode unzip usb v4l v4l2 videos wmf wxwindows xattr xfs xine xinerama xml xorg xvid zlib" ALSA_CARDS="snd_ac97_bus snd_intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
azarro
n00b
n00b


Joined: 19 Mar 2006
Posts: 51
Location: Prague, CZ

PostPosted: Mon Dec 17, 2007 8:07 pm    Post subject: Reply with quote

Hi,
I have a similar problem, but I'm not able to build ANY version of wine :( Everytime it fails with a really weird error considering someting with ???fonts??? that doesn't say anything at all..

Code:

make[1]: *** [system-932-96-16.fnt] Floating point exception
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.46/work/wine-0.9.46/fonts'
make: *** [fonts] Error 2
x86_64-pc-linux-gnu-gcc -o wine-pthread-installed -Wl,--export-dynamic -Wl,--section-start,.interp=0x7bf00400 pthread.o main.o version.o -L../libs/wine -lwine ../libs/port/libwine_port.a -lpthread   -Wl,--rpath,\$ORIGIN/`../tools/relpath /usr/bin /usr/lib32` -Wl,--enable-new-dtags
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.46/work/wine-0.9.46/loader'
 *
 * ERROR: app-emulation/wine-0.9.46 failed.
 * Call stack:
 *            ebuild.sh, line 1701:  Called dyn_compile
 *            ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *   wine-0.9.46.ebuild, line  114:  Called die
 * The specific snippet of code:
 *      emake all || die "all"
 *  The die message:
 *   all
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/wine-0.9.46/temp/build.log'.


and my emerge --info is:
Code:

Portage 2.1.3.19 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.18-ck1-r2! x86_64)
=================================================================
System uname: 2.6.18-ck1-r2! x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Sun, 16 Dec 2007 09:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.supp.name/"
LC_ALL="en_US.UTF-8"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X aalib acpi alsa amd64 apache2 bitmap-fonts bluetooth bzip2 ccache cdr cracklib crypt cups curl dri dvd dvdr dvdread eds encode exif fbcon firefox foomaticdb gif glut gpm gstreamer gtk gtk2 iconv icq imap isdnlog jabber java jpeg jpeg2k lm_sensors lzw lzw-tiff matroska mcal midi mozilla mp3 mpeg mudflap ncurses nls nocd nptl nptlonly nvidia ogg opengl openmp openssh pam pdf perl png pop python quicktime readline reflection sdl session spl ssl tcpd tiff truetype-fonts type1-fonts unicode usb xml xorg xpm xprint xv zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


any clue, plz?
_________________
Linux gentoo x86_64 kernel-2.6.18-ck1-r2
AMD Athlon64 Processor 3000+
MicroStar K8N Neo4-FI - nForce4 Ultra (s939)
Kingston DIMM 1024MB DDR 400MHz Dual Channel CL2
Asus 7600GT 256MB, PCI-E
Creative Labs Sound Blaster Audigy 4
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Sat Dec 31, 2011 7:35 pm    Post subject: Reply with quote

I had this exact problem yet again. After rebuilding the entire system only to have the wine build (all versions tried) fail again

Code:
../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared /auto/temp_data/var_tmp/portage/app-emulation/wine-1.3.35/work/wine-1.3.35/dlls/actxprxy/actxprxy.spec usrmarshal.o   actxprxy_activscp_p.o actxprxy_comcat_p.o actxprxy_docobj_p.o actxprxy_hlink_p.o actxprxy_htiframe_p.o actxprxy_objsafe_p.o actxprxy_ocmm_p.o actxprxy_servprov_p.o actxprxy_shldisp_p.o actxprxy_shobjidl_p.o actxprxy_urlhist_p.o actxprxy_activscp_r.res actxprxy_comcat_r.res actxprxy_docobj_r.res actxprxy_hlink_r.res actxprxy_htiframe_r.res actxprxy_objsafe_r.res actxprxy_ocmm_r.res actxprxy_servprov_r.res actxprxy_shldisp_r.res actxprxy_shobjidl_r.res actxprxy_urlhist_r.res    dlldata.o  -o actxprxy.dll.so  -luuid -loleaut32 -lole32 -lrpcrt4  ../../libs/port/libwine_port.a  -Wl,-O1 -Wl,--as-needed
../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared /auto/temp_data/var_tmp/portage/app-emulation/wine-1.3.35/work/wine-1.3.35/dlls/actxprxy/actxprxy.spec usrmarshal.o   actxprxy_activscp_p.o actxprxy_comcat_p.o actxprxy_docobj_p.o actxprxy_hlink_p.o actxprxy_htiframe_p.o actxprxy_objsafe_p.o actxprxy_ocmm_p.o actxprxy_servprov_p.o actxprxy_shldisp_p.o actxprxy_shobjidl_p.o actxprxy_urlhist_p.o actxprxy_activscp_r.res actxprxy_comcat_r.res actxprxy_docobj_r.res actxprxy_hlink_r.res actxprxy_htiframe_r.res actxprxy_objsafe_r.res actxprxy_ocmm_r.res actxprxy_servprov_r.res actxprxy_shldisp_r.res actxprxy_shobjidl_r.res actxprxy_urlhist_r.res    dlldata.o  -o actxprxy.dll.fake  -luuid -loleaut32 -lole32 -lrpcrt4  ../../libs/port/libwine_port.a  -Wl,-O1 -Wl,--as-needed
/usr/bin/ld: Relocatable linking with relocations from format elf64-x86-64 (usrmarshal.o) to format elf32-i386 (actxprxy.8QBDP1.o) is not supported
winebuild: /usr/bin/ld failed with status 1
winegcc: ../../tools/winebuild/winebuild failed
make[1]: *** [actxprxy.dll.so] Error 2
make[1]: Leaving directory `/auto/temp_data/var_tmp/portage/app-emulation/wine-1.3.35/work/wine32/dlls/actxprxy'
make: *** [dlls/actxprxy] Error 2
make: Leaving directory `/auto/temp_data/var_tmp/portage/app-emulation/wine-1.3.35/work/wine32'
emake failed


I searched found this thread and also a mention in a second thread (which I can not find now) to disable distcc and try building. I don't use distcc anymore however I had icecream installed and it was enabled in portage using PREROOTPATH=/usr/lib/icecc/bin in /etc/make.conf. After disabling icecream the build (for wine-1-3.36) succeeded.

jmd0 temp # equery l wine
* Searching for wine ...
[IP-] [ ] app-emulation/wine-1.3.36:0
_________________
John

My gentoo overlay
Instructons for overlay
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