[aur-general] [AUR4] Error when upload a update pkgbuild : remote: error: missing install file: avidemux.install

Lukas Fleischer lfleischer at archlinux.org
Mon Jun 8 19:22:29 UTC 2015


On Mon, 08 Jun 2015 at 19:25:02, brent timothy saner wrote:
> [...]
> I'm getting the same behaviour:
> 
> [bts at workhorse freeswitch]$ git push
> Counting objects: 14, done.
> Delta compression using up to 8 threads.
> Compressing objects: 100% (13/13), done.
> Writing objects: 100% (14/14), 11.60 KiB | 0 bytes/s, done.
> Total 14 (delta 0), reused 0 (delta 0)
> remote: error: The following error occurred when parsing commit
> remote: error: 426c2b2f6b4495115a2c6310f8967f5569d8a11a:
> remote: error: missing install file: freeswitch.install
> remote: error: hook declined to update refs/heads/master
> [...]
> [bts at workhorse freeswitch]$ git log -- freeswitch.install ; ls -l
> freeswitch.install
> commit 499a1ab800029623da91fdba38e35fcc9d0d0223
> Author: brent s <bts at square-r00t.net>
> Date:   Mon Jun 8 12:25:40 2015 -0400
> 
>     (commit message)
> - -rw-r--r-- 1 bts bts 1860 Jun  8 12:25 freeswitch.install
> 
> 
> It's *definitely* in the commit I'm trying to push.
> 
> 
> It would appear the hook system needs some work.
> [...]

Commit 426c2b2 is not 499a1ab. You don't push a single commit only. This
is not how Git works. You update a bunch of refs and objects, including
multiple commits and 426c2b2 is broken whereas 499a1ab might be okay.

I am pretty sure that

    $ git show 426c2b2:freeswitch.install

will show an error message while

    $ git show 499a1ab:freeswitch.install

will display the file content gracefully. If that is the case, you need
to fix 426c2b2 to include the install scriptlet as well. If not, please
upload the Git repository somewhere else and submit a bug report.

Regards,
Lukas


More information about the aur-general mailing list