Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440658 - dev-util/intel-ocl-sdk should install boost libraries
Summary: dev-util/intel-ocl-sdk should install boost libraries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Kacper Kowalik (Xarthisius) (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-10-31 20:35 UTC by Neil Dökkalfar
Modified: 2012-11-01 09:03 UTC (History)
0 users

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


Attachments
Proposed updated ebuild (intel-ocl-sdk-2.0.31360.ebuild,1.53 KB, text/plain)
2012-10-31 20:44 UTC, Neil Dökkalfar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Dökkalfar 2012-10-31 20:35:21 UTC
Since boost libraries have been unslotted, dev-util/intel-ocl-sdk[tools] cannot depend on dev-libs/boost:1.46.

A possible fix would be to copy the ./usr/lib64/OpenCL/vendors/intel/libboost_* files into destdir, (with a link for the duplicates), and remove dependency on devboost:1.46.

Reproducible: Always

Steps to Reproduce:
1. USE=tools emerge -av intel-ocl-sdk

Actual Results:  
!!! The following update has been skipped due to unsatisfied dependencies:

dev-util/intel-ocl-sdk:0

!!! All ebuilds that could satisfy "dev-libs/boost:1.46" have been masked.
Comment 1 Neil Dökkalfar 2012-10-31 20:44:08 UTC
Created attachment 327888 [details]
Proposed updated ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-31 20:47:02 UTC
Comment on attachment 327888 [details]
Proposed updated ebuild

--- intel-ocl-sdk-2.0.31360.ebuild      2012-10-03 21:17:05.000000000 +0200
+++ -   2012-10-31 21:46:55.629609075 +0100
@@ -23,7 +23,6 @@
        dev-cpp/tbb
        sys-process/numactl
        tools? (
-               dev-libs/boost:1.46
                sys-devel/llvm
                >=virtual/jre-1.6
        )"
@@ -45,11 +44,12 @@
 src_prepare() {
        # Remove unnecessary and bundled stuff
        rm -rf ${INTEL_CL}/{docs,version.txt,llc}
-       rm -f ${INTEL_CL}/libboost*
+       rm -f ${INTEL_CL}/libboost*.so
        rm -f ${INTEL_CL}/libtbb*
        if ! use tools; then
                rm -rf usr/bin
                rm -f ${INTEL_CL}/{ioc64,ioc.jar}
+               rm -f ${INTEL_CL}/libboost*
        fi
 }
 
@@ -64,14 +64,6 @@
        dosym libOpenCL.so.1 ${INTEL_CL}/libOpenCL.so
 
        doins ${INTEL_CL}/*
-
-       # Think of better way to do that...
-       if use tools; then
-               dosym /usr/$(get_libdir)/libboost_filesystem-1_46.so.1.46.1 \
-                       ${INTEL_CL}/libboost_filesystem.so.1.46.1
-               dosym /usr/$(get_libdir)/libboost_system-1_46.so.1.46.1 \
-                       ${INTEL_CL}/libboost_system.so.1.46.1
-       fi
 }
 
 pkg_postinst() {
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-11-01 09:03:31 UTC
+  01 Nov 2012; Kacper Kowalik <xarthisius@gentoo.org> -intel-ocl-sdk-1.5.ebuild,
+  intel-ocl-sdk-2.0.31360.ebuild:
+  Use bundled boost due to unslotting. Fixes bug 440658 by
+  Neil Dökkalfar <neil@next-touch.com>. Drop old