-
Bug
-
Resolution: Done
-
Undefined
-
CentOS Stream 10, rhel-10.0
-
None
-
None
-
rhel-sst-cs-stacks
-
ssg_core_services
-
25
-
None
-
False
-
-
None
-
None
-
Pass
-
Not Needed
-
RegressionOnly
-
None
php-pecl-rrd fails to build on CS 10 / RHEL 10
https://kojihub.stream.centos.org/koji/taskinfo?taskID=3632831
It fails with errors like these:
/builddir/build/BUILD/php-pecl-rrd-2.0.3/NTS/rrd_info.c:47:37: error: passing argument 2 of 'rrd_info' from incompatible pointer type [-Wincompatible-pointer-types] 47 | rrd_info_data = rrd_info(2, &argv[1]); | ^~~~~~~~ | | | char ** In file included from /builddir/build/BUILD/php-pecl-rrd-2.0.3/NTS/rrd_info.c:17: /usr/include/rrd.h:161:5: note: expected 'const char **' but argument is of type 'char **' 161 | const char **); | ^~~~~~~~~~~~~ /builddir/build/BUILD/php-pecl-rrd-2.0.3/NTS/rrd_graph.c: In function 'zim_RRDGraph_save': /builddir/build/BUILD/php-pecl-rrd-2.0.3/NTS/rrd_graph.c:207:46: error: passing argument 2 of 'rrd_graph' from incompatible pointer type [-Wincompatible-pointer-types] 207 | if (rrd_graph(graph_argv->count - 1, &graph_argv->args[1], &calcpr, &xsize, | ^~~~~~~~~~~~~~~~~~~~
Be believe this is due to a late API change in rrdtool.
- links to
-
RHBA-2024:134686 php-pecl-rrd bug fix and enhancement update