Bug#876024: dpkg-buildpackage tries to sign buildinfo despite --unsigned-buildinfo or --no-sign passed to debuild
Osamu Aoki
osamu.aoki at tc4.so-net.ne.jp
Sun Sep 17 23:35:03 UTC 2017
Hi,
On Sun, Sep 17, 2017 at 07:58:16PM +0200, Guillem Jover wrote:
> Control: reassign -1 devscripts
>
> Hi!
>
> On Sun, 2017-09-17 at 15:36:00 +0200, jean-christophe manciot wrote:
> > Package: dpkg-dev
> > Version: 1.18.24
>
> > With --unsigned-buildinfo:
> > ...
> > Finished running lintian.
> > Now signing changes and any dsc files...
> > signfile buildinfo apr_1.6.2-1_amd64.buildinfo xxxxxxxxxxxxxxxxxxxxx
> > gpg: signing failed: Permission denied
> > gpg: /tmp/debsign.8axXeL81/apr_1.6.2-1_amd64.buildinfo: clear-sign failed:
> > Permission denied
> > debsign: gpg error occurred! Aborting....
> > debuild: fatal error at line 1053:
> > running debsign failed
> > gbp:error: 'debuild -i -I --unsigned-source --unsigned-changes
> > --unsigned-buildinfo --build=binary' failed: it exited with 29
> >
> > With --no-sign:
> > Now signing changes and any dsc files...
> > signfile buildinfo apr_1.6.2-1_amd64.buildinfo xxxxxxxxxxxxxxxxxxx
> > gpg: signing failed: Permission denied
> > gpg: /tmp/debsign.Lu3ErY9E/apr_1.6.2-1_amd64.buildinfo: clear-sign failed:
> > Permission denied
> > debsign: gpg error occurred! Aborting....
> > debuild: fatal error at line 1053:
> > running debsign failed
> > gbp:error: 'debuild -i -I --no-sign --build=binary' failed: it exited with 29
>
> This would be a problem with debuild, which disables signing by
> default via -us -uc, signs then by itself with debsign, and does not
> understand itself --unsigned-buildinfo nor --no-sign. Reassigning.
As I see the source of debuild, its certainly lacks this new buildinfo
related options. But it lacks few more features including some long
options.
Supported dpkg-buildpackage options:
--force-sign
-us
-uc
Unsupported dpkg-buildpackage options:
--no-sign
--unsigned-source
--unsigned-changes
-ui
--unsigned-buildinfo
Hmmm.... not so difficult
Osamu
> Thanks,
> Guillem
>
> _______________________________________________
> devscripts-devel mailing list
> devscripts-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
More information about the devscripts-devel
mailing list