public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] Build of cxvopt against acml not working
       [not found] <52D45FFD.4090104@yahoo.de>
@ 2014-01-13 22:05 ` Bastian Löffler
  2014-01-13 22:43   ` François Bissey
  0 siblings, 1 reply; 10+ messages in thread
From: Bastian Löffler @ 2014-01-13 22:05 UTC (permalink / raw
  To: gentoo-science


Hi all,

I have troube building cvxopt against acml:

^[[32;01m * ^[[39;49;00mPackage:    dev-python/cvxopt-1.1.6

^[[32;01m * ^[[39;49;00mRepository: gentoo

^[[32;01m * ^[[39;49;00mMaintainer: sci-mathematics@gentoo.org

^[[32;01m * ^[[39;49;00mUSE:        amd64 doc dsdp elibc_glibc examples glpk kernel_linux python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 userland_GNU

^[[32;01m * ^[[39;49;00mFEATURES:   preserve-libs sandbox userpriv usersandbox

>>> Unpacking source...

>>> Unpacking cvxopt-1.1.6.tar.gz to /var/tmp/portage/dev-python/cvxopt-1.1.6/work

>>> Source unpacked in /var/tmp/portage/dev-python/cvxopt-1.1.6/work

>>> Preparing source in /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6 ...

 ^[[32;01m*^[[0m Applying cvxopt-1.1.6-setup.patch ...

^[[A^[[129C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m

>>> Source prepared.

>>> Configuring source in /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6 ...

>>> Source configured.

>>> Compiling source in /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6 ...

 ^[[32;01m*^[[0m python3_2: running distutils-r1_run_phase distutils-r1_python_compile

 ^[[32;01m*^[[0m python3_3: running distutils-r1_run_phase distutils-r1_python_compile

 ^[[32;01m*^[[0m python2_7: running distutils-r1_run_phase distutils-r1_python_compile

/usr/bin/python3.2 setup.py build

/usr/bin/python3.3 setup.py build

/usr/bin/python2.7 setup.py build

running build

running build_py

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib/cvxopt

copying src/python/misc.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib/cvxopt

copying src/python/modeling.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib/cvxopt

copying src/python/info.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib/cvxopt

copying src/python/coneprog.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib/cvxopt

copying src/python/printing.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib/cvxopt

copying src/python/cvxprog.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib/cvxopt

copying src/python/__init__.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib/cvxopt

copying src/python/msk.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib/cvxopt

copying src/python/solvers.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib/cvxopt

warning: build_py: byte-compiling is disabled, skipping.

running build_ext

building 'glpk' extension

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/temp.linux-x86_64-2.7

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/temp.linux-x86_64-2.7/src

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/temp.linux-x86_64-2.7/src/C

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python2.7 -c src/C/glpk.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/temp.linux-x86_64-2.7/src/C/glpk.o

running build

running build_py

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib/cvxopt

copying src/python/misc.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib/cvxopt

copying src/python/modeling.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib/cvxopt

copying src/python/info.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib/cvxopt

copying src/python/coneprog.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib/cvxopt

copying src/python/printing.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib/cvxopt

copying src/python/cvxprog.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib/cvxopt

copying src/python/__init__.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib/cvxopt

copying src/python/msk.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib/cvxopt

copying src/python/solvers.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib/cvxopt

warning: build_py: byte-compiling is disabled, skipping.

running build_ext

running build

running build_py

building 'glpk' extension

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/temp.linux-x86_64-3.2

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/temp.linux-x86_64-3.2/src

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/temp.linux-x86_64-3.2/src/C

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python3.2 -c src/C/glpk.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/temp.linux-x86_64-3.2/src/C/glpk.o

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib/cvxopt

copying src/python/misc.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib/cvxopt

copying src/python/modeling.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib/cvxopt

copying src/python/info.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib/cvxopt

copying src/python/coneprog.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib/cvxopt

copying src/python/printing.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib/cvxopt

copying src/python/cvxprog.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib/cvxopt

copying src/python/__init__.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib/cvxopt

copying src/python/msk.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib/cvxopt

copying src/python/solvers.py -> /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib/cvxopt

warning: build_py: byte-compiling is disabled, skipping.

running build_ext

building 'glpk' extension

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/temp.linux-x86_64-3.3

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/temp.linux-x86_64-3.3/src

creating /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/temp.linux-x86_64-3.3/src/C

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python3.3 -c src/C/glpk.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/temp.linux-x86_64-3.3/src/C/glpk.o

x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. -Wl,-O1 -Wl,--as-needed -march=k8 -O2 -pipe /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/temp.linux-x86_64-2.7/src/C/glpk.o -L -L/usr/lib64 -lglpk -lpython2.7 -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib/cvxopt/glpk.so

building 'dsdp' extension

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python2.7 -c src/C/dsdp.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/temp.linux-x86_64-2.7/src/C/dsdp.o

x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -march=k8 -O2 -pipe /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/temp.linux-x86_64-3.3/src/C/glpk.o -L -L/usr/lib64 -lglpk -lpython3.3 -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib/cvxopt/glpk.cpython-33.so

x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -march=k8 -O2 -pipe /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/temp.linux-x86_64-3.2/src/C/glpk.o -L -L/usr/lib64 -lglpk -lpython3.2 -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib/cvxopt/glpk.cpython-32.so

building 'dsdp' extension

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python3.3 -c src/C/dsdp.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/temp.linux-x86_64-3.3/src/C/dsdp.o

building 'dsdp' extension

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python3.2 -c src/C/dsdp.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/temp.linux-x86_64-3.2/src/C/dsdp.o

x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. -Wl,-O1 -Wl,--as-needed -march=k8 -O2 -pipe /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/temp.linux-x86_64-2.7/src/C/dsdp.o -L -L/usr/lib64 -ldsdp -lpython2.7 -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib/cvxopt/dsdp.so

x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -march=k8 -O2 -pipe /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/temp.linux-x86_64-3.2/src/C/dsdp.o -L -L/usr/lib64 -ldsdp -lpython3.2 -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib/cvxopt/dsdp.cpython-32.so

x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -march=k8 -O2 -pipe /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/temp.linux-x86_64-3.3/src/C/dsdp.o -L -L/usr/lib64 -ldsdp -lpython3.3 -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib/cvxopt/dsdp.cpython-33.so

building 'base' extension

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python2.7 -c src/C/base.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/temp.linux-x86_64-2.7/src/C/base.o

building 'base' extension

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python3.2 -c src/C/base.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/temp.linux-x86_64-3.2/src/C/base.o

building 'base' extension

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python3.3 -c src/C/base.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/temp.linux-x86_64-3.3/src/C/base.o

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python2.7 -c src/C/dense.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/temp.linux-x86_64-2.7/src/C/dense.o

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python3.2 -c src/C/dense.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/temp.linux-x86_64-3.2/src/C/dense.o

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python3.3 -c src/C/dense.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/temp.linux-x86_64-3.3/src/C/dense.o

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python2.7 -c src/C/sparse.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/temp.linux-x86_64-2.7/src/C/sparse.o

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python3.3 -c src/C/sparse.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/temp.linux-x86_64-3.3/src/C/sparse.o

x86_64-pc-linux-gnu-gcc -pthread -march=k8 -O2 -pipe -fPIC -I/usr/include/python3.2 -c src/C/sparse.c -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/temp.linux-x86_64-3.2/src/C/sparse.o

x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -L. -Wl,-O1 -Wl,--as-needed -march=k8 -O2 -pipe /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/temp.linux-x86_64-2.7/src/C/base.o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/temp.linux-x86_64-2.7/src/C/dense.o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/temp.linux-x86_64-2.7/src/C/sparse.o -L -L/usr/lib64 -lm -lacml -lpython2.7 -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python2_7/lib/cvxopt/base.so

/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lacml

collect2: error: ld returned 1 exit status

error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

 ^[[31;01m*^[[0m ERROR: dev-python/cvxopt-1.1.6::gentoo failed (compile phase):

 ^[[31;01m*^[[0m   (no error message)

 ^[[31;01m*^[[0m 

 ^[[31;01m*^[[0m Call stack:

 ^[[31;01m*^[[0m     ebuild.sh, line   93:  Called src_compile

 ^[[31;01m*^[[0m   environment, line 3692:  Called distutils-r1_src_compile

 ^[[31;01m*^[[0m   environment, line 1079:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m   environment, line  297:  Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m   environment, line 3528:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m   environment, line 2744:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'

x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -march=k8 -O2 -pipe /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/temp.linux-x86_64-3.3/src/C/base.o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/temp.linux-x86_64-3.3/src/C/dense.o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/temp.linux-x86_64-3.3/src/C/sparse.o -L -L/usr/lib64 -lm -lacml -lpython3.3 -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_3/lib/cvxopt/base.cpython-33.so

 ^[[31;01m*^[[0m   environment, line 2692:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m   environment, line 2690:  Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'

/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lacml

collect2: error: ld returned 1 exit status

error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

 ^[[31;01m*^[[0m   environment, line 2735:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m ERROR: dev-python/cvxopt-1.1.6::gentoo failed (compile phase):

 ^[[31;01m*^[[0m   (no error message)

 ^[[31;01m*^[[0m   environment, line  705:  Called distutils-r1_run_phase 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m 

 ^[[31;01m*^[[0m   environment, line 1068:  Called distutils-r1_python_compile

 ^[[31;01m*^[[0m Call stack:

 ^[[31;01m*^[[0m   environment, line  952:  Called esetup.py 'build'

 ^[[31;01m*^[[0m     ebuild.sh, line   93:  Called src_compile

 ^[[31;01m*^[[0m   environment, line 1872:  Called die

 ^[[31;01m*^[[0m The specific snippet of code:

 ^[[31;01m*^[[0m   environment, line 3692:  Called distutils-r1_src_compile

x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -march=k8 -O2 -pipe /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/temp.linux-x86_64-3.2/src/C/base.o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/temp.linux-x86_64-3.2/src/C/dense.o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/temp.linux-x86_64-3.2/src/C/sparse.o -L -L/usr/lib64 -lm -lacml -lpython3.2 -o /var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6-python3_2/lib/cvxopt/base.cpython-32.so

 ^[[31;01m*^[[0m   environment, line 1079:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'

/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lacml

collect2: error: ld returned 1 exit status

 ^[[31;01m*^[[0m   environment, line  297:  Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'

error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

 ^[[31;01m*^[[0m       "${@}" || die

 ^[[31;01m*^[[0m   environment, line 3528:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m 

 ^[[31;01m*^[[0m ERROR: dev-python/cvxopt-1.1.6::gentoo failed (compile phase):

 ^[[31;01m*^[[0m   environment, line 2744:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=dev-python/cvxopt-1.1.6::gentoo'`,

 ^[[31;01m*^[[0m   (no error message)

 ^[[31;01m*^[[0m 

 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=dev-python/cvxopt-1.1.6::gentoo'`.

 ^[[31;01m*^[[0m Call stack:

 ^[[31;01m*^[[0m   environment, line 2692:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/dev-python/cvxopt-1.1.6/temp/build.log'.

 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/cvxopt-1.1.6/temp/environment'.

 ^[[31;01m*^[[0m     ebuild.sh, line   93:  Called src_compile

 ^[[31;01m*^[[0m   environment, line 2690:  Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6'

 ^[[31;01m*^[[0m S: '/var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6'

 ^[[31;01m*^[[0m   environment, line 2735:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m   environment, line 3692:  Called distutils-r1_src_compile

 ^[[31;01m*^[[0m   environment, line  705:  Called distutils-r1_run_phase 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m   environment, line 1079:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m   environment, line 1068:  Called distutils-r1_python_compile

 ^[[31;01m*^[[0m   environment, line  297:  Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m   environment, line  952:  Called esetup.py 'build'

 ^[[31;01m*^[[0m   environment, line 3528:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m   environment, line 1872:  Called die

 ^[[31;01m*^[[0m   environment, line 2744:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m The specific snippet of code:

 ^[[31;01m*^[[0m   environment, line 2692:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m   environment, line 2690:  Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m   environment, line 2735:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m       "${@}" || die

 ^[[31;01m*^[[0m 

 ^[[31;01m*^[[0m   environment, line  705:  Called distutils-r1_run_phase 'distutils-r1_python_compile'

 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=dev-python/cvxopt-1.1.6::gentoo'`,

 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=dev-python/cvxopt-1.1.6::gentoo'`.

 ^[[31;01m*^[[0m   environment, line 1068:  Called distutils-r1_python_compile

 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/dev-python/cvxopt-1.1.6/temp/build.log'.

 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/cvxopt-1.1.6/temp/environment'.

 ^[[31;01m*^[[0m   environment, line  952:  Called esetup.py 'build'

 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6'

 ^[[31;01m*^[[0m S: '/var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6'

 ^[[31;01m*^[[0m   environment, line 1872:  Called die

 ^[[31;01m*^[[0m The specific snippet of code:

 ^[[31;01m*^[[0m       "${@}" || die

 ^[[31;01m*^[[0m 

 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=dev-python/cvxopt-1.1.6::gentoo'`,

 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=dev-python/cvxopt-1.1.6::gentoo'`.

 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/dev-python/cvxopt-1.1.6/temp/build.log'.

 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/cvxopt-1.1.6/temp/environment'.

 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6'

 ^[[31;01m*^[[0m S: '/var/tmp/portage/dev-python/cvxopt-1.1.6/work/cvxopt-1.1.6'

/usr/lib64/portage/bin/isolated-functions.sh: line 219: kill: (22995) - No such process

/usr/lib64/portage/bin/isolated-functions.sh: line 219: kill: (22995) - No such process

Strange: libacml.so live in /usr/lib and /usr/lib64 .... Ideas?





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-science] Build of cxvopt against acml not working
  2014-01-13 22:05 ` Bastian Löffler
@ 2014-01-13 22:43   ` François Bissey
  0 siblings, 0 replies; 10+ messages in thread
From: François Bissey @ 2014-01-13 22:43 UTC (permalink / raw
  To: gentoo-science

On 2014-01-14 11:05, Bastian Löffler wrote:
> Hi all,
> 
........
> 
> Strange: libacml.so live in /usr/lib and /usr/lib64 .... Ideas?

What does /usr/lib64/libacml.so points to? Since acml is a binary 
package it shouldn't live
in /usr/lib{64} but somewhere in /opt. My guess is that you are not 
using acml from the science
overlay. I am not even sure you have it from the main tree.

Francois



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-science] Build of cxvopt against acml not working
       [not found] <52D46D28.6070707@arcor.de>
@ 2014-01-13 22:49 ` Bastian Löffler
  2014-01-13 22:58   ` François Bissey
  0 siblings, 1 reply; 10+ messages in thread
From: Bastian Löffler @ 2014-01-13 22:49 UTC (permalink / raw
  To: gentoo-science



Hi

ls -la /usr/lib64/ | grep libacml.so
lrwxrwxrwx   1 root root       40 19. Mai 2013  libacml.so ->
/opt/acml5.3.0/gfortran64/lib/libacml.so

It is from the science overlay it does not exist in the main tree:
 emerge -av acml

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   Rf   ] sci-libs/acml-5.3.1::science  USE="doc examples
gfortran openmp -fma -ifort -int64 -open64 -pgi -static-libs {-test}" 0 kB


Am 13.01.2014 23:43, schrieb François Bissey:
> On 2014-01-14 11:05, Bastian Löffler wrote:
>> Hi all,
>>
> ........
>>
>> Strange: libacml.so live in /usr/lib and /usr/lib64 .... Ideas?
>
> What does /usr/lib64/libacml.so points to? Since acml is a binary
> package it shouldn't live
> in /usr/lib{64} but somewhere in /opt. My guess is that you are not
> using acml from the science
> overlay. I am not even sure you have it from the main tree.
>
> Francois
>
>
>





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-science] Build of cxvopt against acml not working
  2014-01-13 22:49 ` [gentoo-science] Build of cxvopt against acml not working Bastian Löffler
@ 2014-01-13 22:58   ` François Bissey
  2014-01-13 23:12     ` Bastian Löffler
  0 siblings, 1 reply; 10+ messages in thread
From: François Bissey @ 2014-01-13 22:58 UTC (permalink / raw
  To: gentoo-science

On 2014-01-14 11:49, Bastian Löffler wrote:
> Hi
> 
> ls -la /usr/lib64/ | grep libacml.so
> lrwxrwxrwx   1 root root       40 19. Mai 2013  libacml.so ->
> /opt/acml5.3.0/gfortran64/lib/libacml.so
> 
> It is from the science overlay it does not exist in the main tree:
>  emerge -av acml
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   Rf   ] sci-libs/acml-5.3.1::science  USE="doc examples
> gfortran openmp -fma -ifort -int64 -open64 -pgi -static-libs {-test}" 0 
> kB
> 
> 
OK I just find it bizarre that there is a link in /usr/lib64, I don't 
have it installed
myself. So I am guessing
eselect blas list
will show acml as being selected and
eselect lapack list
will show the same.
Is
file /opt/acml5.3.0/gfortran64/lib/libacml.so
reporting a 64bit shared object as it should?
And finally what does
pkg-config lapack --libs
says?

Francois


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-science] Build of cxvopt against acml not working
  2014-01-13 22:58   ` François Bissey
@ 2014-01-13 23:12     ` Bastian Löffler
  2014-01-13 23:18       ` François Bissey
  0 siblings, 1 reply; 10+ messages in thread
From: Bastian Löffler @ 2014-01-13 23:12 UTC (permalink / raw
  To: gentoo-science

Well ....

I found that the link was wrong (old version) it was pointing to
nowhere. I removed it. Now i have no link in /usr/lib{64} anymore:

file /opt/acml5.3.1/gfortran64/lib/libacml.so
/opt/acml5.3.1/gfortran64/lib/libacml.so: ELF 64-bit LSB shared object,
x86-64, version 1 (SYSV), dynamically linked, not stripped

pkg-config lapack --libs
-L//opt/acml5.3.1/gfortran64/lib -lacml

And yes eselect shows acml.


Am 13.01.2014 23:58, schrieb François Bissey:
> On 2014-01-14 11:49, Bastian Löffler wrote:
>> Hi
>>
>> ls -la /usr/lib64/ | grep libacml.so
>> lrwxrwxrwx   1 root root       40 19. Mai 2013  libacml.so ->
>> /opt/acml5.3.0/gfortran64/lib/libacml.so
>>
>> It is from the science overlay it does not exist in the main tree:
>>  emerge -av acml
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies... done!
>> [ebuild   Rf   ] sci-libs/acml-5.3.1::science  USE="doc examples
>> gfortran openmp -fma -ifort -int64 -open64 -pgi -static-libs {-test}"
>> 0 kB
>>
>>
> OK I just find it bizarre that there is a link in /usr/lib64, I don't
> have it installed
> myself. So I am guessing
> eselect blas list
> will show acml as being selected and
> eselect lapack list
> will show the same.
> Is
> file /opt/acml5.3.0/gfortran64/lib/libacml.so
> reporting a 64bit shared object as it should?
> And finally what does
> pkg-config lapack --libs
> says?
>
> Francois
>
>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-science] Build of cxvopt against acml not working
  2014-01-13 23:12     ` Bastian Löffler
@ 2014-01-13 23:18       ` François Bissey
  2014-01-13 23:30         ` Bastian Löffler
  0 siblings, 1 reply; 10+ messages in thread
From: François Bissey @ 2014-01-13 23:18 UTC (permalink / raw
  To: gentoo-science

On 2014-01-14 12:12, Bastian Löffler wrote:
> Well ....
> 
> I found that the link was wrong (old version) it was pointing to
> nowhere. I removed it. Now i have no link in /usr/lib{64} anymore:
> 
> file /opt/acml5.3.1/gfortran64/lib/libacml.so
> /opt/acml5.3.1/gfortran64/lib/libacml.so: ELF 64-bit LSB shared object,
> x86-64, version 1 (SYSV), dynamically linked, not stripped
> 
> pkg-config lapack --libs
> -L//opt/acml5.3.1/gfortran64/lib -lacml
> 
The link may have been the cause of trouble. Your compile lines of 
cvxopt
didn't include "-L//opt/acml5.3.1/gfortran64/lib" so you were compiling 
against
that dead link.
Hopefully now that you have removed this deadlink things will work.
If not we have done something wrong in cvxopt.

Francois


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-science] Build of cxvopt against acml not working
  2014-01-13 23:18       ` François Bissey
@ 2014-01-13 23:30         ` Bastian Löffler
  2014-01-13 23:41           ` François Bissey
  2014-01-14  0:09           ` François Bissey
  0 siblings, 2 replies; 10+ messages in thread
From: Bastian Löffler @ 2014-01-13 23:30 UTC (permalink / raw
  To: gentoo-science

No it does not work .... Do I have to do something after removing the link?

Am 14.01.2014 00:18, schrieb François Bissey:
> On 2014-01-14 12:12, Bastian Löffler wrote:
>> Well ....
>>
>> I found that the link was wrong (old version) it was pointing to
>> nowhere. I removed it. Now i have no link in /usr/lib{64} anymore:
>>
>> file /opt/acml5.3.1/gfortran64/lib/libacml.so
>> /opt/acml5.3.1/gfortran64/lib/libacml.so: ELF 64-bit LSB shared object,
>> x86-64, version 1 (SYSV), dynamically linked, not stripped
>>
>> pkg-config lapack --libs
>> -L//opt/acml5.3.1/gfortran64/lib -lacml
>>
> The link may have been the cause of trouble. Your compile lines of cvxopt
> didn't include "-L//opt/acml5.3.1/gfortran64/lib" so you were
> compiling against
> that dead link.
> Hopefully now that you have removed this deadlink things will work.
> If not we have done something wrong in cvxopt.
>
> Francois
>
>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-science] Build of cxvopt against acml not working
  2014-01-13 23:30         ` Bastian Löffler
@ 2014-01-13 23:41           ` François Bissey
  2014-01-14  0:09           ` François Bissey
  1 sibling, 0 replies; 10+ messages in thread
From: François Bissey @ 2014-01-13 23:41 UTC (permalink / raw
  To: gentoo-science

On 2014-01-14 12:30, Bastian Löffler wrote:
> No it does not work .... Do I have to do something after removing the 
> link?
> 
OK I checked the ebuild. This is a bug I think because the prepare phase
doesn't deal with the case where the library is not located under
${EPREFIX}/usr/lib{64}, I am guessing mkl must have the same problem.
Thinking about a solution right now.

Francois


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-science] Build of cxvopt against acml not working
  2014-01-13 23:30         ` Bastian Löffler
  2014-01-13 23:41           ` François Bissey
@ 2014-01-14  0:09           ` François Bissey
  2014-01-15 10:08             ` François Bissey
  1 sibling, 1 reply; 10+ messages in thread
From: François Bissey @ 2014-01-14  0:09 UTC (permalink / raw
  To: gentoo-science

On 2014-01-14 12:30, Bastian Löffler wrote:
> No it does not work .... Do I have to do something after removing the 
> link?
> 
Can you post
pkg-config lapack --libs-only-L
please.

Francois


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-science] Build of cxvopt against acml not working
  2014-01-14  0:09           ` François Bissey
@ 2014-01-15 10:08             ` François Bissey
  0 siblings, 0 replies; 10+ messages in thread
From: François Bissey @ 2014-01-15 10:08 UTC (permalink / raw
  To: gentoo-science

This is now https://bugs.gentoo.org/show_bug.cgi?id=498144 and I 
attached a proposed solution that Bastian successfully tested.

Francois


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-01-15 10:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <52D46D28.6070707@arcor.de>
2014-01-13 22:49 ` [gentoo-science] Build of cxvopt against acml not working Bastian Löffler
2014-01-13 22:58   ` François Bissey
2014-01-13 23:12     ` Bastian Löffler
2014-01-13 23:18       ` François Bissey
2014-01-13 23:30         ` Bastian Löffler
2014-01-13 23:41           ` François Bissey
2014-01-14  0:09           ` François Bissey
2014-01-15 10:08             ` François Bissey
     [not found] <52D45FFD.4090104@yahoo.de>
2014-01-13 22:05 ` Bastian Löffler
2014-01-13 22:43   ` François Bissey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox