Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403205 - app-emulation/wine-1.4_rc2: fails to compile, OpenCL 32-bit development files not found
Summary: app-emulation/wine-1.4_rc2: fails to compile, OpenCL 32-bit development files...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-11 19:42 UTC by DrSlony
Modified: 2012-02-20 14:20 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,23.98 KB, text/plain)
2012-02-11 19:43 UTC, DrSlony
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DrSlony 2012-02-11 19:42:53 UTC
wine-1.4_rc2 fails to compile.
It dies at the econf phase.


emerge --info =app-emulation/wine-1.4_rc2
Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_820_@_1.73GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 11 Feb 2012 18:15:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage x11 ikelos pentoo kde spring
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.virginmedia.com/ http://gentoo.modulix.net/gentoo/"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/usr/local/portage /var/lib/layman/x11 /var/lib/layman/ikelos /var/lib/layman/pentoo /var/lib/layman/kde /var/lib/layman/Spring"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl custom-optimization cxx d3d dbus declarative dhcpcd dirac dri dts dvd dvdr emboss enca encode exif expoblending fam ffmpeg firefox flac fontconfig fortran frei0r ftp gallium gd gdbm gdu geoip gif gpm gpu gsm hbci iconv icu iproute2 iptc ipv6 jabber java jpeg kde kipi lcms ldap lensfun libnotify mad mmx mng modules mp3 mp4 mpeg mpi msn mudflap multilib mysql ncurses networkmanager nls nptl nptlonly nsplugin nvidia ofx ogg okteta opencl opengl openmp openvpn otr pam pango pcre pdf phonon php plasma png policykit ppds pppd privacy python qt3support qt4 rar raster readline romio scanner schroedinger sdl semantic-desktop session sid sip smp sms spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff tordns truetype udev unicode usb v4l v4l2 vdpau vnc vorbis wav webpresence wifi x264 xattr xcb xcomposite xinerama xml xmp xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="usb-audio" 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="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 stage tables krita karbon braindump" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" 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, INSTALL_MASK, LANG, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 DrSlony 2012-02-11 19:43:16 UTC
Created attachment 301591 [details]
build.log
Comment 2 DrSlony 2012-02-11 19:55:47 UTC
Adding "app-emulation/wine -opencl" to package.use lets the compilation proceed succesfully, however I opened this bug report because I don't think doing this should be necessary.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-12 19:54:03 UTC
What version of nvidia-drivers and eselect-opencl are you using?

Does the failure still occur after running "eselect opencl set nvidia"?

If the failure still occurs, please give the output of the following commands:

ls -l /usr/lib*/libOpenCL*
equery files nvidia-drivers | grep OpenCL

(If you do not have equery, you will need to install app-portage/gentoolkit.)

(In reply to comment #2)
> Adding "app-emulation/wine -opencl" to package.use lets the compilation proceed
> succesfully, however I opened this bug report because I don't think doing this
> should be necessary.

The only reason you had to add "app-emulation/wine -opencl" to package.use is because you globally enabled the opencl USE flag in your /etc/make.conf ;)
Comment 4 DrSlony 2012-02-14 15:09:16 UTC
x11-drivers/nvidia-drivers-290.10-r1
app-admin/eselect-opencl-0.0.2

"Does the failure still occur after running "eselect opencl set nvidia"?"
Yes

ls -l /usr/lib*/libOpenCL*
lrwxrwxrwx 1 root root 14 Feb 14 13:56 /usr/lib32/libOpenCL.so -> libOpenCL.so.1
lrwxrwxrwx 1 root root 14 Feb 14 13:56 /usr/lib64/libOpenCL.so -> libOpenCL.so.1
lrwxrwxrwx 1 root root 14 Feb 14 13:56 /usr/lib/libOpenCL.so -> libOpenCL.so.1
Blinking, so I guess not found.


equery files nvidia-drivers | grep OpenCL
/etc/OpenCL
/etc/OpenCL/vendors
/etc/OpenCL/vendors/nvidia.icd
/usr/lib32/OpenCL
/usr/lib32/OpenCL/vendors
/usr/lib32/OpenCL/vendors/nvidia
/usr/lib32/OpenCL/vendors/nvidia/libOpenCL.so
/usr/lib32/OpenCL/vendors/nvidia/libOpenCL.so.1
/usr/lib32/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0
/usr/lib32/OpenCL/vendors/nvidia/libcuda.so
/usr/lib32/OpenCL/vendors/nvidia/libcuda.so.1
/usr/lib32/OpenCL/vendors/nvidia/libcuda.so.290.10
/usr/lib32/OpenCL/vendors/nvidia/libnvidia-compiler.so
/usr/lib32/OpenCL/vendors/nvidia/libnvidia-compiler.so.1
/usr/lib32/OpenCL/vendors/nvidia/libnvidia-compiler.so.290.10
/usr/lib64/OpenCL
/usr/lib64/OpenCL/vendors
/usr/lib64/OpenCL/vendors/nvidia
/usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so
/usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so.1
/usr/lib64/OpenCL/vendors/nvidia/libOpenCL.so.1.0.0
/usr/lib64/OpenCL/vendors/nvidia/libcuda.so
/usr/lib64/OpenCL/vendors/nvidia/libcuda.so.1
/usr/lib64/OpenCL/vendors/nvidia/libcuda.so.290.10
/usr/lib64/OpenCL/vendors/nvidia/libnvidia-compiler.so
/usr/lib64/OpenCL/vendors/nvidia/libnvidia-compiler.so.1
/usr/lib64/OpenCL/vendors/nvidia/libnvidia-compiler.so.290.10
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-14 18:18:24 UTC
(In reply to comment #4)
> x11-drivers/nvidia-drivers-290.10-r1
> app-admin/eselect-opencl-0.0.2
> 
> "Does the failure still occur after running "eselect opencl set nvidia"?"
> Yes
> 
> ls -l /usr/lib*/libOpenCL*
> lrwxrwxrwx 1 root root 14 Feb 14 13:56 /usr/lib32/libOpenCL.so ->
> libOpenCL.so.1
> lrwxrwxrwx 1 root root 14 Feb 14 13:56 /usr/lib64/libOpenCL.so ->
> libOpenCL.so.1
> lrwxrwxrwx 1 root root 14 Feb 14 13:56 /usr/lib/libOpenCL.so -> libOpenCL.so.1
> Blinking, so I guess not found.

This problem was almost certainly caused by using a buggy pre-release of eselect-opencl taken from some random overlay.

After you do the following:
* rm /usr/lib*/libOpenCL.so
* update to eselect-opencl-1.1.0 from portage
* eselect opencl set nvidia
it should all work :)

In the future, I recommend using "emerge --deep" to tell portage to update the entire dependency tree of whatever you are emerging (eselect-opencl is an indirect dependency of wine). See the portage man page for more information.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-15 20:21:36 UTC
*** Bug 403947 has been marked as a duplicate of this bug. ***
Comment 7 Craig Andrews gentoo-dev 2012-02-15 20:30:55 UTC
I'm not using nvidia drivers - I'm using Intel drivers. I'm also not using any pre-release overlays, and today was the first time eselect-opencl was installed on my system.

# eselect opencl list
Available OpenCL implementations:
  [1]   intel *


# emerge eselect-opencl virtual/opencl dev-util/intel-ocl-sdk -pv
[ebuild   R    ] app-admin/eselect-opencl-1.1.0  0 kB
[ebuild   R    ] virtual/opencl-0-r1  VIDEO_CARDS="-fglrx -nvidia" 0 kB
[ebuild   R    ] dev-util/intel-ocl-sdk-1.5  0 kB
Comment 8 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-02-15 21:08:34 UTC
(In reply to comment #7)
> I'm not using nvidia drivers - I'm using Intel drivers. I'm also not using any
> pre-release overlays, and today was the first time eselect-opencl was installed
> on my system.
> 
> # eselect opencl list
> Available OpenCL implementations:
>   [1]   intel *
> 
> 
> # emerge eselect-opencl virtual/opencl dev-util/intel-ocl-sdk -pv
> [ebuild   R    ] app-admin/eselect-opencl-1.1.0  0 kB
> [ebuild   R    ] virtual/opencl-0-r1  VIDEO_CARDS="-fglrx -nvidia" 0 kB
> [ebuild   R    ] dev-util/intel-ocl-sdk-1.5  0 kB

Then #403947 is not a duplicate of this bug, so I have confirmed and reopened it.
Comment 9 DrSlony 2012-02-20 14:20:25 UTC
I do run emerge -NuDv world once a week.

I updated eselect-opencl to 1.1.0 and opencl to 0-r1 and it works fine now.