On 2023-09-27 22:16, Axel Kittenberger wrote: > Hello Blair, > > actually it are the tests that are failing. (I guess the list is not happy about > a 1MB log file) > > I must admit, I just natively called update.sh and build.sh on the package so far. > > Honestly I start to think this rust packaging grows over my head. (I don't > develop Rust except a little application I did a while ago, and dont use these > Crates at all myself9 > > PS: this is on a trixie virtual machine. > > - Axel > Hi Axel, By "pasting somewhere" I actually meant "pasting to a pastebin, like paste.debian.net). Your log is almost 1MB, so maybe upload to a file hosting site. Anyway: There are multiple occurrences of "Command failed" in your log. I have never seen this in my logs before. You might want to check your sbuild setup. Here are a few excerpts: > 1m18.1s DEBUG: Starting command: ['lsof', '-w', '+D', '/var/run/schroot/mount/unstable-amd64-sbuild-27383f6c-5d3e-11ee-862 > 0-52540015326e-piuparts'] > 1m18.5s DEBUG: Command failed (status=1), but ignoring error: ['lsof', '-w', '+D', '/var/run/schroot/mount/unstable-amd64- > sbuild-27383f6c-5d3e-11ee-8620-52540015326e-piuparts'] > 1m20.0s ERROR: WARN: Broken symlinks: > /<<PKGBUILDDIR>>/debian/librust-oo7+pbkdf2-dev/usr/share/doc/librust-oo7+pbkdf2-dev -> librust-oo7-dev > /<<PKGBUILDDIR>>/debian/librust-oo7+tokio-dev/usr/share/doc/librust-oo7+tokio-dev -> librust-oo7-dev > /<<PKGBUILDDIR>>/debian/librust-oo7+digest-dev/usr/share/doc/librust-oo7+digest-dev -> librust-oo7-dev ... and > 3m20.3s DEBUG: Recording chroot state > 3m21.3s INFO: PASS: Installation and purging test. > 3m21.3s DEBUG: Starting command: ['schroot', '--preserve-environment', '--run-session', '--chroot', 'session:unstable-amd6 > 4-sbuild-27383f6c-5d3e-11ee-8620-52540015326e-piuparts', '--directory', '/', '-u', 'root', '--', 'apt-cache', 'show', '--n > o-all-versions', 'librust-oo7+aes-dev'] > 3m22.1s DUMP: > E: No packages found > 3m22.1s DEBUG: Command failed (status=100), but ignoring error: ['schroot', '--preserve-environment', '--run-session', '-- > chroot', 'session:unstable-amd64-sbuild-27383f6c-5d3e-11ee-8620-52540015326e-piuparts', '--directory', '/', '-u', 'root', > '--', 'apt-cache', 'show', '--no-all-versions', 'librust-oo7+aes-dev'] > 3m22.1s DEBUG: Starting command: ['schroot', '--preserve-environment', '--run-session', '--chroot', 'session:unstable-amd6 > 4-sbuild-27383f6c-5d3e-11ee-8620-52540015326e-piuparts', '--directory', '/', '-u', 'root', '--', 'apt-cache', 'show', '--n > o-all-versions', 'librust-oo7+async-std-dev'] > 3m22.3s DUMP: > E: No packages found > 3m22.3s DEBUG: Command failed (status=100), but ignoring error: ['schroot', '--preserve-environment', '--run-session', '-- > chroot', 'session:unstable-amd64-sbuild-27383f6c-5d3e-11ee-8620-52540015326e-piuparts', '--directory', '/', '-u', 'root', > '--', 'apt-cache', 'show', '--no-all-versions', 'librust-oo7+async-std-dev'] > 3m22.3s DEBUG: Starting command: ['schroot', '--preserve-environment', '--run-session', '--chroot', 'session:unstable-amd6 > 4-sbuild-27383f6c-5d3e-11ee-8620-52540015326e-piuparts', '--directory', '/', '-u', 'root', '--', 'apt-cache', 'show', '--n > o-all-versions', 'librust-oo7+cbc-dev'] > 3m22.5s DUMP: > E: No packages found (below are previous communications.) > On 9/27/23 15:48, Blair Noctis wrote: >> On 2023-09-27 21:35, Axel Kittenberger wrote: >>> Hi guys, >>> >>> I just tried to work on packaging "oo7" (with the ultimate goal of >>> gnome-authenticator).. >>> >>> I'm a bit confused, my naively approached build fails with >>> >>> librust-oo7+cbc-dev : Depends: librust-cbc-0.1+default-dev but it is not >>> installable >>> Depends: librust-cbc-0.1+zeroize-dev but it is not >>> installable >>> >>> yes sure, because cbc used collapse_features, but how do I fix that? >>> >>> Under: >>> >>> https://wiki.debian.org/Teams/RustPackaging/Policy#Package_dependencies >>> >>> I dont understand this section, does this refer to debcargo.toml? Should it >>> mention that, or does it talk about writing the [dependencies] elsewhere? >>> >>> Anyway, if I put the dependency to "librust-cbc-dev" in debcargo.toml the build >>> still wants to access the non existing featurized packages. >>> >>> Kind regards, Axel >>> >>> PS: My naive approach on gnome-authenticater itself still fails on missing >>> librust-adwaita-dev I guess this still somewhere in the upload queue? >>> >>> >> Hi Axel, >> >> Can you paste the build log somewhere? Also, did you run the build on unstable >> or stable? cbc is not in stable (bookworm). >> -- Sdrager, Blair Noctis
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature