--- Begin Message ---
Package: src:xgks
Version: 2.6.1+dfsg.2-10
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/xgks_2.6.1+dfsg.2-10_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.
[...]
1840 | CALL GTXS(0.07,0.965,6,'RETURN')
| 2
......
3279 | CALL GTXS(PAX,PAY,5,'BASE ')
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2)
(scalar and rank-1)
gksdemo.f:3280:45:
3023 | CALL GQTXXS(WKID,PX,PY,1,HEIGHT(I),ERRIND,CPX,CPY,
| 2
......
3280 | CALL GQTXXS(WKID,PAX,PAY,5,'HALF ',ERRIND,
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2)
(scalar and rank-1)
gksdemo.f:3284:40:
1840 | CALL GTXS(0.07,0.965,6,'RETURN')
| 2
......
3284 | CALL GTXS(PAX,PAY,6,'BOTTOM')
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2)
(scalar and rank-1)
gksdemo.f:3297:28:
1840 | CALL GTXS(0.07,0.965,6,'RETURN')
| 2
......
3297 | CALL GTXS(PAX,PAY,6,'CENTER')
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2)
(scalar and rank-1)
gksdemo.f:3301:28:
1840 | CALL GTXS(0.07,0.965,6,'RETURN')
| 2
......
3301 | CALL GTXS(PAX,PAY,5,'RIGHT')
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2)
(scalar and rank-1)
gksdemo.f:3306:28:
1840 | CALL GTXS(0.07,0.965,6,'RETURN')
| 2
......
3306 | CALL GTXS(PAX,PAY,4,'LEFT')
| 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2)
(scalar and rank-1)
gksdemo.f:369:19:
369 | CALL GPREC(0,IA,0,EMPTRP,0,DUMMYA,CHAR,4,ERRIND,LDRCDU,DRCDUM)
| 1
......
3716 | CALL GPREC(0,0,0,0.0,NUMELA,LCHSTR,MENU,NUMELA,
| 2
Error: Rank mismatch between actual argument at (1) and actual argument at (2)
(scalar and rank-1)
gksdemo.f:372:20:
372 | CALL GPREC(32,IA,0,EMPTRP,0,DUMMYA,CHAR,4,ERRIND,LDRCDU,DRCDUM)
| 1
......
3716 | CALL GPREC(0,0,0,0.0,NUMELA,LCHSTR,MENU,NUMELA,
| 2
Error: Rank mismatch between actual argument at (1) and actual argument at (2)
(scalar and rank-1)
make[3]: *** [Makefile:197: gksdemo.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-gfortran/progs'
make[2]: *** [Makefile:75: progs/all] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-gfortran'
make[1]: *** [debian/rules:45: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---