--- Begin Message ---
Package: src:oasis3
Version: 3.mct+dfsg.121022-15
Severity: normal
Tags: sid bookworm
User: [email protected]
Usertags: ftbfs-gcc-11
[This bug is not targeted to the upcoming bullseye release]
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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.
The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/oasis3_3.mct+dfsg.121022-15_unstable_gcc11.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
......
954 | call MPI_BCAST(arr,lsize,MPI_REAL8,lpebcast,comm,ierr)
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2)
(LOGICAL(4)/REAL(8)).
/<<PKGBUILDDIR>>//lib/psmile/src/mod_oasis_mpi.F90:548:18:
548 | call MPI_BCAST(vec,lsize,MPI_INTEGER,lpebcast,comm,ierr)
| 1
......
954 | call MPI_BCAST(arr,lsize,MPI_REAL8,lpebcast,comm,ierr)
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2)
(INTEGER(4)/REAL(8)).
/<<PKGBUILDDIR>>//lib/psmile/src/mod_oasis_mpi.F90:430:17:
430 | call MPI_RECV(lvec,lsize,MPI_REAL8,pid,tag,comm,status,ierr)
| 1
......
508 | call MPI_RECV(array,lsize,MPI_REAL8,pid,tag,comm,status,ierr)
| 2
Error: Rank mismatch between actual argument at (1) and actual argument at (2)
(rank-1 and scalar)
/<<PKGBUILDDIR>>//lib/psmile/src/mod_oasis_mpi.F90:391:17:
391 | call MPI_RECV(lvec,lsize,MPI_INTEGER,pid,tag,comm,status,ierr)
| 1
......
508 | call MPI_RECV(array,lsize,MPI_REAL8,pid,tag,comm,status,ierr)
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2)
(INTEGER(4)/REAL(8)).
/<<PKGBUILDDIR>>//lib/psmile/src/mod_oasis_mpi.F90:352:17:
352 | call MPI_RECV(lvec,lsize,MPI_INTEGER,pid,tag,comm,status,ierr)
| 1
......
508 | call MPI_RECV(array,lsize,MPI_REAL8,pid,tag,comm,status,ierr)
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2)
(INTEGER(4)/REAL(8)).
/<<PKGBUILDDIR>>//lib/psmile/src/mod_oasis_mpi.F90:237:17:
237 | call MPI_SEND(lvec,lsize,MPI_REAL8,pid,tag,comm,ierr)
| 1
......
313 | call MPI_SEND(array,lsize,MPI_REAL8,pid,tag,comm,ierr)
| 2
Error: Rank mismatch between actual argument at (1) and actual argument at (2)
(rank-1 and scalar)
/<<PKGBUILDDIR>>//lib/psmile/src/mod_oasis_mpi.F90:199:17:
199 | call MPI_SEND(lvec,lsize,MPI_INTEGER,pid,tag,comm,ierr)
| 1
......
313 | call MPI_SEND(array,lsize,MPI_REAL8,pid,tag,comm,ierr)
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2)
(INTEGER(4)/REAL(8)).
/<<PKGBUILDDIR>>//lib/psmile/src/mod_oasis_mpi.F90:161:17:
161 | call MPI_SEND(lvec,lsize,MPI_INTEGER,pid,tag,comm,ierr)
| 1
......
313 | call MPI_SEND(array,lsize,MPI_REAL8,pid,tag,comm,ierr)
| 2
Error: Type mismatch between actual argument at (1) and actual argument at (2)
(INTEGER(4)/REAL(8)).
make[4]: *** [Makefile:41: mod_oasis_mpi.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/build/lib/psmile.MPI1'
make[3]: *** [TopMakefileOasis3:69: makepsmile] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/util/make_dir'
make[2]: *** [TopMakefileOasis3:29: default] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/util/make_dir'
make[1]: *** [debian/rules:23: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---