[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1114245: openclonk: FTBFS: /usr/src/gtest/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported.



Package: src:openclonk
Version: 8.1-4
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

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:openclonk, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=cmake -Bbuild
   dh_auto_clean -O--buildsystem=cmake -O-Bbuild
   dh_autoreconf_clean -O--buildsystem=cmake -O-Bbuild
   dh_clean -O--buildsystem=cmake -O-Bbuild
 debian/rules binary
dh binary --buildsystem=cmake -Bbuild
   dh_update_autotools_config -O--buildsystem=cmake -O-Bbuild
   dh_autoreconf -O--buildsystem=cmake -O-Bbuild
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DWITH_AUTOMATIC_UPDATE=0
	cd build && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DWITH_AUTOMATIC_UPDATE=0 ..
CMake Deprecation Warning at CMakeLists.txt:14 (cmake_minimum_required):

[... snipped ...]

AutoGen: Parsing "SRC:/src/script/C4ValueMap.h"
AutoGen: Parsing "SRC:/src/C4Include.cpp"
AutoGen: Parsing "SRC:/src/c4group/C4GroupSet.cpp"
AutoGen: Parsing "SRC:/src/c4group/C4ComponentHost.cpp"
AutoGen: Parsing "SRC:/src/c4group/C4LangStringTable.cpp"
AutoGen: Parsing "SRC:/src/lib/C4Real.cpp"
AutoGen: Parsing "SRC:/src/lib/C4RandomRecord.cpp"
AutoGen: Parsing "SRC:/src/script/C4Aul.cpp"
AutoGen: Parsing "SRC:/src/script/C4AulExec.cpp"
AutoGen: Parsing "SRC:/src/script/C4AulFunc.cpp"
AutoGen: Parsing "SRC:/src/script/C4AulLink.cpp"
AutoGen: Parsing "SRC:/src/script/C4AulParse.cpp"
AutoGen: Parsing "SRC:/src/script/C4AulScriptFunc.cpp"
AutoGen: Parsing "SRC:/src/script/C4AulCompiler.cpp"
AutoGen: Parsing "SRC:/src/script/C4Effect.cpp"
AutoGen: Parsing "SRC:/src/script/C4PropList.cpp"
AutoGen: Parsing "SRC:/src/script/C4Script.cpp"
AutoGen: Parsing "SRC:/src/script/C4ScriptHost.cpp"
AutoGen: Parsing "SRC:/src/script/C4ScriptLibraries.cpp"
AutoGen: Parsing "SRC:/src/script/C4StringTable.cpp"
AutoGen: Parsing "SRC:/src/script/C4ValueArray.cpp"
AutoGen: Parsing "SRC:/src/script/C4Value.cpp"
AutoGen: Parsing "SRC:/src/script/C4ValueMap.cpp"
AutoMoc: Generating MOC compilation "SRC:/build/libc4script_autogen/mocs_compilation.cpp"
AutoMoc: Merging MOC dependencies into "SRC:/build/libc4script_autogen/deps"
AutoGen: Writing the parse cache file "SRC:/build/CMakeFiles/libc4script_autogen.dir/ParseCache.txt"
AutoGen: Writing the settings file "SRC:/build/CMakeFiles/libc4script_autogen.dir/AutogenUsed.txt"
/usr/bin/cmake -E touch /<<PKGBUILDDIR>>/build/libc4script_autogen/timestamp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
In file included from /usr/src/gtest/include/gtest/gtest.h:67:
/usr/src/gtest/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before â??(â?? token
  483 |           typename StdFunction = decltype(std::function(std::declval<Func>()))>
      |                                                        ^
/usr/src/gtest/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before â??(â?? token
  493 |           typename StdFunction = decltype(std::function(std::declval<Func>()))>
      |                                                        ^
/usr/src/gtest/include/gtest/gtest-param-test.h: In function â??auto testing::ConvertGenerator(Gen&&, Func&&)â??:
/usr/src/gtest/include/gtest/gtest-param-test.h:497:6: warning: â??if constexprâ?? only available with â??-std=c++17â?? or â??-std=gnu++17â?? [-Wc++17-extensions]
  497 |   if constexpr (is_single_arg_std_function) {
      |      ^~~~~~~~~
[ 13%] Built target libc4script_autogen
make  -f CMakeFiles/c4group_autogen.dir/build.make CMakeFiles/c4group_autogen.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/build'
cd /<<PKGBUILDDIR>>/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/build /<<PKGBUILDDIR>>/build /<<PKGBUILDDIR>>/build/CMakeFiles/c4group_autogen.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make  -f CMakeFiles/c4group_autogen.dir/build.make CMakeFiles/c4group_autogen.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/build'
[ 15%] Automatic MOC and UIC for target c4group
/usr/bin/cmake -E cmake_autogen /<<PKGBUILDDIR>>/build/CMakeFiles/c4group_autogen.dir/AutogenInfo.json None
AutoGen: Refreshing parse cache because it doesn't exist.
AutoMoc: Generating "SRC:/build/c4group_autogen/moc_predefs.h", because it doesn't exist.
/usr/bin/c++ -std=gnu++14 -dM -E -c /usr/share/cmake-3.31/Modules/CMakeCXXCompilerABI.cpp -DHAVE_CONFIG_H -DNDEBUG "-DOC_SYSTEM_DATA_DIR=\"/usr/share/games/openclonk\"" -I/<<PKGBUILDDIR>>/build -I/<<PKGBUILDDIR>> -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/AL -I/<<PKGBUILDDIR>>/src -I/usr/include/SDL2 -I/<<PKGBUILDDIR>>/thirdparty -I/usr/include -I/usr/include/c++/15 -I/usr/include/x86_64-linux-gnu/c++/15 -I/usr/include/c++/15/backward -I/usr/lib/gcc/x86_64-linux-gnu/15/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu
AutoGen: Parsing "SRC:/src/c4group/C4GroupMain.cpp"
AutoMoc: Generating MOC compilation "SRC:/build/c4group_autogen/mocs_compilation.cpp"
AutoMoc: Merging MOC dependencies into "SRC:/build/c4group_autogen/deps"
AutoGen: Writing the parse cache file "SRC:/build/CMakeFiles/c4group_autogen.dir/ParseCache.txt"
AutoGen: Writing the settings file "SRC:/build/CMakeFiles/c4group_autogen.dir/AutogenUsed.txt"
/usr/bin/cmake -E touch /<<PKGBUILDDIR>>/build/c4group_autogen/timestamp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
[ 15%] Built target c4group_autogen
make  -f CMakeFiles/libc4script.dir/build.make CMakeFiles/libc4script.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/build'
cd /<<PKGBUILDDIR>>/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/build /<<PKGBUILDDIR>>/build /<<PKGBUILDDIR>>/build/CMakeFiles/libc4script.dir/DependInfo.cmake "--color="
Dependencies file "libc4script_autogen/deps" is newer than depends file "/<<PKGBUILDDIR>>/build/CMakeFiles/libc4script.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target libc4script
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make  -f CMakeFiles/libc4script.dir/build.make CMakeFiles/libc4script.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/build'
[ 15%] Building CXX object CMakeFiles/libc4script.dir/libc4script_autogen/mocs_compilation.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] pt_autogen/mocs_compilation.cpp
[ 15%] Building CXX object CMakeFiles/libc4script.dir/src/C4Include.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] PKGBUILDDIR>>/src/C4Include.cpp
make[3]: *** [tests/CMakeFiles/gtest.dir/build.make:103: tests/CMakeFiles/gtest.dir/usr/src/gtest/src/gtest-all.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [CMakeFiles/Makefile2:1053: tests/CMakeFiles/gtest.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 16%] Building CXX object CMakeFiles/libc4script.dir/src/c4group/C4ComponentHost.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] src/c4group/C4ComponentHost.cpp
[ 16%] Building CXX object CMakeFiles/libc4script.dir/src/c4group/C4GroupSet.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] IR>>/src/c4group/C4GroupSet.cpp
[ 16%] Building CXX object CMakeFiles/libc4script.dir/src/c4group/C4LangStringTable.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] c/c4group/C4LangStringTable.cpp
[ 16%] Building CXX object CMakeFiles/libc4script.dir/src/lib/C4RandomRecord.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] IR>>/src/lib/C4RandomRecord.cpp
In file included from /<<PKGBUILDDIR>>/src/network/C4PacketBase.h:19,
                 from /<<PKGBUILDDIR>>/src/control/C4PlayerInfo.h:37,
                 from /<<PKGBUILDDIR>>/src/control/C4Control.h:23,
                 from /<<PKGBUILDDIR>>/src/control/C4Record.h:24,
                 from /<<PKGBUILDDIR>>/src/lib/C4RandomRecord.cpp:20:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h: In member function â??void C4NetIOPacket::SetAddr(const C4NetIO::addr_t&)â??:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:327:61: warning: implicitly-declared â??constexpr C4NetIO::EndpointAddress& C4NetIO::EndpointAddress::operator=(const C4NetIO::EndpointAddress&)â?? is deprecated [-Wdeprecated-copy]
  327 |         void SetAddr(const C4NetIO::addr_t &naddr) { addr = naddr; }
      |                                                             ^~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:140:17: note: because â??C4NetIO::EndpointAddressâ?? has user-provided â??C4NetIO::EndpointAddress::EndpointAddress(const C4NetIO::EndpointAddress&)â??
  140 |                 EndpointAddress(const EndpointAddress &other) : HostAddress() { SetAddress(other); }
      |                 ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h: In member function â??void C4NetIOUDP::Peer::SetAltAddr(const C4NetIO::addr_t&)â??:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:818:74: warning: implicitly-declared â??constexpr C4NetIO::EndpointAddress& C4NetIO::EndpointAddress::operator=(const C4NetIO::EndpointAddress&)â?? is deprecated [-Wdeprecated-copy]
  818 |                 void SetAltAddr(const C4NetIO::addr_t &naddr2) { addr2 = naddr2; }
      |                                                                          ^~~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:140:17: note: because â??C4NetIO::EndpointAddressâ?? has user-provided â??C4NetIO::EndpointAddress::EndpointAddress(const C4NetIO::EndpointAddress&)â??
  140 |                 EndpointAddress(const EndpointAddress &other) : HostAddress() { SetAddress(other); }
      |                 ^~~~~~~~~~~~~~~
[ 17%] Building CXX object CMakeFiles/libc4script.dir/src/lib/C4Real.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] KGBUILDDIR>>/src/lib/C4Real.cpp
[ 17%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4Aul.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] BUILDDIR>>/src/script/C4Aul.cpp
In file included from /<<PKGBUILDDIR>>/src/script/C4AulDebug.h:21,
                 from /<<PKGBUILDDIR>>/src/script/C4Aul.cpp:23:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h: In member function â??void C4NetIOPacket::SetAddr(const C4NetIO::addr_t&)â??:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:327:61: warning: implicitly-declared â??constexpr C4NetIO::EndpointAddress& C4NetIO::EndpointAddress::operator=(const C4NetIO::EndpointAddress&)â?? is deprecated [-Wdeprecated-copy]
  327 |         void SetAddr(const C4NetIO::addr_t &naddr) { addr = naddr; }
      |                                                             ^~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:140:17: note: because â??C4NetIO::EndpointAddressâ?? has user-provided â??C4NetIO::EndpointAddress::EndpointAddress(const C4NetIO::EndpointAddress&)â??
  140 |                 EndpointAddress(const EndpointAddress &other) : HostAddress() { SetAddress(other); }
      |                 ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h: In member function â??void C4NetIOUDP::Peer::SetAltAddr(const C4NetIO::addr_t&)â??:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:818:74: warning: implicitly-declared â??constexpr C4NetIO::EndpointAddress& C4NetIO::EndpointAddress::operator=(const C4NetIO::EndpointAddress&)â?? is deprecated [-Wdeprecated-copy]
  818 |                 void SetAltAddr(const C4NetIO::addr_t &naddr2) { addr2 = naddr2; }
      |                                                                          ^~~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:140:17: note: because â??C4NetIO::EndpointAddressâ?? has user-provided â??C4NetIO::EndpointAddress::EndpointAddress(const C4NetIO::EndpointAddress&)â??
  140 |                 EndpointAddress(const EndpointAddress &other) : HostAddress() { SetAddress(other); }
      |                 ^~~~~~~~~~~~~~~
[ 17%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4AulCompiler.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] >>/src/script/C4AulCompiler.cpp
/<<PKGBUILDDIR>>/src/script/C4AulCompiler.cpp: In member function â??virtual void C4AulCompiler::CodegenAstVisitor::visit(const aul::ast::CallExpr*)â??:
/<<PKGBUILDDIR>>/src/script/C4AulCompiler.cpp:1343:62: warning: comparison of integer expressions of different signedness: â??intâ?? and â??std::vector<C4V_Type>::size_typeâ?? {aka â??long unsigned intâ??} [-Wsign-compare]
 1343 |                                 if (candidate->GetParCount() > expected_par_types.size())
      |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/script/C4AulCompiler.cpp:1248:20: warning: unused variable â??pre_call_stackâ?? [-Wunused-variable]
 1248 |         const auto pre_call_stack = stack_height;
      |                    ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/script/C4AulCompiler.cpp: In member function â??virtual void C4AulCompiler::CodegenAstVisitor::visit(const aul::ast::ForLoop*)â??:
/<<PKGBUILDDIR>>/src/script/C4AulCompiler.cpp:1441:24: warning: unused variable â??condition_jumpâ?? [-Wunused-variable]
 1441 |         int cond = -1, condition_jump = -1;
      |                        ^~~~~~~~~~~~~~
[ 17%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4AulExec.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] DDIR>>/src/script/C4AulExec.cpp
/<<PKGBUILDDIR>>/src/script/C4AulCompiler.cpp: In member function â??virtual void C4AulCompiler::CodegenAstVisitor::visit(const aul::ast::VarExpr*)â??:
/<<PKGBUILDDIR>>/src/script/C4AulCompiler.cpp:1100:31: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1100 |                         AddBCC(n->loc, AB_CFUNCTION, reinterpret_cast<intptr_t>(v._getFunction()));
      |                         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/script/C4AulCompiler.cpp:1101:17: note: here
 1101 |                 default:
      |                 ^~~~~~~
In file included from /<<PKGBUILDDIR>>/src/network/C4PacketBase.h:19,
                 from /<<PKGBUILDDIR>>/src/control/C4PlayerInfo.h:37,
                 from /<<PKGBUILDDIR>>/src/control/C4Control.h:23,
                 from /<<PKGBUILDDIR>>/src/control/C4Record.h:24,
                 from /<<PKGBUILDDIR>>/src/script/C4AulExec.cpp:21:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h: In member function â??void C4NetIOPacket::SetAddr(const C4NetIO::addr_t&)â??:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:327:61: warning: implicitly-declared â??constexpr C4NetIO::EndpointAddress& C4NetIO::EndpointAddress::operator=(const C4NetIO::EndpointAddress&)â?? is deprecated [-Wdeprecated-copy]
  327 |         void SetAddr(const C4NetIO::addr_t &naddr) { addr = naddr; }
      |                                                             ^~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:140:17: note: because â??C4NetIO::EndpointAddressâ?? has user-provided â??C4NetIO::EndpointAddress::EndpointAddress(const C4NetIO::EndpointAddress&)â??
  140 |                 EndpointAddress(const EndpointAddress &other) : HostAddress() { SetAddress(other); }
      |                 ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h: In member function â??void C4NetIOUDP::Peer::SetAltAddr(const C4NetIO::addr_t&)â??:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:818:74: warning: implicitly-declared â??constexpr C4NetIO::EndpointAddress& C4NetIO::EndpointAddress::operator=(const C4NetIO::EndpointAddress&)â?? is deprecated [-Wdeprecated-copy]
  818 |                 void SetAltAddr(const C4NetIO::addr_t &naddr2) { addr2 = naddr2; }
      |                                                                          ^~~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:140:17: note: because â??C4NetIO::EndpointAddressâ?? has user-provided â??C4NetIO::EndpointAddress::EndpointAddress(const C4NetIO::EndpointAddress&)â??
  140 |                 EndpointAddress(const EndpointAddress &other) : HostAddress() { SetAddress(other); }
      |                 ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/script/C4AulExec.cpp: In member function â??void C4AulProfiler::Show()â??:
/<<PKGBUILDDIR>>/src/script/C4AulExec.cpp:1004:36: warning: typedef â??EntryListâ?? locally defined but not used [-Wunused-local-typedefs]
 1004 |         typedef std::vector<Entry> EntryList;
      |                                    ^~~~~~~~~
[ 17%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4AulFunc.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] DDIR>>/src/script/C4AulFunc.cpp
[ 18%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4AulLink.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] DDIR>>/src/script/C4AulLink.cpp
[ 18%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4AulParse.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] DIR>>/src/script/C4AulParse.cpp
[ 18%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4AulScriptFunc.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] /src/script/C4AulScriptFunc.cpp
In file included from /<<PKGBUILDDIR>>/src/script/C4AulDebug.h:21,
                 from /<<PKGBUILDDIR>>/src/script/C4AulParse.cpp:22:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h: In member function â??void C4NetIOPacket::SetAddr(const C4NetIO::addr_t&)â??:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:327:61: warning: implicitly-declared â??constexpr C4NetIO::EndpointAddress& C4NetIO::EndpointAddress::operator=(const C4NetIO::EndpointAddress&)â?? is deprecated [-Wdeprecated-copy]
  327 |         void SetAddr(const C4NetIO::addr_t &naddr) { addr = naddr; }
      |                                                             ^~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:140:17: note: because â??C4NetIO::EndpointAddressâ?? has user-provided â??C4NetIO::EndpointAddress::EndpointAddress(const C4NetIO::EndpointAddress&)â??
  140 |                 EndpointAddress(const EndpointAddress &other) : HostAddress() { SetAddress(other); }
      |                 ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h: In member function â??void C4NetIOUDP::Peer::SetAltAddr(const C4NetIO::addr_t&)â??:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:818:74: warning: implicitly-declared â??constexpr C4NetIO::EndpointAddress& C4NetIO::EndpointAddress::operator=(const C4NetIO::EndpointAddress&)â?? is deprecated [-Wdeprecated-copy]
  818 |                 void SetAltAddr(const C4NetIO::addr_t &naddr2) { addr2 = naddr2; }
      |                                                                          ^~~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:140:17: note: because â??C4NetIO::EndpointAddressâ?? has user-provided â??C4NetIO::EndpointAddress::EndpointAddress(const C4NetIO::EndpointAddress&)â??
  140 |                 EndpointAddress(const EndpointAddress &other) : HostAddress() { SetAddress(other); }
      |                 ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/script/C4AulParse.cpp: In member function â??std::unique_ptr<aul::ast::Expr> C4AulParse::Parse_Expression(int)â??:
/<<PKGBUILDDIR>>/src/script/C4AulParse.cpp:1388:20: warning: unused variable â??FoundFnâ?? [-Wunused-variable]
 1388 |         C4AulFunc *FoundFn = nullptr;
      |                    ^~~~~~~
/<<PKGBUILDDIR>>/src/script/C4AulParse.cpp: At global scope:
/<<PKGBUILDDIR>>/src/script/C4AulParse.cpp:1376:13: warning: â??bool GetPropertyByS(const C4PropList*, const char*, C4Value&)â?? defined but not used [-Wunused-function]
 1376 | static bool GetPropertyByS(const C4PropList * p, const char * s, C4Value & v)
      |             ^~~~~~~~~~~~~~
[ 18%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4Effect.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] LDDIR>>/src/script/C4Effect.cpp
[ 18%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4PropList.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] DIR>>/src/script/C4PropList.cpp
[ 19%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4Script.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] LDDIR>>/src/script/C4Script.cpp
In file included from /<<PKGBUILDDIR>>/src/network/C4PacketBase.h:19,
                 from /<<PKGBUILDDIR>>/src/control/C4PlayerInfo.h:37,
                 from /<<PKGBUILDDIR>>/src/control/C4Control.h:23,
                 from /<<PKGBUILDDIR>>/src/control/C4Record.h:24,
                 from /<<PKGBUILDDIR>>/src/script/C4PropList.cpp:21:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h: In member function â??void C4NetIOPacket::SetAddr(const C4NetIO::addr_t&)â??:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:327:61: warning: implicitly-declared â??constexpr C4NetIO::EndpointAddress& C4NetIO::EndpointAddress::operator=(const C4NetIO::EndpointAddress&)â?? is deprecated [-Wdeprecated-copy]
  327 |         void SetAddr(const C4NetIO::addr_t &naddr) { addr = naddr; }
      |                                                             ^~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:140:17: note: because â??C4NetIO::EndpointAddressâ?? has user-provided â??C4NetIO::EndpointAddress::EndpointAddress(const C4NetIO::EndpointAddress&)â??
  140 |                 EndpointAddress(const EndpointAddress &other) : HostAddress() { SetAddress(other); }
      |                 ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h: In member function â??void C4NetIOUDP::Peer::SetAltAddr(const C4NetIO::addr_t&)â??:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:818:74: warning: implicitly-declared â??constexpr C4NetIO::EndpointAddress& C4NetIO::EndpointAddress::operator=(const C4NetIO::EndpointAddress&)â?? is deprecated [-Wdeprecated-copy]
  818 |                 void SetAltAddr(const C4NetIO::addr_t &naddr2) { addr2 = naddr2; }
      |                                                                          ^~~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:140:17: note: because â??C4NetIO::EndpointAddressâ?? has user-provided â??C4NetIO::EndpointAddress::EndpointAddress(const C4NetIO::EndpointAddress&)â??
  140 |                 EndpointAddress(const EndpointAddress &other) : HostAddress() { SetAddress(other); }
      |                 ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/script/C4PropList.cpp: In member function â??void C4PropList::ThawRecursively()â??:
/<<PKGBUILDDIR>>/src/script/C4PropList.cpp:287:27: warning: unused variable â??sâ?? [-Wunused-variable]
  287 |         C4PropListStatic *s = IsStatic();
      |                           ^
/<<PKGBUILDDIR>>/src/script/C4PropList.cpp: In member function â??std::vector<C4String*> C4PropList::GetSortedLocalProperties(const char*, const C4PropList*) constâ??:
/<<PKGBUILDDIR>>/src/script/C4PropList.cpp:598:38: warning: variable â??overriddenâ?? set but not used [-Wunused-but-set-variable]
  598 |                                 bool overridden = false;
      |                                      ^~~~~~~~~~
/<<PKGBUILDDIR>>/src/script/C4PropList.cpp: In member function â??virtual C4ValueArray* C4PropList::GetProperties() constâ??:
/<<PKGBUILDDIR>>/src/script/C4PropList.cpp:939:46: warning: comparison of integer expressions of different signedness: â??size_tâ?? {aka â??long unsigned intâ??} and â??intâ?? [-Wsign-compare]
  939 |                         for (size_t j = 0; j < i; ++j)
      |                                            ~~^~~
/<<PKGBUILDDIR>>/src/script/C4Script.cpp: In function â??Nillable<int> FnMin(C4PropList*, const C4Value&, Nillable<int>)â??:
/<<PKGBUILDDIR>>/src/script/C4Script.cpp:737:36: warning: implicitly-declared â??constexpr Nillable<int>::Nillable(const Nillable<int>&)â?? is deprecated [-Wdeprecated-copy]
  737 |         return minmax("Min", a, b).first;
      |                ~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from /<<PKGBUILDDIR>>/src/script/C4Script.cpp:25:
/<<PKGBUILDDIR>>/src/script/C4AulDefFunc.h:65:29: note: because â??Nillable<int>â?? has user-provided â??Nillable<T>& Nillable<T>::operator=(const Nillable<T>&) [with T = int]â??
   65 |         inline Nillable<T> &operator =(const Nillable<T> &val)
      |                             ^~~~~~~~
/<<PKGBUILDDIR>>/src/script/C4Script.cpp: In function â??Nillable<int> FnMax(C4PropList*, const C4Value&, Nillable<int>)â??:
/<<PKGBUILDDIR>>/src/script/C4Script.cpp:742:36: warning: implicitly-declared â??constexpr Nillable<int>::Nillable(const Nillable<int>&)â?? is deprecated [-Wdeprecated-copy]
  742 |         return minmax("Max", a, b).second;
      |                ~~~~~~~~~~~~~~~~~~~~^~~~~~
/<<PKGBUILDDIR>>/src/script/C4AulDefFunc.h:65:29: note: because â??Nillable<int>â?? has user-provided â??Nillable<T>& Nillable<T>::operator=(const Nillable<T>&) [with T = int]â??
   65 |         inline Nillable<T> &operator =(const Nillable<T> &val)
      |                             ^~~~~~~~
[ 19%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4ScriptHost.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] R>>/src/script/C4ScriptHost.cpp
[ 19%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4ScriptLibraries.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] rc/script/C4ScriptLibraries.cpp
/<<PKGBUILDDIR>>/src/script/C4ScriptLibraries.cpp:120:21: warning: â??std::string {anonymous}::b85_decode(const std::string&)â?? defined but not used [-Wunused-function]
  120 |         std::string b85_decode(const std::string &input)
      |                     ^~~~~~~~~~
[ 19%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4StringTable.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] >>/src/script/C4StringTable.cpp
[ 20%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4Value.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] ILDDIR>>/src/script/C4Value.cpp
[ 20%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4ValueArray.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] R>>/src/script/C4ValueArray.cpp
[ 20%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4ValueMap.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBU [too-long-redacted] DIR>>/src/script/C4ValueMap.cpp
[ 20%] Linking CXX static library liblibc4script.a
/usr/bin/cmake -P CMakeFiles/libc4script.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/libc4script.dir/link.txt --verbose=1
/usr/bin/gcc-ar qc liblibc4script.a CMakeFiles/libc4script.d [too-long-redacted] dir/src/script/C4ValueMap.cpp.o
/usr/bin/gcc-ranlib liblibc4script.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
[ 20%] Built target libc4script
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------


Reply to: