Debian Bug report logs - #1099233
glycin: FTBFS: error[E0308]: arguments to this function are incorrect

version graph

Package: src:glycin; Maintainer for src:glycin is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>;

Reported by: Santiago Vila <sanvila@debian.org>

Date: Sat, 1 Mar 2025 21:03:18 UTC

Severity: serious

Tags: ftbfs, sid, trixie

Found in version glycin/1.2~beta.1+ds-2

Fixed in version glycin/1.2~rc+ds-1

Done: Matthias Geiger <werdahias@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, sanvila@debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1099233; Package src:glycin. (Sat, 01 Mar 2025 21:03:18 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sat, 01 Mar 2025 21:03:19 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: glycin: FTBFS: error[E0308]: arguments to this function are incorrect
Date: Sat, 01 Mar 2025 21:01:11 +0000
Package: src:glycin
Version: 1.2~beta.1+ds-2
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
warning: `safe-transmute` (lib) generated 2 warnings
   Compiling glycin-utils v3.0.0-beta
     Running `CARGO=/usr/share/cargo/bin/cargo CARGO_CRATE_NAME=glycin_utils CARGO_MANIFEST_DIR='/<<PKGBUILDDIR>>/debian/cargo_registry/glycin-utils-3.0.0-beta' CARGO_MANIFEST_PATH='/<<PKGBUILDDIR>>/debian/cargo_registry/glycin-utils-3.0.0-beta/Cargo.toml' CARGO_PKG_AUTHORS='Sophie Herold' CARGO_PKG_DESCRIPTION='Sandboxed image decoding' CARGO_PKG_HOMEPAGE='https://gitlab.gnome.org/GNOME/glycin' CARGO_PKG_LICENSE='MPL-2.0 OR LGPL-2.1-or-later' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=glycin-utils CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://gitlab.gnome.org/GNOME/glycin' CARGO_PKG_RUST_VERSION=1.80 CARGO_PKG_VERSION=3.0.0-beta CARGO_PKG_VERSION_MAJOR=3 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE=beta LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/release/deps' rustc --crate-name glycin_utils --edition=2021 '/<<PKGBUILDDIR>>/debian/cargo_registry/glycin-utils-3.0.0-beta/src/lib.rs' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C codegen-units=1 -C debuginfo=2 --cfg 'feature="async-io"' --cfg 'feature="loader-utils"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("async-io", "default", "glib", "gobject", "image-rs", "loader-utils", "tokio"))' -C metadata=d26b18761985d9a4 -C extra-filename=-14531e5b4c0caa46 --out-dir '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps' --target x86_64-unknown-linux-gnu -L 'dependency=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps' -L 'dependency=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/release/deps' --extern 'env_logger=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libenv_logger-8dd0ce0dd35137a1.rmeta' --extern 'futures_lite=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libfutures_lite-d451f903946c29e0.rmeta' --extern 'gufo_common=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libgufo_common-526137188706372b.rmeta' --extern 'libc=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/liblibc-c2a140eecaa8b8b9.rmeta' --extern 'libseccomp=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/liblibseccomp-75f724dec99836bd.rmeta' --extern 'log=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/liblog-eebd9cbf7909ff7f.rmeta' --extern 'memmap=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libmemmap2-fbb8586dd88531ec.rmeta' --extern 'nix=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libnix-c1d8ab260c19d127.rmeta' --extern 'paste=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/release/deps/libpaste-61c5f0ab83c67276.so' --extern 'rmp_serde=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/librmp_serde-fbe463b8c0bb4c41.rmeta' --extern 'serde=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libserde-bcfa0f5def724ad6.rmeta' --extern 'thiserror=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libthiserror-92ce926b84e16ce8.rmeta' --extern 'zbus=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libzbus-d2a3c06795d411ba.rmeta' --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro -C link-arg=-Wl,-z,now --remap-path-prefix '/<<PKGBUILDDIR>>=/usr/share/cargo/registry/glycin-1.2~beta.1+ds' --remap-path-prefix '/<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry' -L native=/usr/lib/x86_64-linux-gnu`
error[E0308]: arguments to this function are incorrect
  --> /usr/share/cargo/registry/glycin-utils-3.0.0-beta/src/editing/operations.rs:19:25
   |
19 |                         Orientation::new(*rotation, false),
   |                         ^^^^^^^^^^^^^^^^ ---------  ----- expected `Rotation`, found `bool`
   |                                          |
   |                                          expected `bool`, found `Rotation`
   |
note: associated function defined here
  --> /usr/share/cargo/registry/gufo-common-0.2.0-alpha.2/src/orientation.rs:23:12
   |
23 |     pub fn new(mirrored: bool, rotation: Rotation) -> Self {
   |            ^^^
help: swap these arguments
   |
19 |                         Orientation::new(false, *rotation),
   |                                         ~~~~~~~~~~~~~~~~~~

error[E0308]: arguments to this function are incorrect
  --> /usr/share/cargo/registry/glycin-utils-3.0.0-beta/src/editing/operations.rs:27:25
   |
27 |                         Orientation::new(Rotation::_0, true),
   |                         ^^^^^^^^^^^^^^^^ ------------  ---- expected `Rotation`, found `bool`
   |                                          |
   |                                          expected `bool`, found `Rotation`
   |
note: associated function defined here
  --> /usr/share/cargo/registry/gufo-common-0.2.0-alpha.2/src/orientation.rs:23:12
   |
23 |     pub fn new(mirrored: bool, rotation: Rotation) -> Self {
   |            ^^^
help: swap these arguments
   |
27 |                         Orientation::new(true, Rotation::_0),
   |                                         ~~~~~~~~~~~~~~~~~~~~

error[E0308]: arguments to this function are incorrect
  --> /usr/share/cargo/registry/glycin-utils-3.0.0-beta/src/editing/operations.rs:35:25
   |
35 |                         Orientation::new(Rotation::_180, true),
   |                         ^^^^^^^^^^^^^^^^ --------------  ---- expected `Rotation`, found `bool`
   |                                          |
   |                                          expected `bool`, found `Rotation`
   |
note: associated function defined here
  --> /usr/share/cargo/registry/gufo-common-0.2.0-alpha.2/src/orientation.rs:23:12
   |
23 |     pub fn new(mirrored: bool, rotation: Rotation) -> Self {
   |            ^^^
help: swap these arguments
   |
35 |                         Orientation::new(true, Rotation::_180),
   |                                         ~~~~~~~~~~~~~~~~~~~~~~

For more information about this error, try `rustc --explain E0308`.
error: could not compile `glycin-utils` (lib) due to 3 previous errors

Caused by:
  process didn't exit successfully: `CARGO=/usr/share/cargo/bin/cargo CARGO_CRATE_NAME=glycin_utils CARGO_MANIFEST_DIR='/<<PKGBUILDDIR>>/debian/cargo_registry/glycin-utils-3.0.0-beta' CARGO_MANIFEST_PATH='/<<PKGBUILDDIR>>/debian/cargo_registry/glycin-utils-3.0.0-beta/Cargo.toml' CARGO_PKG_AUTHORS='Sophie Herold' CARGO_PKG_DESCRIPTION='Sandboxed image decoding' CARGO_PKG_HOMEPAGE='https://gitlab.gnome.org/GNOME/glycin' CARGO_PKG_LICENSE='MPL-2.0 OR LGPL-2.1-or-later' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=glycin-utils CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://gitlab.gnome.org/GNOME/glycin' CARGO_PKG_RUST_VERSION=1.80 CARGO_PKG_VERSION=3.0.0-beta CARGO_PKG_VERSION_MAJOR=3 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE=beta LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/release/deps' rustc --crate-name glycin_utils --edition=2021 '/<<PKGBUILDDIR>>/debian/cargo_registry/glycin-utils-3.0.0-beta/src/lib.rs' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C codegen-units=1 -C debuginfo=2 --cfg 'feature="async-io"' --cfg 'feature="loader-utils"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("async-io", "default", "glib", "gobject", "image-rs", "loader-utils", "tokio"))' -C metadata=d26b18761985d9a4 -C extra-filename=-14531e5b4c0caa46 --out-dir '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps' --target x86_64-unknown-linux-gnu -L 'dependency=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps' -L 'dependency=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/release/deps' --extern 'env_logger=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libenv_logger-8dd0ce0dd35137a1.rmeta' --extern 'futures_lite=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libfutures_lite-d451f903946c29e0.rmeta' --extern 'gufo_common=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libgufo_common-526137188706372b.rmeta' --extern 'libc=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/liblibc-c2a140eecaa8b8b9.rmeta' --extern 'libseccomp=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/liblibseccomp-75f724dec99836bd.rmeta' --extern 'log=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/liblog-eebd9cbf7909ff7f.rmeta' --extern 'memmap=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libmemmap2-fbb8586dd88531ec.rmeta' --extern 'nix=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libnix-c1d8ab260c19d127.rmeta' --extern 'paste=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/release/deps/libpaste-61c5f0ab83c67276.so' --extern 'rmp_serde=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/librmp_serde-fbe463b8c0bb4c41.rmeta' --extern 'serde=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libserde-bcfa0f5def724ad6.rmeta' --extern 'thiserror=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libthiserror-92ce926b84e16ce8.rmeta' --extern 'zbus=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target/x86_64-unknown-linux-gnu/release/deps/libzbus-d2a3c06795d411ba.rmeta' --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro -C link-arg=-Wl,-z,now --remap-path-prefix '/<<PKGBUILDDIR>>=/usr/share/cargo/registry/glycin-1.2~beta.1+ds' --remap-path-prefix '/<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry' -L native=/usr/lib/x86_64-linux-gnu` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
[1/12] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt loaders/tmp-glycin-heif loaders/glycin-heif.conf desktop ../loaders/../po
/usr/bin/msgfmt: ../loaders/../po/LINGUAS does not exist
[2/12] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt loaders/tmp-glycin-image-rs loaders/glycin-image-rs.conf desktop ../loaders/../po
/usr/bin/msgfmt: ../loaders/../po/LINGUAS does not exist
loaders/tmp-glycin-image-rs:24:0: warning: invalid non-blank line
loaders/tmp-glycin-image-rs:28:0: warning: invalid non-blank line
[3/12] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt loaders/tmp-glycin-jxl loaders/glycin-jxl.conf desktop ../loaders/../po
/usr/bin/msgfmt: ../loaders/../po/LINGUAS does not exist
[4/12] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt loaders/tmp-glycin-svg loaders/glycin-svg.conf desktop ../loaders/../po
/usr/bin/msgfmt: ../loaders/../po/LINGUAS does not exist
FAILED: loaders/glycin-heif-bin 
env LOCALEDIR=/usr/share/locale /usr/share/cargo/bin/cargo build --target-dir '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-target' --profile release --manifest-path '/<<PKGBUILDDIR>>/Cargo.toml' --package glycin-heif
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:glycin, so that this is still
visible in the BTS web page for this package.

Thanks.



Reply sent to Matthias Geiger <werdahias@debian.org>:
You have taken responsibility. (Tue, 04 Mar 2025 20:45:01 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Tue, 04 Mar 2025 20:45:02 GMT) (full text, mbox, link).


Message #10 received at 1099233-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1099233-close@bugs.debian.org
Subject: Bug#1099233: fixed in glycin 1.2~rc+ds-1
Date: Tue, 04 Mar 2025 20:42:29 +0000
[Message part 1 (text/plain, inline)]
Source: glycin
Source-Version: 1.2~rc+ds-1
Done: Matthias Geiger <werdahias@debian.org>

We believe that the bug you reported is fixed in the latest version of
glycin, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1099233@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Geiger <werdahias@debian.org> (supplier of updated glycin package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 04 Mar 2025 18:25:32 +0100
Source: glycin
Architecture: source
Version: 1.2~rc+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Matthias Geiger <werdahias@debian.org>
Closes: 1099233
Changes:
 glycin (1.2~rc+ds-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #1099233)
   * d/patches: Refresh for new upstream
   * d/control: Update build-dependencies
Checksums-Sha1:
 f838bcc1a968b02010b807df2704954cd28534f3 4055 glycin_1.2~rc+ds-1.dsc
 e03a9b865b3718f550bca517839a17368e398382 6530424 glycin_1.2~rc+ds.orig.tar.xz
 1af0c8d186594799270a8a332acd5b80061d7c36 12660 glycin_1.2~rc+ds-1.debian.tar.xz
 f473712cb039f10923591f43b6239d386174a747 30943 glycin_1.2~rc+ds-1_amd64.buildinfo
Checksums-Sha256:
 81388a69bb56117e0f8e42ecc49520026219fab6a9a629bf5534128c318ff3fa 4055 glycin_1.2~rc+ds-1.dsc
 380d180ef38f7447188194f27c427993bb1095bcf904a86cb05202a45445fd8a 6530424 glycin_1.2~rc+ds.orig.tar.xz
 097b5da5e68dcbdf2e1c2fb315b2768e8fe39000c22302e9a09f48fb06c3dca7 12660 glycin_1.2~rc+ds-1.debian.tar.xz
 9dc8c5178efd903252e8386ee26d8cfe07e41f66040c7f9a55d50ea69f8d096a 30943 glycin_1.2~rc+ds-1_amd64.buildinfo
Files:
 7f746e86a26208334af614830f587a6f 4055 misc optional glycin_1.2~rc+ds-1.dsc
 c1ed9ed221569eb0e5dd0dfce802bd81 6530424 misc optional glycin_1.2~rc+ds.orig.tar.xz
 4d6232ead4314d3161ebf355eaf3144a 12660 misc optional glycin_1.2~rc+ds-1.debian.tar.xz
 b3e0bedc5e04288144f08de62349445a 30943 misc optional glycin_1.2~rc+ds-1_amd64.buildinfo


-----BEGIN PGP SIGNATURE-----

iIsEARYKADMWIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCZ8dYGRUcd2VyZGFoaWFz
QGRlYmlhbi5vcmcACgkQ7L7btge5sr6EawEAgT4O39P+sSjY1amuQoug81HB8yBv
wnC6VmSawaIxjvsA/16XElgDQlCCzdt3l2KxGQr97o8bdDtkU8nOz/Pa2k8E
=8YIn
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 03 Jun 2025 07:25:31 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 23 19:32:11 2026; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.