Bug#1099694: papers: fails to build

Jeremy Bícha jeremy.bicha at canonical.com
Thu Mar 6 20:45:00 GMT 2025


Source: papers
Version: 48~beta-3
Severity: serious
Tags: ftbfs trixie sid
X-Debbugs-CC: debian-rust at lists.debian.org

Papers now fails to build. Because the build succeeds in Ubuntu 25.04
which is generally very similar to Debian Unstable currently for GNOME
and Rust dependencies, my guess is this might be caused by rustc 1.85.
Ubuntu 25.04 uses rustc 1.84 instead.

Papers 48 RC also fails to build in Debian.

The full build log can be found in recent Salsa CI pipelines.
https://salsa.debian.org/gnome-team/papers/-/pipelines

Build log excerpt
============
error[E0583]: file not found for module `auto`
--> rust/papers-document/src/lib.rs:16:1
|
16 | mod auto;
| ^^^^^^^^^
|
= help: to create the module `auto`, create file
"rust/papers-document/src/auto.rs" or
"rust/papers-document/src/auto/mod.rs"
= note: if there is a `mod auto` elsewhere in the crate already,
import it with `use crate::...` instead
error[E0432]: unresolved import `crate::Mark`
--> rust/papers-document/src/mark.rs:1:5
|
1 | use crate::Mark;
| ^^^^^^^----
| | |
| | help: a similar name exists in the module: `mark`
| no `Mark` in the root
error[E0432]: unresolved import `crate::Point`
--> rust/papers-document/src/mark.rs:2:5
|
2 | use crate::Point;
| ^^^^^^^-----
| | |
| | help: a similar name exists in the module: `point`
| no `Point` in the root
error[E0432]: unresolved import `crate::Point`
--> rust/papers-document/src/point.rs:1:5
 |
1 | use crate::Point;
 | ^^^^^^^-----
 | | |
 | | help: a similar name exists in the module: `point`
 | no `Point` in the root
error[E0432]: unresolved import `crate::Rectangle`
 --> rust/papers-document/src/rectangle.rs:1:5
 |
1 | use crate::Rectangle;
 | ^^^^^^^^^^^^^^^^ no `Rectangle` in the root
 |
help: a similar name exists in the module
 |
1 | use crate::rectangle;
 | ~~~~~~~~~
help: consider importing one of these structs instead
 |
 | use gdk::Rectangle;
 | ~~~~~~~~~~~~~~
1 | use pango::Rectangle;
| ~~~~~~~~~~~~~~~~

Thank you,
Jeremy Bícha



More information about the pkg-gnome-maintainers mailing list