[R-pkg-team] Bug#957743: r-cran-mda: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:09:47 BST 2020


Package: src:r-cran-mda
Version: 0.4-10-2
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
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/r-cran-mda_0.4-10-2_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

[...]
bsplvd.f:215:72:

  215 |    26       saved = deltal(jp1-i)*term
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 26 at (1)
gfortran -fno-optimize-sibling-calls  -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-8eWJoV/r-base-3.6.2.20200221=. -fstack-protector-strong  -c bvalue.f -o bvalue.o
gfortran -fno-optimize-sibling-calls  -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-8eWJoV/r-base-3.6.2.20200221=. -fstack-protector-strong  -c dcalcvar.f -o dcalcvar.o
dcalcvar.f:18:72:

   18 |  20      call dtrsl(cov, px, qrank, tmpcov(1,j), 01, info)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1)
gfortran -fno-optimize-sibling-calls  -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-8eWJoV/r-base-3.6.2.20200221=. -fstack-protector-strong  -c dmarss.f -o dmarss.o
dmarss.f:211:44:

  208 |       call intpr("adding term ",12,ii,1)
      |                                   2         
......
  211 |       call intpr("var, sp index, parent",21,itemp,3)
      |                                            1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
dmarss.f:214:43:

  144 |       call dblepr("initial rss=",11,rssnull,1)
      |                                    2       
......
  214 |       call dblepr("critmax cut rss gcv",19,rtemp,4)
      |                                           1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
dmarss.f:306:11:

  144 |       call dblepr("initial rss=",11,rssnull,1)
      |                                    2
......
  306 |      &     rtemp,3)
      |           1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
dmarss.f:349:49:

  144 |       call dblepr("initial rss=",11,rssnull,1)
      |                                    2             
......
  349 |       call dblepr("full model: gcv rss dofit",25,rtemp,3)
      |                                                 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
dmarss.f:352:27:

  208 |       call intpr("adding term ",12,ii,1)
      |                                   2
......
  352 |       call intpr("terms",5,fullin,lenb)
      |                           1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
dmarss.f:404:33:

  208 |       call intpr("adding term ",12,ii,1)
      |                                   2
......
  404 |       call intpr("best model",10,bestin,lenb)
      |                                 1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
make[1]: *** [/usr/lib/R/etc/Makeconf:191: dmarss.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
ERROR: compilation failed for package ‘mda’
* removing ‘/<<PKGBUILDDIR>>/debian/r-cran-mda/usr/lib/R/site-library/mda’
dh_auto_install: error: R CMD INSTALL -l /<<PKGBUILDDIR>>/debian/r-cran-mda/usr/lib/R/site-library --clean . "--built-timestamp='Thu, 13 Dec 2018 22:23:50 +0100'" returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2



More information about the R-pkg-team mailing list