Hello @masterkorp
I also have the same issue regarding GPG private key access.
It looks like the build is trying to sign a commit (my gitconfig turns on Git commit signing) :
➤ YN0000: [@joplin/app-desktop]: > git clone -- https://github.com/JackGruber/joplin-plugin-backup.git /home/###/aur/joplin/src/joplin-2.14.20/packages/default-plugins/plugin-sources/io.github.jackgruber.backup
➤ YN0000: [@joplin/app-desktop]: Cloning into '/home/###/aur/joplin/src/joplin-2.14.20/packages/default-plugins/plugin-sources/io.github.jackgruber.backup'...
➤ YN0000: [@joplin/app-desktop]: Switching to commit 2d814a5466604daced108331d14aedf8e8414d62
➤ YN0000: [@joplin/app-desktop]: > git switch master
➤ YN0000: [@joplin/app-desktop]: Already on 'master'
➤ YN0000: [@joplin/app-desktop]: Your branch is up to date with 'origin/master'.
➤ YN0000: [@joplin/app-desktop]: > git checkout 2d814a5466604daced108331d14aedf8e8414d62
➤ YN0000: [@joplin/app-desktop]: Note: switching to '2d814a5466604daced108331d14aedf8e8414d62'.
➤ YN0000: [@joplin/app-desktop]:
➤ YN0000: [@joplin/app-desktop]: You are in 'detached HEAD' state. You can look around, make experimental
➤ YN0000: [@joplin/app-desktop]: changes and commit them, and you can discard any commits you make in this
➤ YN0000: [@joplin/app-desktop]: state without impacting any branches by switching back to a branch.
➤ YN0000: [@joplin/app-desktop]:
➤ YN0000: [@joplin/app-desktop]: If you want to create a new branch to retain commits you create, you may
➤ YN0000: [@joplin/app-desktop]: do so (now or later) by using -c with the switch command. Example:
➤ YN0000: [@joplin/app-desktop]:
➤ YN0000: [@joplin/app-desktop]: git switch -c <new-branch-name>
➤ YN0000: [@joplin/app-desktop]:
➤ YN0000: [@joplin/app-desktop]: Or undo this operation with:
➤ YN0000: [@joplin/app-desktop]:
➤ YN0000: [@joplin/app-desktop]: git switch -
➤ YN0000: [@joplin/app-desktop]:
➤ YN0000: [@joplin/app-desktop]: Turn off this advice by setting config variable advice.detachedHead to false
➤ YN0000: [@joplin/app-desktop]:
➤ YN0000: [@joplin/app-desktop]: HEAD is now at 2d814a5 Remove wrong section
➤ YN0000: [@joplin/app-desktop]: > git rev-parse --verify HEAD^{commit}
➤ YN0000: [@joplin/app-desktop]: 2d814a5466604daced108331d14aedf8e8414d62
➤ YN0000: [@joplin/app-desktop]: Copying repository files...
➤ YN0000: [@joplin/app-desktop]: Initializing repository.
➤ YN0000: [@joplin/app-desktop]: > git init . -b main
➤ YN0000: [@joplin/app-desktop]: Initialized empty Git repository in /tmp/default-plugin-buildqUQ6kM/.git/
➤ YN0000: [@joplin/app-desktop]: Creating initial commit.
➤ YN0000: [@joplin/app-desktop]: > git add .
➤ YN0000: [@joplin/app-desktop]: > git config user.name "Build script"
➤ YN0000: [@joplin/app-desktop]: > git config user.email
➤ YN0000: [@joplin/app-desktop]: > git commit -m "Initial commit"
➤ YN0000: [@joplin/app-desktop]: error: Signing file /tmp/.git_signing_buffer_tmpS3jv5V
➤ YN0000: [@joplin/app-desktop]: Couldn't sign message (signer): agent refused operation?
➤ YN0000: [@joplin/app-desktop]: Signing /tmp/.git_signing_buffer_tmpS3jv5V failed: agent refused operation?
➤ YN0000: [@joplin/app-desktop]:
➤ YN0000: [@joplin/app-desktop]: fatal: failed to write commit object
Pinned Comments
masterkorp commented on 2020-12-24 19:58 (UTC) (edited on 2020-12-24 20:00 (UTC) by masterkorp)
Hello everyone,
I will be renaming the packages to its final form.
Also, please for problems with the package, please open an issue on the Github repo, its really hard to provide support on the comments section, you can also email me.
If you have problems with the
check()
function, just run makepkg with the--nocheck
flag.Thank you for your patience. Regards, Alfredo Palhares