Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jameslamb opened this issue Jan 20, 2025 · 2 comments
Open

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

jameslamb opened this issue Jan 20, 2025 · 2 comments

Comments

@jameslamb
Copy link
Collaborator

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?

@fabsig
Copy link
Contributor

fabsig commented Jan 20, 2025

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

To my knowledge, this information is wrong. GPBoost has some UBSAN issues, but these are not due to LightGBM.

@jameslamb
Copy link
Collaborator Author

Ok great, thank you for the link and quick response!

@jameslamb jameslamb mentioned this issue Jan 23, 2025
29 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants