Package: src:libcgns
Version: 3.4.0-1
Severity: normal
Tags: sid bullseye
User: [email protected]
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/libcgns_3.4.0-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures are 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-10/porting_to.html

[...]
[ 18%] Built target test_multifam
make -f src/tests/CMakeFiles/test_partial.dir/build.make 
src/tests/CMakeFiles/test_partial.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends 
"Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src/tests 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/tests 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/tests/CMakeFiles/test_partial.dir/DependInfo.cmake
 --color=
Scanning dependencies of target test_partial
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f src/tests/CMakeFiles/test_partial.dir/build.make 
src/tests/CMakeFiles/test_partial.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 18%] Building C object src/tests/CMakeFiles/test_partial.dir/test_partial.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/tests && /usr/bin/cc -DBUILD_HDF5 
-DH5_BUILT_AS_STATIC_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src 
-I/<<PKGBUILDDIR>>/src -I/usr/include/hdf5/serial  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -o 
CMakeFiles/test_partial.dir/test_partial.c.o   -c 
/<<PKGBUILDDIR>>/src/tests/test_partial.c
[ 18%] Linking C executable test_partial
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/tests && /usr/bin/cmake -E 
cmake_link_script CMakeFiles/test_partial.dir/link.txt --verbose=1
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2  -Wl,-z,relro -rdynamic 
CMakeFiles/test_partial.dir/test_partial.c.o  -o test_partial   -L.  
-Wl,-rpath,.:/usr/lib/x86_64-linux-gnu/hdf5/serial ../libcgns.a 
/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so -lpthread -lsz -lz -ldl -lm 
-lm -lgfortran -lm -lquadmath -lm 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 18%] Built target test_partial
make -f src/tests/CMakeFiles/test_general_rind.dir/build.make 
src/tests/CMakeFiles/test_general_rind.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends 
"Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src/tests 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/tests 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/tests/CMakeFiles/test_general_rind.dir/DependInfo.cmake
 --color=
Scanning dependencies of target test_general_rind
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f src/tests/CMakeFiles/test_general_rind.dir/build.make 
src/tests/CMakeFiles/test_general_rind.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 18%] Building C object 
src/tests/CMakeFiles/test_general_rind.dir/test_general_rind.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/tests && /usr/bin/cc -DBUILD_HDF5 
-DH5_BUILT_AS_STATIC_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src 
-I/<<PKGBUILDDIR>>/src -I/usr/include/hdf5/serial  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -o 
CMakeFiles/test_general_rind.dir/test_general_rind.c.o   -c 
/<<PKGBUILDDIR>>/src/tests/test_general_rind.c
[ 18%] Linking C executable test_general_rind
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/tests && /usr/bin/cmake -E 
cmake_link_script CMakeFiles/test_general_rind.dir/link.txt --verbose=1
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2  -Wl,-z,relro -rdynamic 
CMakeFiles/test_general_rind.dir/test_general_rind.c.o  -o test_general_rind   
-L.  -Wl,-rpath,.:/usr/lib/x86_64-linux-gnu/hdf5/serial ../libcgns.a 
/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so -lpthread -lsz -lz -ldl -lm 
-lm -lgfortran -lm -lquadmath -lm 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 18%] Built target test_general_rind
make -f src/tests/CMakeFiles/cgwrite_f03.dir/build.make 
src/tests/CMakeFiles/cgwrite_f03.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends 
"Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src/tests 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/tests 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/tests/CMakeFiles/cgwrite_f03.dir/DependInfo.cmake
 --color=
Scanning dependencies of target cgwrite_f03
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f src/tests/CMakeFiles/cgwrite_f03.dir/build.make 
src/tests/CMakeFiles/cgwrite_f03.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 19%] Building Fortran object 
src/tests/CMakeFiles/cgwrite_f03.dir/cgwrite_f03.F90.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/tests && /usr/bin/gfortran 
-DBUILD_HDF5 -DH5_BUILT_AS_STATIC_LIB 
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src 
-I/usr/include/hdf5/serial  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -DNO_CONCATENATION   -c 
/<<PKGBUILDDIR>>/src/tests/cgwrite_f03.F90 -o 
CMakeFiles/cgwrite_f03.dir/cgwrite_f03.F90.o
/<<PKGBUILDDIR>>/src/tests/cgwrite_f03.F90:124:31:

  124 |             do 123 j=1, size(2)
      |                               1
Warning: Fortran 2018 deleted feature: Shared DO termination label 123 at (1)
/<<PKGBUILDDIR>>/src/tests/cgwrite_f03.F90:125:31:

  125 |             do 123 i=1, size(1)
      |                               1
Warning: Fortran 2018 deleted feature: Shared DO termination label 123 at (1)
/<<PKGBUILDDIR>>/src/tests/cgwrite_f03.F90:162:17:

  162 |      do 100 i=1,3
      |                 1
Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1)
/<<PKGBUILDDIR>>/src/tests/cgwrite_f03.F90:256:24:

  130 |      &                             size, data, ier)
      |                                   2
......
  256 |      &           ndims, npnts, data, ier)
      |                        1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) 
(rank-1 and scalar)
make[3]: *** [src/tests/CMakeFiles/cgwrite_f03.dir/build.make:66: 
src/tests/CMakeFiles/cgwrite_f03.dir/cgwrite_f03.F90.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:927: 
src/tests/CMakeFiles/cgwrite_f03.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:166: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install 
--strip-program=true" returned exit code 2
make: *** [debian/rules:20: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to