Bug#1099235: gnome-snapshot: FTBFS: error: failed to select a version for the requirement `gufo-common = "^0.2.0"`
Santiago Vila
sanvila at debian.org
Sat Mar 1 21:01:13 GMT 2025
Package: src:gnome-snapshot
Version: 48~beta-2
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
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
rm -rf debian/cargo_registry
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/share/cargo/bin/cargo prepare-debian 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.lock
dh_auto_configure -- \
-Dhost_arch="x86_64-unknown-linux-gnu" \
-Dprofile="default" \
-Dx11=enabled \
-Dportal=true
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 -Dhost_arch=x86_64-unknown-linux-gnu -Dprofile=default -Dx11=enabled -Dportal=true
The Meson build system
Version: 1.7.0
Source dir: /<<PKGBUILDDIR>>
Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
Build type: native build
Project name: snapshot
Project version: 48.beta
Rust compiler for the host machine: rustc -C linker=cc (rustc 1.85.0)
Rust linker for the host machine: rustc -C linker=cc ld.bfd 2.44
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Run-time dependency glib-2.0 found: YES 2.83.5
Run-time dependency gtk4 found: YES 4.17.5
Run-time dependency libadwaita-1 found: YES 1.7.beta
Run-time dependency gstreamer-1.0 found: YES 1.24.12
Run-time dependency gstreamer-video-1.0 found: YES 1.24.12
Run-time dependency gstreamer-plugins-bad-1.0 found: YES 1.24.12
Run-time dependency gtk4-x11 found: YES 4.17.5
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Program appstreamcli found: NO
Program cargo found: YES (/usr/share/cargo/bin/cargo)
Configuring org.gnome.Snapshot.metainfo.xml.in using configuration
Program msgfmt found: YES (/usr/bin/msgfmt)
Configuring resources.gresource.xml using configuration
Build-time dependency gio-2.0 found: YES 2.83.5
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Configuring org.gnome.Snapshot.desktop.in using configuration
Configuring org.gnome.Snapshot.gschema.xml using configuration
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Configuring config.rs using configuration
Message: Building in release mode
Dependency gio-2.0 found: YES 2.83.5 (cached)
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)
Program gtk4-update-icon-cache found: YES (/usr/bin/gtk4-update-icon-cache)
Program update-desktop-database found: YES (/usr/bin/update-desktop-database)
Build targets in project: 55
snapshot 48.beta
User defined options
buildtype : plain
host_arch : x86_64-unknown-linux-gnu
libdir : lib/x86_64-linux-gnu
localstatedir : /var
portal : true
prefix : /usr
profile : default
python.bytecompile: -1
sysconfdir : /etc
wrap_mode : nodownload
x11 : enabled
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/52] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt data/org.gnome.Snapshot.desktop.in data/org.gnome.Snapshot.desktop desktop '/<<PKGBUILDDIR>>/po'
[2/52] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt data/resources/org.gnome.Snapshot.metainfo.xml.in data/resources/org.gnome.Snapshot.metainfo.xml xml '/<<PKGBUILDDIR>>/po'
[3/52] /usr/bin/msgfmt -o po/be/LC_MESSAGES/snapshot.mo ../po/be.po
[4/52] /usr/bin/glib-compile-resources data/resources/resources.gresource.xml --sourcedir '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/data/resources' --sourcedir data/resources --sourcedir ../data/resources --internal --generate --target data/resources/resources.gresource --dependency-file data/resources/resources.gresource.d
xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH
[5/52] /usr/bin/msgfmt -o po/bg/LC_MESSAGES/snapshot.mo ../po/bg.po
[6/52] /usr/bin/msgfmt -o po/ca/LC_MESSAGES/snapshot.mo ../po/ca.po
[7/52] /usr/bin/msgfmt -o po/cs/LC_MESSAGES/snapshot.mo ../po/cs.po
[8/52] /usr/bin/msgfmt -o po/da/LC_MESSAGES/snapshot.mo ../po/da.po
[9/52] /usr/bin/msgfmt -o po/de/LC_MESSAGES/snapshot.mo ../po/de.po
[10/52] /usr/bin/msgfmt -o po/el/LC_MESSAGES/snapshot.mo ../po/el.po
[11/52] /usr/bin/msgfmt -o po/en_GB/LC_MESSAGES/snapshot.mo ../po/en_GB.po
[12/52] /usr/bin/msgfmt -o po/eo/LC_MESSAGES/snapshot.mo ../po/eo.po
[13/52] /usr/bin/msgfmt -o po/es/LC_MESSAGES/snapshot.mo ../po/es.po
[14/52] /usr/bin/msgfmt -o po/eu/LC_MESSAGES/snapshot.mo ../po/eu.po
[15/52] /usr/bin/msgfmt -o po/fa/LC_MESSAGES/snapshot.mo ../po/fa.po
[16/52] /usr/bin/msgfmt -o po/fi/LC_MESSAGES/snapshot.mo ../po/fi.po
[17/52] /usr/bin/msgfmt -o po/fr/LC_MESSAGES/snapshot.mo ../po/fr.po
[18/52] /usr/bin/msgfmt -o po/fur/LC_MESSAGES/snapshot.mo ../po/fur.po
[19/52] /usr/bin/msgfmt -o po/gl/LC_MESSAGES/snapshot.mo ../po/gl.po
[20/52] /usr/bin/msgfmt -o po/he/LC_MESSAGES/snapshot.mo ../po/he.po
[21/52] /usr/bin/msgfmt -o po/hi/LC_MESSAGES/snapshot.mo ../po/hi.po
[22/52] /usr/bin/msgfmt -o po/hu/LC_MESSAGES/snapshot.mo ../po/hu.po
[23/52] /usr/bin/msgfmt -o po/id/LC_MESSAGES/snapshot.mo ../po/id.po
[24/52] /usr/bin/msgfmt -o po/it/LC_MESSAGES/snapshot.mo ../po/it.po
[25/52] /usr/bin/msgfmt -o po/ka/LC_MESSAGES/snapshot.mo ../po/ka.po
[26/52] /usr/bin/msgfmt -o po/kab/LC_MESSAGES/snapshot.mo ../po/kab.po
[27/52] /usr/bin/msgfmt -o po/kk/LC_MESSAGES/snapshot.mo ../po/kk.po
[28/52] /usr/bin/msgfmt -o po/ko/LC_MESSAGES/snapshot.mo ../po/ko.po
[29/52] /usr/bin/msgfmt -o po/lt/LC_MESSAGES/snapshot.mo ../po/lt.po
[30/52] /usr/bin/msgfmt -o po/lv/LC_MESSAGES/snapshot.mo ../po/lv.po
[31/52] /usr/bin/msgfmt -o po/nb/LC_MESSAGES/snapshot.mo ../po/nb.po
[32/52] /usr/bin/msgfmt -o po/ne/LC_MESSAGES/snapshot.mo ../po/ne.po
[33/52] /usr/bin/msgfmt -o po/nl/LC_MESSAGES/snapshot.mo ../po/nl.po
[34/52] /usr/bin/msgfmt -o po/oc/LC_MESSAGES/snapshot.mo ../po/oc.po
[35/52] /usr/bin/msgfmt -o po/pa/LC_MESSAGES/snapshot.mo ../po/pa.po
[36/52] /usr/bin/msgfmt -o po/pl/LC_MESSAGES/snapshot.mo ../po/pl.po
[37/52] /usr/bin/msgfmt -o po/pt/LC_MESSAGES/snapshot.mo ../po/pt.po
[38/52] /usr/bin/msgfmt -o po/pt_BR/LC_MESSAGES/snapshot.mo ../po/pt_BR.po
[39/52] /usr/bin/msgfmt -o po/ro/LC_MESSAGES/snapshot.mo ../po/ro.po
[40/52] /usr/bin/msgfmt -o po/ru/LC_MESSAGES/snapshot.mo ../po/ru.po
[41/52] /usr/bin/msgfmt -o po/rw/LC_MESSAGES/snapshot.mo ../po/rw.po
[42/52] /usr/bin/msgfmt -o po/sk/LC_MESSAGES/snapshot.mo ../po/sk.po
[43/52] /usr/bin/msgfmt -o po/sl/LC_MESSAGES/snapshot.mo ../po/sl.po
[44/52] /usr/bin/msgfmt -o po/sr/LC_MESSAGES/snapshot.mo ../po/sr.po
[45/52] /usr/bin/msgfmt -o po/sv/LC_MESSAGES/snapshot.mo ../po/sv.po
[46/52] /usr/bin/msgfmt -o po/th/LC_MESSAGES/snapshot.mo ../po/th.po
[47/52] /usr/bin/msgfmt -o po/tr/LC_MESSAGES/snapshot.mo ../po/tr.po
[48/52] /usr/bin/msgfmt -o po/uk/LC_MESSAGES/snapshot.mo ../po/uk.po
[49/52] /usr/bin/msgfmt -o po/vi/LC_MESSAGES/snapshot.mo ../po/vi.po
[50/52] /usr/bin/msgfmt -o po/zh_CN/LC_MESSAGES/snapshot.mo ../po/zh_CN.po
[50/52] /usr/bin/env /usr/share/cargo/bin/cargo build --manifest-path '/<<PKGBUILDDIR>>/Cargo.toml' --target-dir '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src' --release --features x11 --features portal && cp src/x86_64-unknown-linux-gnu/release/snapshot src/snapshot
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', '--manifest-path', '/<<PKGBUILDDIR>>/Cargo.toml', '--target-dir', '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src', '--release', '--features', 'x11', '--features', 'portal'],) {}
error: failed to select a version for the requirement `gufo-common = "^0.2.0"`
candidate versions found which didn't match: 0.2.0-alpha.2
location searched: directory source `/<<PKGBUILDDIR>>/debian/cargo_registry` (which is replacing registry `crates-io`)
required by package `glycin v2.1.0-rc`
... which satisfies dependency `glycin = "^2.1.0-beta"` of package `snapshot v46.0.0 (/<<PKGBUILDDIR>>)`
if you are looking for the prerelease package it needs to be specified explicitly
gufo-common = { version = "0.2.0-alpha.2" }
perhaps a crate was updated and forgotten to be re-vendored?
[51/52] /usr/bin/msgfmt -o po/zh_TW/LC_MESSAGES/snapshot.mo ../po/zh_TW.po
FAILED: src/snapshot
/usr/bin/env /usr/share/cargo/bin/cargo build --manifest-path '/<<PKGBUILDDIR>>/Cargo.toml' --target-dir '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src' --release --features x11 --features portal && cp src/x86_64-unknown-linux-gnu/release/snapshot src/snapshot
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:14: 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/202503/
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:gnome-snapshot, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-gnome-maintainers
mailing list