[Pkg-gnupg-maint] Bug#778877: [dkg at fifthhorseman.net: Re: Bug#778877: Bug#778877: making the gnupg package reproducible]
Martin Pitt
mpitt at debian.org
Thu Mar 26 11:25:41 UTC 2015
Hello all,
Stefano Zacchiroli [2015-03-19 22:21 -0400]:
> ----- Forwarded message from Daniel Kahn Gillmor <dkg at fifthhorseman.net> -----
>
> Date: Thu, 19 Mar 2015 18:22:31 -0400
> From: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
> To: Didier 'OdyX' Raboud <odyx at debian.org>
> Cc: 778877 at bugs.debian.org, Thijs Kinkhorst <thijs at debian.org>, Ian Jackson <ijackson at chiark.greenend.org.uk>, Iustin Pop <iustin at debian.org>,
> Stefano Zacchiroli <zack at debian.org>, wine at packages.debian.org
> Subject: Re: [Pkg-gnupg-maint] Bug#778877: Bug#778877: making the gnupg package reproducible
> Message-ID: <873850hbko.fsf at alice.fifthhorseman.net>
>
> (adding Ian, Iustin, and Stefano to Cc here, since this involves
> autopkgtest and they're drivers of DEP8; adding wine at packages.debian.org
> since it involves wine; see https://bugs.debian.org/778877 for
> background)
>
> On Tue 2015-02-24 03:36:28 -0500, Didier 'OdyX' Raboud wrote:
> > Le lundi, 23 février 2015 15.14:28, vous avez écrit :
> >> On Mon 2015-02-23 03:01:04 -0500, Didier 'OdyX' Raboud <odyx at debian.org> wrote:
> >> > gpgv.exe runs fine under Wine with this patch.
> >>
> >> sweet, thanks for testing, OdyX.
> >>
> >> > That said, it'd be cool to have either build-time tests (but Build-
> >> > Depending on wine, err, no…) or autopkgtests that would test
> >> > gpgv.exe, at least under wine (as I suspect that we don't have
> >> > Windows autopkgtests runners :-P).
> >>
> >> I agree, that would be cool. I'm actually not totally averse to
> >> build-depending on wine either; we're already build-depending on
> >> mingw.
> >
> > Wine nowadays only runs on i386 (on amd64 it needs multiarch enabled),
> > having that in the build test-suite would impose to either build gnupg
> > on i386, or go through hops to make sure multiarch is enabled.
>
> right, this is what i see on a minimal amd64 system with wine and
> gpgv-win32 installed:
>
> dkg at test:~$ wine /usr/share/win32/gpgv.exe --keyring Z:\\/tmp/tmp.7hMKKepWqq/pubring.gpg Z:\\/home/dkg/gpgv-win32.gpg Z:\\/home/dkg/gpgv-win32
> it looks like multiarch needs to be enabled. as root, please
> execute "dpkg --add-architecture i386 && apt-get update &&
> apt-get install wine32"
The test could just do that on amd64.
> Hm, looking into this further, i don't see how we can effectively limit
> the autopkgtest to run only on i386 platforms. As a result, it looks to
> me like the test proposed would fail on amd64.
>
> Is there a way to limit the test to i386?
Not declaratively. Your test could of course check uname -m or similar
and just return early with some echo "SKIP: unsupported architecture"
or some such.
> or should we make the test run as root, and have it set up multi-arch if
> it notices that it's on amd64?
IMHO that would be even more useful.
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the Pkg-gnupg-maint
mailing list