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

CI failure #1355

Open
maelle opened this issue May 6, 2024 · 1 comment
Open

CI failure #1355

maelle opened this issue May 6, 2024 · 1 comment
Assignees
Milestone

Comments

@maelle
Copy link
Contributor

maelle commented May 6, 2024

2024-05-06T13:51:49.9711210Z * checking compiled code ... WARNING
2024-05-06T13:51:49.9735150Z ##[warning]File ‘igraph/libs/igraph.so’:
2024-05-06T13:51:49.9736660Z   Found ‘___sprintf_chk’, possibly from ‘sprintf’ (C)
2024-05-06T13:51:49.9737240Z     Objects: ‘vendor/cigraph/vendor/glpk/api/asnlp.o’,
2024-05-06T13:51:49.9738280Z       ‘vendor/cigraph/vendor/glpk/api/cplex.o’,
2024-05-06T13:51:49.9738870Z       ‘vendor/cigraph/vendor/glpk/api/maxflp.o’,
2024-05-06T13:51:49.9739320Z       ‘vendor/cigraph/vendor/glpk/api/mcflp.o’,
2024-05-06T13:51:49.9739800Z       ‘vendor/cigraph/vendor/glpk/api/wrcnf.o’,
2024-05-06T13:51:49.9740370Z       ‘vendor/cigraph/vendor/glpk/draft/glpapi09.o’,
2024-05-06T13:51:49.9740920Z       ‘vendor/cigraph/vendor/glpk/draft/glpios03.o’,
2024-05-06T13:51:49.9741360Z       ‘vendor/cigraph/vendor/glpk/mpl/mpl3.o’,
2024-05-06T13:51:49.9741860Z       ‘vendor/cigraph/vendor/glpk/mpl/mpl5.o’,
2024-05-06T13:51:49.9742300Z       ‘vendor/cigraph/vendor/glpk/mpl/mpl6.o’
2024-05-06T13:51:49.9742760Z   Found ‘___stdoutp’, possibly from ‘stdout’ (C)
2024-05-06T13:51:49.9743320Z     Objects: ‘vendor/cigraph/vendor/glpk/env/stdout.o’,
2024-05-06T13:51:49.9743780Z       ‘vendor/cigraph/vendor/glpk/misc/mygmp.o’,
2024-05-06T13:51:49.9744340Z       ‘vendor/cigraph/vendor/glpk/mpl/mpl4.o’
2024-05-06T13:51:49.9744860Z   Found ‘___vsprintf_chk’, possibly from ‘vsprintf’ (C)
2024-05-06T13:51:49.9745330Z     Objects: ‘vendor/cigraph/vendor/glpk/mpl/mpl3.o’,
2024-05-06T13:51:49.9745770Z       ‘vendor/cigraph/vendor/glpk/mpl/mpl4.o’
2024-05-06T13:51:49.9746350Z   Found ‘_exit’, possibly from ‘exit’ (C)
2024-05-06T13:51:49.9746790Z     Object: ‘vendor/cigraph/vendor/glpk/proxy/main.o’
2024-05-06T13:51:49.9753260Z   Found ‘_printf’, possibly from ‘printf’ (C)
2024-05-06T13:51:49.9754080Z     Object: ‘vendor/cigraph/vendor/glpk/proxy/main.o’
2024-05-06T13:51:49.9754600Z   Found ‘_puts’, possibly from ‘printf’ (C), ‘puts’ (C)
2024-05-06T13:51:49.9755120Z     Object: ‘vendor/cigraph/vendor/glpk/proxy/main.o’
2024-05-06T13:51:49.9758090Z   Found ‘_sprintf’, possibly from ‘sprintf’ (C)
2024-05-06T13:51:49.9758590Z     Objects: ‘vendor/cigraph/vendor/glpk/api/cplex.o’,
2024-05-06T13:51:49.9759150Z       ‘vendor/cigraph/vendor/glpk/api/mps.o’,
2024-05-06T13:51:49.9759580Z       ‘vendor/cigraph/vendor/glpk/api/prrngs.o’,
2024-05-06T13:51:49.9760050Z       ‘vendor/cigraph/vendor/glpk/draft/glpios01.o’,
2024-05-06T13:51:49.9760560Z       ‘vendor/cigraph/vendor/glpk/mpl/mpl3.o’
2024-05-06T13:51:49.9761030Z   Found ‘_vsprintf’, possibly from ‘vsprintf’ (C)
2024-05-06T13:51:49.9761500Z     Objects: ‘vendor/cigraph/vendor/glpk/env/stdout.o’,
2024-05-06T13:51:49.9762020Z       ‘vendor/cigraph/vendor/glpk/env/stream.o’
2024-05-06T13:51:49.9762250Z 
2024-05-06T13:51:49.9762570Z Compiled code should not call entry points which might terminate R nor
2024-05-06T13:51:49.9763200Z write to stdout/stderr instead of to the console, nor use Fortran I/O
2024-05-06T13:51:49.9763820Z nor system RNGs nor [v]sprintf.
2024-05-06T13:51:49.9764370Z See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
@szhorvat
Copy link
Member

szhorvat commented May 6, 2024

This happens specifically on macOS, where for some reason it's using the vendored GLPK. I mentioned it here: #1347 (comment)

It happens either because GLPK is not available in that build image or because it is available but our configure script doesn't properly detect it. I can't see anything wrong with the configure script, so I suppose it's the first.

Note: Fixing up the vendored GLPK to CRAN standards is not realistic or reasonable, what's needed is to use an external one.

@maelle maelle added this to the 2.0.4 milestone May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants