Bug#579424: FTBFS [hppa]: Assertion `y.isApprox(m*x)' failed.
reassign 579424 g++4.4
thanks
On Tuesday 27 April 2010 19:23:36 dann frazier wrote:
> eigen2 fails to build on hppa. Complete build logs are available here:
> https://buildd.debian.org/build.cgi?pkg=eigen2;ver=2.0.12-1;arch=hppa
Hi
This issue is easily reproducible with g++4.4, but with g++4.3, everything
works fine.
Eigen2 is a header-only c++ template library, so compiling the tests with
g++4.3 on hppa is not a workable workaround, as this is just tests.
Once g++ is fixed, everything build-depending on eigen2 should also be
binNMU'ed (hi debian-release)
Having eigen2 massively out of sync between testing is also a problem if not
fixed before release. I'm not even sure stuff using eigen2 in testing builds
in testing, as quite much new api has been added.
Rebuilding current eigen2 in hppa/testing will also fail because of the g++
versions.
To test to see the failure:
(sid)sune@paer:~/src/eigen2-2.0.12$ mkdir obj-hppa-linux-gnu
(sid)sune@paer:~/src/eigen2-2.0.12$ cd obj-hppa-linux-gnu/
(sid)sune@paer:~/src/eigen2-2.0.12/obj-hppa-linux-gnu$ cmake .. -
DCMAKE_CXX_COMPILER=g++-4.4 -DCMAKE_C_COMPILER=gcc-4.4
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc-4.4
-- Check for working C compiler: /usr/bin/gcc-4.4 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-4.4
-- Check for working CXX compiler: /usr/bin/g++-4.4 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test has_wextra
-- Performing Test has_wextra - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sune/src/eigen2-2.0.12/obj-hppa-
linux-gnu
(sid)sune@paer:~/src/eigen2-2.0.12/obj-hppa-linux-gnu$ make compile_LU_solve
VERBOSE=1
/usr/bin/cmake -H/home/sune/src/eigen2-2.0.12 -
B/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu --check-build-system
CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 compile_LU_solve
make[1]: Entering directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
/usr/bin/cmake -H/home/sune/src/eigen2-2.0.12 -
B/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu --check-build-system
CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/sune/src/eigen2-2.0.12/obj-hppa-
linux-gnu/CMakeFiles 1
make -f CMakeFiles/Makefile2 doc/snippets/CMakeFiles/compile_LU_solve.dir/all
make[2]: Entering directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
make -f doc/snippets/CMakeFiles/compile_LU_solve.dir/build.make
doc/snippets/CMakeFiles/compile_LU_solve.dir/depend
make[3]: Entering directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
cd /home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /home/sune/src/eigen2-2.0.12
/home/sune/src/eigen2-2.0.12/doc/snippets /home/sune/src/eigen2-2.0.12/obj-
hppa-linux-gnu /home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu/doc/snippets
/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/CMakeFiles/compile_LU_solve.dir/DependInfo.cmake --color=
Dependee "/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/CMakeFiles/compile_LU_solve.dir/DependInfo.cmake" is newer
than depender "/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/CMakeFiles/compile_LU_solve.dir/depend.internal".
Dependee "/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than
depender "/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/CMakeFiles/compile_LU_solve.dir/depend.internal".
Scanning dependencies of target compile_LU_solve
make[3]: Leaving directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
make -f doc/snippets/CMakeFiles/compile_LU_solve.dir/build.make
doc/snippets/CMakeFiles/compile_LU_solve.dir/build
make[3]: Entering directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /home/sune/src/eigen2-2.0.12/obj-hppa-
linux-gnu/CMakeFiles 39
[100%] Building CXX object
doc/snippets/CMakeFiles/compile_LU_solve.dir/compile_LU_solve.cpp.o
cd /home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu/doc/snippets &&
/usr/bin/g++-4.4 -DEIGEN_DEFAULT_IO_FORMAT=EIGEN_DOCS_IO_FORMAT -Wnon-
virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall
-W -Wpointer-arith -Wwrite-strings -Wformat-security -fno-exceptions -fno-
check-new -fno-common -fstrict-aliasing -Wextra -pedantic -O1 -g1 -
I/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu/doc/snippets -
I/home/sune/src/eigen2-2.0.12/doc/snippets -I/home/sune/src/eigen2-2.0.12 -
I/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu -o
CMakeFiles/compile_LU_solve.dir/compile_LU_solve.cpp.o -c
/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/compile_LU_solve.cpp
Linking CXX executable compile_LU_solve
cd /home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu/doc/snippets &&
/usr/bin/cmake -E cmake_link_script CMakeFiles/compile_LU_solve.dir/link.txt
--verbose=1
/usr/bin/g++-4.4 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-
align -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-
security -fno-exceptions -fno-check-new -fno-common -fstrict-aliasing -Wextra
-pedantic -O1 -g1 CMakeFiles/compile_LU_solve.dir/compile_LU_solve.cpp.o -o
compile_LU_solve -rdynamic
cd /home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu/doc/snippets &&
./compile_LU_solve >/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/LU_solve.out
compile_LU_solve: /home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/compile_LU_solve.cpp:22: int main(int, char**): Assertion
`y.isApprox(m*x)' failed.
/bin/sh: line 1: 23174 Aborted ./compile_LU_solve >
/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu/doc/snippets/LU_solve.out
make[3]: *** [doc/snippets/compile_LU_solve] Error 134
make[3]: Leaving directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
make[2]: *** [doc/snippets/CMakeFiles/compile_LU_solve.dir/all] Error 2
make[2]: Leaving directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
make[1]: *** [doc/snippets/CMakeFiles/compile_LU_solve.dir/rule] Error 2
make[1]: Leaving directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
make: *** [compile_LU_solve] Error 2
and a working one with 4.3:
(sid)sune@paer:~/src/eigen2-2.0.12$ rm -rf obj-hppa-linux-gnu/
(sid)sune@paer:~/src/eigen2-2.0.12$ mkdir obj-hppa-linux-gnu
(sid)sune@paer:~/src/eigen2-2.0.12$ cd obj-hppa-linux-gnu/
(sid)sune@paer:~/src/eigen2-2.0.12/obj-hppa-linux-gnu$ cmake .. -
DCMAKE_CXX_COMPILER=g++-4.3 -DCMAKE_C_COMPILER=gcc-4.3
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc-4.3
-- Check for working C compiler: /usr/bin/gcc-4.3 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-4.3
-- Check for working CXX compiler: /usr/bin/g++-4.3 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test has_wextra
-- Performing Test has_wextra - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sune/src/eigen2-2.0.12/obj-hppa-
linux-gnu
(sid)sune@paer:~/src/eigen2-2.0.12/obj-hppa-linux-gnu$ make compile_LU_solve
VERBOSE=1
/usr/bin/cmake -H/home/sune/src/eigen2-2.0.12 -
B/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu --check-build-system
CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 compile_LU_solve
make[1]: Entering directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
/usr/bin/cmake -H/home/sune/src/eigen2-2.0.12 -
B/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu --check-build-system
CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/sune/src/eigen2-2.0.12/obj-hppa-
linux-gnu/CMakeFiles 1
make -f CMakeFiles/Makefile2 doc/snippets/CMakeFiles/compile_LU_solve.dir/all
make[2]: Entering directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
make -f doc/snippets/CMakeFiles/compile_LU_solve.dir/build.make
doc/snippets/CMakeFiles/compile_LU_solve.dir/depend
make[3]: Entering directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
cd /home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu && /usr/bin/cmake -E
cmake_depends "Unix Makefiles" /home/sune/src/eigen2-2.0.12
/home/sune/src/eigen2-2.0.12/doc/snippets /home/sune/src/eigen2-2.0.12/obj-
hppa-linux-gnu /home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu/doc/snippets
/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/CMakeFiles/compile_LU_solve.dir/DependInfo.cmake --color=
Dependee "/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/CMakeFiles/compile_LU_solve.dir/DependInfo.cmake" is newer
than depender "/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/CMakeFiles/compile_LU_solve.dir/depend.internal".
Dependee "/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than
depender "/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/CMakeFiles/compile_LU_solve.dir/depend.internal".
Scanning dependencies of target compile_LU_solve
make[3]: Leaving directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
make -f doc/snippets/CMakeFiles/compile_LU_solve.dir/build.make
doc/snippets/CMakeFiles/compile_LU_solve.dir/build
make[3]: Entering directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /home/sune/src/eigen2-2.0.12/obj-hppa-
linux-gnu/CMakeFiles 39
[100%] Building CXX object
doc/snippets/CMakeFiles/compile_LU_solve.dir/compile_LU_solve.cpp.o
cd /home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu/doc/snippets &&
/usr/bin/g++-4.3 -DEIGEN_DEFAULT_IO_FORMAT=EIGEN_DOCS_IO_FORMAT -Wnon-
virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall
-W -Wpointer-arith -Wwrite-strings -Wformat-security -fno-exceptions -fno-
check-new -fno-common -fstrict-aliasing -Wextra -pedantic -O1 -g1 -
I/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu/doc/snippets -
I/home/sune/src/eigen2-2.0.12/doc/snippets -I/home/sune/src/eigen2-2.0.12 -
I/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu -o
CMakeFiles/compile_LU_solve.dir/compile_LU_solve.cpp.o -c
/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/compile_LU_solve.cpp
Linking CXX executable compile_LU_solve
cd /home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu/doc/snippets &&
/usr/bin/cmake -E cmake_link_script CMakeFiles/compile_LU_solve.dir/link.txt
--verbose=1
/usr/bin/g++-4.3 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-
align -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-
security -fno-exceptions -fno-check-new -fno-common -fstrict-aliasing -Wextra
-pedantic -O1 -g1 CMakeFiles/compile_LU_solve.dir/compile_LU_solve.cpp.o -o
compile_LU_solve -rdynamic
cd /home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu/doc/snippets &&
./compile_LU_solve >/home/sune/src/eigen2-2.0.12/obj-hppa-linux-
gnu/doc/snippets/LU_solve.out
make[3]: Leaving directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /home/sune/src/eigen2-2.0.12/obj-hppa-
linux-gnu/CMakeFiles 39
[100%] Built target compile_LU_solve
make[2]: Leaving directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
/usr/bin/cmake -E cmake_progress_start /home/sune/src/eigen2-2.0.12/obj-hppa-
linux-gnu/CMakeFiles 0
make[1]: Leaving directory `/home/sune/src/eigen2-2.0.12/obj-hppa-linux-gnu'
This is the only failing test when doing make -k, so I'm considering disabling
it for now.
/Sune
--
Man, how may I reset the head?
You neither have to turn off the tower, nor can reinstall a DVD button to the
firewall over a SIMM of a pin for loading a RO OpenGL server.
Reply to: