You are not logged in.

#1 2007-12-07 10:32:28

Slikkie
Member
Registered: 2007-10-11
Posts: 17
Website

What's up with AUR?

Some days ago I was unable to submit a package (gxmms2 0.7.0) to AUR. It was saying something like: Error uploading file, please try again. Trying again didn't work. hmm
Wen I upload the same package now, I see the error: Error trying to unpack upload - PKGBUILD does not exist, while the contentas of my package are:

[johan@slikkie aur]$ tar -tvvf "gxmms2 0.7.0-1.tar.gz" 
drwxr-xr-x root/root         0 2007-12-03 17:30 gxmms2/
-rw-r--r-- johan/users     247 2007-12-03 17:05 gxmms2/gxmms2.desktop
-rw-r--r-- johan/users     722 2007-12-03 17:08 gxmms2/PKGBUILD

Can someone tell me why this don't work? gxmms2 really needs a new version wink

Offline

#2 2007-12-07 11:31:35

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

Re: What's up with AUR?

the error uploading file, please try again error was an AUR bug, it is fixed now.

About your current error, can you upload your package somewhere so I can have a look at it.

Offline

#3 2007-12-07 13:17:43

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: What's up with AUR?

Guessing, those file permissions might need to be:  -rw-r--r-- root/root

Offline

#4 2007-12-07 14:20:28

kumico
Member
Registered: 2007-09-28
Posts: 224
Website

Re: What's up with AUR?

i think there should exist no version info in the filename , the filename.tar.gz should match that of PKGBUILD[pkgname=filename] also

Offline

#5 2007-12-07 14:30:02

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

Re: What's up with AUR?

kumico wrote:

i think there should exist no version info in the filename , the filename.tar.gz should match that of PKGBUILD[pkgname=filename] also

yes you are right.

wonder why I looked over such an obvious thing roll

Offline

#6 2007-12-07 15:14:28

Slikkie
Member
Registered: 2007-10-11
Posts: 17
Website

Re: What's up with AUR?

kumico wrote:

i think there should exist no version info in the filename , the filename.tar.gz should match that of PKGBUILD[pkgname=filename] also

OK, i think that wasn't necessary anymore because it make no sense at the first error wink

But the error isn't gone, so I uploaded my package at http://home.kliksafe.nl/m.vanderslikke/ … ms2.tar.gz

Offline

#7 2007-12-07 15:24:20

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: What's up with AUR?

"license" is in a wrong format. Run namcap on the tarball and PKGBUILD.

Edit:  makedepends isn't necessary if it's just a duplicate of depends, AFAIK.

No point in having a blank install= line - remove it.

Put the lines in the right order - read packaging standards.

Last edited by brebs (2007-12-07 15:26:58)

Offline

#8 2007-12-07 15:33:15

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: What's up with AUR?

brebs wrote:

Guessing, those file permissions might need to be:  -rw-r--r-- root/root

no this is wrong. permissions have nothing to do with it.


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#9 2007-12-07 15:41:53

Slikkie
Member
Registered: 2007-10-11
Posts: 17
Website

Re: What's up with AUR?

brebs wrote:

"license" is in a wrong format. Run namcap on the tarball and PKGBUILD.

Edit:  makedepends isn't necessary if it's just a duplicate of depends, AFAIK.

No point in having a blank install= line - remove it.

Put the lines in the right order - read packaging standards.

Ok I updated PKGBUILD - didn't work sad

I doubt if AUR checks the PKGBUILD for such errors, I think the problem is the extracting itself.

Last edited by Slikkie (2007-12-07 15:43:55)

Offline

#10 2007-12-07 16:46:00

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: What's up with AUR?

lol.
I looked on the server, and it appears you made a tar archive, left off the gz flag, but named the file .gz anyway.

when you create the archive, use...
tar -czvf gxmms2.tar.gz gxmms2

instead of what you must have done..
tar -cvf gxmms2.tar.gz gxmms2

note the z flag in the first example..




$ file unsupported/gxmms2/gxmms2.tar.gz
unsupported/gxmms2/gxmms2.tar.gz: POSIX tar archive (GNU)

Also..your first upload had a space in the tarball name, as well as the version. That isn't good either. Try to avoid spaces.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#11 2007-12-07 17:56:39

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: What's up with AUR?

A little "createpkg" script I use is:

#!/bin/bash

cd /var/abs/local/
rm -f ${1}.tar.gz
fl=$(ls ${1}/*.{patch,diff,desktop,install} 2>/dev/null)
tar -zcvvf ${1}.tar.gz ${1}/PKGBUILD ${fl}

Offline

#12 2007-12-07 18:08:34

Slikkie
Member
Registered: 2007-10-11
Posts: 17
Website

Re: What's up with AUR?

Ok thanks! I'm not that good in command line work, so I took a look in the manpage and used some good-looking arguments tongue

Offline

Board footer

Powered by FluxBB