[Piuparts-devel] coordination between lintian/piuparts/adequate
Serafeim (Serafi) Zanikolas
sez at debian.org
Tue Nov 26 22:08:26 GMT 2024
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20241126/431c5254/attachment.sig>
More information about the Piuparts-devel
mailing list