Bug#777844: etsf-io: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:31:12 UTC 2015


Package: src:etsf-io
Version: 1.0.3-4
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/etsf-io_1.0.3-4_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
/usr/share/cdbs/1/class/makefile.mk:55: recipe for target 'makefile-clean' failed
rm -f debian/stamp-autotools
rmdir --ignore-fail-on-non-empty .
rmdir: failed to remove '.': Invalid argument
make: [makefile-clean] Error 1 (ignored)
/usr/share/cdbs/1/class/autotools.mk:52: recipe for target 'makefile-clean' failed
dh_clean 
dh_clean: No compatibility level specified in debian/compat
dh_clean: This package will soon FTBFS; time to fix it!
dh_clean: Compatibility levels before 5 are deprecated (level 1 in use)
rm -f debian/stamp-autotools-files
 debian/rules build-arch
test -x debian/rules
mkdir -p "."
echo 5 >debian/compat
touch debian/stamp-autotools-files
chmod a+x /«PKGBUILDDIR»/./configure
mkdir -p .
cd . &&   CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" /«PKGBUILDDIR»/./configure --build=x86_64-linux-gnu  --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/etsf-io" --srcdir=. --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules    --docdir=\${prefix}/share/doc/libetsf-io-doc --with-moduledir=\${includedir}
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gfortran... gfortran
checking for Fortran compiler default output file name... a.out
checking whether the Fortran compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for Fortran flag to compile .f90 files... none
checking whether we are using the GNU Fortran compiler... (cached) yes
checking whether gfortran accepts -g... (cached) yes
checking which type of Fortran compiler we have... gcc GNU
checking whether the Fortran compiler accepts exit()... yes
checking whether the Fortran compiler accepts flush()... yes
checking for module extension for compiler 'gcc'... mod
checking for ranlib... ranlib
checking for ar... ar
checking for /usr/include/netcdf.mod... yes
checking for netcdf library... no
configure: error: "No 'NetCDF' library found."
LDFLAGS was '-Wl,-z,relro'
Action: install NetCDF and set the library link path with --with-netcdf-ldflags.
make: *** [debian/stamp-autotools] Error 1
/usr/share/cdbs/1/class/autotools.mk:42: recipe for target 'debian/stamp-autotools' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the debian-science-maintainers mailing list