On 01/08, Itay Grudev wrote:
Gentlemen,

I am trying to commit a package through Git to your new system. The process is 
really straight-forward but I’ve stumbled upon an error, when pushing the repo, 
which I cannot resolve.

remote: error: The following errors occurred when parsing .SRCINFO in commit
remote: error: e129d11255f3c1b7e5ba3ab705e6547427c31528:
remote: error: line 4: unexpected new section not starting with 'pkgname' found
remote: error: line 5: unexpected new section not starting with 'pkgname' found
remote: error: line 6: unexpected new section not starting with 'pkgname' found
remote: error: line 7: unexpected new section not starting with 'pkgname' found
remote: error: line 8: unexpected new section not starting with 'pkgname' found
remote: error: line 9: unexpected new section not starting with 'pkgname' found
remote: error: line 10: unexpected new section not starting with 'pkgname' found
remote: error: line 11: unexpected new section not starting with 'pkgname' found
remote: error: line 12: unexpected new section not starting with 'pkgname' found
remote: error: line 13: unexpected new section not starting with 'pkgname' found
remote: error: line 14: unexpected new section not starting with 'pkgname' found
remote: error: hook declined to update refs/heads/master
To ssh://[email protected]/imperial.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://[email protected]/imperial.git'

The contents of the .SRCINFO are as follows:

# Generated by makepkg 4.2.1
# Sat Aug  1 11:23:19 UTC 2015
pkgbase = imperial
       pkgdesc = Plays the Imperial March using the beep utility
       pkgver = 1.1
       pkgrel = 1
       url = https://github.com/itay-grudev/imperial
       arch = any
       license = mit
       depends = beep
       source = 
imperial-1.1.tar.gz::https://github.com/itay-grudev/imperial/archive/1.1.tar.gz
       source = 
https://raw.githubusercontent.com/itay-grudev/imperial/arch/imperial.service
       md5sums = a96a83feaa767b2784e5c2f4cfdafc8e
       md5sums = bcfe5ab48b096ad8fdbac87990ba02d8

pkgname = imperial


And this is why you should not do whatever you want with the .SRCINFO files instead of using what makepkg gave you. Stop replacing tabs everywhere.

--
Sincerely,
 Johannes Löthberg
 PGP Key ID: 0x50FB9B273A9D0BB5
 https://theos.kyriasis.com/~kyrias/

Attachment: signature.asc
Description: PGP signature

Reply via email to