<div dir="ltr">Sorry <span name="Guillem Jover" class="gmail-gD" style="font-size:12.8px">Guillem Jover<span style="white-space:nowrap">, I missed your message which has been spammed by gmail for an unknown reason.</span></span><div><span name="Guillem Jover" class="gmail-gD" style="font-size:12.8px"><span style="white-space:nowrap">You must be right It must be an issue with debuild.</span></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 18, 2017 at 11:17 AM, jean-christophe manciot <span dir="ltr"><<a href="mailto:actionmystique@gmail.com" target="_blank">actionmystique@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've made some progress: <div>- latest unsuccessful builds were made with "gbp buildpackage --git-builder="debuild -i -I --no-sign --build=binary" --git-verbose --git-pristine-tar"</div><div>- if I build in the same environment (sid chroot) the same sources with "dpkg-buildpackage --no-sign --build=binary" instead, there is no attempt to sign anything.</div><div><br></div><div>This may seem to show that gbp does not pass the right option to debuild.</div><div>However, when I look at the log of the first builds with gbp, there is:</div><div>dpkg-buildpackage -rfakeroot -us -uc -i -I --no-sign --build=binary --build=binary<br></div><div><br></div><div>The only thing strange is the repeated "--build=binary", but the "--no-sign" is there.</div><div><br></div><div>Then, if I compare both logs, the following lines do not appear at the end of the dpkg build log:</div><div><div>Now running lintian...</div><div>W: libapr1-dev: embedded-javascript-library usr/share/doc/libapr1-dev/<wbr>html/jquery.js please use libjs-jquery</div><div>N: 1 tag overridden (1 warning)</div><span class=""><div>Finished running lintian.</div><div>Now signing changes and any dsc files...</div></span><div> signfile buildinfo apr_1.6.2-1_amd64.buildinfo 5F0C7CD8</div><span class=""><div>gpg: signing failed: Permission denied</div></span><div>gpg: /tmp/debsign.zUjNz62i/apr_1.6.<wbr>2-1_amd64.buildinfo: clear-sign failed: Permission denied</div><span class=""><div>debsign: gpg error occurred! Aborting....</div></span></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Sep 18, 2017 at 9:55 AM, jean-christophe manciot <span dir="ltr"><<a href="mailto:actionmystique@gmail.com" target="_blank">actionmystique@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">@<span style="font-size:12.8px;font-weight:bold;white-space:nowrap">Osamu Aoki</span><div><span style="font-size:12.8px;white-space:nowrap">You say --no-sign and </span><span style="font-size:12.8px">--unsigned-buildinfo options are</span><span style="font-size:12.8px;white-space:nowrap"> unsupported by </span><span style="font-size:12.8px">dpkg-buildpackage</span><span style="font-size:12.8px;white-space:nowrap">, but:</span></div><div><div><span style="font-size:12.8px;white-space:nowrap"># dpkg-buildpackage --help | grep -- no-sign</span></div><div><span style="font-size:12.8px;white-space:nowrap"> --no-sign do not sign any file.</span></div><div style="font-size:12.8px;white-space:nowrap"><div style="font-size:12.8px"># dpkg-buildpackage --help | grep -- unsigned-buildinfo</div><div style="font-size:12.8px"> -ui, --unsigned-buildinfo unsigned .buildinfo file.</div><div><br></div></div></div></div><div class="gmail_extra"><div><div class="m_-6463034607635475542h5"><br><div class="gmail_quote">On Mon, Sep 18, 2017 at 1:35 AM, Osamu Aoki <span dir="ltr"><<a href="mailto:osamu.aoki@tc4.so-net.ne.jp" target="_blank">osamu.aoki@tc4.so-net.ne.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On Sun, Sep 17, 2017 at 07:58:16PM +0200, Guillem Jover wrote:<br>
> Control: reassign -1 devscripts<br>
><br>
> Hi!<br>
><br>
> On Sun, 2017-09-17 at 15:36:00 +0200, jean-christophe manciot wrote:<br>
> > Package: dpkg-dev<br>
> > Version: 1.18.24<br>
><br>
> > With --unsigned-buildinfo:<br>
> > ...<br>
> > Finished running lintian.<br>
> > Now signing changes and any dsc files...<br>
> > signfile buildinfo apr_1.6.2-1_amd64.buildinfo xxxxxxxxxxxxxxxxxxxxx<br>
> > gpg: signing failed: Permission denied<br>
> > gpg: /tmp/debsign.8axXeL81/apr_1.6.<wbr>2-1_amd64.buildinfo: clear-sign failed:<br>
> > Permission denied<br>
> > debsign: gpg error occurred! Aborting....<br>
> > debuild: fatal error at line 1053:<br>
> > running debsign failed<br>
> > gbp:error: 'debuild -i -I --unsigned-source --unsigned-changes<br>
> > --unsigned-buildinfo --build=binary' failed: it exited with 29<br>
> ><br>
> > With --no-sign:<br>
> > Now signing changes and any dsc files...<br>
> > signfile buildinfo apr_1.6.2-1_amd64.buildinfo xxxxxxxxxxxxxxxxxxx<br>
> > gpg: signing failed: Permission denied<br>
> > gpg: /tmp/debsign.Lu3ErY9E/apr_1.6.<wbr>2-1_amd64.buildinfo: clear-sign failed:<br>
> > Permission denied<br>
> > debsign: gpg error occurred! Aborting....<br>
> > debuild: fatal error at line 1053:<br>
> > running debsign failed<br>
> > gbp:error: 'debuild -i -I --no-sign --build=binary' failed: it exited with 29<br>
><br>
> This would be a problem with debuild, which disables signing by<br>
> default via -us -uc, signs then by itself with debsign, and does not<br>
> understand itself --unsigned-buildinfo nor --no-sign. Reassigning.<br>
<br>
As I see the source of debuild, its certainly lacks this new buildinfo<br>
related options. But it lacks few more features including some long<br>
options.<br>
<br>
Supported dpkg-buildpackage options:<br>
--force-sign<br>
-us<br>
-uc<br>
<br>
<br>
Unsupported dpkg-buildpackage options:<br>
--no-sign<br>
--unsigned-source<br>
--unsigned-changes<br>
-ui<br>
--unsigned-buildinfo<br>
<br>
Hmmm.... not so difficult<br>
<br>
Osamu<br>
<br>
<br>
<br>
<br>
<br>
<br>
> Thanks,<br>
> Guillem<br>
><br>
> ______________________________<wbr>_________________<br>
> devscripts-devel mailing list<br>
> <a href="mailto:devscripts-devel@lists.alioth.debian.org" target="_blank">devscripts-devel@lists.alioth.<wbr>debian.org</a><br>
> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel" rel="noreferrer" target="_blank">http://lists.alioth.debian.org<wbr>/cgi-bin/mailman/listinfo/devs<wbr>cripts-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="m_-6463034607635475542HOEnZb"><font color="#888888">-- <br><div class="m_-6463034607635475542m_-1465087895015928242gmail_signature" data-smartmail="gmail_signature">Jean-Christophe</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-6463034607635475542gmail_signature" data-smartmail="gmail_signature">Jean-Christophe</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Jean-Christophe</div>
</div>