Sure. I reduced our quite complex debian/rules file a bit (ensuring that
it still reproduces the issue) to hopefully make it easier to use for
debugging:
https://github.com/canonical/authd/blob/db6d194a976863860210615a3f616fe68e50e130/debian/rules

In case it helps, I build the source package with:

debuild --no-lintian -d -S --unsigned-source --unsigned-changes

and the binary package with:

sbuild -v --build-dep-resolver=aptitude --dist=noble --chroot-
mode=unshare "$(ls -t1 ../*.dsc | head -n1)"

The latter fails because cargo 1.75.0 is used which doesn't support the
Cargo.lock file version used on that branch:

    Building NSS library with /usr/lib/rust-1.91/share/cargo/bin/cargo (cargo 
1.75.0)
    [...]
    error: failed to parse lock file at: 
/build/reproducible-path/authd-0.5.11/Cargo.lock

    Caused by:
      lock file version 4 requires `-Znext-lockfile-bump`

Thank you for looking into it!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2100266

Title:
  Versioned cargo wrapper script points to default cargo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rustc-1.76/+bug/2100266/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to