[Debian-on-mobile-maintainers] Bug#1115149: xdg-desktop-portal-phosh: FTBFS: error: failed to select a version for the requirement `libadwaita = "^0.7"`
Santiago Vila
sanvila at debian.org
Sat Sep 13 17:29:48 BST 2025
Package: src:xdg-desktop-portal-phosh
Version: 0.46.0-2
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:xdg-desktop-portal-phosh, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf /<<PKGBUILDDIR>>/debian/cargo_home
rm -rf /<<PKGBUILDDIR>>/debian/cargo_registry
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules execute_before_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/share/cargo/bin/cargo prepare-debian /<<PKGBUILDDIR>>/debian/cargo_registry --link-from-system
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/
rm -f .cargo/config subprojects/pfs/Cargo.lock
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -Dpfs:deb_triplet=x86_64-unknown-linux-gnu
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 -Dpfs:deb_triplet=x86_64-unknown-linux-gnu
The Meson build system
Version: 1.9.0
Source dir: /<<PKGBUILDDIR>>
Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
Build type: native build
Project name: xdg-desktop-portal-phosh
Project version: 0.46.0
C compiler for the host machine: cc (gcc 15.2.0 "cc (Debian 15.2.0-4) 15.2.0")
C linker for the host machine: cc ld.bfd 2.45
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wcast-align: YES
Compiler for C supports arguments -Wdate-time: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Werror=format-security -Werror=format=2: YES
Compiler for C supports arguments -Wendif-labels: YES
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
Compiler for C supports arguments -Werror=missing-declarations: YES
Compiler for C supports arguments -Werror=overflow: YES
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=shift-count-overflow: YES
Compiler for C supports arguments -Werror=shift-overflow=2: YES
Compiler for C supports arguments -Werror=implicit-fallthrough=3: YES
Compiler for C supports arguments -Wfloat-equal: YES
Compiler for C supports arguments -Wformat-nonliteral: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wmaybe-uninitialized: YES
Compiler for C supports arguments -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-sign-compare: YES
Compiler for C supports arguments -Wno-strict-aliasing: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wswitch-default: YES
Compiler for C supports arguments -Wswitch-enum: YES
Compiler for C supports arguments -Wtype-limits: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wunused-function: YES
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Run-time dependency libadwaita-1 found: YES 1.8.rc
Run-time dependency fontconfig found: YES 2.15.0
Run-time dependency gio-2.0 found: YES 2.84.4
Run-time dependency gio-unix-2.0 found: YES 2.84.4
Run-time dependency glib-2.0 found: YES 2.84.4
Run-time dependency gnome-bg-4 found: YES 44.4
Run-time dependency gnome-desktop-4 found: YES 44.4
Run-time dependency gsettings-desktop-schemas found: YES 49.rc
Run-time dependency gtk4 found: YES 4.20.1
Run-time dependency gtk4-wayland found: YES 4.20.1
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libpfs-0 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libpfs-0
Executing subproject pfs
pfs| Project name: PhoshFileSelector
pfs| Project version: 0.0.2
pfs| C compiler for the host machine: cc (gcc 15.2.0 "cc (Debian 15.2.0-4) 15.2.0")
pfs| C linker for the host machine: cc ld.bfd 2.45
pfs| Rust compiler for the host machine: rustc -C linker=cc (rustc 1.86.0 "1.86.0")
pfs| Rust linker for the host machine: rustc -C linker=cc ld.bfd 2.45
pfs| Dependency gtk4 found: YES 4.20.1 (cached)
pfs| Dependency libadwaita-1 found: YES 1.8.rc (cached)
pfs| Run-time dependency gobject-2.0 found: YES 2.84.4
pfs| Configuring mobi.phosh.FileSelectorDemo.desktop.in using configuration
pfs| Program msgfmt found: YES (/usr/bin/msgfmt)
pfs| Program desktop-file-validate found: NO
pfs| Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
pfs| Dependency gio-2.0 found: YES 2.84.4 (cached)
pfs| Program /usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas found: YES (/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas)
pfs| Dependency gio-2.0 found: YES 2.84.4 (cached)
pfs| Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
pfs| Configuring config.rs using configuration
pfs| Program cargo found: YES (/usr/share/cargo/bin/cargo)
pfs| Program msginit found: YES (/usr/bin/msginit)
pfs| Program msgmerge found: YES (/usr/bin/msgmerge)
pfs| Program xgettext found: YES (/usr/bin/xgettext)
pfs| Configuring run using configuration
pfs| Dependency gio-2.0 found: YES 2.84.4 (cached)
pfs| Program /usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas found: YES (/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas)
pfs| Build targets in project: 7
pfs| Subproject pfs finished.
Dependency libpfs-0 from subproject subprojects/pfs found: YES 0.0.2
Run-time dependency xdg-desktop-portal found: YES 1.20.3
Run-time dependency systemd found: YES 258
Configuring pmp-config.h using configuration
Configuring org.freedesktop.impl.portal.desktop.phosh.service using configuration
Configuring xdg-desktop-portal-phosh.desktop.in using configuration
Configuring xdg-desktop-portal-phosh.service using configuration
Configuring phosh.portal using configuration
Dependency gio-2.0 found: YES 2.84.4 (cached)
Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Dependency gio-2.0 found: YES 2.84.4 (cached)
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Build targets in project: 16
xdg-desktop-portal-phosh 0.46.0
Subprojects
pfs : YES
User defined options
buildtype : plain
pfs:deb_triplet : x86_64-unknown-linux-gnu
libdir : lib/x86_64-linux-gnu
localstatedir : /var
prefix : /usr
python.bytecompile: -1
sysconfdir : /etc
wrap_mode : nodownload
Found ninja-1.12.1 at /usr/bin/ninja
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v
[1/23] /usr/bin/glib-compile-resources ../subprojects/pfs/src/pfs.gresource.xml --sourcedir ../subprojects/pfs/src --internal --generate --target subprojects/pfs/src/pfs.gresource --dependency-file subprojects/pfs/src/pfs.gresource.d
[2/23] /usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.freedesktop.impl.portal. --c-namespace PmpImpl --body --output src/xdg-desktop-portal-dbus.c /usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Request.xml /usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Session.xml /usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.FileChooser.xml /usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Notification.xml /usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Settings.xml /usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Wallpaper.xml
[3/23] /usr/bin/glib-compile-resources ../src/pmp.gresources.xml --sourcedir ../src --c-name pmp --internal --generate --target src/pmp-resources.c --dependency-file src/pmp-resources.c.d
[4/23] /usr/bin/glib-compile-resources ../src/pmp.gresources.xml --sourcedir ../src --c-name pmp --internal --generate --target src/pmp-resources.h
[4/23] /usr/bin/env PFS_RESOURCE_DIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/subprojects/pfs/src /usr/share/cargo/bin/cargo build --lib --manifest-path /<<PKGBUILDDIR>>/subprojects/pfs/Cargo.toml --target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/subprojects/pfs/src && cp /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/subprojects/pfs/src/x86_64-unknown-linux-gnu/debug/libpfs.a subprojects/pfs/src/libpfs.a
debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto =
debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'build', '--verbose', '--verbose', '-j2', '--target', 'x86_64-unknown-linux-gnu', '--lib', '--manifest-path', '/<<PKGBUILDDIR>>/subprojects/pfs/Cargo.toml', '--target-dir', '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/subprojects/pfs/src'],) {}
error: failed to select a version for the requirement `libadwaita = "^0.7"`
candidate versions found which didn't match: 0.8.0
location searched: directory source `/<<PKGBUILDDIR>>/debian/cargo_registry` (which is replacing registry `crates-io`)
required by package `PhoshFileSelector v0.0.2 (/<<PKGBUILDDIR>>/subprojects/pfs)`
perhaps a crate was updated and forgotten to be re-vendored?
[5/23] /usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.freedesktop.impl.portal. --c-namespace PmpImpl --header --output src/xdg-desktop-portal-dbus.h /usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Request.xml /usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Session.xml /usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.FileChooser.xml /usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Notification.xml /usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Settings.xml /usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Wallpaper.xml
FAILED: subprojects/pfs/src/libpfs.a
/usr/bin/env PFS_RESOURCE_DIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/subprojects/pfs/src /usr/share/cargo/bin/cargo build --lib --manifest-path /<<PKGBUILDDIR>>/subprojects/pfs/Cargo.toml --target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/subprojects/pfs/src && cp /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/subprojects/pfs/src/x86_64-unknown-linux-gnu/debug/libpfs.a subprojects/pfs/src/libpfs.a
[7/23] cc -Isrc/xdg-desktop-portal-phosh.p -Isrc -I../src -I [too-long-redacted] c src/xdg-desktop-portal-dbus.c
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Debian-on-mobile-maintainers
mailing list