Hello Santiago,

On Sat, 7 Jun 2025 at 10:51, Santiago Vila <sanv...@debian.org> wrote:
>
> 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

This seems to have always been an issue, it turns out it only got exposed now
due to a fix in the upstream warning:
https://github.com/curl/curl/commit/79b4e56b3f30dc1ac28a81128a07d27338e5219e

> 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.

This has to be fixed in libs3.

Thank you,

--
Samuel Henrique <samueloph>

Reply via email to