You are not logged in.

#1 2006-05-20 08:38:32

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Cannot submit package

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

#2 2006-05-20 09:28:47

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Cannot submit package

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

#3 2006-05-20 09:53:49

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: Cannot submit package

But I tried this way too. The result was the same. :?


to live is to die

Offline

#4 2006-05-20 11:28:50

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Cannot submit package

try changing permissions to root:root

Offline

#5 2006-05-20 17:48:39

sh__
Member
Registered: 2005-07-19
Posts: 272

Re: Cannot submit package

tomk wrote:

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.

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

#6 2006-05-20 17:55:04

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: Cannot submit package

It's not required, but it is suggested.  It makes aurbuild work better.

Offline

#7 2006-05-21 00:03:59

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Cannot submit package

sh__ wrote:

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

#8 2006-05-21 22:36:31

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: Cannot submit package

tomk wrote:

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

#9 2006-05-22 03:07:30

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Cannot submit package

is your tarball called tea.tar.gz ?

Offline

#10 2006-05-22 06:09:31

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Cannot submit package

elasticdog wrote:

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

#11 2006-05-22 07:04:30

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: Cannot submit package

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

#12 2006-05-22 07:46:59

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Cannot submit package

Romashka wrote:

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

#13 2006-05-22 08:25:37

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: Cannot submit package

Sorry folks, I made so stupid mistake! :oops:  It worth to be in "What's the dumbest computing mistake you've made?" thread. lol
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

  lol  :oops:
I realized that only by comparing size of old v12 tea.tar.gz with my v13 tea.tar.gz. lol


to live is to die

Offline

Board footer

Powered by FluxBB