Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345875 - app-emulation/wine-1.3.6 build failed
Summary: app-emulation/wine-1.3.6 build failed
Status: VERIFIED DUPLICATE of bug 79519
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-17 12:08 UTC by Sergiy Borodych
Modified: 2010-11-24 08:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,989.10 KB, text/plain)
2010-11-17 12:08 UTC, Sergiy Borodych
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergiy Borodych 2010-11-17 12:08:18 UTC
...
../../tools/winegcc/winegcc  -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared /var/tmp/portage/app-emulation/wine-1.3.6/work/wine-1.3.6/dlls/dinput/dinput.spec data_formats.o device.o dinput_main.o effect_linuxinput.o joystick.o joystick_linux.o joystick_linuxinput.o joystick_osx.o keyboard.o mouse.o regsvr.o    version.res    -o dinput.dll.so  -ldxguid -luuid -lole32 -luser32 -ladvapi32  ../../libs/port/libwine_port.a  -Wl,-O1 -Wl,--as-needed 
winebuild: joystick_linux.o is an empty file
winegcc: ../../tools/winebuild/winebuild failed
make[1]: *** [dinput.dll.so] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.3.6/work/wine32/dlls/dinput'
make: *** [dlls/dinput] Error 2
...

# emerge -pqv =app-emulation/wine-1.3.6
[ebuild     U ] app-emulation/wine-1.3.6 [1.3.5] USE="X alsa dbus gecko hal jpeg lcms mp3 ncurses opengl oss perl png ssl threads truetype win32 xml -capi -cups -custom-cflags -esd -fontconfig -gnutls -gphoto2 -gsm -jack -ldap -nas -openal -pulseaudio -samba -scanner -test (-win64) -xcomposite -xinerama" 


# emerge --info =app-emulation/wine-1.3.6
Portage 2.1.9.24 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.12.1-r3, 2.6.36-gentoo-r1 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r1-i686-Intel-R-_Pentium-R-_M_processor_1.70GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 17 Nov 2010 05:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.4
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.82
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 Nero-EULA-US"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="uk_UA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru uk"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/perl-experimental /usr/local/portage /home/projects/gentoo-overlay /home/projects/gentoo-game-overlay /usr/local/portage.old"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X aac acpi alsa apache2 berkdb branding bzip2 cairo chroot cli cracklib crypt dbus device-mapper djvu dri dts dvdr emboss encode exif fam ffmpeg firefox flac freetype gd gdbm gif gimp git gnome gpm gstreamer gtk gtk2 hal iconv irda ithreads jpeg laptop lcms libnotify logrotate mad mmap mmx modules mozdevelop mozilla moznocompose moznoirc mp3 mp4 mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp openssl pam pango pcre pdf perl pic png ppds pppd readline reiser4 reiserfs seamonkey session slang sox sqlite3 sse sse2 ssl startup-notification subversion svg symlink sysfs syslog tcpd threads tiff truetype unicode usb utf8 vim-syntax vorbis win32codecs x264 x86 xcb xml xml2 xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic authn_default authn_file authz_default authz_host autoindex cgi dbd dir env expires ext_filter filter headers include log_config logio mime rewrite setenvif status vhost_alias" 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="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru uk" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2 net" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Sergiy Borodych 2010-11-17 12:08:48 UTC
Created attachment 254623 [details]
build.log

build.log
Comment 2 SpanKY gentoo-dev 2010-11-17 18:10:22 UTC
clear your ccache completely and/or try building with MAKEOPTS=-j1
Comment 3 Rafael Umbelino 2010-11-17 23:30:48 UTC
Try to add to your make.conf the USE flag joystick, then rebuild your packages and THEN try to install WINE.
It should correct the problem.

It seems that WINE tries to compile WINE with joystick support but don't even ask if you want to (by having a joystick use flag to set on/off).
As your system doesn't have joystick support at all, joystick libraries are empty and it breaks the WINE package.
Adding joystick support can correct the problem and let you compile WINE.

And if it resolves, then it's a bug and joystick flag have to be added to WINE package.
Comment 4 Mateusz Kozak 2010-11-18 12:22:04 UTC
(In reply to comment #3)
> Try to add to your make.conf the USE flag joystick, then rebuild your packages
> and THEN try to install WINE.
> It should correct the problem.
> 
> It seems that WINE tries to compile WINE with joystick support but don't even
> ask if you want to (by having a joystick use flag to set on/off).
> As your system doesn't have joystick support at all, joystick libraries are
> empty and it breaks the WINE package.
> Adding joystick support can correct the problem and let you compile WINE.
> 
> And if it resolves, then it's a bug and joystick flag have to be added to WINE
> package.
> 
My make.conf also doesn't contains anything joystick related, but wine compiles successfully, but he can try. Anyway, I think this is not source of problem. 
Comment 5 Sergiy Borodych 2010-11-19 20:30:45 UTC
> Comment #2

yes, this help me,
but really slow...
Comment 6 Rafael Umbelino 2010-11-24 00:45:18 UTC
So it was just a "mistake" from GCC at time of compiling.
Can we close this bug or it can be fixed anyway?
Comment 7 SpanKY gentoo-dev 2010-11-24 01:06:37 UTC
fs corruption or system crash while running ccache corrupted it

*** This bug has been marked as a duplicate of bug 79519 ***
Comment 8 Sergiy Borodych 2010-11-24 08:08:33 UTC
yes? maybe something wrong with ccache
on wine-1.3.7 with ccache 3.x and -j2 all fine
Comment 9 Sergiy Borodych 2010-11-24 08:09:28 UTC
oops, sorry, typo
I mean
"yes, maybe..."