| Summary: | sci-libs/armadillo-5.500.2 - .../work/armadillo-5.500.2/tmp/include/armadillo_bits/include_superlu.hpp:91:53: fatal error: /supermatrix.h: No such file or directory | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
| Component: | Current packages | Assignee: | Andreas K. Hüttel <dilfridge> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mail, sci, tb |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 602564 | ||
| Attachments: | sci-libs:armadillo-5.500.2:20150922-050613.log | ||
I have hit this bug, too.
In include/armadillo_bits/config.hpp.cmake there is a piece of code which looks wrong to me:
#if !defined(ARMA_SUPERLU_INCLUDE_DIR)
#define ARMA_SUPERLU_INCLUDE_DIR ${ARMA_SUPERLU_INCLUDE_DIR}/
In fact, if I negate this condition ("#if defined(ARMA_SUPERLU_INCLUDE_DIR)") the
package builds successfully.
Adding: -DSuperLU_INCLUDE_DIR="$($(tc-getPKG_CONFIG) --cflags-only-I superlu | sed 's/-I//')" to ebuild just before: -DSuperLU_LIBRARIES="$($(tc-getPKG_CONFIG) --libs superlu)" also works. Please reopen if you can reproduce this with versions still in the tree. (In reply to Andreas K. Hüttel from comment #3) > Please reopen if you can reproduce this with versions still in the tree. =sci-libs/armadillo-6.200.3 has the same problem, but i can neither reopen this bug nor change the subject. What about current stable 8.300.2? (In reply to Andreas Sturmlechner from comment #5) > What about current stable 8.300.2? Is fixed there and in ~arch |
Created attachment 412506 [details] sci-libs:armadillo-5.500.2:20150922-050613.log make[2]: Leaving directory '/var/tmp/portage/sci-libs/armadillo-5.500.2/work/armadillo-5.500.2' make -f CMakeFiles/armadillo.dir/build.make CMakeFiles/armadillo.dir/build make[2]: Entering directory '/var/tmp/portage/sci-libs/armadillo-5.500.2/work/armadillo-5.500.2' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/sci-libs/armadillo-5.500.2/work/armadillo-5.500.2/CMakeFiles 1 [100%] Building CXX object CMakeFiles/armadillo.dir/src/wrapper.cpp.o /usr/lib64/distcc/bin/powerpc64-unknown-linux-gnu-g++ -Darmadillo_EXPORTS -DNDEBUG -O2 -mcpu=G5 -mtune=G5 -maltivec -Wall -std=c+ +11 -O2 -fPIC -I/var/tmp/portage/sci-libs/armadillo-5.500.2/work/armadillo-5.500.2/tmp/include -o CMakeFiles/armadillo.dir/src/wr apper.cpp.o -c /var/tmp/portage/sci-libs/armadillo-5.500.2/work/armadillo-5.500.2/src/wrapper.cpp In file included from /var/tmp/portage/sci-libs/armadillo-5.500.2/work/armadillo-5.500.2/src/wrapper.cpp:16:0: /var/tmp/portage/sci-libs/armadillo-5.500.2/work/armadillo-5.500.2/tmp/include/armadillo_bits/include_superlu.hpp:91:53: fatal error: /supermatrix.h: No such file or directory #include ARMA_INCFILE_WRAP(ARMA_SLU_SUPERMATRIX_H) ^ compilation terminated. distcc[30370] ERROR: compile /var/tmp/portage/sci-libs/armadillo-5.500.2/work/armadillo-5.500.2/src/wrapper.cpp on wim/2 failed distcc[30370] (dcc_build_somewhere) Warning: remote compilation of '/var/tmp/portage/sci-libs/armadillo-5.500.2/work/armadillo-5.500.2/src/wrapper.cpp' failed, retrying locally distcc[30370] Warning: failed to distribute /var/tmp/portage/sci-libs/armadillo-5.500.2/work/armadillo-5.500.2/src/wrapper.cpp to wim/2, running locally instead In file included from /var/tmp/portage/sci-libs/armadillo-5.500.2/work/armadillo-5.500.2/src/wrapper.cpp:16:0: /var/tmp/portage/sci-libs/armadillo-5.500.2/work/armadillo-5.500.2/tmp/include/armadillo_bits/include_superlu.hpp:91:53: fatal error: /supermatrix.h: No such file or directory #include ARMA_INCFILE_WRAP(ARMA_SLU_SUPERMATRIX_H) ^ compilation terminated.