FS#79965 - [warzone2100] FTBFS: curl's deprecated NSS backend used
Attached to Project:
Arch Linux
Opened by Eric Long (hack3ric) - Saturday, 14 October 2023, 19:38 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:20 GMT
Opened by Eric Long (hack3ric) - Saturday, 14 October 2023, 19:38 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:20 GMT
|
Details
Description:
warzone2100 failed to build due to curl's recent deprecation: ``` [1529/1537] Building CXX object src/CMakeFiles/warzone2100.dir/urlrequest.cpp.o FAILED: src/CMakeFiles/warzone2100.dir/urlrequest.cpp.o /usr/bin/c++ -DCURL_OPENSSL_DOES_NOT_REQUIRE_LOCKS_INIT -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/build/warzone2100/src/build -I/build/warzone2100/src/warzone2100/. -I/build/warzone2100/src/warzone2100/3rdparty -I/build/warzone2100/src/warzone2100/lib/wzmaplib/include -I/build/warzone2100/src/warzone2100/3rdparty/optional-lite/include -I/build/warzone2100/src/warzone2100/3rdparty/glad/include -I/build/warzone2100/src/warzone2100/3rdparty/launchinfo/include -I/build/warzone2100/src/warzone2100/3rdparty/EmbeddedJSONSignature/include -I/build/warzone2100/src/warzone2100/3rdparty/fmt/include -I/build/warzone2100/src/warzone2100/3rdparty/quickjs-wz -I/build/warzone2100/src/warzone2100/3rdparty/re2 -I/build/warzone2100/src/warzone2100/3rdparty/SQLiteCpp/include -isystem /build/warzone2100/src/warzone2100/3rdparty/glm -isystem /build/warzone2100/src/warzone2100/3rdparty/date/include -isystem /usr/include/SDL2 -isystem /build/warzone2100/src/warzone2100/3rdparty/json/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/warzone2100/src=/usr/src/debug/warzone2100 -flto=auto -fstack-protector-strong -fstack-clash-protection -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 /build/warzone2100/src/warzone2100/src/urlrequest.cpp /build/warzone2100/src/warzone2100/src/urlrequest.cpp: In function ‘void urlSelectSSLBackend()’: /build/warzone2100/src/warzone2100/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 /build/warzone2100/src/warzone2100/src/urlrequest.h:23, from /build/warzone2100/src/warzone2100/src/urlrequest.cpp:50: /usr/include/curl/curl.h:162:3: note: declared here 162 | CURLSSLBACKEND_NSS CURL_DEPRECATED(8.3.0, "") = 3, | ^~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors ``` Including upstream fix solves the issue. |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:20 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/warzone2100/issues/2
Saturday, 25 November 2023, 20:20 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/warzone2100/issues/2