Skip to content

[R-package] CRAN requires a new release by Feb 14th #6791

@jameslamb

Description

@jameslamb

Description

On January 14th, I received the following email from Dr. Brian Ripley (speaking on behalf of CRAN):

GCC 15 has now reached 'stage 4', which typically means it is about a
month from release, so please submit an update before 2025-02-14.

lightgbm is also causing UBSAN issues in package gpboost and has
installation issues on Alpine Linux.

To stay on CRAN, we must put up a new release (at least of the R package) by February 14th.

Notes

Problem 1: "installation issues on Alpine Linux"

details: https://cran.r-project.org/web/checks/check_results_lightgbm.html

Version: 4.5.0
Check: top-level files
Result: NOTE 
    possible bashism in configure.ac line 63 (should be VAR="${VAR}foo"):
        LGB_CPPFLAGS+=" -DMM_PREFETCH=1"
    possible bashism in configure.ac line 89 (should be VAR="${VAR}foo"):
        LGB_CPPFLAGS+=" -DMM_MALLOC=1"

fixed by: #6746

Problem 2: "GCC 15 has now reached 'stage 4'"

details: https://www.stats.ox.ac.uk/pub/bdr/gcc15/lightgbm.out)

io/json11.cpp:102:28: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
io/json11.cpp:103:28: error: 'uint8_t' does not name a type
  103 |                static_cast<uint8_t>(value[i + 1]) == 0x80 &&
      |                            ^~~~~~~

fixed by: #6736

Problem 3: "lightgbm is also causing UBSAN issues in package gpboost"

Not sure what this refers to. I don't see any issues at these places:

@fabsig what does this note from CRAN refer to?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions