Package: libcurl4-gnutls-dev
Version: 8.19.0~rc2-1
Severity: important
Tags: ftbfs patch upstream
X-Debbugs-Cc: [email protected]

Dear maintainer,

libcurl4-gnutls-dev 8.19.0~rc2-1 causes mpd to FTBFS in the following
way, preventing me to upload a new upstream version to fix a different
bug:

> [184/877] c++ -Isrc/lib/curl/libcurl.a.p -Isrc/lib/curl -I../src/lib/curl 
> -Isrc -I../src -I. -I.. -I/usr/include/x86_64-linux-gnu 
> -I/usr/include/p11-kit-1 -fdiagnostics-color=always -DNDEBUG 
> -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++20 
> -ffast-math -ftree-vectorize -Wcast-qual -Wdouble-promotion 
> -Wmissing-declarations -Wshadow -Wunused -Wvla -Wwrite-strings 
> -Wno-stringop-overflow -fno-threadsafe-statics -fmerge-all-constants 
> -Wcomma-subscript -Wextra-semi -Wmismatched-tags -Woverloaded-virtual 
> -Wsign-promo -Wsuggest-override -Wvolatile -Wvirtual-inheritance 
> -Wno-missing-field-initializers -Wno-non-virtual-dtor -fvisibility=hidden 
> -ffunction-sections -fdata-sections -D_GNU_SOURCE -g -O2 
> -ffile-prefix-map=/build/reproducible-path/mpd-0.24.6=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
> -isystem /usr/include/mit-krb5 -isystem /usr/include/mit-krb5 -MD -MQ 
> src/lib/curl/libcurl.a.p/Global.cxx.o -MF 
> src/lib/curl/libcurl.a.p/Global.cxx.o.d -o 
> src/lib/curl/libcurl.a.p/Global.cxx.o -c ../src/lib/curl/Global.cxx
> FAILED: [code=1] src/lib/curl/libcurl.a.p/Global.cxx.o 
> c++ -Isrc/lib/curl/libcurl.a.p -Isrc/lib/curl -I../src/lib/curl -Isrc 
> -I../src -I. -I.. -I/usr/include/x86_64-linux-gnu -I/usr/include/p11-kit-1 
> -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall 
> -Winvalid-pch -Wextra -Wpedantic -std=c++20 -ffast-math -ftree-vectorize 
> -Wcast-qual -Wdouble-promotion -Wmissing-declarations -Wshadow -Wunused -Wvla 
> -Wwrite-strings -Wno-stringop-overflow -fno-threadsafe-statics 
> -fmerge-all-constants -Wcomma-subscript -Wextra-semi -Wmismatched-tags 
> -Woverloaded-virtual -Wsign-promo -Wsuggest-override -Wvolatile 
> -Wvirtual-inheritance -Wno-missing-field-initializers -Wno-non-virtual-dtor 
> -fvisibility=hidden -ffunction-sections -fdata-sections -D_GNU_SOURCE -g -O2 
> -ffile-prefix-map=/build/reproducible-path/mpd-0.24.6=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
> -isystem /usr/include/mit-krb5 -isystem /usr/include/mit-krb5 -MD -MQ 
> src/lib/curl/libcurl.a.p/Global.cxx.o -MF 
> src/lib/curl/libcurl.a.p/Global.cxx.o.d -o 
> src/lib/curl/libcurl.a.p/Global.cxx.o -c ../src/lib/curl/Global.cxx
> In file included from ../src/lib/curl/Multi.hxx:6,
>                  from ../src/lib/curl/Global.hxx:6,
>                  from ../src/lib/curl/Global.cxx:4:
> ../src/lib/curl/Easy.hxx: In member function ‘bool 
> CurlEasy::GetInfo(CURLINFO, T) const’:
> ../src/lib/curl/Easy.hxx:204:26: error: expected id-expression before ‘(’ 
> token [-Wtemplate-body]
>   204 |                 return ::curl_easy_getinfo(handle, info, value_r) == 
> CURLE_OK;
>       |                          ^~~~~~~~~~~~~~~~~


I believe this was already fixed upstream just today in
https://github.com/curl/curl/commit/ee9b000

Please upload a new upstream snapshot, or a version containing this
patch, to un-break my build.

Best, Florian

Reply via email to