• Bug#1102780: ddnet: FTBFS: error: failed to select a version for the re

    From Santiago Vila@21:1/5 to All on Sat Apr 12 18:30:04 2025
    Package: src:ddnet
    Version: 19.1-1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

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

    --------------------------------------------------------------------------------
    [...]
    debian/rules build-indep
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    # pass
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_update_autotools_config -Nddnet-data
    dh_autoreconf -Nddnet-data
    debian/rules override_dh_auto_configure-arch
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_auto_configure -a -- \
    -DMYSQL=ON -DAUTOUPDATE=OFF \
    -DTESTRUNNER_ARGS=--gtest_filter=-Jobs.LookupHost
    cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PK [too-long-redacted] test_filter=-Jobs.LookupHost ..
    -- The C compiler identification is GNU 14.2.0
    -- The CXX compiler identification is GNU 14.2.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/cc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- 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
    -- Performing Test HAVE_ATOMICS_WITHOUT_LIB
    -- Performing Test HAVE_ATOMICS_WITHOUT_LIB - Success
    -- Looking for __i386
    -- Looking for __i386 - not found
    CMake Warning at CMakeLists.txt:150 (message):
    Unknown CMAKE_BUILD_TYPE, should be one of Release, Debug, RelWithDebInfo
    or MinSizeRel


    -- Performing Test FLAG_SUPPORTED_fuse_ld_mold
    -- Performing Test FLAG_SUPPORTED_fuse_ld_mold - Failed
    -- Performing Test FLAG_SUPPORTED_fuse_ld_lld
    -- Performing Test FLAG_SUPPORTED_fuse_ld_lld - Failed
    -- Performing Test FLAG_SUPPORTED_fuse_ld_gold
    -- Performing Test FLAG_SUPPORTED_fuse_ld_gold - Failed
    -- Performing Test FLAG_SUPPORTED_fstack_protector_strong
    -- Performing Test FLAG_SUPPORTED_fstack_protector_strong - Success
    -- Performing Test FLAG_SUPPORTED_fno_exceptions
    -- Performing Test FLAG_SUPPORTED_fno_exceptions - Success
    -- Performing Test FLAG_SUPPORTED_fsigned_char
    -- Performing Test FLAG_SUPPORTED_fsigned_char - Success
    -- Performing Test FLAG_SUPPORTED_Wall
    -- Performing Test FLAG_SUPPORTED_Wall - Success
    -- Performing Test FLAG_SUPPORTED_Wextra
    -- Performing Test FLAG_SUPPORTED_Wextra - Success
    -- Performing Test FLAG_SUPPORTED_Wno_psabi
    -- Performing Test FLAG_SUPPORTED_Wno_psabi - Success
    -- Performing Test FLAG_SUPPORTED_Wno_unused_parameter
    -- Performing Test FLAG_SUPPORTED_Wno_unused_parameter - Success
    -- Performing Test FLAG_SUPPORTED_Wno_missing_field_initializers
    -- Performing Test FLAG_SUPPORTED_Wno_missing_field_initializers - Success
    -- Performing Test FLAG_SUPPORTED_Wno_format
    -- Performing Test FLAG_SUPPORTED_Wno_format - Failed
    -- Performing Test FLAG_SUPPORTED_Wno_implicit_function_declaration
    -- Performing Test FLAG_SUPPORTED_Wno_implicit_function_declaration - Success -- Performing Test FLAG_SUPPORTED_Wno_nullability_completeness
    -- Performing Test FLAG_SUPPORTED_Wno_nullability_completeness - Success
    -- Performing Test FLAG_SUPPORTED_Wduplicated_cond
    -- Performing Test FLAG_SUPPORTED_Wduplicated_cond - Success
    -- Performing Test FLAG_SUPPORTED_Wduplicated_branches
    -- Performing Test FLAG_SUPPORTED_Wduplicated_branches - Success
    -- Performing Test FLAG_SUPPORTED_Wlogical_op
    -- Performing Test FLAG_SUPPORTED_Wlogical_op - Success
    -- Performing Test FLAG_SUPPORTED_Wrestrict
    -- Performing Test FLAG_SUPPORTED_Wrestrict - Success
    -- Performing Test FLAG_SUPPORTED_Wshadow_all
    -- Performing Test FLAG_SUPPORTED_Wshadow_all - Failed
    -- Performing Test FLAG_SUPPORTED_Wshadow_global
    -- Performing Test FLAG_SUPPORTED_Wshadow_global - Success
    -- Performing Test FLAG_SUPPORTED_Wthread_safety
    -- Performing Test FLAG_SUPPORTED_Wthread_safety - Failed
    -- Performing Test FLAG_SUPPORTED_Wthread_safety_negative
    -- Performing Test FLAG_SUPPORTED_Wthread_safety_negative - Failed
    -- Performing Test FLAG_SUPPORTED_Wsuggest_override
    -- Performing Test FLAG_SUPPORTED_Wsuggest_override - Success
    -- Performing Test FLAG_SUPPORTED_Wdynamic_class_memaccess
    -- Performing Test FLAG_SUPPORTED_Wdynamic_class_memaccess - Failed
    -- Performing Test FLAG_SUPPORTED_Wclass_memaccess
    -- Performing Test FLAG_SUPPORTED_Wclass_memaccess - Success
    -- Performing Test FLAG_SUPPORTED_Wno_alloc_size_larger_than
    -- Performing Test FLAG_SUPPORTED_Wno_alloc_size_larger_than - Success
    -- Performing Test DEFINE_FORTIFY_SOURCE
    -- Performing Test DEFINE_FORTIFY_SOURCE - Success
    -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
    -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.3.1")
    -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.5.0")
    -- Found Crypto: /usr/lib/x86_64-linux-gnu/libcrypto.so
    -- Checking for module 'libcurl'
    -- Found libcurl, version 8.13.0
    -- Found Curl: /usr/lib/x86_64-linux-gnu/libcurl.so
    -- Checking for module 'libavcodec'
    -- Found libavcodec, version 61.19.101
    -- Checking for module 'libavformat'
    -- Found libavformat, version 61.7.100
    -- Checking for module 'libavutil'
    -- Found libavutil, version 59.39.100
    -- Checking for module 'libswscale'
    -- Found libswscale, version 8.3.100
    -- Checking for module 'libswresample'
    -- Found libswresample, version 5.3.100
    -- Checking for one of the modules 'libx264;x264'
    -- Found FFMPEG: /usr/lib/x86_64-linux-gnu/libavcodec.so
    -- Checking for module 'freetype2'
    -- Found freetype2, version 26.2.20
    -- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so
    -- Found GLEW: /usr/include (found version "2.2.0")
    -- Found GTest: /usr/lib/x86_64-linux-gnu/cmake/GTest/GTestConfig.cmake (found version "1.15.0")
    CMake Warning (dev) at cmake/FindMySQL.cmake:7 (exec_program):
    Policy CMP0153 is not set: The exec_program command should not be called.
    Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy
    command to set the policy and suppress this warning.

    Use execute_process() instead.
    Call Stack (most recent call first):
    CMakeLists.txt:522 (find_package)
    This warning is for project developers. Use -Wno-dev to suppress it.

    CMake Warning (dev) at cmake/FindMySQL.cmake:16 (exec_program):
    Policy CMP0153 is not set: The exec_program command should not be called.
    Run "cmake --help-policy CMP0153" for policy details. Use the cmake_policy
    command to set the policy and suppress this warning.

    Use execute_process() instead.
    Call Stack (most recent call first):
    CMakeLists.txt:522 (find_package)
    This warning is for project developers. Use -Wno-dev to suppress it.

    -- Found MySQL: /usr/lib/x86_64-linux-gnu/libmariadbclient.so
    -- Checking for module 'ogg'
    -- Found ogg, version 1.3.5
    -- Found Ogg: /usr/include
    -- Checking for module 'opus'
    -- Found opus, version 1.5.2
    -- Found Opus: /usr/include/opus
    -- Checking for module 'opusfile'
    -- Found opusfile, version 0.12
    -- Found Opusfile: /usr/lib/x86_64-linux-gnu/libopusfile.so
    -- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.47")
    -- Found Python3: /usr/bin/python3 (found version "3.13.3") found components: Interpreter
    -- Found Rust: /usr/bin/rustc
    -- Checking for module 'sdl2'
    -- Found sdl2, version 2.32.4
    -- Found SDL2: /usr/lib/x86_64-linux-gnu/libSDL2.so
    -- Found SQLite3: /usr/include (found version "3.46.1")
    -- Checking for module 'sqlite3'
    -- Found sqlite3, version 3.46.1
    -- Found SQLite3: /usr/include
    -- Found Threads: TRUE
    -- Checking for module 'wavpack'
    -- Found wavpack, version 5.8.1
    -- Found Wavpack: /usr/lib/x86_64-linux-gnu/libwavpack.so
    -- Checking for module 'vulkan'
    -- Found vulkan, version 1.4.309
    -- Building vulkan shaders
    /<<PKGBUILDDIR>>/data/shader/vulkan/quad.vert
    -- Finished building vulkan shaders
    -- ******** DDNet ********
    -- Target OS: linux x86_64
    -- Compiler: /usr/bin/c++
    -- Rust version: rustc 1.85.0 (4d91de4e4 2025-02-17) (built from a source tarball)
    -- Build type: None
    -- Dependencies:
    -- * Curl found
    -- * FFmpeg found
    -- * Freetype found
    -- * Glew found
    -- * GTest found
    -- * MySQL found
    -- * Ogg found
    -- * OpenSSL Crypto found
    -- * Opus found
    -- * Opusfile found
    -- * PNG found
    -- * Python3 found
    -- * SDL2 found
    -- * SQLite3 found
    -- * Wavpack found
    -- * Zlib found
    -- * Vulkan found
    -- Found Notify: notify;gdk_pixbuf-2.0;gio-2.0;gobject-2.0;glib-2.0
    -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
    -- Looking for WavpackOpenFileInputEx
    -- Looking for WavpackOpenFileInputEx - found
    -- Looking for WavpackCloseFile
    -- Looking for WavpackCloseFile - found
    -- Configuring done (5.9s)
    -- Generating done (0.2s)
    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 -Nddnet-data
    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/steam_api.dir/build.make CMakeFiles/steam_api.dir/depend make -f CMakeFiles/rust-bridge-shared.dir/build.make CMakeFiles/rust-bridge-shared.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/
    steam_api.dir/DependInfo.cmake "--color="
    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/
    rust-bridge-shared.dir/DependInfo.cmake "--color="
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
    make -f CMakeFiles/steam_api.dir/build.make CMakeFiles/steam_api.dir/build make -f CMakeFiles/rust-bridge-shared.dir/build.make CMakeFiles/rust-bridge-shared.dir/build
    make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
    make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
    [ 0%] Building CXX object CMakeFiles/rust-bridge-shared.dir/src/rust-bridge/cpp/console.cpp.o
    [ 0%] Building CXX object CMakeFiles/steam_api.dir/src/steam/steam_api_stub.cpp.o
    /usr/bin/c++ -DCONF_INFORM_UPDATE -DCONF_MYSQL -DCONF_OPENSS [too-long-redacted] >>/src/steam/steam_api_stub.cpp
    /usr/bin/c++ -DCONF_INFORM_UPDATE -DCONF_MYSQL -DCONF_OPENSS [too-long-redacted] src/rust-bridge/cpp/console.cpp
    [ 0%] Linking CXX static library libsteam_api.a
    /usr/bin/cmake -P CMakeFiles/steam_api.dir/cmake_clean_target.cmake /usr/bin/cmake -E cmake_link_script CMakeFiles/steam_api.dir/link.txt --verbose=1
    /usr/bin/ar qc libsteam_api.a CMakeFiles/steam_api.dir/src/steam/steam_api_stub.cpp.o
    /usr/bin/ranlib libsteam_api.a
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
    [ 0%] Built target steam_api
    make -f CMakeFiles/rust_engine_shared_target.dir/build.make CMakeFiles/rust_engine_shared_target.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/
    rust_engine_shared_target.dir/DependInfo.cmake "--color="
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
    make -f CMakeFiles/rust_engine_shared_target.dir/build.make CMakeFiles/rust_engine_shared_target.dir/build
    make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
    [ 0%] Generating release/libddnet_engine_shared.a
    /usr/bin/cmake -E env CARGO_TARGET_DIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu DDNET_TEST_NO_LINK=1 /usr/bin/cargo build --manifest-path /<<PKGBUILDDIR>>/Cargo.toml --release
    error: failed to select a version for the requirement `quote = "^1.0.35"` (locked to 1.0.37)
    candidate versions found which didn't match: 1.0.40
    location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`)
    required by package `cxxbridge-macro v1.0.141`
    ... which satisfies dependency `cxxbridge-macro = "=1.0.141"` (locked to 1.0.141) of package `cxx v1.0.141`
    ... which satisfies dependency `cxx = "^1.0"` (locked to 1.0.141) of package `ddnet-engine-shared v0.0.1 (/<<PKGBUILDDIR>>/src/engine/shared)`
    perhaps a crate was updated and forgotten to be re-vendored?
    As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without the offline flag.
    make[3]: *** [CMakeFiles/rust_engine_shared_target.dir/build.make:89: release/libddnet_engine_shared.a] Error 101
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
    make[2]: *** [CMakeFiles/Makefile2:276: CMakeFiles/rust_engine_shared_target.dir/all] Error 2
    make[2]: *** Waiting for unfinished jobs....
    [ 1%] Building CXX object CMakeFiles/rust-bridge-shared.dir/src/rust-bridge/engine/shared/rust_version.cpp.o
    /usr/bin/c++ -DCONF_INFORM_UPDATE -DCONF_MYSQL -DCONF_OPENSS [too-long-redacted] /engine/shared/rust_version.cpp
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
    [ 1%] Built target rust-bridge-shared
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
    make[1]: *** [Makefile:159: 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:18: 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/202504/

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

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Apr 16 13:40:02 2025
    This is a multi-part message in MIME format...

    Your message dated Wed, 16 Apr 2025 11:34:12 +0000
    with message-id <E1u511w-00D5Ik-GE@fasolo.debian.org>
    and subject line Bug#1102780: fixed in ddnet 19.1-2
    has caused the Debian Bug report #1102780,
    regarding ddnet: FTBFS: error: failed to select a version for the requirement `quote = "^1.0.35"` (locked to 1.0.37)
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1102780: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102780
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 12 Apr 2025 16:23:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-120.3 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 85; hammy, 150; neutral, 502; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto Return-path: <sanvila@debian.org>
    Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:6