• Bug#1091935: cage: FTBFS: Package 'lcms2', required by 'wlroots-0.18',

    From Santiago Vila@21:1/5 to All on Thu Jan 2 19:20:01 2025
    Package: src:cage
    Version: 0.2.0-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_testdir -O--buildsystem=meson
    dh_auto_clean -O--buildsystem=meson
    dh_autoreconf_clean -O--buildsystem=meson
    dh_clean -O--buildsystem=meson
    rm -f debian/debhelper-build-stamp
    rm -rf debian/.debhelper/
    rm -f -- debian/cage.substvars debian/files
    rm -fr -- debian/cage/ debian/tmp/
    find . \( \( \
    \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
    \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
    -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
    -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
    -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
    \) -exec rm -f {} + \) -o \
    \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
    debian/rules binary
    dh binary --buildsystem=meson
    dh_testdir -O--buildsystem=meson
    dh_update_autotools_config -O--buildsystem=meson
    dh_autoreconf -O--buildsystem=meson
    dh_auto_configure -O--buildsystem=meson
    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
    The Meson build system
    Version: 1.6.1
    Source dir: /<<PKGBUILDDIR>>
    Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
    Build type: native build
    Project name: cage
    Project version: 0.2.0
    C compiler for the host machine: cc (gcc 14.2.0 "cc (Debian 14.2.0-12) 14.2.0") C linker for the host machine: cc ld.bfd 2.43.50.20241230
    Host machine cpu family: x86_64
    Host machine cpu: x86_64
    Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
    Did not find CMake 'cmake'
    Found CMake: NO
    Run-time dependency wlroots-0.18 found: NO (tried pkgconfig and cmake)
    Looking for a fallback subproject for the dependency wlroots-0.18

    ../meson.build:38:17: ERROR: Neither a subproject directory nor a wlroots.wrap file was found.

    A full log can be found at /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-logs/meson-log.txt
    cd obj-x86_64-linux-gnu && tail -v -n \+0 meson-logs/meson-log.txt
    meson-logs/meson-log.txt <==
    Build started at 2025-01-02T15:56:25.409922
    Main binary: /usr/bin/python3
    Build Options: -Dpython.bytecompile=-1 -Dprefix=/usr -Dlibdir=lib/x86_64-linux-gnu -Dlocalstatedir=/var -Dsysconfdir=/etc -Dbuildtype=plain -Dwrap_mode=nodownload
    Python system: Linux
    The Meson build system
    Version: 1.6.1
    Source dir: /<<PKGBUILDDIR>>
    Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
    Build type: native build
    Project name: cage
    Project version: 0.2.0
    -----------
    Detecting compiler via: `cc --version` -> 0
    stdout:
    cc (Debian 14.2.0-12) 14.2.0
    Copyright (C) 2024 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -----------
    Running command: -cpp -x c -E -dM -
    -----
    -----------
    Detecting linker via: `cc -Wl,--version -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-
    time -D_FORTIFY_SOURCE=2` -> 0
    stdout:
    GNU ld (GNU Binutils for Debian) 2.43.50.20241230
    Copyright (C) 2024 Free Software Foundation, Inc.
    This program is free software; you may redistribute it under the terms of
    the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty.
    -----------
    stderr:
    collect2 version 14.2.0
    /usr/bin/ld -plugin /usr/libexec/gcc/x86_64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccl39VwF.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-
    opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-
    linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/14 -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-
    gnu/14/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/14/../../.. --version -z relro -z now -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc
    --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crtn.o
    -----------
    Sanity testing C compiler: cc
    Is cross compiler: False.
    Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
    -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -Wl,-z,relro -Wl,-z,now Sanity check compile stdout:

    -----
    Sanity check compile stderr:

    -----
    Running test binary command: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/sanitycheckc.exe
    C compiler for the host machine: cc (gcc 14.2.0 "cc (Debian 14.2.0-12) 14.2.0") C linker for the host machine: cc ld.bfd 2.43.50.20241230
    -----------
    Detecting archiver via: `gcc-ar --version` -> 0
    stdout:
    GNU ar (GNU Binutils for Debian) 2.43.50.20241230
    Copyright (C) 2024 Free Software Foundation, Inc.
    This program is free software; you may redistribute it under the terms of
    the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty.
    -----------
    -----------
    Detecting compiler via: `cc --version` -> 0
    stdout:
    cc (Debian 14.2.0-12) 14.2.0
    Copyright (C) 2024 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -----------
    Running command: -cpp -x c -E -dM -
    -----
    -----------
    Detecting linker via: `cc -Wl,--version -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-
    time -D_FORTIFY_SOURCE=2` -> 0
    stdout:
    GNU ld (GNU Binutils for Debian) 2.43.50.20241230
    Copyright (C) 2024 Free Software Foundation, Inc.
    This program is free software; you may redistribute it under the terms of
    the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty.
    -----------
    stderr:
    collect2 version 14.2.0
    /usr/bin/ld -plugin /usr/libexec/gcc/x86_64-linux-gnu/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/14/lto-wrapper -plugin-opt=-fresolution=/tmp/cckO7ZWT.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-
    opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-
    linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/14/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/14 -L/usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-
    gnu/14/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/14/../../.. --version -z relro -z now -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc
    --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/14/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/crtn.o
    -----------
    Sanity testing C compiler: cc
    Is cross compiler: False.
    Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
    -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -Wl,-z,relro -Wl,-z,now Sanity check compile stdout:

    -----
    Sanity check compile stderr:

    -----
    Running test binary command: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/sanitycheckc.exe
    C compiler for the build machine: cc (gcc 14.2.0 "cc (Debian 14.2.0-12) 14.2.0")
    C linker for the build machine: cc ld.bfd 2.43.50.20241230
    -----------
    Detecting archiver via: `gcc-ar --version` -> 0
    stdout:
    GNU ar (GNU Binutils for Debian) 2.43.50.20241230
    Copyright (C) 2024 Free Software Foundation, Inc.
    This program is free software; you may redistribute it under the terms of
    the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty.
    -----------
    Build machine cpu family: x86_64
    Build machine cpu: x86_64
    Host machine cpu family: x86_64
    Host machine cpu: x86_64
    Target machine cpu family: x86_64
    Target machine cpu: x86_64
    Pkg-config binary missing from cross or native file, or env var undefined. Trying a default Pkg-config fallback at pkg-config
    Found pkg-config: YES (/usr/bin/pkg-config) 1.8.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 not cached
    CMake binary missing from cross or native file, or env var undefined.
    Trying a default CMake fallback at cmake
    Did not find CMake 'cmake'
    Found CMake: NO
    CMake binary for machine host machine not found. Giving up.
    Run-time dependency wlroots-0.18 found: NO (tried pkgconfig and cmake)
    Looking for a fallback subproject for the dependency wlroots-0.18

    ../meson.build:38:17: ERROR: Neither a subproject directory nor a wlroots.wrap file was found.
    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 returned exit code 1
    make: *** [debian/rules:11: 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/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:cage, 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)