Public bug reported:

Imported from Debian bug http://bugs.debian.org/1074977:

Package: src:ganglia
Version: 3.7.2-7
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/ganglia_3.7.2-7_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html

[...]
libtool: link: rm -fr .libs/modproc.lax
libtool: link: ar cr .libs/modsys.a  mod_sys.o  
.libs/modsys.lax/libmetrics.a/get_ifi_info.o 
.libs/modsys.lax/libmetrics.a/interface.o 
.libs/modsys.lax/libmetrics.a/libmetrics.o 
.libs/modsys.lax/libmetrics.a/metrics.o 
libtool: link: ranlib .libs/modsys.a
libtool: link: ( cd ".libs" && rm -f "modproc.la" && ln -s "../modproc.la" 
"modproc.la" )
libtool: link: rm -fr .libs/modsys.lax
libtool: link: ( cd ".libs" && rm -f "modsys.la" && ln -s "../modsys.la" 
"modsys.la" )
make[5]: Leaving directory '/<<PKGBUILDDIR>>/gmond/modules/system'
make[5]: Entering directory '/<<PKGBUILDDIR>>/gmond/modules'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/gmond/modules'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/gmond/modules'
Making all in python_modules
make[4]: Entering directory '/<<PKGBUILDDIR>>/gmond/python_modules'
make[5]: Entering directory '/<<PKGBUILDDIR>>/gmond/python_modules'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/gmond/python_modules'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/gmond/python_modules'
make[4]: Entering directory '/<<PKGBUILDDIR>>/gmond'
gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-I/usr/include/apr-1.0   -Wdate-time -D_FORTIFY_SOURCE=2 -I../lib -I../include/ 
-I../libmetrics -D_LARGEFILE64_SOURCE -DSFLOW -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/tirpc/ 
-fno-strict-aliasing -Wall -D_REENTRANT -c -o gmond.o gmond.c
../scripts/fixconfig cmdline.c.in
gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-I/usr/include/apr-1.0   -Wdate-time -D_FORTIFY_SOURCE=2 -I../lib -I../include/ 
-I../libmetrics -D_LARGEFILE64_SOURCE -DSFLOW -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/tirpc/ 
-fno-strict-aliasing -Wall -D_REENTRANT -c -o g25_config.o g25_config.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-I/usr/include/apr-1.0   -Wdate-time -D_FORTIFY_SOURCE=2 -I../lib -I../include/ 
-I../libmetrics -D_LARGEFILE64_SOURCE -DSFLOW -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/tirpc/ 
-fno-strict-aliasing -Wall -D_REENTRANT -c -o core_metrics.o core_metrics.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-I/usr/include/apr-1.0   -Wdate-time -D_FORTIFY_SOURCE=2 -I../lib -I../include/ 
-I../libmetrics -D_LARGEFILE64_SOURCE -DSFLOW -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/tirpc/ 
-fno-strict-aliasing -Wall -D_REENTRANT -c -o sflow.o sflow.c
gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX -D_REENTRANT -D_GNU_SOURCE 
-I/usr/include/apr-1.0   -Wdate-time -D_FORTIFY_SOURCE=2 -I../lib -I../include/ 
-I../libmetrics -D_LARGEFILE64_SOURCE -DSFLOW -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -I/usr/include/tirpc/ 
-fno-strict-aliasing -Wall -D_REENTRANT -c -o cmdline.o cmdline.c
cmdline.c: In function ‘cmdline_parser_internal’:
cmdline.c:491:7: warning: variable ‘check_required’ set but not used 
[-Wunused-but-set-variable]
  491 |   int check_required;
      |       ^~~~~~~~~~~~~~
sflow.c: In function ‘process_struct_JVM_VCPU’:
sflow.c:610:37: warning: variable ‘jvm_vcpus’ set but not used 
[-Wunused-but-set-variable]
  610 |   uint32_t jvm_vstate, jvm_vcpu_mS, jvm_vcpus;
      |                                     ^~~~~~~~~
sflow.c:610:12: warning: variable ‘jvm_vstate’ set but not used 
[-Wunused-but-set-variable]
  610 |   uint32_t jvm_vstate, jvm_vcpu_mS, jvm_vcpus;
      |            ^~~~~~~~~~
sflow.c: In function ‘processCounterSample’:
sflow.c:1151:8: warning: variable ‘sflowdsi’ set but not used 
[-Wunused-but-set-variable]
 1151 |   char sflowdsi[SFLOW_MAX_DSI_LEN + 1];
      |        ^~~~~~~~
sflow.c: In function ‘process_sflow_datagram’:
sflow.c:1474:20: warning: the comparison will always evaluate as ‘false’ for 
the address of ‘agentipstr’ will never be NULL [-Waddress]
 1474 |   if(x->agentipstr == NULL || x->agentipstr[0] == '\0') {
      |                    ^~
In file included from sflow.c:16:
sflow.h:77:8: note: ‘agentipstr’ declared here
   77 |   char agentipstr[SFLOW_MAX_IPSTR_LEN];
      |        ^~~~~~~~~~
gmond.c: In function ‘process_tcp_accept_channel’:
gmond.c:2060:68: error: passing argument 4 of ‘apr_socket_data_set’ from 
incompatible pointer type [-Wincompatible-pointer-types]
 2060 |       apr_status_t r = apr_socket_data_set(client, strm, GZIP_KEY, 
&zstream_destroy);
      |                                                                    
^~~~~~~~~~~~~~~~
      |                                                                    |
      |                                                                    void 
(*)(z_stream *) {aka void (*)(struct z_stream_s *)}
In file included from /usr/include/apr-1.0/apr_poll.h:28,
                 from gmond.c:32:
/usr/include/apr-1.0/apr_network_io.h:547:62: note: expected ‘apr_status_t 
(*)(void *)’ {aka ‘int (*)(void *)’} but argument is of type ‘void (*)(z_stream 
*)’ {aka ‘void (*)(struct z_stream_s *)’}
  547 |                                               apr_status_t 
(*cleanup)(void*));
      |                                               
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
make[4]: *** [Makefile:588: gmond.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/gmond'
make[3]: *** [Makefile:681: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/gmond'
make[2]: *** [Makefile:483: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:402: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

** Affects: ganglia (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ganglia (Debian)
     Importance: Undecided
         Status: New


** Tags: ftbfs update-excuse

** Bug watch added: Debian Bug tracker #1074977
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074977

** Changed in: ganglia (Debian)
 Remote watch: None => Debian Bug tracker #1074977

** Tags added: ftbfs update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2121368

Title:
  ganglia: ftbfs with GCC-14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ganglia/+bug/2121368/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to