janhoy commented on pull request #391:
URL: https://github.com/apache/lucene/pull/391#issuecomment-946219082


   > I merged with main where the artifact-signing changes landed. The 
buildAndPushRelease.py works for me (although it does create that stray file so 
I suspect it won't run properly unless in dev mode).
   
   Thanks. I get the `gpg: signing failed: Cannot allocate memory` error with 
gpg, caused by gpg daemon running out of mem during many parallell signing 
commands. I found a workaround by adding `auto-expand-secmem` to 
`~/.gnupg/gpg-agent.conf` and then running `gpg-connect-agent killagent /bye` 
to restart the agent, and it works. This could perhaps be documented as a 
prerequisite for using gpg, if you don't want to run serially. Or the script 
could run the main build in parallel and then run just the signing serially.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to