Package: src:openrct2
Version: 0.4.21+ds-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
-DCMAKE_INSTALL_BINDIR=/usr/games \
-DDOWNLOAD_TITLE_SEQUENCES=OFF \
-DDOWNLOAD_OBJECTS=OFF \
-DDOWNLOAD_REPLAYS=OFF \
-DDOWNLOAD_OPENSFX=OFF \
-DDOWNLOAD_OPENMSX=OFF
cd obj-x86_64-linux-gnu && 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
-DCMAKE_INSTALL_BINDIR=/usr/games -DDOWNLOAD_TITLE_SEQUENCES=OFF
-DDOWNLOAD_OBJECTS=OFF -DDOWNLOAD_REPLAYS=OFF -DDOWNLOAD_OPENSFX=OFF
-DDOWNLOAD_OPENMSX=OFF ..
-- Could NOT find CCache (missing: CCache_EXECUTABLE)
Hint: The project() command has not yet been called. It sets up
system-specific search paths.
Usage of CCache was enabled, but CCache was not found, so CCache is not being
enabled.
-- The CXX compiler identification is GNU 14.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Found DISCORDRPC
-- Performing Test CXX_WARN_SUGGEST_OVERRIDE
-- Performing Test CXX_WARN_SUGGEST_OVERRIDE - Success
-- Performing Test CXX_WARN_DUPLICATED_COND
-- Performing Test CXX_WARN_DUPLICATED_COND - Success
-- Performing Test CXX_WARN_NON_VIRTUAL_DTOR
-- Performing Test CXX_WARN_NON_VIRTUAL_DTOR - Success
-- Performing Test CXX_WARN_MISSING_VARIABLE_DECLARATIONS
-- Performing Test CXX_WARN_MISSING_VARIABLE_DECLARATIONS - Failed
-- Unsupported CXXFLAG: -Wmissing-variable-declarations
-- Performing Test CXX_WARN_DUPLICATED_BRANCHES
-- Performing Test CXX_WARN_DUPLICATED_BRANCHES - Success
-- Performing Test CXX_WARN_RESTRICT
-- Performing Test CXX_WARN_RESTRICT - Success
-- Performing Test CXX_WARN_MISSING_FIELD_INITIALIZERS
-- Performing Test CXX_WARN_MISSING_FIELD_INITIALIZERS - Success
-- Performing Test CXX_WARN_UNREACHABLE_CODE_BREAK
-- Performing Test CXX_WARN_UNREACHABLE_CODE_BREAK - Failed
-- Unsupported CXXFLAG: -Wunreachable-code-break
-- Performing Test CXX_WARN_LOGICAL_OP
-- Performing Test CXX_WARN_LOGICAL_OP - Success
-- Performing Test CXX_WARN_RANGE_LOOP_ANALYSIS
-- Performing Test CXX_WARN_RANGE_LOOP_ANALYSIS - Failed
-- Unsupported CXXFLAG: -Wrange-loop-analysis
-- Performing Test CXX_WARN_TAUTOLOGICAL_ZERO_COMPARE
-- Performing Test CXX_WARN_TAUTOLOGICAL_ZERO_COMPARE - Failed
-- Unsupported CXXFLAG: -Wtautological-unsigned-zero-compare
-- Performing Test CXX_WARN_OLD_STYLE_CAST
-- Performing Test CXX_WARN_OLD_STYLE_CAST - Success
-- Performing Test CXX_WARN_UNUSED_CONST_VARIABLE
-- Performing Test CXX_WARN_UNUSED_CONST_VARIABLE - Success
-- Performing Test CXX_WNO_CLOBBERED
-- Performing Test CXX_WNO_CLOBBERED - Success
-- Performing Test CXX_WARN_REDUNDANT_DECLS
-- Performing Test CXX_WARN_REDUNDANT_DECLS - Success
-- Performing Test CXX_WARN_NULL_DEREFERENCE
-- Performing Test CXX_WARN_NULL_DEREFERENCE - Success
-- Performing Test CXX_WARN_SUGGEST_FINAL_TYPES
-- Performing Test CXX_WARN_SUGGEST_FINAL_TYPES - Success
-- Performing Test CXX_WARN_SUGGEST_FINAL_METHODS
-- Performing Test CXX_WARN_SUGGEST_FINAL_METHODS - Success
-- Performing Test CXX_WARN_IGNORED_QUALIFIERS
-- Performing Test CXX_WARN_IGNORED_QUALIFIERS - Success
-- Performing Test CXX_WARN_STRICT_OVERFLOW
-- Performing Test CXX_WARN_STRICT_OVERFLOW - Success
-- Found duktape: /usr/lib/x86_64-linux-gnu/libduktape.so
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found suitable
version "3.5.0", minimum required is "1.0.0")
-- Checking for module 'libcurl'
-- Found libcurl, version 8.13.0
-- Checking for module 'fontconfig'
-- Found fontconfig, version 2.15.0
-- Checking for module 'freetype2'
-- Found freetype2, version 26.2.20
-- Checking for module 'SDL2_ttf'
-- Found SDL2_ttf, version 2.24.0
-- Checking for module 'libzip>=1.0'
-- Found libzip, version 1.11.3
-- Checking for module 'zlib'
-- Found zlib, version 1.3.1
-- Checking for module 'libpng>=1.6'
-- Found libpng, version 1.6.48
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found ICU: /usr/include (found suitable version "76.1", minimum required is
"59.0") found components: uc
-- Checking for module 'sdl2'
-- Found sdl2, version 2.32.4
-- Checking for module 'speexdsp'
-- Found speexdsp, version 1.2.1
-- Checking for module 'flac'
-- Found flac, version 1.5.0
-- Checking for module 'ogg'
-- Found ogg, version 1.3.5
-- Checking for module 'vorbisfile'
-- Found vorbisfile, version 1.3.7
-- Checking for module 'gl'
-- Found gl, version 1.2
-- Configuring done (3.0s)
-- Generating done (0.1s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
FETCHCONTENT_FULLY_DISCONNECTED
-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build
cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install
--strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/libopenrct2.dir/build.make CMakeFiles/libopenrct2.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends
"Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/libopenrct2.dir/DependInfo.cmake
"--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/libopenrct2.dir/build.make CMakeFiles/libopenrct2.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 0%] Building CXX object
CMakeFiles/libopenrct2.dir/src/openrct2/AssetPackManager.cpp.o
[ 0%] Building CXX object
CMakeFiles/libopenrct2.dir/src/openrct2/AssetPack.cpp.o
/usr/bin/c++ -DDOCDIR=\"/usr/share/doc/openrct2\" -DOPENGL_N
[too-long-redacted] IR>>/src/openrct2/AssetPack.cpp
/usr/bin/c++ -DDOCDIR=\"/usr/share/doc/openrct2\" -DOPENGL_N
[too-long-redacted] c/openrct2/AssetPackManager.cpp
In file included from /usr/include/nlohmann/adl_serializer.hpp:14,
from /usr/include/nlohmann/json.hpp:34,
from /<<PKGBUILDDIR>>/src/openrct2/core/Json.hpp:14,
from /<<PKGBUILDDIR>>/src/openrct2/AssetPack.cpp:13:
/usr/include/nlohmann/detail/conversions/from_json.hpp: In function âvoid
nlohmann::json_abi_v3_12_0::detail::from_json(const BasicJsonType&,
std::filesystem::__cxx11::path&)â:
/usr/include/nlohmann/detail/conversions/from_json.hpp:544:27: error:
âu8string_viewâ is not a member of âstdâ; did you mean
âwstring_viewâ?
544 | p = std_fs::path(std::u8string_view(reinterpret_cast<const
char8_t*>(s.data()), s.size()));
| ^~~~~~~~~~~~~
| wstring_view
/usr/include/nlohmann/detail/conversions/from_json.hpp:544:64: error:
âchar8_tâ was not declared in this scope; did you mean âwchar_tâ?
544 | p = std_fs::path(std::u8string_view(reinterpret_cast<const
char8_t*>(s.data()), s.size()));
| ^~~~~~~
| wchar_t
/usr/include/nlohmann/detail/conversions/from_json.hpp:544:21: error: expected
primary-expression before â(â token
544 | p = std_fs::path(std::u8string_view(reinterpret_cast<const
char8_t*>(s.data()), s.size()));
| ^
/usr/include/nlohmann/detail/conversions/from_json.hpp:544:27: error:
âu8string_viewâ is not a member of âstdâ; did you mean
âwstring_viewâ?
544 | p = std_fs::path(std::u8string_view(reinterpret_cast<const
char8_t*>(s.data()), s.size()));
| ^~~~~~~~~~~~~
| wstring_view
/usr/include/nlohmann/detail/conversions/from_json.hpp:544:64: error: expected
â>â before âchar8_tâ
544 | p = std_fs::path(std::u8string_view(reinterpret_cast<const
char8_t*>(s.data()), s.size()));
| ^~~~~~~
/usr/include/nlohmann/detail/conversions/from_json.hpp:544:64: error: expected
â(â before âchar8_tâ
544 | p = std_fs::path(std::u8string_view(reinterpret_cast<const
char8_t*>(s.data()), s.size()));
| ^~~~~~~
| (
/usr/include/nlohmann/detail/conversions/from_json.hpp:544:72: error: expected
primary-expression before â>â token
544 | p = std_fs::path(std::u8string_view(reinterpret_cast<const
char8_t*>(s.data()), s.size()));
| ^
In file included from /usr/include/nlohmann/adl_serializer.hpp:15:
/usr/include/nlohmann/detail/conversions/to_json.hpp: In function âvoid
nlohmann::json_abi_v3_12_0::detail::to_json(BasicJsonType&, const
std::filesystem::__cxx11::path&)â:
/usr/include/nlohmann/detail/conversions/to_json.hpp:447:16: error:
âu8stringâ in namespace âstdâ does not name a type
447 | const std::u8string s = p.u8string();
| ^~~~~~~~
/usr/include/nlohmann/detail/conversions/to_json.hpp:26:1: note:
âstd::u8stringâ is defined in header â<string>â; this is probably
fixable by adding â#include <string>â
25 | #include <nlohmann/detail/iterators/iteration_proxy.hpp>
+++ |+#include <string>
26 | #include <nlohmann/detail/meta/cpp_future.hpp>
/usr/include/nlohmann/detail/conversions/to_json.hpp:448:21: error: âsâ was
not declared in this scope
448 | j = std::string(s.begin(), s.end());
| ^
[ 0%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/Cheats.cpp.o
/usr/bin/c++ -DDOCDIR=\"/usr/share/doc/openrct2\" -DOPENGL_N
[too-long-redacted] LDDIR>>/src/openrct2/Cheats.cpp
make[3]: *** [CMakeFiles/libopenrct2.dir/build.make:82:
CMakeFiles/libopenrct2.dir/src/openrct2/AssetPack.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:98: CMakeFiles/libopenrct2.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202505/
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:openrct2, so that this is still
visible in the BTS web page for this package.
Thanks.