• Bug#1091934: gamescope: FTBFS: Package 'lcms2', required by 'wlroots-0.

    From Santiago Vila@21:1/5 to All on Thu Jan 2 19:20:04 2025
    Package: src:gamescope
    Version: 3.15.13-2
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

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

    Note: The following packages fail in a similar way:
    cage gamescope phoc reform-firedecor sway wayfire wayfire-shadows wcm wf-shell wstroke

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean --buildsystem=meson
    dh_auto_clean -O--buildsystem=meson
    dh_autoreconf_clean -O--buildsystem=meson
    dh_clean -O--buildsystem=meson
    debian/rules binary
    dh binary --buildsystem=meson
    dh_update_autotools_config -O--buildsystem=meson
    dh_autoreconf -O--buildsystem=meson
    debian/rules override_dh_auto_configure
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_auto_configure -- \
    --bindir /usr/games \
    -Dpipewire=enabled \

    [... snipped ...]

    -L/usr/lib/x86_64-linux-gnu -lXxf86vm
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs xxf86vm` -> 0
    stdout:
    -lXxf86vm
    -----------
    Run-time dependency xxf86vm found: YES 1.1.4
    Determining dependency 'xtst' with pkg-config executable '/usr/bin/pkg-config' env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion xtst` -> 0
    stdout:
    1.2.3
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags xtst` -> 0 env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs xtst` -> 0
    stdout:
    -L/usr/lib/x86_64-linux-gnu -lXtst
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs xtst` -> 0
    stdout:
    -lXtst
    -----------
    Run-time dependency xtst found: YES 1.2.3
    Determining dependency 'xres' with pkg-config executable '/usr/bin/pkg-config' env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion xres` -> 0
    stdout:
    1.2.1
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags xres` -> 0 env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs xres` -> 0
    stdout:
    -L/usr/lib/x86_64-linux-gnu -lXRes
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs xres` -> 0
    stdout:
    -lXRes
    -----------
    Run-time dependency xres found: YES 1.2.1
    Determining dependency 'xmu' with pkg-config executable '/usr/bin/pkg-config' env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion xmu` -> 0
    stdout:
    1.1.3
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags xmu` -> 0
    stdout:
    -I/usr/include/uuid
    -----------
    env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs xmu` -> 0
    stdout:
    -L/usr/lib/x86_64-linux-gnu -lXmu -lXt -lX11
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs xmu` -> 0
    stdout:
    -lXmu -lXt -lX11
    -----------
    Run-time dependency xmu found: YES 1.1.3
    Determining dependency 'xi' with pkg-config executable '/usr/bin/pkg-config' env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion xi` -> 0
    stdout:
    1.8.2
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags xi` -> 0 env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs xi` -> 0
    stdout:
    -L/usr/lib/x86_64-linux-gnu -lXi
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs xi` -> 0
    stdout:
    -lXi
    -----------
    Run-time dependency xi found: YES 1.8.2
    Determining dependency 'libdrm' with pkg-config executable '/usr/bin/pkg-config'
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion libdrm` -> 0
    stdout:
    2.4.123
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags libdrm` -> 0
    stdout:
    -I/usr/include/libdrm
    -----------
    env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs libdrm` -> 0
    stdout:
    -L/usr/lib/x86_64-linux-gnu -ldrm
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs libdrm` -> 0
    stdout:
    -ldrm
    -----------
    Run-time dependency libdrm found: YES 2.4.123
    Determining dependency 'libeis-1.0' with pkg-config executable '/usr/bin/pkg-config'
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion libeis-1.0` -> 0
    stdout:
    1.3.0
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags libeis-1.0` -> 0
    stdout:
    -I/usr/include/libei-1.0
    -----------
    env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs libeis-1.0` -> 0
    stdout:
    -L/usr/lib/x86_64-linux-gnu -leis
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs libeis-1.0` -> 0
    stdout:
    -leis
    -----------
    Run-time dependency libeis-1.0 found: YES 1.3.0
    Determining dependency 'pixman-1' with pkg-config executable '/usr/bin/pkg-config'
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion pixman-1` -> 0
    stdout:
    0.44.0
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags pixman-1` -> 0
    stdout:
    -I/usr/include/pixman-1
    -----------
    env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs pixman-1` -> 0
    stdout:
    -L/usr/lib/x86_64-linux-gnu -lpixman-1
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs pixman-1` -> 0
    stdout:
    -lpixman-1
    -----------
    Run-time dependency pixman-1 found: YES 0.44.0
    Determining dependency 'wayland-server' with pkg-config executable '/usr/bin/pkg-config'
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion wayland-server` -> 0
    stdout:
    1.23.0
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags wayland-server` -> 0 env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs wayland-server` -> 0
    stdout:
    -L/usr/lib/x86_64-linux-gnu -lwayland-server
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs wayland-server` -> 0
    stdout:
    -lwayland-server
    -----------
    Run-time dependency wayland-server found: YES 1.23.0
    Dependency wayland-protocols found: YES 1.39 (cached)
    Determining dependency 'xkbcommon' with pkg-config executable '/usr/bin/pkg-config'
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion xkbcommon` -> 0
    stdout:
    1.7.0
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags xkbcommon` -> 0 env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs xkbcommon` -> 0
    stdout:
    -L/usr/lib/x86_64-linux-gnu -lxkbcommon
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs xkbcommon` -> 0
    stdout:
    -lxkbcommon
    -----------
    Run-time dependency xkbcommon found: YES 1.7.0
    Run-time dependency threads found: YES
    Determining dependency 'libcap' with pkg-config executable '/usr/bin/pkg-config'
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion libcap` -> 0
    stdout:
    2.66
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags libcap` -> 0 env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs libcap` -> 0
    stdout:
    -L/usr/lib64 -lcap
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs libcap` -> 0
    stdout:
    -L/usr/lib64 -lcap
    -----------
    Run-time dependency libcap found: YES 2.66
    Determining dependency 'epoll-shim' with pkg-config executable '/usr/bin/pkg-config'
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion epoll-shim` -> 1
    stderr:
    Package epoll-shim was not found in the pkg-config search path.
    Perhaps you should add the directory containing `epoll-shim.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'epoll-shim', required by 'virtual:world', not found
    -----------
    CMake binary for host machine is not cached
    CMake binary missing from cross or native file, or env var undefined.
    Trying a default CMake fallback at cmake
    Found CMake: /usr/bin/cmake (3.31.2)
    Extracting basic cmake information
    CMake Toolchain: Calling CMake once to generate the compiler state
    Calling CMake (['/usr/bin/cmake']) in /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/__CMake_compiler_info__ with:
    - "--trace-expand"
    - "--trace-format=json-v1"
    - "--no-warn-unused-cli"
    - "--trace-redirect=cmake_trace.txt"
    - "-G"
    - "Ninja"
    - "-DCMAKE_TOOLCHAIN_FILE=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/__CMake_compiler_info__/CMakeMesonTempToolchainFile.cmake"
    - "."
    CMake trace warning: add_executable() non imported executables are not supported
    CMake TRACE: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-NyAcoa/CMakeLists.txt:22 add_executable(['cmTC_89625'])
    CMake trace warning: target_link_libraries() TARGET cmTC_89625 not found
    CMake TRACE: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-NyAcoa/CMakeLists.txt:28 target_link_libraries(['cmTC_89625', ''])
    CMake trace warning: add_executable() non imported executables are not supported
    CMake TRACE: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-fBW3Jm/CMakeLists.txt:22 add_executable(['cmTC_ebc02'])
    CMake trace warning: target_link_libraries() TARGET cmTC_ebc02 not found
    CMake TRACE: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-fBW3Jm/CMakeLists.txt:28 target_link_libraries(['cmTC_ebc02', ''])
    Try CMake generator: auto
    Calling CMake (['/usr/bin/cmake']) in /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/cmake_epoll-shim with:
    - "--trace-expand"
    - "--trace-format=json-v1"
    - "--no-warn-unused-cli"
    - "--trace-redirect=cmake_trace.txt"
    - "-DCMAKE_TOOLCHAIN_FILE=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/cmake_epoll-shim/CMakeMesonToolchainFile.cmake"
    - "."
    -- Module search paths: ['/', '/opt', '/usr', '/usr/local']
    -- CMake root: /usr/share/cmake-3.31
    -- CMake architectures: ['x86_64-linux-gnu']
    -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', '', 'lib/x86_64-linux-gnu']
    Preliminary CMake check failed. Aborting.
    Run-time dependency epoll-shim found: NO (tried pkgconfig and cmake)
    Dependency glm found: YES 0.9.9.8 (cached)
    Determining dependency 'sdl2' with pkg-config executable '/usr/bin/pkg-config' env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion sdl2` -> 0
    stdout:
    2.30.10
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags sdl2` -> 0
    stdout:
    -I/usr/include/SDL2 -D_REENTRANT
    -----------
    env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs sdl2` -> 0
    stdout:
    -L/usr/lib/x86_64-linux-gnu -lSDL2
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs sdl2` -> 0
    stdout:
    -lSDL2
    -----------
    Run-time dependency sdl2 found: YES 2.30.10
    Determining dependency 'stb' with pkg-config executable '/usr/bin/pkg-config' env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion stb` -> 0
    stdout:
    0.0
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags stb` -> 0
    stdout:
    -I/usr/include/stb
    -----------
    env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs stb` -> 0
    stdout:
    -L/usr/lib/x86_64-linux-gnu -lstb
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs stb` -> 0
    stdout:
    -lstb
    -----------
    Run-time dependency stb found: YES 0.0
    Determining dependency 'libavif' with pkg-config executable '/usr/bin/pkg-config'
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion libavif` -> 0
    stdout:
    1.1.1
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags libavif` -> 0
    stdout:
    -DAVIF_DLL -I/usr/include/rav1e -I/usr/include/svt-av1 -DEB_DLL
    -----------
    env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs libavif` -> 0
    stdout:
    -L/usr/lib/x86_64-linux-gnu -lavif
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --libs libavif` -> 0
    stdout:
    -lavif
    -----------
    Run-time dependency libavif found: YES 1.1.1
    Determining dependency 'wlroots-0.18' with pkg-config executable '/usr/bin/pkg-config'
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --modversion wlroots-0.18` -> 0
    stdout:
    0.18.2
    -----------
    env[PKG_CONFIG_PATH]:
    env[PKG_CONFIG]: /usr/bin/pkg-config
    -----------
    Called: `/usr/bin/pkg-config --cflags wlroots-0.18` -> 1
    stderr:
    Package lcms2 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `lcms2.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'lcms2', required by 'wlroots-0.18', not found
    -----------
    Pkg-config error with 'wlroots-0.18': Could not generate cflags for wlroots-0.18:
    Package lcms2 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `lcms2.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'lcms2', required by 'wlroots-0.18', not found

    CMake binary for host machine is cached.
    Preliminary CMake check failed. Aborting.
    Run-time dependency wlroots-0.18 found: NO (tried pkgconfig and cmake)
    Looking for a fallback subproject for the dependency wlroots-0.18

    ../src/meson.build:28:14: ERROR: Subproject exists but has no meson.build file. dh_auto_configure: error: cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dpython.
    bytecompile=-1 --bindir /usr/games -Dpipewire=enabled -Denable_openvr_support=false returned exit code 1
    make[1]: *** [debian/rules:9: override_dh_auto_configure] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:6: binary] Error 2
    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/202501/

    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:gamescope, 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)