Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561096 - 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
Summary: sci-libs/armadillo-5.500.2 - .../work/armadillo-5.500.2/tmp/include/armadillo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 602564
  Show dependency tree
 
Reported: 2015-09-22 05:32 UTC by Jeroen Roovers (RETIRED)
Modified: 2018-12-25 12:37 UTC (History)
3 users (show)

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


Attachments
sci-libs:armadillo-5.500.2:20150922-050613.log (20150922-050613.log,10.18 KB, text/plain)
2015-09-22 05:32 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2015-09-22 05:32:47 UTC
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.
Comment 1 Maciej S. Szmigiero 2016-04-25 21:06:13 UTC
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.
Comment 2 Maciej S. Szmigiero 2016-04-25 21:28:22 UTC
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.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2018-01-01 12:12:53 UTC
Please reopen if you can reproduce this with versions still in the tree.
Comment 4 Thomas Beutin 2018-02-08 11:20:49 UTC
(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.
Comment 5 Andreas Sturmlechner gentoo-dev 2018-10-14 13:38:54 UTC
What about current stable 8.300.2?
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2018-12-25 12:37:45 UTC
(In reply to Andreas Sturmlechner from comment #5)
> What about current stable 8.300.2?

Is fixed there and in ~arch