Bug#516625: pbuilder: pdebuild signs wrong .changes when building with --arch=i386 on amd64

Junichi Uekawa dancer at netfort.gr.jp
Tue Feb 24 05:41:59 UTC 2009


At Mon, 23 Feb 2009 19:34:40 +0600,
Mikhail Gusarov wrote:
> 
> [1  <text/plain (quoted-printable)>]
> 
> Twas brillig at 22:27:59 23.02.2009 UTC+09 when dancer at netfort.gr.jp did gyre and gimble:
> 
>  JU> I usually build the package and checks that it works before signing
>  JU> a package (with debsign); so my workflow doesn't rely on the
>  JU> signing feature from pdebuild.
> 
> pdebuild also failed to copy generated files from chroot too due to the
> same bug, not merely signing it, so it is a bit more problematic than I
> supposed.
> 
> The easy way to fix it is to call the `dpkg-architecture
> --print-architecture` in the chroot, but I'm not sure how to correctly
> run commands in the chroot in pbuilder.

at the point of 
   ARCHITECTURE=$(dpkg-architecture -qDEB_HOST_ARCH)
the chroot isn't there.

So we'd need some other mechanism of invoking something inside chroot.

Is cross-building with pdebuild a common use-case?  It's rare compared
to native-building with pdebuild ?


-- 
dancer@{netfort.gr.jp,debian.org}





More information about the Pbuilder-maint mailing list