Skip to content

[R-package] [ci] gcc14 test jobs failing: "libRlapack.so: undefined symbol: dgemmtr_" #6855

@jameslamb

Description

@jameslamb

Description

gcc14 CI jobs for the R package are all failing, like this:

During startup - Warning message:
package ‘stats’ in options("defaultPackages") was not found 
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/opt/R/devel-gcc14/lib/R/library/stats/libs/stats.so':
  /opt/R/devel-gcc14/lib/R/lib/libRlapack.so: undefined symbol: dgemmtr_
Calls: <Anonymous> ... asNamespace -> loadNamespace -> library.dynam -> dyn.load
Execution halted
ERROR: lazy loading failed for package ‘Matrix’
...
In install.packages(pkgs = deps_to_install, dependencies = c("Depends",  :
  installation of 6 packages failed:
  ‘xfun’, ‘data.table’, ‘Matrix’, ‘highr’, ‘markdown’, ‘knitr’
...
Error in loadVignetteBuilder(pkgdir, TRUE) : 
  vignette builder 'knitr' not found

Reproducible example

See the gcc14 R-package CI job on any recent build of LightGBM.

Example from #6852: https://github.com/microsoft/LightGBM/actions/runs/13703413518/job/38323189297?pr=6852

Environment info

N/A

Additional Comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions