Skip to content

R 4.1.3 is now installed with gfortran 12, which it doesn't work with #722

@jonathon-love

Description

@jonathon-love

To Reproduce

log here https://github.com/jonathon-love/r-package-snapshot/actions/runs/4805568169/jobs/8552111730

i'm using:

    - name: Set up R
      uses: r-lib/actions/setup-r@v2
      with:
        r-version: '4.1.3'

this used to install gfortran 8.2, but now it installs 12, which leads to:

clang -mmacosx-version-min=10.13 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o flashClust.so hc.o hcass2.o -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0'
ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
ld: library not found for -lgfortran

i think it's because R 4.1.3 was built against gfortran 8.2 ... and now setup-r has moved to gfortran 12 (for these older versions of R), it no longer works.

with thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions