#966112 fsl: FTBFS with GCC 10: undefined reference to `int fslsurface_name::readGIFTI<float, unsigned int>(...)

Package:
src:fsl
Source:
fsl
Submitter:
Andreas Beckmann
Date:
2022-06-24 14:52:20 UTC
Severity:
serious
Tags:
#966112#5
Date:
2020-07-23 09:28:59 UTC
From:
To:
Hi,

fsl started to FTBFS when GCC 10 was made the default compiler:

g++ -g -O2 -fdebug-prefix-map=/build/fsl-5.0.8=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_LIBFREETYPE -fPIC -I/usr/include/nifti -I/usr/include/gifti -I/usr/include/newmat -I/build/fsl-5.0.8/extras/src/libprob -I/build/fsl-5.0.8/extras/src/libcprob -I/build/fsl-5.0.8/src        -I/usr/include/newmat -I/build/fsl-5.0.8/extras/include/libprob -I/usr/include -I/build/fsl-5.0.8/include/niftiio  -I. -I/build/fsl-5.0.8/include -I/build/fsl-5.0.8/include -Wl,-z,relro -Wl,--no-undefined -L/usr/lib/fsl/lib -L/usr/lib  -L/build/fsl-5.0.8/extras/lib -L/usr/lib -L. -L/build/fsl-5.0.8/lib -L/build/fsl-5.0.8/lib -o fslsurfacemaths fslsurfacemaths.o fslsurfaceio.o fslsurfacefns.o fslsurface_first.o fslsurface.o -lgiftiio -lexpat -lfirst_lib -lmeshclass -lshapeModel -lfslvtkio -lmeshclass -lnewimage -lmiscmaths  -lfslio -lniftiio -lznz -lnewmat -lutils -lprob -lz -lGL -lGLU
/usr/bin/ld: fslsurfacemaths.o: in function `main':
./src/fslsurface/fslsurfacemaths.cpp:184: undefined reference to `int fslsurface_name::readGIFTI<float, unsigned int>(fslsurface_name::fslSurface<float, unsigned int>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:61: fslsurfacemaths] Error 1
make[1]: Leaving directory '/build/fsl-5.0.8/src/fslsurface'
make: *** [debian/rules:114: biproj-fslsurface] Error 2

Te full buildlog is attached.


Andreas

#966112#14
Date:
2022-06-24 14:48:37 UTC
From:
To:
Dear submitter,

as the package fsl has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1009276

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)