Re: Sundials is way outdated
Hi again,
On Mon, Feb 06, 2017 at 08:29:05AM +0100, Andreas Tille wrote:
> > bin/sundials-config isn't something that upstream builds anymore, I
> > don't think. Removing this from the appropriate install makes it go much
> > further.
>
> Please push your changes. James is now also Debian Science member and
> we could together bring this into shape. I'd willing to test any of
> your commits and sponsor the package to experimental.
I admit I get not past the issue I reported before:
...
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /build/sundials-2.7.0+dfsg/debian/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f158c/fast"
make[2]: Entering directory '/build/sundials-2.7.0+dfsg/debian/build/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_f158c.dir/build.make CMakeFiles/cmTC_f158c.dir/build
make[3]: Entering directory '/build/sundials-2.7.0+dfsg/debian/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f158c.dir/CheckFunctionExists.c.o
/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/sundials-2.7.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_f158c.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_f158c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f158c.dir/link.txt --verbose=1
/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/sundials-2.7.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-z,relro CMakeFiles/cmTC_f158c.dir/CheckFunctionExists.c.o -o cmTC_f158c -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_f158c.dir/build.make:97: recipe for target 'cmTC_f158c' failed
make[3]: *** [cmTC_f158c] Error 1
make[3]: Leaving directory '/build/sundials-2.7.0+dfsg/debian/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_f158c/fast' failed
make[2]: *** [cmTC_f158c/fast] Error 2
make[2]: Leaving directory '/build/sundials-2.7.0+dfsg/debian/build/CMakeFiles/CMakeTmp'
dh_auto_configure: cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_Fortran_COMPILER=gfortran -DBUILD_SHARED_LIBS:BOOL=ON -DFCMIX_ENABLE:BOOL=ON -DMPI_ENABLE:BOOL=ON -DLAPACK_ENABLE:BOOL=ON -DEXAMPLES_ENABLE:BOOL=ON -DEXAMPLES_INSTALL:BOOL=OFF returned exit code 1
debian/rules:22: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 255
make[1]: Leaving directory '/build/sundials-2.7.0+dfsg'
debian/rules:19: recipe for target 'build' failed
make: *** [build] Error 2
...
I'm using a just updated pbuilder chroot. Any hints?
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: