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
Ntopng fails to build on gentoo with gcc 13.2 invalid conversion from 'char**' to 'const char**' #8229
Comments
I'm sorry, we won't be able to accept your fix because you are not using the same RRD library we are using. If you look at https://github.com/ntop/ntopng/blob/dev/third-party/rrdtool-1.4.8/src/rrd.h#L204 if we accept your patch we'll break our code. |
Does ntopng officially supports only old rrdtool version 1.4.8 or is this a library fork? |
Please apply a patch that does work, then. This should not be too complicated: Makefile.in checks for HAS_LIBRRDTOOL via pkg-config and in the absence of a pkg-config detected system copy it uses the included copy. That check can set a -DHAS_LIBRRDTOOL which can then be used to conditionalize the patch logic to only apply on versions of rrdtool where it is relevant. @adippl can you update the patch to do so and submit a PR? |
@eli-schwartz I'm not super familiar with these build systems and cannot get this to work. If I'm reading makefile.in correctly build system should auto build rrdtool-1.4.8 if system one isn't available. Line 49 in e7f302e
Also, It would be good idea to change pkg-config rrdtool version detection to --exact-version=1.4.8 since if officially supports only this version.
|
Environment:
What happened:
Ntopng fails to build on gentoo with gcc 13.2.1_p20240113-r1::gentoo
How did you reproduce it?
Package doesn't compile for me and other users.
Link to gentoo buzilla bug with patch solving this issue.
https://bugs.gentoo.org/861230
The text was updated successfully, but these errors were encountered: