Bug#1054703: warzone2100: FTBFS: urlrequest.cpp:1273:145: error: ‘CURLSSLBACKEND_NSS’ is deprecated: since 8.3.0. [-Werror=deprecated-declarations]

Lucas Nussbaum lucas at debian.org
Fri Oct 27 20:13:45 BST 2023


Source: warzone2100
Version: 4.3.5-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231027 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /usr/bin/c++ -DENABLE_DISCORD -DHAVE_CONFIG_H -DJSON_USE_IMPLICIT_CONVERSIONS=0 -DNLOHMANN_JSON_NAMESPACE=nlohmann -DNLOHMANN_JSON_NAMESPACE_BEGIN="namespace nlohmann {" -DNLOHMANN_JSON_NAMESPACE_END=} -DWZ_DEBUG_GFX_API_LEAKS -DWZ_VULKAN_ENABLED -DYY_NO_UNISTD_H -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/lib/wzmaplib/include -I/<<PKGBUILDDIR>>/3rdparty/optional-lite/include -I/<<PKGBUILDDIR>>/3rdparty/glad/include -I/<<PKGBUILDDIR>>/3rdparty/launchinfo/include -I/<<PKGBUILDDIR>>/3rdparty/EmbeddedJSONSignature/include -I/<<PKGBUILDDIR>>/3rdparty/fmt/include -I/<<PKGBUILDDIR>>/3rdparty/quickjs-wz -I/<<PKGBUILDDIR>>/3rdparty/re2 -I/<<PKGBUILDDIR>>/3rdparty/SQLiteCpp/include -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/include -isystem /<<PKGBUILDDIR>>/3rdparty/json/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -DNDEBUG -fstack-protector-strong -fstack-clash-protection -O2 -g -DNDEBUG -std=c++14 -fPIE -Wpedantic -Wall -Wextra -fno-common -fno-math-errno -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Winit-self -Woverloaded-virtual -Wstrict-null-sentinel -Wwrite-strings -Wpointer-arith -Wmissing-noreturn -Wnon-virtual-dtor -Wduplicated-cond -Walloc-zero -Walloca-larger-than=1024 -Wrestrict -Wfloat-conversion -Wformat-security -Wstringop-truncation -Wlogical-op -Wuninitialized -Werror -Wno-float-conversion -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-parameter -Wno-format-truncation -MD -MT src/CMakeFiles/warzone2100.dir/urlrequest.cpp.o -MF src/CMakeFiles/warzone2100.dir/urlrequest.cpp.o.d -o src/CMakeFiles/warzone2100.dir/urlrequest.cpp.o -c /<<PKGBUILDDIR>>/src/urlrequest.cpp
> /<<PKGBUILDDIR>>/src/urlrequest.cpp: In function ‘void urlSelectSSLBackend()’:
> /<<PKGBUILDDIR>>/src/urlrequest.cpp:1273:145: error: ‘CURLSSLBACKEND_NSS’ is deprecated: since 8.3.0.  [-Werror=deprecated-declarations]
>  1273 |         const std::vector<curl_sslbackend> backendPreferencesOrder = {CURLSSLBACKEND_SCHANNEL, CURLSSLBACKEND_DARWINSSL, CURLSSLBACKEND_GNUTLS, CURLSSLBACKEND_NSS};
>       |                                                                                                                                                 ^~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/urlrequest.h:23,
>                  from /<<PKGBUILDDIR>>/src/urlrequest.cpp:50:
> /usr/include/x86_64-linux-gnu/curl/curl.h:162:3: note: declared here
>   162 |   CURLSSLBACKEND_NSS                    CURL_DEPRECATED(8.3.0, "") = 3,
>       |   ^~~~~~~~~~~~~~~~~~
> cc1plus: all warnings being treated as errors
> [1517/1520] /usr/bin/c++ -DENABLE_DISCORD -DHAVE_CONFIG_H -DJSON_USE_IMPLICIT_CONVERSIONS=0 -DNLOHMANN_JSON_NAMESPACE=nlohmann -DNLOHMANN_JSON_NAMESPACE_BEGIN="namespace nlohmann {" -DNLOHMANN_JSON_NAMESPACE_END=} -DWZ_DEBUG_GFX_API_LEAKS -DWZ_VULKAN_ENABLED -DYY_NO_UNISTD_H -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/lib/wzmaplib/include -I/<<PKGBUILDDIR>>/3rdparty/optional-lite/include -I/<<PKGBUILDDIR>>/3rdparty/glad/include -I/<<PKGBUILDDIR>>/3rdparty/launchinfo/include -I/<<PKGBUILDDIR>>/3rdparty/EmbeddedJSONSignature/include -I/<<PKGBUILDDIR>>/3rdparty/fmt/include -I/<<PKGBUILDDIR>>/3rdparty/quickjs-wz -I/<<PKGBUILDDIR>>/3rdparty/re2 -I/<<PKGBUILDDIR>>/3rdparty/SQLiteCpp/include -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/include -isystem /<<PKGBUILDDIR>>/3rdparty/json/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -DNDEBUG -fstack-protector-strong -fstack-clash-protection -O2 -g -DNDEBUG -std=c++14 -fPIE -Wpedantic -Wall -Wextra -fno-common -fno-math-errno -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Winit-self -Woverloaded-virtual -Wstrict-null-sentinel -Wwrite-strings -Wpointer-arith -Wmissing-noreturn -Wnon-virtual-dtor -Wduplicated-cond -Walloc-zero -Walloca-larger-than=1024 -Wrestrict -Wfloat-conversion -Wformat-security -Wstringop-truncation -Wlogical-op -Wuninitialized -Werror -Wno-float-conversion -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-parameter -Wno-format-truncation -MD -MT src/CMakeFiles/warzone2100.dir/updatemanager.cpp.o -MF src/CMakeFiles/warzone2100.dir/updatemanager.cpp.o.d -o src/CMakeFiles/warzone2100.dir/updatemanager.cpp.o -c /<<PKGBUILDDIR>>/src/updatemanager.cpp
> [1518/1520] /usr/bin/c++ -DENABLE_DISCORD -DHAVE_CONFIG_H -DJSON_USE_IMPLICIT_CONVERSIONS=0 -DNLOHMANN_JSON_NAMESPACE=nlohmann -DNLOHMANN_JSON_NAMESPACE_BEGIN="namespace nlohmann {" -DNLOHMANN_JSON_NAMESPACE_END=} -DWZ_DEBUG_GFX_API_LEAKS -DWZ_VULKAN_ENABLED -DYY_NO_UNISTD_H -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/lib/wzmaplib/include -I/<<PKGBUILDDIR>>/3rdparty/optional-lite/include -I/<<PKGBUILDDIR>>/3rdparty/glad/include -I/<<PKGBUILDDIR>>/3rdparty/launchinfo/include -I/<<PKGBUILDDIR>>/3rdparty/EmbeddedJSONSignature/include -I/<<PKGBUILDDIR>>/3rdparty/fmt/include -I/<<PKGBUILDDIR>>/3rdparty/quickjs-wz -I/<<PKGBUILDDIR>>/3rdparty/re2 -I/<<PKGBUILDDIR>>/3rdparty/SQLiteCpp/include -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/include -isystem /<<PKGBUILDDIR>>/3rdparty/json/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -DNDEBUG -fstack-protector-strong -fstack-clash-protection -O2 -g -DNDEBUG -std=c++14 -fPIE -Wpedantic -Wall -Wextra -fno-common -fno-math-errno -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Winit-self -Woverloaded-virtual -Wstrict-null-sentinel -Wwrite-strings -Wpointer-arith -Wmissing-noreturn -Wnon-virtual-dtor -Wduplicated-cond -Walloc-zero -Walloca-larger-than=1024 -Wrestrict -Wfloat-conversion -Wformat-security -Wstringop-truncation -Wlogical-op -Wuninitialized -Werror -Wno-float-conversion -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-parameter -Wno-format-truncation -MD -MT src/CMakeFiles/warzone2100.dir/wzapi.cpp.o -MF src/CMakeFiles/warzone2100.dir/wzapi.cpp.o.d -o src/CMakeFiles/warzone2100.dir/wzapi.cpp.o -c /<<PKGBUILDDIR>>/src/wzapi.cpp
> [1519/1520] /usr/bin/c++ -DENABLE_DISCORD -DHAVE_CONFIG_H -DJSON_USE_IMPLICIT_CONVERSIONS=0 -DNLOHMANN_JSON_NAMESPACE=nlohmann -DNLOHMANN_JSON_NAMESPACE_BEGIN="namespace nlohmann {" -DNLOHMANN_JSON_NAMESPACE_END=} -DWZ_DEBUG_GFX_API_LEAKS -DWZ_VULKAN_ENABLED -DYY_NO_UNISTD_H -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/lib/wzmaplib/include -I/<<PKGBUILDDIR>>/3rdparty/optional-lite/include -I/<<PKGBUILDDIR>>/3rdparty/glad/include -I/<<PKGBUILDDIR>>/3rdparty/launchinfo/include -I/<<PKGBUILDDIR>>/3rdparty/EmbeddedJSONSignature/include -I/<<PKGBUILDDIR>>/3rdparty/fmt/include -I/<<PKGBUILDDIR>>/3rdparty/quickjs-wz -I/<<PKGBUILDDIR>>/3rdparty/re2 -I/<<PKGBUILDDIR>>/3rdparty/SQLiteCpp/include -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/include -isystem /<<PKGBUILDDIR>>/3rdparty/json/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -DNDEBUG -fstack-protector-strong -fstack-clash-protection -O2 -g -DNDEBUG -std=c++14 -fPIE -Wpedantic -Wall -Wextra -fno-common -fno-math-errno -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Winit-self -Woverloaded-virtual -Wstrict-null-sentinel -Wwrite-strings -Wpointer-arith -Wmissing-noreturn -Wnon-virtual-dtor -Wduplicated-cond -Walloc-zero -Walloca-larger-than=1024 -Wrestrict -Wfloat-conversion -Wformat-security -Wstringop-truncation -Wlogical-op -Wuninitialized -Werror -Wno-float-conversion -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-parameter -Wno-format-truncation -MD -MT src/CMakeFiles/warzone2100.dir/wzscriptdebug.cpp.o -MF src/CMakeFiles/warzone2100.dir/wzscriptdebug.cpp.o.d -o src/CMakeFiles/warzone2100.dir/wzscriptdebug.cpp.o -c /<<PKGBUILDDIR>>/src/wzscriptdebug.cpp
> ninja: build stopped: subcommand failed.
> 
> make[1]: *** [debian/rules:24: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/warzone2100_4.3.5-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-games-devel mailing list