Package: src:collectd
Version: 5.12.0-23
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

[ note: CC to Samuel Henrique, as this seems related to the recent upload of 
curl ]

--------------------------------------------------------------------------------
[...]
libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -I./src 
-I./src/daemon -DPREFIX=\"/usr\" -DCONFIGFILE=\"/etc/collectd.conf\" 
-DLOCALSTATEDIR=\"/var\" -DPKGLOCALSTATEDIR=\"/var/lib/collectd\" 
-DPLUGINDIR=\"/usr/lib/collectd\" -DPKGDATADIR=\"/usr/share/collectd\" 
-Wdate-time -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/debian/include -UCONFIGFILE 
-DCONFIGFILE=\"/etc/collectd/collectd.conf\" -Wall -Werror -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall 
-Wno-error=deprecated-declarations -Wno-error=address-of-packed-member 
-Wno-stringop-truncation -Wno-cpp -Wno-error=format-truncation -MT 
src/curl_json_la-curl_json.lo -MD -MP -MF src/.deps/curl_json_la-curl_json.Tpo 
-c src/curl_json.c  -fPIC -DPIC -o src/.libs/curl_json_la-curl_json.o
In file included from src/utils/curl_stats/curl_stats.h:32,
                 from src/curl.c:28:
In function 'cc_page_init_curl',
    inlined from 'cc_config_add_page' at src/curl.c:529:16,
    inlined from 'cc_config' at src/curl.c:566:16:
src/curl.c:349:3: error: call to '_curl_easy_setopt_err_long' declared with 
attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
  349 |   curl_easy_setopt(wp->curl, CURLOPT_IPRESOLVE, wp->address_family);
      |   ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:7808: src/curl_la-curl.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from src/utils/curl_stats/curl_stats.h:32,
                 from src/curl_json.c:29:
In function 'cj_init_curl',
    inlined from 'cj_config_add_url' at src/curl_json.c:749:16,
    inlined from 'cj_config' at src/curl_json.c:793:16:
src/curl_json.c:586:3: error: call to '_curl_easy_setopt_err_long' declared 
with attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
  586 |   curl_easy_setopt(db->curl, CURLOPT_IPRESOLVE, db->address_family);
      |   ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:7829: src/curl_json_la-curl_json.lo] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:5467: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:281: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202506/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:collectd, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to