View previous topic :: View next topic |
Author |
Message |
y32k n00b
Joined: 02 Jul 2013 Posts: 2
|
Posted: Tue Jul 02, 2013 10:41 pm Post subject: [SOLVED]wine 1.6 emerge fails |
|
|
I am unable to emerge wine 1.6_rc4 (or any version past 1.5.22). With just a plain 'emerge wine' I get the following error:
Code: | ../x86_64-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `c_037.o' is incompatible with i386 output |
for several different .o files. This happens with USE="win32 -win64" also.
I've tried the fixes in this thread: https://forums.gentoo.org/viewtopic-t-298299.html
That let me compile version 1.5.22, but I haven't been able to upgrade since. The error has been the same and I can't seem to find a solution.
If I add in CFLAGS=-m32 I get an error that says I need gcc >= 4.4, but I'm running 4.6.3 and don't appear to have 4.4 on my system.
I've tried adding in some other things from the above thread and it gives me an error about an orphaned process.
I'm running amd64 3.8.13 kernel with the IA32 enabled.
This is what I get from
Code: |
collect2: ld returned 1 exit status
make[1]: *** [libwine.so.1.0] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.6_rc4/work/wine-1.6-rc4-x86/libs/wine'
make: *** [libs/wine] Error 2
* ERROR: app-emulation/wine-1.6_rc4 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=app-emulation/wine-1.6_rc4'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/wine-1.6_rc4'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/wine-1.6_rc4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.6_rc4/temp/environment'.
* Working directory: '/var/tmp/portage/app-emulation/wine-1.6_rc4/work/wine-1.6-rc4-x86'
* S: '/var/tmp/portage/app-emulation/wine-1.6_rc4/work/wine-1.6-rc4'
>>> Failed to emerge app-emulation/wine-1.6_rc4, Log file:
>>> '/var/tmp/portage/app-emulation/wine-1.6_rc4/temp/build.log'
* Messages for package app-emulation/wine-1.6_rc4:
* ERROR: app-emulation/wine-1.6_rc4 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=app-emulation/wine-1.6_rc4'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/wine-1.6_rc4'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/wine-1.6_rc4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.6_rc4/temp/environment'.
* Working directory: '/var/tmp/portage/app-emulation/wine-1.6_rc4/work/wine-1.6-rc4-x86'
* S: '/var/tmp/portage/app-emulation/wine-1.6_rc4/work/wine-1.6-rc4'
|
Heres the output of emerge --info '=app-emulation/wine-1.6_rc4
Code: |
Portage 2.1.12.2 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_5150_@_2.66GHz-with-gentoo-2.2
KiB Mem: 8179352 total, 358976 free
KiB Swap: 125001760 total, 124732372 free
Timestamp of tree: Tue, 02 Jul 2013 20:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p45
dev-lang/python: 2.7.3-r3, 3.1.5, 3.2.3-r2
dev-util/cmake: 2.8.10.2-r2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.4, 4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -m64 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -m64 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://mirrors.rit.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran g3dvl gdbm gif gpm iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nvidia ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline samba sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xine xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
|
Here is the output of emerge -pqv '=app-emulation/wine-1.6_rc4'
Code: |
[ebuild U ] app-emulation/wine-1.6_rc4 [1.5.22] USE="X alsa cups fontconfig* gecko jpeg lcms ldap mono mp3 ncurses nls opengl perl png prelink run-exes%* samba ssl threads truetype udisks xcomposite xinerama xml -capi -custom-cflags -gphoto2 -gsm -gstreamer -odbc -openal -opencl -osmesa -oss -pulseaudio -scanner (-selinux) {-test} -v4l (-gnutls%) (-win32%*) (-win64%)" ABI_X86="32%* 64%* (-x32)" LINGUAS="en%* -ar% -bg% -ca% -cs% -da% -de% -el% -en_US% -eo% -es% -fa% -fi% -fr% -he% -hi% -hr% -hu% -it% -ja% -ko% -lt% -ml% -nb_NO% -nl% -or% -pa% -pl% -pt_BR% -pt_PT% -rm% -ro% -ru% -sk% -sl% -sr_RS@cyrillic% -sr_RS@latin% -sv% -te% -th% -tr% -uk% -wa% -zh_CN% -zh_TW%"
|
Here is the first part of the build.log: http://pastebin.com/AFr41wWa
and the last part: http://pastebin.com/cdpUswZ1
There are another several thousand lines between these two parts but there doesn't seem to be any problem in there.
I have noticed that my kernel-headers don't match the kernel version. The 3.8 headers are still marked unstable. Don't know if that matters.
Please help.
Last edited by y32k on Wed Jul 03, 2013 12:44 am; edited 1 time in total |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue Jul 02, 2013 11:55 pm Post subject: |
|
|
Why do you have '-m64' in your C{XX}FLAGS in the first place ? |
|
Back to top |
|
|
y32k n00b
Joined: 02 Jul 2013 Posts: 2
|
Posted: Wed Jul 03, 2013 12:43 am Post subject: |
|
|
VoidMage wrote: | Why do you have '-m64' in your C{XX}FLAGS in the first place ? |
I wish I had a good answer for that. I don't know why or when that was added.
I removed it and wine emerged without incident, other than file collisions.
I wonder if that has been my problem for the last year or so (when did 1.5.22 come out?).
The odd thing is, wine 1.5.22 emerges fine with that in my CFLAGS.
Thank you. |
|
Back to top |
|
|
|
|
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
|
|