Debian Bug report logs - #1124189
papers: FTBFS: error[E0308]: mismatched types

version graph

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

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

Date: Sun, 28 Dec 2025 18:28:05 UTC

Severity: serious

Tags: forky, ftbfs, sid

Found in version papers/49.2-3

Fixed in version papers/49.3-1

Done: Matthias Geiger <werdahias@debian.org>

Reply or subscribe to this bug.

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


Report forwarded to debian-bugs-dist@lists.debian.org, sanvila@debian.org (additional cc recipient for {1124189}), Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org> (src:papers for {1124189}):
Bug#1124189; Package src:papers. (Sun, 28 Dec 2025 18:28:07 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, pkg-gnome-maintainers@lists.alioth.debian.org. (Sun, 28 Dec 2025 18:28:07 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: papers: FTBFS: error[E0308]: mismatched types
Date: Sun, 28 Dec 2025 18:26:27 +0000
Package: src:papers
Version: 49.2-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

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 cannot 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:papers, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
warning: `libadwaita` (lib) generated 32 warnings
   Compiling papers v0.1.0 (/<<PKGBUILDDIR>>/shell)
     Running `CARGO=/usr/bin/cargo CARGO_BIN_NAME=papers CAR [too-long-redacted] >/obj-x86_64-linux-gnu/libview`
error[E0308]: mismatched types
   --> shell/src/password_view.rs:156:17
    |
155 |             main.choose(
    |                  ------ arguments to this method are incorrect
156 |                 self.obj().as_ref(),
    |                 ^^^^^^^^^^^^^^^^^^^ expected `Option<&_>`, found `&PpsPasswordView`
    |
    = note:   expected enum `std::option::Option<&_>`
            found reference `&password_view::PpsPasswordView`
note: method defined here
   --> /usr/share/cargo/registry/libadwaita-0.8.1/src/alert_dialog.rs:37:8
    |
 37 |     fn choose<P: FnOnce(glib::GString) + 'static>(
    |        ^^^^^^
help: try wrapping the expression in `Some`
    |
156 |                 Some(self.obj().as_ref()),
    |                 +++++                   +

For more information about this error, try `rustc --explain E0308`.
error: could not compile `papers` (bin "papers") due to 1 previous error

Caused by:
  process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] x-gnu/libview` (exit status: 1)
[306/308] /usr/bin/cp /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/thumbnailer/x86_64-unknown-linux-gnu/release/papers-thumbnailer thumbnailer/papers-thumbnailer
FAILED: [code=101] shell/src/src 
env CODEGEN_BUILD_DIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/rust SYSTEM_DEPS_PAPERS_VIEW_4_0_NO_PKG_CONFIG=1 SYSTEM_DEPS_PAPERS_VIEW_4_0_SEARCH_NATIVE=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libview SYSTEM_DEPS_PAPERS_VIEW_4_0_LIB=ppsview-4.0 SYSTEM_DEPS_PAPERS_DOCUMENT_4_0_NO_PKG_CONFIG=1 SYSTEM_DEPS_PAPERS_DOCUMENT_4_0_SEARCH_NATIVE=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libdocument SYSTEM_DEPS_PAPERS_DOCUMENT_4_0_LIB=ppsdocument-4.0 CARGO_PROFILE_RELEASE_DEBUG=false CARGO_PROFILE_DEV_DEBUG=false PAPERS_RESOURCES_FILE=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/shell/resources/pps-resources.gresource /usr/share/cargo/bin/cargo build --manifest-path /<<PKGBUILDDIR>>/shell/Cargo.toml --target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/shell/src --release --features with-keyring --features spell-check
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 101
make: *** [debian/rules:28: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------




Reply sent to Matthias Geiger <werdahias@debian.org>:
You have taken responsibility. (Thu, 15 Jan 2026 00:51:01 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Thu, 15 Jan 2026 00:51:01 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1124189-close@bugs.debian.org
Subject: Bug#1124189: fixed in papers 49.3-1
Date: Thu, 15 Jan 2026 00:49:36 +0000
[Message part 1 (text/plain, inline)]
Source: papers
Source-Version: 49.3-1
Done: Matthias Geiger <werdahias@debian.org>

We believe that the bug you reported is fixed in the latest version of
papers, 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 1124189@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 papers 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: Thu, 15 Jan 2026 00:47:20 +0100
Source: papers
Architecture: source
Version: 49.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Matthias Geiger <werdahias@debian.org>
Closes: 1124189
Changes:
 papers (49.3-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release
   * d/control: Bump S-V to 4.7.3; no changes needed
   * Add patch to fix build (Closes: #1124189)
Checksums-Sha1:
 61adc182807612e26b8d81810f1034ee7a0cf551 3912 papers_49.3-1.dsc
 e2812e3467757d3d02382296b4b0015ea2531b23 4481556 papers_49.3.orig.tar.xz
 50de7158175e7f093329d84ac0e4b57c069708fd 58196 papers_49.3-1.debian.tar.xz
 126aba66ffafb6c79f93b80fa77919e39d5ae485 43272 papers_49.3-1_amd64.buildinfo
Checksums-Sha256:
 f50af738be9af392ed1e2a11bc91f2514c5e210ac1ab5835bebeae55bed5c9cf 3912 papers_49.3-1.dsc
 76975d9d1fd2f88c368fec8c31f0e56fa9dd93a1b8e85faceaa403c59a55aa90 4481556 papers_49.3.orig.tar.xz
 ff805fd9c1a30f57fcab94e68c67ac4f8127e54c137277afa092e1561e59f7dc 58196 papers_49.3-1.debian.tar.xz
 1e0753d7be83d5b0fdb87e7a4fda622c4968adb41a026ceeb9c4c114a6934053 43272 papers_49.3-1_amd64.buildinfo
Files:
 e9efcd966d7eb9f887d22475f7ca7b36 3912 gnome optional papers_49.3-1.dsc
 d9fa3aa44f145f3907859c1ca593c3f4 4481556 gnome optional papers_49.3.orig.tar.xz
 d5a088e7ee71a2ec2cabd264d402b615 58196 gnome optional papers_49.3-1.debian.tar.xz
 8bb18f63ecb8c6c30c078220b7dc1a0c 43272 gnome optional papers_49.3-1_amd64.buildinfo

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

iHUEARYKAB0WIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCaWg2bQAKCRDsvtu2B7my
vvlbAP41h1+tswDS6bs6YOl3PiIveObq9VJ1OMV6pdDYXJbKvQD/c2s1huRM2i0X
pqj3noaYOjoZbcGyYJeF6aSoEfNX0QY=
=Wo90
-----END PGP SIGNATURE-----

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

Send a report that this bug log contains spam.


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

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.