You are not logged in.
Pages: 1
I've been trying to do a thing for about an hour now, and like everything I try with linux, there's a whole chain of things that need to be changed (in a way that's obvious to everyone but me). So here's where I'm at now: If I try to run makepkg, I get a sequence of mysterious errors.
==> ERROR: backup should be an array
==> ERROR: groups should be an array
==> ERROR: conflicts should be an array
==> ERROR: makedepends should be an array
==> ERROR: provides should be an array
==> ERROR: replaces should be an array
Then it does nothing. I recently updated pacman and updated some gpg keys. Google returns nothing for these errors (other than /tmp being full which I don't see anything bout in my errors). I don't see a debug switch in the man pages for makepkg. I didn't see anything on the latest news page. I'm sure it's something really trivial or it's linked somewhere really obvious so I apologize in advance.
Offline
Run makepkg on what? With what options? Please paste (in code tags) the full output of the command you are running and the details of the PKGBUILD you are running it on.
Offline
Here is the full output of "makepkg -i" for gtklp in the AUR. (found here https://aur.archlinux.org/cgit/aur.git/ … LD?h=gtklp)
==> ERROR: backup should be an array
==> ERROR: groups should be an array
==> ERROR: conflicts should be an array
==> ERROR: makedepends should be an array
==> ERROR: provides should be an array
==> ERROR: replaces should be an arrayIt does that with any options to makepkg. I assume it's because of the missing fields in the PKGBUILD? It seems to build if I just delete all of those lines with missing fields, is there any harm in doing that? The built program doesn't seem to work but that's probably because of some other new issue.
Last edited by flavenstein (2016-02-03 07:45:11)
Offline
That PKGBUILD is a disgrace. I wouldn't even attempt to install it.
Offline
It seems to build if I just delete all of those lines with missing fields, is there any harm in doing that? The built program doesn't seem to work but that's probably because of some other new issue.
Yes, you can delete the empty options, but as Jason said, the PKGBUILD is a mess. If the uploader didn't bother testing it, I don't know what chances you have. If you are feeling adventurous, then give it a go.
Offline
I suggest rewriting it sanely and then submitting it to the maintainer, if he totally ignores you for a few weeks then ask for the package to be orphaned and take it over. The PKGBUILD really isn't *that* bad, it is just that he just copy/pasted as a template and didn't remove the unused fields, something that makepkg did not complain about before pacman 5.
Sidenote: there are better cups UIs out there too now, depending on just what you want to do.
Last edited by Mr.Elendig (2016-02-03 12:19:25)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
The PKGBUILD really isn't *that* bad, it is just that he just copy/pasted as a template and didn't remove the unused fields, something that makepkg did not complain about before pacman 5.
Oh, I didn't know that the warnings started appearing only with pacman 5. If that's the case, then maybe the uploader did test the script ![]()
Offline
Pages: 1