You are not logged in.
Pages: 1
I have a complex build script, which calls makepkg like this:
makepkg -c -d -A --sign --key buildmaster@ubos.netMost of the time, it works. But sometimes, the package does not end up being signed. I commented-out the &>/dev/null in the gpg signing invocation in makepkg, and it appears that gpg emits the following problem:
gpg: signing failed: Broken pipe
gpg: signing failed: Broken pipeI can sign from the command-line:
echo foo | gpg --detach-sign --use-agent -u buildmaster@ubos.net --no-armorwhich is the same type of invocation I believe.
Anybody ever seen that? There seem to be plenty of reports about broken pipes with gpg, but all about old versions of gpg and none about random errors AFAIK.
Offline
Is this related?
https://wiki.archlinux.org/index.php/ma … passphrase
If yes, there are a couple of forums threads about this.
In my case, the fix provided by the Wiki doesn't fix it (manually start gpg-agent doesn't made any difference for me).
What I did was to make the signature separately after calling makepkg:
$ makepkg
$ gpg --detach-sign --use-agent --no-armor package.pkg.tar.xzOffline
May very well be. I'll play around with it and see what happens.
Offline
This seems more complicated. I just had a build run where some packages got signed and others did not. That seems to rule out the "it's all the chroot's fault" explanation.
Offline
Could it be due to the changes to gnupg-2.1.13? See this thread and bug report.
archlinux | OpenRC | TOMOYO Linux | Xfce
"In his house at R'lyeh dead Cthulhu waits dreaming."
Offline
Pages: 1