Re: coordination between lintian/piuparts/adequate

"Serafeim (Serafi) Zanikolas" <[email protected]>
Newsgroups gmane.linux.debian.devel.lint.devel,gmane.linux.debian.devel.quality-assurance
Message-ID <[email protected]>
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 (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEA2RWqo7IwLCLSFYbT59tVQ7WEioFAmdGRtoACgkQT59tVQ7W
EipcpQ/+O79k3b1qtAV8cXafpb3eWRC4aXKvyH5FtKVzAxvS4F9tH0XLwvxiRx5P
jAYEUMP1mXgKhXBPyyaKfxZRYjktG+jn1I53inuAxyh+2GSQaRGTIT3fadZi0VCX
SJJrhKFpWZAil4jBPqSPElWAdeE4Nksyv5CvMPrT6n5cMBVv82d100aRCSke0adQ
hnH7eGot4DSXHBW6InpNLVhNgORsFDImLghCloyuZQcXlSwej1L4CSx49Wp+SRjP
ckxoDjT+7FIfWpX9t+xHDhj2RkdYEBZJtdWQrA/lIrQgCeeXZvdlvlqfgKzoVhGr
Vy3YJS6Hh8QxTw1MlzgZfTHWtLpoSFAZWPiYQ9iJbXiPzYupO6KWKbDtodWTN7i3
7qa+dU1n0fQk/0wjoYESn7W5bCYGP5mEELH05NB7dogP7QcAuSICcmQqO0hu9eZw
M3ZA6Us9Hg5tKyo2dolzRp5bZ4Asq2GHl3Zp66Zqmym2yqf7DbeJbH7E6UP8ljPl
qVGk172k30JpJ/6eS+zyWgm1YcWQi7OO6koMT6jAlBl+G0syUQd3C3h0He0cPKEs
ahZTTMFLPqZ7+P8NPYVRDYu2ucUb6t7CtUj0P3dmAnZD7IL6m3VqfVH+Z2ZhoDx3
AD+4nqsu/qu3GeVOJlb8GAwMSxiovXeYyZJfvmIY5OTFSOy+Wkk=
=qBsM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.