You are not logged in.
Pages: 1
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.
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
Offline
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
Guessing, those file permissions might need to be: -rw-r--r-- root/root
Offline
i think there should exist no version info in the filename , the filename.tar.gz should match that of PKGBUILD[pkgname=filename] also
Offline
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
Offline
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
But the error isn't gone, so I uploaded my package at http://home.kliksafe.nl/m.vanderslikke/ … ms2.tar.gz
Offline
"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
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
"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
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
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
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
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
Offline
Pages: 1