Package: src:libs3
Version: 2.0-4.1
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 ]

--------------------------------------------------------------------------------
[...]
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
-Werror -Wshadow -Wextra -Iinc  -I/usr/include/libxml2  -DLIBS3_VER_MAJOR=\"2\" 
-DLIBS3_VER_MINOR=\"0\" -DLIBS3_VER=\"2.0\" -D__STRICT_ANSI__ -D_ISOC99_SOURCE 
-D_POSIX_C_SOURCE=200112L -fpic -fPIC -o build/obj/service_access_logging.do -c 
src/service_access_logging.c 
In file included from inc/util.h:30,
                 from inc/response_headers_handler.h:32,
                 from inc/request.h:32,
                 from src/request.c:32:
In function ‘setup_curl’,
    inlined from ‘request_get’ at src/request.c:1009:19,
    inlined from ‘request_perform’ at src/request.c:1173:19:
src/request.c:802:19: error: call to ‘_curl_easy_setopt_err_long’ declared 
with attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
  802 |     if ((status = curl_easy_setopt                                      
\
      |                   ^~~~~~~~~~~~~~~~
src/request.c:827:5: note: in expansion of macro ‘curl_easy_setopt_safe’
  827 |     curl_easy_setopt_safe(CURLOPT_FILETIME, 1);
      |     ^~~~~~~~~~~~~~~~~~~~~
src/request.c:802:19: error: call to ‘_curl_easy_setopt_err_long’ declared 
with attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
  802 |     if ((status = curl_easy_setopt                                      
\
      |                   ^~~~~~~~~~~~~~~~
src/request.c:833:5: note: in expansion of macro ‘curl_easy_setopt_safe’
  833 |     curl_easy_setopt_safe(CURLOPT_NOSIGNAL, 1);
      |     ^~~~~~~~~~~~~~~~~~~~~
src/request.c:802:19: error: call to ‘_curl_easy_setopt_err_long’ declared 
with attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
  802 |     if ((status = curl_easy_setopt                                      
\
      |                   ^~~~~~~~~~~~~~~~
src/request.c:836:5: note: in expansion of macro ‘curl_easy_setopt_safe’
  836 |     curl_easy_setopt_safe(CURLOPT_NOPROGRESS, 1);
      |     ^~~~~~~~~~~~~~~~~~~~~
src/request.c:802:19: error: call to ‘_curl_easy_setopt_err_long’ declared 
with attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
  802 |     if ((status = curl_easy_setopt                                      
\
      |                   ^~~~~~~~~~~~~~~~
src/request.c:845:5: note: in expansion of macro ‘curl_easy_setopt_safe’
  845 |     curl_easy_setopt_safe(CURLOPT_TCP_NODELAY, 1);
      |     ^~~~~~~~~~~~~~~~~~~~~
src/request.c:802:19: error: call to ‘_curl_easy_setopt_err_long’ declared 
with attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
  802 |     if ((status = curl_easy_setopt                                      
\
      |                   ^~~~~~~~~~~~~~~~
src/request.c:853:5: note: in expansion of macro ‘curl_easy_setopt_safe’
  853 |     curl_easy_setopt_safe(CURLOPT_SSL_VERIFYPEER, 0);
      |     ^~~~~~~~~~~~~~~~~~~~~
src/request.c:802:19: error: call to ‘_curl_easy_setopt_err_long’ declared 
with attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
  802 |     if ((status = curl_easy_setopt                                      
\
      |                   ^~~~~~~~~~~~~~~~
src/request.c:856:5: note: in expansion of macro ‘curl_easy_setopt_safe’
  856 |     curl_easy_setopt_safe(CURLOPT_FOLLOWLOCATION, 1);
      |     ^~~~~~~~~~~~~~~~~~~~~
src/request.c:802:19: error: call to ‘_curl_easy_setopt_err_long’ declared 
with attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
  802 |     if ((status = curl_easy_setopt                                      
\
      |                   ^~~~~~~~~~~~~~~~
src/request.c:859:5: note: in expansion of macro ‘curl_easy_setopt_safe’
  859 |     curl_easy_setopt_safe(CURLOPT_MAXREDIRS, 10);
      |     ^~~~~~~~~~~~~~~~~~~~~
src/request.c:802:19: error: call to ‘_curl_easy_setopt_err_long’ declared 
with attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
  802 |     if ((status = curl_easy_setopt                                      
\
      |                   ^~~~~~~~~~~~~~~~
src/request.c:868:5: note: in expansion of macro ‘curl_easy_setopt_safe’
  868 |     curl_easy_setopt_safe(CURLOPT_LOW_SPEED_LIMIT, 1024);
      |     ^~~~~~~~~~~~~~~~~~~~~
src/request.c:802:19: error: call to ‘_curl_easy_setopt_err_long’ declared 
with attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
  802 |     if ((status = curl_easy_setopt                                      
\
      |                   ^~~~~~~~~~~~~~~~
src/request.c:869:5: note: in expansion of macro ‘curl_easy_setopt_safe’
  869 |     curl_easy_setopt_safe(CURLOPT_LOW_SPEED_TIME, 15);
      |     ^~~~~~~~~~~~~~~~~~~~~
src/request.c:802:19: error: call to ‘_curl_easy_setopt_err_long’ declared 
with attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
  802 |     if ((status = curl_easy_setopt                                      
\
      |                   ^~~~~~~~~~~~~~~~
src/request.c:921:5: note: in expansion of macro ‘curl_easy_setopt_safe’
  921 |     curl_easy_setopt_safe(CURLOPT_NOBODY, 1);
      |     ^~~~~~~~~~~~~~~~~~~~~
src/request.c:802:19: error: call to ‘_curl_easy_setopt_err_long’ declared 
with attribute warning: curl_easy_setopt expects a long argument 
[-Werror=attribute-warning]
  802 |     if ((status = curl_easy_setopt                                      
\
      |                   ^~~~~~~~~~~~~~~~
src/request.c:925:9: note: in expansion of macro ‘curl_easy_setopt_safe’
  925 |         curl_easy_setopt_safe(CURLOPT_UPLOAD, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
-Werror -Wshadow -Wextra -Iinc  -I/usr/include/libxml2  -DLIBS3_VER_MAJOR=\"2\" 
-DLIBS3_VER_MINOR=\"0\" -DLIBS3_VER=\"2.0\" -D__STRICT_ANSI__ -D_ISOC99_SOURCE 
-D_POSIX_C_SOURCE=200112L -fpic -fPIC -o build/obj/service.do -c src/service.c 
make[2]: *** [GNUmakefile:214: build/obj/request.do] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" 
VERBOSE=true returned exit code 2
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:20: binary] Error 2
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:libs3, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to