hi Soren, thanks for feedback! On Mon Nov 25, 2024 at 11:49 PM CET, Soren Stoutner wrote: [..] > The sbuild page has recently been edited to handle the new unshare backend. > The current version of the adequate code on the page is as follows: > > ## run adequate(1) and fail upon policy errors. Depends on adequate >= 0.17.2. > $external_commands = { > "chroot-cleanup-commands" => [ > [ 'apt install -y --install-recommends adequate' ], > [ ‘/usr/share/doc/adequate/examples/sbuild-hook’, > ’%SBUILD_PKGBUILD_DIR’], > ] > };
> This code produces an error for me: > > I: Finished running 'apt install -y --install-recommends adequate'. > > /usr/share/doc/adequate/examples/sbuild-hook /<<PKGBUILDDIR>> > --------------------------------------------------------------------------------------------------- > > 2024/11/25 22:37:58 "dpkg-query -Wf ${binary:Package} ${Package};${Status};$ > {Provides}\n -- feather-wallet" failed: exit status 1 my bad. this fails because feather-wallet is not installed and presumably you've not enabled autopkgtest in sbuild (which would have the side effect of installing it). I didn't catch this because, I've only tested the script with adequate itself (doh!). I'll upload a new adequate release to make sbuild-hook install all binary packages of %SBUILD_PKGBUILD_DIR/debian/control meanwhile, I've rolled back the edit for now. thanks again, serafi
signature.asc
Description: PGP signature