[arch-general] Aur git - missing .SRCINFO hook declined to update refs/heads/master - help?

David C. Rankin drankinatty at suddenlinkmail.com
Mon Jun 4 08:38:08 UTC 2018


All,

  I was adding a 4th Aur package, so I cloned an empty directory. Added the
files, then

$ makepkg --printsrcinfo > .SRCINFO
$ makepkg -S --sign -f
$ git commit -am "console-blanking-0.0.1-2"

  Then just to make sure .SRCINFO is there

$ git ls-files
.SRCINFO       <== It is...
LICENSE
PKGBUILD
console-blanking-0.0.1-2.src.tar.gz
console-blanking-0.0.1-2.src.tar.gz.sig
console-blanking.service

  But then when I push the file, it fails complaining about missing .SRCINFO,

 $ git push
Counting objects: 22, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (22/22), done.
Writing objects: 100% (22/22), 42.27 KiB | 8.45 MiB/s, done.
Total 22 (delta 7), reused 0 (delta 0)
remote: error: The following error occurred when parsing commit
remote: error: e2c98558e8c74100dfdb41228b13c7a4f60eedeb:
remote: error: missing .SRCINFO
remote: error: hook declined to update refs/heads/master
To ssh://aur.archlinux.org/console-blanking.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to
'ssh://aur@aur.archlinux.org/console-blanking.git'

  It has always gone so smoothly before... What is going wrong?

-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list