Public bug reported:

autopkgtests of several R packages are failing with the error:

Fortran complex functions are not available on this platform

This message comes from r-base itself, and is shown when r-base is built
without HAVE_FORTRAN_DOUBLE_COMPLEX

In recent build logs of r-base in Ubuntu, the following configure output
can be seen on all architectures, except armhf and riscv64:

checking whether mixed C/Fortran code can be run... yes
checking whether gfortran and gcc -std=gnu99 -std=gnu11 agree on int and 
double... yes
checking whether gfortran and gcc -std=gnu99 -std=gnu11 agree on double 
complex...
 configure: WARNING: gfortran and gcc -std=gnu99 -std=gnu11 disagree on double 
complex

Recent build logs in Debian, including reproducible builds [1], show:

checking whether mixed C/Fortran code can be run... yes
checking whether gfortran and gcc -std=gnu99 -std=gnu11 agree on int and 
double... yes
checking whether gfortran and gcc -std=gnu99 -std=gnu11 agree on double 
complex... yes


[1] https://tests.reproducible-builds.org/debian/rb-pkg/r-base.html

** Affects: r-base (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: r-cran-expm (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: r-cran-irlba (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: r-cran-openmx (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: r-cran-pracma (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: r-cran-rsvd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Tags added: update-excuse

** Also affects: r-cran-expm (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: r-cran-irlba (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: r-cran-openmx (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: r-cran-pracma (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: r-cran-rsvd (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1950283

Title:
  r-base: gfortran and gcc disagree on double complex

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/r-base/+bug/1950283/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to