Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505404 - dev-python/cvxopt CC=icc - /usr/lib64/python3.3/distutils/unixccompiler.py, line 209, in library_dir_option, TypeError: Can't convert 'tuple' object to str implicitly
Summary: dev-python/cvxopt CC=icc - /usr/lib64/python3.3/distutils/unixccompiler.py, l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-23 08:15 UTC by Abulhair Saparov
Modified: 2014-03-26 07:34 UTC (History)
0 users

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


Attachments
build.log (build.log,8.23 KB, text/plain)
2014-03-23 08:15 UTC, Abulhair Saparov
Details
build-python3_3.log (build-python3_3.log,7.30 KB, text/plain)
2014-03-23 08:16 UTC, Abulhair Saparov
Details
output of emerge --info '=dev-python/cvxopt-1.1.6::gentoo' (emerge_info,5.66 KB, text/plain)
2014-03-23 08:16 UTC, Abulhair Saparov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Abulhair Saparov 2014-03-23 08:15:43 UTC
Created attachment 373290 [details]
build.log

Emerge fails to install cvxopt due to a python error in setup. I downloaded cvxopt separately and manual builds seem to succeed *unless I remove the include directories*.
Comment 1 Abulhair Saparov 2014-03-23 08:16:18 UTC
Created attachment 373292 [details]
build-python3_3.log
Comment 2 Abulhair Saparov 2014-03-23 08:16:45 UTC
Created attachment 373294 [details]
output of emerge --info '=dev-python/cvxopt-1.1.6::gentoo'
Comment 3 Abulhair Saparov 2014-03-23 08:23:55 UTC
Actually, I found the problem is due to the fact that I am using intel mkl, and so BLAS_LIB_DIR in setup.py becomes a tuple of two strings. I was able to get everything to work after changing

BLAS_LIB_DIR = '/opt/intel/composerxe-2013.1.106/mkl/lib/intel64','/opt/intel/composerxe-2013.1.106/compiler/lib/intel64'

to

BLAS_LIB_DIR = '/opt/intel/composerxe-2013.1.106/mkl/lib/intel64'
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2014-03-25 01:18:15 UTC
feel free to re-open if not fixed

+*cvxopt-1.1.6-r1 (25 Mar 2014)
+
+  25 Mar 2014; Sébastien Fabbro <bicatali@gentoo.org> +cvxopt-1.1.6-r1.ebuild,
+  +files/cvxopt-1.1.6-glpk449.patch:
+  Fixes for glpk-4.53 (bug #501320) and library dupes (bug #505404). Added more
+  EAPI5 changes
+
Comment 5 Abulhair Saparov 2014-03-25 07:44:21 UTC
Didn't seem to work for me. I still see the following in /var/tmp/portage/dev-python/cvxopt-1.1.6-r1/work/cvxopt-1.1.6/setup.py:

BLAS_LIB_DIR = '/opt/intel/composerxe-2013.1.106/mkl/lib/intel64','/opt/intel/composerxe-2013.1.106/compiler/lib/intel64'
Comment 6 Sébastien Fabbro (RETIRED) gentoo-dev 2014-03-26 00:04:17 UTC
+*cvxopt-1.1.6-r2 (26 Mar 2014)
+
+  26 Mar 2014; Sébastien Fabbro <bicatali@gentoo.org> +cvxopt-1.1.6-r2.ebuild,
+  -cvxopt-1.1.6.ebuild, files/cvxopt-1.1.6-setup.patch:
+  Make it work for multiple library directories and more generic blas/lapack
+  library dependencies
+
Comment 7 Abulhair Saparov 2014-03-26 07:34:40 UTC
It works now. Thank you!!!