Source: collectd
Version: 5.12.0-9
Severity: serious
Tags: ftbfs

`collectd` fails to build from source, both when compiled locally and when run from a salsa pipeline.

Full log: https://salsa.debian.org/gioele/pkg-collectd/-/jobs/3046171

```
src/capabilities.c: In function 'cap_http_handler':
src/capabilities.c:209:23: error: storing the address of local variable '({anonymous})' in '*connection_state' [-Werror=dangling-pointer=]
  209 |     *connection_state = &(int){44};
      |     ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
src/capabilities.c:209:31: note: '({anonymous})' declared here
  209 |     *connection_state = &(int){44};
      |                               ^
src/capabilities.c:209:31: note: 'connection_state' declared here
cc1: all warnings being treated as errors
make[2]: *** [Makefile:7785: src/capabilities_la-capabilities.lo] Error 1
make[2]: Leaving directory '/build/collectd-5.12.0'
make[1]: *** [Makefile:5456: all] Error 2
make[1]: Leaving directory '/build/collectd-5.12.0'
make: *** [debian/rules:277: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
```

Regards,

--
Gioele Barabucci

Reply via email to