Build #1 for eigen-3.3.4.1

[all reports]

Package eigen-3.3.4.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-07-17 14:30:22.810002341 UTC
Compiler ghc-8.4.3
OS linux
Arch x86_64
Dependencies base-4.11.1.0, binary-0.8.5.1, bytestring-0.10.8.2, primitive-0.6.4.0, transformers-0.5.5.0, vector-0.12.0.1
Flags none

Build log

[view raw]

Resolving dependencies...
Configuring primitive-0.6.4.0...
Building primitive-0.6.4.0...
Installed primitive-0.6.4.0
Configuring vector-0.12.0.1...
Building vector-0.12.0.1...
Installed vector-0.12.0.1
Downloading eigen-3.3.4.1...
Configuring eigen-3.3.4.1...
Building eigen-3.3.4.1...
Failed to install eigen-3.3.4.1
Build log ( /home/builder/.cabal/logs/ghc-8.4.3/eigen-3.3.4.1-Jc0fU8Y4rk0GDPKkrw2s76.log ):
cabal: Entering directory '/tmp/cabal-tmp-6394/eigen-3.3.4.1'
Configuring eigen-3.3.4.1...
Preprocessing library for eigen-3.3.4.1..
Building library for eigen-3.3.4.1..
[1 of 8] Compiling Data.Eigen.Internal ( dist/build/Data/Eigen/Internal.hs, dist/build/Data/Eigen/Internal.o )
[2 of 8] Compiling Data.Eigen.Matrix.Mutable ( Data/Eigen/Matrix/Mutable.hs, dist/build/Data/Eigen/Matrix/Mutable.o )
[3 of 8] Compiling Data.Eigen.Matrix ( Data/Eigen/Matrix.hs, dist/build/Data/Eigen/Matrix.o )
[4 of 8] Compiling Data.Eigen.LA    ( Data/Eigen/LA.hs, dist/build/Data/Eigen/LA.o )
[5 of 8] Compiling Data.Eigen.Parallel ( Data/Eigen/Parallel.hs, dist/build/Data/Eigen/Parallel.o )
[6 of 8] Compiling Data.Eigen.SparseMatrix.Mutable ( Data/Eigen/SparseMatrix/Mutable.hs, dist/build/Data/Eigen/SparseMatrix/Mutable.o )
[7 of 8] Compiling Data.Eigen.SparseMatrix ( Data/Eigen/SparseMatrix.hs, dist/build/Data/Eigen/SparseMatrix.o )
[8 of 8] Compiling Data.Eigen.SparseLA ( Data/Eigen/SparseLA.hs, dist/build/Data/Eigen/SparseLA.o )
cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++ [enabled by default]
cbits/eigen-sparse.cpp: In function ‘const char* sparse_fromList(int, int, void*, int, void**)’:

cbits/eigen-sparse.cpp:24:5: error:
     error: ‘unique_ptr’ is not a member of ‘std’
         std::unique_ptr<M> a(new M(rows, cols));
         ^
   |
24 |     std::unique_ptr<M> a(new M(rows, cols));
   |     ^

cbits/eigen-sparse.cpp:24:22: error:
     error: expected primary-expression before ‘>’ token
         std::unique_ptr<M> a(new M(rows, cols));
                          ^
   |
24 |     std::unique_ptr<M> a(new M(rows, cols));
   |                      ^

cbits/eigen-sparse.cpp:25:5: error:
     error: ‘a’ was not declared in this scope
         a->setFromTriplets((E*)data, (E*)data + size);
         ^
   |
25 |     a->setFromTriplets((E*)data, (E*)data + size);
   |     ^
cbits/eigen-sparse.cpp: In function ‘const char* sparse_makeCompressed(void*, void**)’:

cbits/eigen-sparse.cpp:59:5: error:
     error: ‘unique_ptr’ is not a member of ‘std’
         std::unique_ptr<M> a(new M(*(M*)p));\
         ^
   |
59 |     std::unique_ptr<M> a(new M(*(M*)p));\
   |     ^

cbits/eigen-sparse.cpp:66:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(makeCompressed);
     ^
   |
66 | SPARSE_UNOP_INPLACE(makeCompressed);
   | ^

cbits/eigen-sparse.cpp:59:22: error:
     error: expected primary-expression before ‘>’ token
         std::unique_ptr<M> a(new M(*(M*)p));\
                          ^
   |
59 |     std::unique_ptr<M> a(new M(*(M*)p));\
   |                      ^

cbits/eigen-sparse.cpp:66:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(makeCompressed);
     ^
   |
66 | SPARSE_UNOP_INPLACE(makeCompressed);
   | ^

cbits/eigen-sparse.cpp:60:5: error:
     error: ‘a’ was not declared in this scope
         a->name();\
         ^
   |
60 |     a->name();\
   |     ^

cbits/eigen-sparse.cpp:66:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(makeCompressed);
     ^
   |
66 | SPARSE_UNOP_INPLACE(makeCompressed);
   | ^
cbits/eigen-sparse.cpp: In function ‘const char* sparse_uncompress(void*, void**)’:

cbits/eigen-sparse.cpp:59:5: error:
     error: ‘unique_ptr’ is not a member of ‘std’
         std::unique_ptr<M> a(new M(*(M*)p));\
         ^
   |
59 |     std::unique_ptr<M> a(new M(*(M*)p));\
   |     ^

cbits/eigen-sparse.cpp:67:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(uncompress);
     ^
   |
67 | SPARSE_UNOP_INPLACE(uncompress);
   | ^

cbits/eigen-sparse.cpp:59:22: error:
     error: expected primary-expression before ‘>’ token
         std::unique_ptr<M> a(new M(*(M*)p));\
                          ^
   |
59 |     std::unique_ptr<M> a(new M(*(M*)p));\
   |                      ^

cbits/eigen-sparse.cpp:67:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(uncompress);
     ^
   |
67 | SPARSE_UNOP_INPLACE(uncompress);
   | ^

cbits/eigen-sparse.cpp:60:5: error:
     error: ‘a’ was not declared in this scope
         a->name();\
         ^
   |
60 |     a->name();\
   |     ^

cbits/eigen-sparse.cpp:67:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(uncompress);
     ^
   |
67 | SPARSE_UNOP_INPLACE(uncompress);
   | ^
cbits/eigen-sparse.cpp: In function ‘const char* sparse_pruned(void*, void**)’:

cbits/eigen-sparse.cpp:84:5: error:
     error: ‘unique_ptr’ is not a member of ‘std’
         std::unique_ptr<M> a(new M(*(M*)p));
         ^
   |
84 |     std::unique_ptr<M> a(new M(*(M*)p));
   |     ^

cbits/eigen-sparse.cpp:84:22: error:
     error: expected primary-expression before ‘>’ token
         std::unique_ptr<M> a(new M(*(M*)p));
                          ^
   |
84 |     std::unique_ptr<M> a(new M(*(M*)p));
   |                      ^

cbits/eigen-sparse.cpp:85:5: error:
     error: ‘a’ was not declared in this scope
         a->prune(T(1));
         ^
   |
85 |     a->prune(T(1));
   |     ^
cbits/eigen-sparse.cpp: In function ‘const char* sparse_prunedRef(void*, void*, void**)’:

cbits/eigen-sparse.cpp:94:5: error:
     error: ‘unique_ptr’ is not a member of ‘std’
         std::unique_ptr<M> a(new M(*(M*)p));
         ^
   |
94 |     std::unique_ptr<M> a(new M(*(M*)p));
   |     ^

cbits/eigen-sparse.cpp:94:22: error:
     error: expected primary-expression before ‘>’ token
         std::unique_ptr<M> a(new M(*(M*)p));
                          ^
   |
94 |     std::unique_ptr<M> a(new M(*(M*)p));
   |                      ^

cbits/eigen-sparse.cpp:95:5: error:
     error: ‘a’ was not declared in this scope
         a->prune(*(T*)q);
         ^
   |
95 |     a->prune(*(T*)q);
   |     ^
cbits/eigen-sparse.cpp: In function ‘const char* sparse_fromMatrix(void*, int, int, void**)’:

cbits/eigen-sparse.cpp:170:5: error:
     error: ‘unique_ptr’ is not a member of ‘std’
         std::unique_ptr<M> dst(new M(rows, cols));
         ^
    |
170 |     std::unique_ptr<M> dst(new M(rows, cols));
    |     ^

cbits/eigen-sparse.cpp:170:22: error:
     error: expected primary-expression before ‘>’ token
         std::unique_ptr<M> dst(new M(rows, cols));
                          ^
    |
170 |     std::unique_ptr<M> dst(new M(rows, cols));
    |                      ^

cbits/eigen-sparse.cpp:175:17: error:
     error: ‘dst’ was not declared in this scope
                     dst->insert(row, col) = val;
                     ^
    |
175 |                 dst->insert(row, col) = val;
    |                 ^

cbits/eigen-sparse.cpp:178:5: error:
     error: ‘dst’ was not declared in this scope
         dst->makeCompressed();
         ^
    |
178 |     dst->makeCompressed();
    |     ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_fromList(int, int, void*, int, void**) [with T = float]’:

cbits/eigen-sparse.cpp:29:1: error:    required from here
   |
29 | API(sparse_fromList, (int code, int rows, int cols, void* data, int size, void** pr), (rows,cols,data,size,pr));
   | ^

cbits/eigen-sparse.cpp:24:43: error:
     error: ‘a’ was not declared in this scope
         std::unique_ptr<M> a(new M(rows, cols));
                                               ^
   |
24 |     std::unique_ptr<M> a(new M(rows, cols));
   |                                           ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_fromList(int, int, void*, int, void**) [with T = double]’:

cbits/eigen-sparse.cpp:29:1: error:    required from here
   |
29 | API(sparse_fromList, (int code, int rows, int cols, void* data, int size, void** pr), (rows,cols,data,size,pr));
   | ^

cbits/eigen-sparse.cpp:24:43: error:
     error: ‘a’ was not declared in this scope
   |
24 |     std::unique_ptr<M> a(new M(rows, cols));
   |                                           ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_fromList(int, int, void*, int, void**) [with T = std::complex<float>]’:

cbits/eigen-sparse.cpp:29:1: error:    required from here
   |
29 | API(sparse_fromList, (int code, int rows, int cols, void* data, int size, void** pr), (rows,cols,data,size,pr));
   | ^

cbits/eigen-sparse.cpp:24:43: error:
     error: ‘a’ was not declared in this scope
   |
24 |     std::unique_ptr<M> a(new M(rows, cols));
   |                                           ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_fromList(int, int, void*, int, void**) [with T = std::complex<double>]’:

cbits/eigen-sparse.cpp:29:1: error:    required from here
   |
29 | API(sparse_fromList, (int code, int rows, int cols, void* data, int size, void** pr), (rows,cols,data,size,pr));
   | ^

cbits/eigen-sparse.cpp:24:43: error:
     error: ‘a’ was not declared in this scope
   |
24 |     std::unique_ptr<M> a(new M(rows, cols));
   |                                           ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_makeCompressed(void*, void**) [with T = float]’:

cbits/eigen-sparse.cpp:66:1: error:    required from here
   |
66 | SPARSE_UNOP_INPLACE(makeCompressed);
   | ^

cbits/eigen-sparse.cpp:59:39: error:
     error: ‘a’ was not declared in this scope
         std::unique_ptr<M> a(new M(*(M*)p));\
                                           ^
   |
59 |     std::unique_ptr<M> a(new M(*(M*)p));\
   |                                       ^

cbits/eigen-sparse.cpp:66:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(makeCompressed);
     ^
   |
66 | SPARSE_UNOP_INPLACE(makeCompressed);
   | ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_makeCompressed(void*, void**) [with T = double]’:

cbits/eigen-sparse.cpp:66:1: error:    required from here
   |
66 | SPARSE_UNOP_INPLACE(makeCompressed);
   | ^

cbits/eigen-sparse.cpp:59:39: error:
     error: ‘a’ was not declared in this scope
         std::unique_ptr<M> a(new M(*(M*)p));\
                                           ^
   |
59 |     std::unique_ptr<M> a(new M(*(M*)p));\
   |                                       ^

cbits/eigen-sparse.cpp:66:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(makeCompressed);
     ^
   |
66 | SPARSE_UNOP_INPLACE(makeCompressed);
   | ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_makeCompressed(void*, void**) [with T = std::complex<float>]’:

cbits/eigen-sparse.cpp:66:1: error:    required from here
   |
66 | SPARSE_UNOP_INPLACE(makeCompressed);
   | ^

cbits/eigen-sparse.cpp:59:39: error:
     error: ‘a’ was not declared in this scope
         std::unique_ptr<M> a(new M(*(M*)p));\
                                           ^
   |
59 |     std::unique_ptr<M> a(new M(*(M*)p));\
   |                                       ^

cbits/eigen-sparse.cpp:66:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(makeCompressed);
     ^
   |
66 | SPARSE_UNOP_INPLACE(makeCompressed);
   | ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_makeCompressed(void*, void**) [with T = std::complex<double>]’:

cbits/eigen-sparse.cpp:66:1: error:    required from here
   |
66 | SPARSE_UNOP_INPLACE(makeCompressed);
   | ^

cbits/eigen-sparse.cpp:59:39: error:
     error: ‘a’ was not declared in this scope
         std::unique_ptr<M> a(new M(*(M*)p));\
                                           ^
   |
59 |     std::unique_ptr<M> a(new M(*(M*)p));\
   |                                       ^

cbits/eigen-sparse.cpp:66:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(makeCompressed);
     ^
   |
66 | SPARSE_UNOP_INPLACE(makeCompressed);
   | ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_uncompress(void*, void**) [with T = float]’:

cbits/eigen-sparse.cpp:67:1: error:    required from here
   |
67 | SPARSE_UNOP_INPLACE(uncompress);
   | ^

cbits/eigen-sparse.cpp:59:39: error:
     error: ‘a’ was not declared in this scope
         std::unique_ptr<M> a(new M(*(M*)p));\
                                           ^
   |
59 |     std::unique_ptr<M> a(new M(*(M*)p));\
   |                                       ^

cbits/eigen-sparse.cpp:67:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(uncompress);
     ^
   |
67 | SPARSE_UNOP_INPLACE(uncompress);
   | ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_uncompress(void*, void**) [with T = double]’:

cbits/eigen-sparse.cpp:67:1: error:    required from here
   |
67 | SPARSE_UNOP_INPLACE(uncompress);
   | ^

cbits/eigen-sparse.cpp:59:39: error:
     error: ‘a’ was not declared in this scope
         std::unique_ptr<M> a(new M(*(M*)p));\
                                           ^
   |
59 |     std::unique_ptr<M> a(new M(*(M*)p));\
   |                                       ^

cbits/eigen-sparse.cpp:67:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(uncompress);
     ^
   |
67 | SPARSE_UNOP_INPLACE(uncompress);
   | ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_uncompress(void*, void**) [with T = std::complex<float>]’:

cbits/eigen-sparse.cpp:67:1: error:    required from here
   |
67 | SPARSE_UNOP_INPLACE(uncompress);
   | ^

cbits/eigen-sparse.cpp:59:39: error:
     error: ‘a’ was not declared in this scope
         std::unique_ptr<M> a(new M(*(M*)p));\
                                           ^
   |
59 |     std::unique_ptr<M> a(new M(*(M*)p));\
   |                                       ^

cbits/eigen-sparse.cpp:67:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(uncompress);
     ^
   |
67 | SPARSE_UNOP_INPLACE(uncompress);
   | ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_uncompress(void*, void**) [with T = std::complex<double>]’:

cbits/eigen-sparse.cpp:67:1: error:    required from here
   |
67 | SPARSE_UNOP_INPLACE(uncompress);
   | ^

cbits/eigen-sparse.cpp:59:39: error:
     error: ‘a’ was not declared in this scope
         std::unique_ptr<M> a(new M(*(M*)p));\
                                           ^
   |
59 |     std::unique_ptr<M> a(new M(*(M*)p));\
   |                                       ^

cbits/eigen-sparse.cpp:67:1: error:
     note: in expansion of macro ‘SPARSE_UNOP_INPLACE’
     SPARSE_UNOP_INPLACE(uncompress);
     ^
   |
67 | SPARSE_UNOP_INPLACE(uncompress);
   | ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_pruned(void*, void**) [with T = float]’:

cbits/eigen-sparse.cpp:89:1: error:    required from here
   |
89 | API(sparse_pruned, (int code, void* p, void** pr), (p, pr));
   | ^

cbits/eigen-sparse.cpp:84:39: error:
     error: ‘a’ was not declared in this scope
         std::unique_ptr<M> a(new M(*(M*)p));
                                           ^
   |
84 |     std::unique_ptr<M> a(new M(*(M*)p));
   |                                       ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_pruned(void*, void**) [with T = double]’:

cbits/eigen-sparse.cpp:89:1: error:    required from here
   |
89 | API(sparse_pruned, (int code, void* p, void** pr), (p, pr));
   | ^

cbits/eigen-sparse.cpp:84:39: error:
     error: ‘a’ was not declared in this scope
   |
84 |     std::unique_ptr<M> a(new M(*(M*)p));
   |                                       ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_pruned(void*, void**) [with T = std::complex<float>]’:

cbits/eigen-sparse.cpp:89:1: error:    required from here
   |
89 | API(sparse_pruned, (int code, void* p, void** pr), (p, pr));
   | ^

cbits/eigen-sparse.cpp:84:39: error:
     error: ‘a’ was not declared in this scope
   |
84 |     std::unique_ptr<M> a(new M(*(M*)p));
   |                                       ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_pruned(void*, void**) [with T = std::complex<double>]’:

cbits/eigen-sparse.cpp:89:1: error:    required from here
   |
89 | API(sparse_pruned, (int code, void* p, void** pr), (p, pr));
   | ^

cbits/eigen-sparse.cpp:84:39: error:
     error: ‘a’ was not declared in this scope
   |
84 |     std::unique_ptr<M> a(new M(*(M*)p));
   |                                       ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_prunedRef(void*, void*, void**) [with T = float]’:

cbits/eigen-sparse.cpp:99:1: error:    required from here
   |
99 | API(sparse_prunedRef, (int code, void* p, void* q, void** pr), (p, q, pr));
   | ^

cbits/eigen-sparse.cpp:94:39: error:
     error: ‘a’ was not declared in this scope
         std::unique_ptr<M> a(new M(*(M*)p));
                                           ^
   |
94 |     std::unique_ptr<M> a(new M(*(M*)p));
   |                                       ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_prunedRef(void*, void*, void**) [with T = double]’:

cbits/eigen-sparse.cpp:99:1: error:    required from here
   |
99 | API(sparse_prunedRef, (int code, void* p, void* q, void** pr), (p, q, pr));
   | ^

cbits/eigen-sparse.cpp:94:39: error:
     error: ‘a’ was not declared in this scope
   |
94 |     std::unique_ptr<M> a(new M(*(M*)p));
   |                                       ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_prunedRef(void*, void*, void**) [with T = std::complex<float>]’:

cbits/eigen-sparse.cpp:99:1: error:    required from here
   |
99 | API(sparse_prunedRef, (int code, void* p, void* q, void** pr), (p, q, pr));
   | ^

cbits/eigen-sparse.cpp:94:39: error:
     error: ‘a’ was not declared in this scope
   |
94 |     std::unique_ptr<M> a(new M(*(M*)p));
   |                                       ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_prunedRef(void*, void*, void**) [with T = std::complex<double>]’:

cbits/eigen-sparse.cpp:99:1: error:    required from here
   |
99 | API(sparse_prunedRef, (int code, void* p, void* q, void** pr), (p, q, pr));
   | ^

cbits/eigen-sparse.cpp:94:39: error:
     error: ‘a’ was not declared in this scope
   |
94 |     std::unique_ptr<M> a(new M(*(M*)p));
   |                                       ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_fromMatrix(void*, int, int, void**) [with T = float]’:

cbits/eigen-sparse.cpp:182:1: error:    required from here
    |
182 | API(sparse_fromMatrix, (int code, void* p, int rows, int cols, void** pq), (p,rows,cols,pq));
    | ^

cbits/eigen-sparse.cpp:170:45: error:
     error: ‘dst’ was not declared in this scope
         std::unique_ptr<M> dst(new M(rows, cols));
                                                 ^
    |
170 |     std::unique_ptr<M> dst(new M(rows, cols));
    |                                             ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_fromMatrix(void*, int, int, void**) [with T = double]’:

cbits/eigen-sparse.cpp:182:1: error:    required from here
    |
182 | API(sparse_fromMatrix, (int code, void* p, int rows, int cols, void** pq), (p,rows,cols,pq));
    | ^

cbits/eigen-sparse.cpp:170:45: error:
     error: ‘dst’ was not declared in this scope
    |
170 |     std::unique_ptr<M> dst(new M(rows, cols));
    |                                             ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_fromMatrix(void*, int, int, void**) [with T = std::complex<float>]’:

cbits/eigen-sparse.cpp:182:1: error:    required from here
    |
182 | API(sparse_fromMatrix, (int code, void* p, int rows, int cols, void** pq), (p,rows,cols,pq));
    | ^

cbits/eigen-sparse.cpp:170:45: error:
     error: ‘dst’ was not declared in this scope
    |
170 |     std::unique_ptr<M> dst(new M(rows, cols));
    |                                             ^
cbits/eigen-sparse.cpp: In instantiation of ‘const char* sparse_fromMatrix(void*, int, int, void**) [with T = std::complex<double>]’:

cbits/eigen-sparse.cpp:182:1: error:    required from here
    |
182 | API(sparse_fromMatrix, (int code, void* p, int rows, int cols, void** pq), (p,rows,cols,pq));
    | ^

cbits/eigen-sparse.cpp:170:45: error:
     error: ‘dst’ was not declared in this scope
    |
170 |     std::unique_ptr<M> dst(new M(rows, cols));
    |                                             ^
`gcc' failed in phase `C Compiler'. (Exit code: 1)
cabal: Leaving directory '/tmp/cabal-tmp-6394/eigen-3.3.4.1'
cabal: Error: some packages failed to install:
eigen-3.3.4.1-Jc0fU8Y4rk0GDPKkrw2s76 failed during the building phase. The
exception was:
ExitFailure 1