Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522190 - dev-python/pyopencl - .../temp/environment: line 3537: : command not found
Summary: dev-python/pyopencl - .../temp/environment: line 3537: : command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 609564 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-09-05 09:40 UTC by Marek
Modified: 2017-07-14 18:19 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge--info,5.42 KB, text/plain)
2014-09-05 09:40 UTC, Marek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek 2014-09-05 09:40:15 UTC
Created attachment 384222 [details]
emerge --info

pyopencl-2014.1 does build and install, but use flags (ie opengl) has no impact on the build

ebuild /usr/portage/dev-python/pyopencl/pyopencl-2014.1.ebuild configure

results in :

 * pyopencl-2014.1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
 * checking ebuild checksums ;-) ... [ ok ]
 * checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking pyopencl-2014.1.tar.gz to /var/tmp/portage/dev-python/pyopencl-2014.1/work
>>> Source unpacked in /var/tmp/portage/dev-python/pyopencl-2014.1/work
>>> Preparing source in /var/tmp/portage/dev-python/pyopencl-2014.1/work/pyopencl-2014.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/pyopencl-2014.1/work/pyopencl-2014.1 ...
/var/tmp/portage/dev-python/pyopencl-2014.1/temp/environment: line 3537: : command not found

Changing line 34 of the ebuild
from: "${PYTHON}" configure.py \
to ${PYTHON} ./configure.py

makes it run the configure.py script (and sets --cl-enable-gl for opengl)

BUT:

link phase fails with 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lboost_python--mt

(that is in the line 36 of the ebuild 
--boost-python-libname=boost_python-${PYTHON_ABI}-mt \
${PYTHON_ABI} evaluates to empty ??) 
I didn't know how to correct this...
Comment 1 alfwue 2017-02-16 23:13:33 UTC
*** Bug 609564 has been marked as a duplicate of this bug. ***
Comment 2 Pacho Ramos gentoo-dev 2017-07-14 15:23:52 UTC
please retry with 2016.1
Comment 3 Marek 2017-07-14 18:19:28 UTC
both 2014.1 and 2016.1 now build fine;