You are not logged in.
Pages: 1
Can anyone help me with my problem?
When I try to upload package I get this error:
Error trying to unpack upload - PKGBUILD does not exist.
The contents of attached tarball is:
tea/PKGBUILD
tea/tea.desktop
permissions: nobody.root
I enter tea as the package name on submit page, in PKGBUILD pkgname=tea
Am I doing something wrong, or maybe parser doesn't like this PKGBUILD?
Bug report is here: http://bugs.archlinux.org/task/4660
Package is here: http://bugs.archlinux.org/?getfile=642
to live is to die
Offline
You don't need the /tea directory in the tarball. In other words, the contents should be
PKGBUILD
tea.desktop
When the tarball is extracted, it will become the /tea subdirectory within the AUR's structure.
Offline
But I tried this way too. The result was the same. :?
to live is to die
Offline
try changing permissions to root:root
Offline
You don't need the /tea directory in the tarball. In other words, the contents should be
PKGBUILD
tea.desktopWhen the tarball is extracted, it will become the /tea subdirectory within the AUR's structure.
Hmm.. Is there a change in the package guidelines? I thought the tarball should contain files in a subdirectory, ie.
foo/PKGBUILD
foo/foo-patch-bar
etc.
Offline
It's not required, but it is suggested. It makes aurbuild work better.
Offline
Hmm.. Is there a change in the package guidelines? I thought the tarball should contain files in a subdirectory, ie.
foo/PKGBUILD
foo/foo-patch-bar
etc.
sh__ - I stand corrected. Thanks for pointing that out. Not one of my AUR packages conforms to that standard! :shock:
Back to the topic - the permissions have never made any difference to me. I made my first packages as root:root in /var/abs/local, and the AUR accepted them no problem. After getting a clue, I switched to ~/builds, where everything is tomk:users - still no problem with submission.
Offline
After getting a clue, I switched to ~/builds, where everything is tomk:users - still no problem with submission.
What do you mean by that...what issues are caused by building in the /var/abs/local/ directory? I have mine set up with the sticky bit so any user could write to that directory (granted I'm the only person who uses the machine, but I digress).
Offline
is your tarball called tea.tar.gz ?
Offline
What do you mean by that...what issues are caused by building in the /var/abs/local/ directory? I have mine set up with the sticky bit so any user could write to that directory (granted I'm the only person who uses the machine, but I digress).
I mean that it's better not to do things as root, unless absolutely necessary - my solution for that is to move my builds to ~/, yours is to chmod /var/abs/local. Other than that, there are no particular issues with /var/abs/local.
Back on topic (again) - Romashka, I think the current version of tea in the AUR is corrupted. When I go to the package details page, and click PKGBUILD, I get an error. See if you can delete it it first, and then re-submit it.
Offline
To Cerebral: yes, it is called tea.tar.gz
To tomk: tea.tar.gz is not corrupted, but AUR cannot extract PKGBUILD from it, that's why you get an error. How can I delete it?
to live is to die
Offline
How can I delete it?
Same way as you can adopt/flag out of date a package, only now you have to use the 'delete package' button.
Offline
Sorry folks, I made so stupid mistake! :oops: It worth to be in "What's the dumbest computing mistake you've made?" thread.
I'm so sorry! :oops:
Package is now successfully uploaded to [unsuported]
Now the funny part:
I made tarball with
tar cvf tea.tar.gz tea
instead of
tar zcvf tea.tar.gz tea
:oops:
I realized that only by comparing size of old v12 tea.tar.gz with my v13 tea.tar.gz.
to live is to die
Offline
Pages: 1