Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536458 - media-libs/mesa-10.4.2 configure: WARNING: unrecognized options: --with-opencl-libdir
Summary: media-libs/mesa-10.4.2 configure: WARNING: unrecognized options: --with-openc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-13 08:58 UTC by Ulrich Müller
Modified: 2015-02-10 19:49 UTC (History)
2 users (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 Ulrich Müller gentoo-dev 2015-01-13 08:58:14 UTC
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib32 --enable-dri --enable-glx --enable-shared-glapi --enable-texture-float --disable-debug --enable-dri3 --enable-egl --enable-gbm --disable-gles1 --disable-gles2 --enable-glx-tls --disable-osmesa --disable-sysfs --enable-llvm-shared-libs --with-dri-drivers=,swrast,i965 --with-gallium-drivers=,swrast PYTHON2=/usr/bin/python2.7 --with-egl-platforms=x11,drm --enable-gallium-llvm --disable-omx --disable-r600-llvm-compiler --disable-va --disable-vdpau --disable-xa --enable-xvmc --enable-opencl --with-opencl-libdir=/usr/lib32/OpenCL/vendors/mesa --with-clang-libdir=/usr/lib
configure: WARNING: unrecognized options: --with-opencl-libdir

See attachment 393820 [details] for build.log.
See bug 536456 for emerge --info.
Comment 1 jospezial 2015-01-13 11:31:23 UTC
https://bugs.gentoo.org/show_bug.cgi?id=532732#c6



http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e6fc0647a93f7091068d1a75ba5948b9bff5da3


configure: remove non-functional --with-opencl-libdir
The parameter used to control where the gallium pipe-drivers were installed, but was broken since commit 45270fb0fd1abd7619933c2845f9dc74cdfbe6fd Author: Matt Turner <mattst88@gmail.com> Date: Thu Sep 13 10:45:01 2012 -0700 targets/pipe-loader: Convert to automake Considering that nowadays the pipe-drivers can be used by more than just the opencl target, even fixing this up will not be the best idea.

It seems Matt has forgotten that.

@Matt:
could we have "d3d9" USE flag (nine)?

 diff -u /usr/portage/media-libs/mesa/mesa-10.4.2.ebuild  /usr/local/portage/media-libs/mesa/mesa-10.4.2.ebuild  |grep d3d9
+       bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm +nptl
+       d3d9? ( gallium dri3 )
+                       $(use_enable d3d9 nine)
+               $(use_enable d3d9 nine) \


see https://bugs.gentoo.org/show_bug.cgi?id=532732#c4
Comment 2 Matt Turner gentoo-dev 2015-01-13 22:50:24 UTC
Thanks, fixed in the x11-overlay with

commit d1cc1d06f404f9fef6844a61843d5004ca4d9e47
Author: Matt Turner <mattst88@gmail.com>
Date:   Tue Jan 13 14:37:46 2015 -0800

    media-libs/mesa: Drop usage of --with-opencl-libdir.
    
    Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=536458

and in gentoo-x86 with

  13 Jan 2015; Matt Turner <mattst88@gentoo.org> mesa-10.4.2.ebuild:
  Drop usage of --with-opencl-libdir, bug 536458.


I'm not entirely sure that this is the correct fix, so please let me know.
Comment 3 Dennis Schridde 2015-02-10 19:41:04 UTC
Still affects media-libs/mesa-10.4.4:

>>> Completed installing mesa-10.4.4 into /var/tmp/portage/media-libs/mesa-10.4.4/image/

 * QA Notice: Unrecognized configure options:
 * 
 *      --with-opencl-libdir
 *      --with-opencl-libdir
 *      --with-opencl-libdir
 *      --with-opencl-libdir

Please reopen!
Comment 4 Matt Turner gentoo-dev 2015-02-10 19:46:27 UTC
10.4.4 was copied from an old ebuild. It's been since updated. emerge --sync again.
Comment 5 Matt Turner gentoo-dev 2015-02-10 19:49:29 UTC
Oh, it actually hadn't been fixed in 10.4.4. I've done that now.