[aur-dev] Missing install file:
Hi! I have a problem pushing a package to AUR4. The push declined with this error: remote: error: The following error occurred when parsing commit remote: error: 1e0137afecd85510a537ef5033c5b388b8f24b21: remote: error: missing install file: remote: error: hook declined to update refs/heads/master To ssh+git://aur@aur4.archlinux.org:22/roccat-tools.git ! [remote rejected] master -> master (hook declined) I've checked my repository[1] for commits which have no install file: for h in `git log --format=%H`; do [[ -f roccat-tools.install ]] || echo "Not in $h" done Every commit has the install file on it. So, whats the problem here? Aaron [1]:https://github.com/f0086/aur4-migration-roccat-tools
* Aaron Fischer <mail@aaron-fischer.net> (Sat, 13 Jun 2015 23:26:42 +0200):
I have a problem pushing a package to AUR4. The push declined with this error:
remote: error: The following error occurred when parsing commit remote: error: 1e0137afecd85510a537ef5033c5b388b8f24b21: remote: error: missing install file:
This looks suspicious: no file name, especially as there is one present in .SRCINFO of that commit: https://github.com/f0086/aur4-migration-roccat-tools/blob/1e0137afecd85510a5...
* Marcel Korpel <marcel.korpel@gmail.com> (Sat, 13 Jun 2015 23:33:48 +0200):
This looks suspicious: no file name, especially as there is one present in .SRCINFO of that commit: https://github.com/f0086/aur4-migration-roccat-tools/blob/1e0137afecd85510a5...
I spoke too soon: it's a split package with lots of packages with an empty install variable. So, every instance of install should be tested, if I'm not mistaken. Or is this syntax (different install files in split packages) invalid?
On Sat, 13 Jun 2015 23:37:16 +0200 Marcel Korpel <marcel.korpel@gmail.com> wrote:
* Marcel Korpel <marcel.korpel@gmail.com> (Sat, 13 Jun 2015 23:33:48 +0200):
This looks suspicious: no file name, especially as there is one present in .SRCINFO of that commit: https://github.com/f0086/aur4-migration-roccat-tools/blob/1e0137afecd85510a5...
I spoke too soon: it's a split package with lots of packages with an empty install variable. So, every instance of install should be tested, if I'm not mistaken. Or is this syntax (different install files in split packages) invalid?
Different install files in each package should be fine, but setting `install =` obviously isn't. Why in the world would you set a global install variable, only to reset it to empty for all but one package? Ignore my other email, I missed the fact that you'd uploaded the migrated repo. Doug
Doug Newgard writes:
Different install files in each package should be fine, but setting `install =` obviously isn't. Why in the world would you set a global install variable, only to reset it to empty for all but one package?
Ah, thanks for pointing out the error! Sorry, this was my mistake. I've fixed the git history, now pushing to aur4 works just fine. Aaron
On Sat, 13 Jun 2015 23:26:42 +0200 Aaron Fischer <mail@aaron-fischer.net> wrote:
Hi!
I have a problem pushing a package to AUR4. The push declined with this error:
remote: error: The following error occurred when parsing commit remote: error: 1e0137afecd85510a537ef5033c5b388b8f24b21: remote: error: missing install file: remote: error: hook declined to update refs/heads/master To ssh+git://aur@aur4.archlinux.org:22/roccat-tools.git ! [remote rejected] master -> master (hook declined)
I've checked my repository[1] for commits which have no install file:
for h in `git log --format=%H`; do [[ -f roccat-tools.install ]] || echo "Not in $h" done
Every commit has the install file on it. So, whats the problem here?
Aaron
Check the specific commit given. Maybe there a typo in the install file name or something?
participants (3)
-
Aaron Fischer
-
Doug Newgard
-
Marcel Korpel