[pkg-uWSGI-devel] Bug#1098052: uwsgi: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:58:57 GMT 2025


Package: src:uwsgi
Version: 2.0.28-8
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/uwsgi_2.0.28-8_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
find -type d -name __pycache__ -delete
make[1]: Leaving directory '/build/reproducible-path/uwsgi-2.0.28'
   dh_autoreconf_clean -O--buildsystem=none
   dh_clean -O--buildsystem=none
 debian/rules binary
dh binary --buildsystem=none
   dh_update_autotools_config -O--buildsystem=none
   dh_autoreconf -O--buildsystem=none
   dh_auto_configure -O--buildsystem=none
   debian/rules override_dh_auto_build-arch
make[1]: Entering directory '/build/reproducible-path/uwsgi-2.0.28'
CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/uwsgi-2.0.28=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" python3 uwsgiconfig.py -v --build debian/buildconf/uwsgi-core.ini
using profile: debian/buildconf/uwsgi-core.ini
detected include path: ['/usr/lib/gcc/x86_64-linux-gnu/15/include', '/usr/local/include', '/usr/include/x86_64-linux-gnu', '/usr/include']
detected CPU cores: 8
configured CFLAGS: -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/uwsgi-2.0.28=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wformat-signedness -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY  -DUWSGI_PCRE2 -DUWSGI_ROUTING -DUWSGI_CAP -DUWSGI_UUID -DUWSGI_VERSION="\"2.0.28-debian\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="28" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"debian\"" -DUWSGI_YAML -DUWSGI_LIBYAML -I/usr/include/yajl -DUWSGI_JSON -DUWSGI_JSON_YAJL -DUWSGI_SSL -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR="\"/usr/lib/uwsgi/plugins\""
*** uWSGI compiling server core ***
[thread 3] x86_64-linux-gnu-gcc -c -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/uwsgi-2.0.28=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wformat-signedness -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY  -DUWSGI_PCRE2 -DUWSGI_ROUTING -DUWSGI_CAP -DUWSGI_UUID -DUWSGI_VERSION="\"2.0.28-debian\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="28" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"debian\"" -DUWSGI_YAML -DUWSGI_LIBYAML -I/usr/include/yajl -DUWSGI_JSON -DUWSGI_JSON_YAJL -DUWSGI_SSL -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR="\"/usr/lib/uwsgi/plugins\"" -DUWSGI_CFLAGS=\"2d4f32202d492e202d57616c6c202d445f4c4152474546494c455f534f55524345202d445f46494c455f4f46465345545f424954533d3634202d67202d4f32202d576572726f723d696d706c696369742d66756e6374696f6e2d6465636c61726174696f6e202d6666696c652d7072656669782d6d61703d2f6275696c642f726570726f64756369626c652d706174682f75777367692d322e302e32383d2e202d66737461636b2d70726f746563746f722d7374726f6e67202d66737461636b2d636c6173682d70726f74656374696f6e202d57666f726d6174202d576572726f723d666f726d61742d7365637572697479202d6663662d70726f74656374696f6e202d576578747261202d576e6f2d756e757365642d706172616d65746572202d576e6f2d6d697373696e672d6669656c642d696e697469616c697a657273202d57666f726d61742d7369676e65646e657373202d4455575347495f4841535f49464144445253202d4455575347495f5a4c4942202d4455575347495f4c4f434b5f5553455f4d55544558202d4455575347495f4556454e545f5553455f45504f4c4c202d4455575347495f4556454e545f54494d45525f5553455f54494d45524644202d4455575347495f4556454e545f46494c454d4f4e49544f525f5553455f494e4f5449465920202d4455575347495f5043524532202d4455575347495f524f5554494e47202d4455575347495f434150202d4455575347495f55554944202d4455575347495f56455253494f4e3d225c22322e302e32382d64656269616e5c2222202d4455575347495f56455253494f4e5f424153453d223222202d4455575347495f56455253494f4e5f4d414a4f523d223022202d4455575347495f56455253494f4e5f4d494e4f523d22323822202d4455575347495f56455253494f4e5f5245564953494f4e3d223022202d4455575347495f56455253494f4e5f435553544f4d3d225c2264656269616e5c2222202d4455575347495f59414d4c202d4455575347495f4c494259414d4c202d492f7573722f696e636c7564652f79616a6c202d4455575347495f4a534f4e202d4455575347495f4a534f4e5f59414a4c202d4455575347495f53534c202d492f7573722f696e636c7564652f6c6962786d6c32202d4455575347495f584d4c202d4455575347495f584d4c5f4c4942584d4c32202d4455575347495f504c5547494e5f4449523d225c222f7573722f6c69622f75777367692f706c7567696e735c2222\" -DUWSGI_BUILD_DATE="\"02 February 2025 13:22:14\"" -o core/utils.o core/utils.c
[thread 1] x86_64-linux-gnu-gcc -c -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/uwsgi-2.0.28=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wformat-signedness -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY  -DUWSGI_PCRE2 -DUWSGI_ROUTING -DUWSGI_CAP -DUWSGI_UUID -DUWSGI_VERSION="\"2.0.28-debian\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="28" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"debian\"" -DUWSGI_YAML -DUWSGI_LIBYAML -I/usr/include/yajl -DUWSGI_JSON -DUWSGI_JSON_YAJL -DUWSGI_SSL -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR="\"/usr/lib/uwsgi/plugins\"" -DUWSGI_CFLAGS=\"2d4f32202d492e202d57616c6c202d445f4c4152474546494c455f534f55524345202d445f46494c455f4f46465345545f424954533d3634202d67202d4f32202d576572726f723d696d706c696369742d66756e6374696f6e2d6465636c61726174696f6e202d6666696c652d7072656669782d6d61703d2f6275696c642f726570726f64756369626c652d706174682f75777367692d322e302e32383d2e202d66737461636b2d70726f746563746f722d7374726f6e67202d66737461636b2d636c6173682d70726f74656374696f6e202d57666f726d6174202d576572726f723d666f726d61742d7365637572697479202d6663662d70726f74656374696f6e202d576578747261202d576e6f2d756e757365642d706172616d65746572202d576e6f2d6d697373696e672d6669656c642d696e697469616c697a657273202d57666f726d61742d7369676e65646e657373202d4455575347495f4841535f49464144445253202d4455575347495f5a4c4942202d4455575347495f4c4f434b5f5553455f4d55544558202d4455575347495f4556454e545f5553455f45504f4c4c202d4455575347495f4556454e545f54494d45525f5553455f54494d45524644202d4455575347495f4556454e545f46494c454d4f4e49544f525f5553455f494e4f5449465920202d4455575347495f5043524532202d4455575347495f524f5554494e47202d4455575347495f434150202d4455575347495f55554944202d4455575347495f56455253494f4e3d225c22322e302e32382d64656269616e5c2222202d4455575347495f56455253494f4e5f424153453d223222202d4455575347495f56455253494f4e5f4d414a4f523d223022202d4455575347495f56455253494f4e5f4d494e4f523d22323822202d4455575347495f56455253494f4e5f5245564953494f4e3d223022202d4455575347495f56455253494f4e5f435553544f4d3d225c2264656269616e5c2222202d4455575347495f59414d4c202d4455575347495f4c494259414d4c202d492f7573722f696e636c7564652f79616a6c202d4455575347495f4a534f4e202d4455575347495f4a534f4e5f59414a4c202d4455575347495f53534c202d492f7573722f696e636c7564652f6c6962786d6c32202d4455575347495f584d4c202d4455575347495f584d4c5f4c4942584d4c32202d4455575347495f504c5547494e5f4449523d225c222f7573722f6c69622f75777367692f706c7567696e735c2222\" -DUWSGI_BUILD_DATE="\"02 February 2025 13:22:14\"" -o core/protocol.o core/protocol.c
[thread 2] x86_64-linux-gnu-gcc -c -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/uwsgi-2.0.28=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wformat-signedness -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY  -DUWSGI_PCRE2 -DUWSGI_ROUTING -DUWSGI_CAP -DUWSGI_UUID -DUWSGI_VERSION="\"2.0.28-debian\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="28" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"debian\"" -DUWSGI_YAML -DUWSGI_LIBYAML -I/usr/include/yajl -DUWSGI_JSON -DUWSGI_JSON_YAJL -DUWSGI_SSL -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR="\"/usr/lib/uwsgi/plugins\"" -DUWSGI_CFLAGS=\"2d4f32202d492e202d57616c6c202d445f4c4152474546494c455f534f55524345202d445f46494c455f4f46465345545f424954533d3634202d67202d4f32202d576572726f723d696d706c696369742d66756e6374696f6e2d6465636c61726174696f6e202d6666696c652d7072656669782d6d61703d2f6275696c642f726570726f64756369626c652d706174682f75777367692d322e302e32383d2e202d66737461636b2d70726f746563746f722d7374726f6e67202d66737461636b2d636c6173682d70726f74656374696f6e202d57666f726d6174202d576572726f723d666f726d61742d7365637572697479202d6663662d70726f74656374696f6e202d576578747261202d576e6f2d756e757365642d706172616d65746572202d576e6f2d6d697373696e672d6669656c642d696e697469616c697a657273202d57666f726d61742d7369676e65646e657373202d4455575347495f4841535f49464144445253202d4455575347495f5a4c4942202d4455575347495f4c4f434b5f5553455f4d55544558202d4455575347495f4556454e545f5553455f45504f4c4c202d4455575347495f4556454e545f54494d45525f5553455f54494d45524644202d4455575347495f4556454e545f46494c454d4f4e49544f525f5553455f494e4f5449465920202d4455575347495f5043524532202d4455575347495f524f5554494e47202d4455575347495f434150202d4455575347495f55554944202d4455575347495f56455253494f4e3d225c22322e302e32382d64656269616e5c2222202d4455575347495f56455253494f4e5f424153453d223222202d4455575347495f56455253494f4e5f4d414a4f523d223022202d4455575347495f56455253494f4e5f4d494e4f523d22323822202d4455575347495f56455253494f4e5f5245564953494f4e3d223022202d4455575347495f56455253494f4e5f435553544f4d3d225c2264656269616e5c2222202d4455575347495f59414d4c202d4455575347495f4c494259414d4c202d492f7573722f696e636c7564652f79616a6c202d4455575347495f4a534f4e202d4455575347495f4a534f4e5f59414a4c202d4455575347495f53534c202d492f7573722f696e636c7564652f6c6962786d6c32202d4455575347495f584d4c202d4455575347495f584d4c5f4c4942584d4c32202d4455575347495f504c5547494e5f4449523d225c222f7573722f6c69622f75777367692f706c7567696e735c2222\" -DUWSGI_BUILD_DATE="\"02 February 2025 13:22:14\"" -o core/socket.o core/socket.c
[thread 6] x86_64-linux-gnu-gcc -c -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/uwsgi-2.0.28=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wformat-signedness -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY  -DUWSGI_PCRE2 -DUWSGI_ROUTING -DUWSGI_CAP -DUWSGI_UUID -DUWSGI_VERSION="\"2.0.28-debian\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="28" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"debian\"" -DUWSGI_YAML -DUWSGI_LIBYAML -I/usr/include/yajl -DUWSGI_JSON -DUWSGI_JSON_YAJL -DUWSGI_SSL -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR="\"/usr/lib/uwsgi/plugins\"" -DUWSGI_CFLAGS=\"2d4f32202d492e202d57616c6c202d445f4c4152474546494c455f534f55524345202d445f46494c455f4f46465345545f424954533d3634202d67202d4f32202d576572726f723d696d706c696369742d66756e6374696f6e2d6465636c61726174696f6e202d6666696c652d7072656669782d6d61703d2f6275696c642f726570726f64756369626c652d706174682f75777367692d322e302e32383d2e202d66737461636b2d70726f746563746f722d7374726f6e67202d66737461636b2d636c6173682d70726f74656374696f6e202d57666f726d6174202d576572726f723d666f726d61742d7365637572697479202d6663662d70726f74656374696f6e202d576578747261202d576e6f2d756e757365642d706172616d65746572202d576e6f2d6d697373696e672d6669656c642d696e697469616c697a657273202d57666f726d61742d7369676e65646e657373202d4455575347495f4841535f49464144445253202d4455575347495f5a4c4942202d4455575347495f4c4f434b5f5553455f4d55544558202d4455575347495f4556454e545f5553455f45504f4c4c202d4455575347495f4556454e545f54494d45525f5553455f54494d45524644202d4455575347495f4556454e545f46494c454d4f4e49544f525f5553455f494e4f5449465920202d4455575347495f5043524532202d4455575347495f524f5554494e47202d4455575347495f434150202d4455575347495f55554944202d4455575347495f56455253494f4e3d225c22322e302e32382d64656269616e5c2222202d4455575347495f56455253494f4e5f424153453d223222202d4455575347495f56455253494f4e5f4d414a4f523d223022202d4455575347495f56455253494f4e5f4d494e4f523d22323822202d4455575347495f56455253494f4e5f5245564953494f4e3d223022202d4455575347495f56455253494f4e5f435553544f4d3d225c2264656269616e5c2222202d4455575347495f59414d4c202d4455575347495f4c494259414d4c202d492f7573722f696e636c7564652f79616a6c202d4455575347495f4a534f4e202d4455575347495f4a534f4e5f59414a4c202d4455575347495f53534c202d492f7573722f696e636c7564652f6c6962786d6c32202d4455575347495f584d4c202d4455575347495f584d4c5f4c4942584d4c32202d4455575347495f504c5547494e5f4449523d225c222f7573722f6c69622f75777367692f706c7567696e735c2222\" -DUWSGI_BUILD_DATE="\"02 February 2025 13:22:14\"" -o core/logging.o core/logging.c
[thread 4] x86_64-linux-gnu-gcc -c -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/uwsgi-2.0.28=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wformat-signedness -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY  -DUWSGI_PCRE2 -DUWSGI_ROUTING -DUWSGI_CAP -DUWSGI_UUID -DUWSGI_VERSION="\"2.0.28-debian\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="28" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"debian\"" -DUWSGI_YAML -DUWSGI_LIBYAML -I/usr/include/yajl -DUWSGI_JSON -DUWSGI_JSON_YAJL -DUWSGI_SSL -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR="\"/usr/lib/uwsgi/plugins\"" -DUWSGI_CFLAGS=\"2d4f32202d492e202d57616c6c202d445f4c4152474546494c455f534f55524345202d445f46494c455f4f46465345545f424954533d3634202d67202d4f32202d576572726f723d696d706c696369742d66756e6374696f6e2d6465636c61726174696f6e202d6666696c652d7072656669782d6d61703d2f6275696c642f726570726f64756369626c652d706174682f75777367692d322e302e32383d2e202d66737461636b2d70726f746563746f722d7374726f6e67202d66737461636b2d636c6173682d70726f74656374696f6e202d57666f726d6174202d576572726f723d666f726d61742d7365637572697479202d6663662d70726f74656374696f6e202d576578747261202d576e6f2d756e757365642d706172616d65746572202d576e6f2d6d697373696e672d6669656c642d696e697469616c697a657273202d57666f726d61742d7369676e65646e657373202d4455575347495f4841535f49464144445253202d4455575347495f5a4c4942202d4455575347495f4c4f434b5f5553455f4d55544558202d4455575347495f4556454e545f5553455f45504f4c4c202d4455575347495f4556454e545f54494d45525f5553455f54494d45524644202d4455575347495f4556454e545f46494c454d4f4e49544f525f5553455f494e4f5449465920202d4455575347495f5043524532202d4455575347495f524f5554494e47202d4455575347495f434150202d4455575347495f55554944202d4455575347495f56455253494f4e3d225c22322e302e32382d64656269616e5c2222202d4455575347495f56455253494f4e5f424153453d223222202d4455575347495f56455253494f4e5f4d414a4f523d223022202d4455575347495f56455253494f4e5f4d494e4f523d22323822202d4455575347495f56455253494f4e5f5245564953494f4e3d223022202d4455575347495f56455253494f4e5f435553544f4d3d225c2264656269616e5c2222202d4455575347495f59414d4c202d4455575347495f4c494259414d4c202d492f7573722f696e636c7564652f79616a6c202d4455575347495f4a534f4e202d4455575347495f4a534f4e5f59414a4c202d4455575347495f53534c202d492f7573722f696e636c7564652f6c6962786d6c32202d4455575347495f584d4c202d4455575347495f584d4c5f4c4942584d4c32202d4455575347495f504c5547494e5f4449523d225c222f7573722f6c69622f75777367692f706c7567696e735c2222\" -DUWSGI_BUILD_DATE="\"02 February 2025 13:22:14\"" -o core/master.o core/master.c
[thread 0] x86_64-linux-gnu-gcc -c -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/uwsgi-2.0.28=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wformat-signedness -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY  -DUWSGI_PCRE2 -DUWSGI_ROUTING -DUWSGI_CAP -DUWSGI_UUID -DUWSGI_VERSION="\"2.0.28-debian\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="28" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"debian\"" -DUWSGI_YAML -DUWSGI_LIBYAML -I/usr/include/yajl -DUWSGI_JSON -DUWSGI_JSON_YAJL -DUWSGI_SSL -I/usr/include/libxml2 -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR="\"/usr/lib/uwsgi/plugins\"" -DUWSGI_CFLAGS=\"2d4f32202d492e202d57616c6c202d445f4c4152474546494c455f534f55524345202d445f46494c455f4f46465345545f424954533d3634202d67202d4f32202d576572726f723d696d706c696369742d66756e6374696f6e2d6465636c61726174696f6e202d6666696c652d7072656669782d6d61703d2f6275696c642f726570726f64756369626c652d706174682f75777367692d322e302e32383d2e202d66737461636b2d70726f746563746f722d7374726f6e67202d66737461636b2d636c6173682d70726f74656374696f6e202d57666f726d6174202d576572726f723d666f726d61742d7365637572697479202d6663662d70726f74656374696f6e202d576578747261202d576e6f2d756e757365642d706172616d65746572202d576e6f2d6d697373696e672d6669656c642d696e697469616c697a657273202d57666f726d61742d7369676e65646e657373202d4455575347495f4841535f49464144445253202d4455575347495f5a4c4942202d4455575347495f4c4f434b5f5553455f4d55544558202d4455575347495f4556454e545f5553455f45504f4c4c202d4455575347495f4556454e545f54494d45525f5553455f54494d45524644202d4455575347495f4556454e545f46494c454d4f4e49544f525f5553455f494e4f5449465920202d4455575347495f5043524532202d4455575347495f524f5554494e47202d4455575347495f434150202d4455575347495f55554944202d4455575347495f56455253494f4e3d225c22322e302e32382d64656269616e5c2222202d4455575347495f56455253494f4e5f424153453d223222202d4455575347495f56455253494f4e5f4d414a4f523d223022202d4455575347495f56455253494f4e5f4d494e4f523d22323822202d4455575347495f56455253494f4e5f5245564953494f4e3d223022202d4455575347495f56455253494f4e5f435553544f4d3d225c2264656269616e5c2222202d4455575347495f59414d4c202d4455575347495f4c494259414d4c202d492f7573722f696e636c7564652f79616a6c202d4455575347495f4a534f4e202d4455575347495f4a534f4e5f59414a4c202d4455575347495f53534c202d492f7573722f696e636c7564652f6c6962786d6c32202d4455575347495f584d4c202d4455575347495f584d4c5f4c4942584d4c32202d4455575347495f504c5547494e5f4449523d225c222f7573722f6c69622f75777367692f706c7567696e735c2222\" -DUWSGI_BUILD_DATE="\"02 February 2025 13:22:14\"" -o core/master_utils.o core/master_utils.ccore/emperor.c: In function ‘emperor_loop’:
core/emperor.c:1685:36: error: passing argument 2 of ‘uwsgi_unix_signal’ from incompatible pointer type [-Wincompatible-pointer-types]
 1685 |         uwsgi_unix_signal(SIGUSR1, emperor_stats);
      |                                    ^~~~~~~~~~~~~
      |                                    |
      |                                    void (*)(void)
In file included from core/emperor.c:6:
./uwsgi.h:3483:29: note: expected ‘void (*)(int)’ but argument is of type ‘void (*)(void)’
 3483 | void uwsgi_unix_signal(int, void (*)(int));
      |                             ^~~~~~~~~~~~~
core/emperor.c:601:13: note: ‘emperor_stats’ declared here
  601 | static void emperor_stats() {
      |             ^~~~~~~~~~~~~
core/master_utils.c: In function ‘uwsgi_respawn_worker’:
core/master_utils.c:711:34: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
  711 |                 signal(SIGWINCH, worker_wakeup);
      |                                  ^~~~~~~~~~~~~
      |                                  |
      |                                  void (*)(void)
In file included from ./uwsgi.h:168,
                 from core/master_utils.c:1:
/usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
core/master_utils.c:5:6: note: ‘worker_wakeup’ declared here
    5 | void worker_wakeup() {
      |      ^~~~~~~~~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
core/master_utils.c:712:33: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
  712 |                 signal(SIGTSTP, worker_wakeup);
      |                                 ^~~~~~~~~~~~~
      |                                 |
      |                                 void (*)(void)
/usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
core/master_utils.c:5:6: note: ‘worker_wakeup’ declared here
    5 | void worker_wakeup() {
      |      ^~~~~~~~~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
make[1]: *** [debian/rules:60: bin/uwsgi-core] Error 1
make[1]: Leaving directory '/build/reproducible-path/uwsgi-2.0.28'
make: *** [debian/rules:57: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the pkg-uWSGI-devel mailing list