You are not logged in.
Dear all
I have lately had a weird issue with uploading a pkgbuild.
https://aur.archlinux.org/packages.php?ID=45558
AUR complains with the following error:
Error - source tarball may not contain nested subdirectories.
If I look at the .src.tar.gz (generated by makepkg --source), it looks like it always has so I really do not see what the problem is.
Last edited by W.F.Cody (2011-06-08 10:44:02)
My AUR packages
Any package of mine is up for grabs. If you think you could mantain it better - just contact me!
Offline
can we see the src tarball you're trying to upload too?
Arch64/DWM || My Dropbox referral link
Offline
can we see the src tarball you're trying to upload too?
how/where should I upload that?
My AUR packages
Any package of mine is up for grabs. If you think you could mantain it better - just contact me!
Offline
Any file hosting site e.g. ompldr.org .
Offline
Any file hosting site e.g. ompldr.org .
Thanks! I did not know of that one.
Here is a download link:
My AUR packages
Any package of mine is up for grabs. If you think you could mantain it better - just contact me!
Offline
Any ideas why uploading does not work? Does nobody else have similar issues?
My AUR packages
Any package of mine is up for grabs. If you think you could mantain it better - just contact me!
Offline
-snip-
Sorry wasn't paying attention
Last edited by roelsb (2011-06-07 15:44:07)
Offline
This file is totally insane. Are you using selinux?
$ ex open64-binary-4.2.4-1.src.tar.gz
tar: Ignoring unknown extended header keyword `SCHILY.dev'
tar: Ignoring unknown extended header keyword `SCHILY.ino'
tar: Ignoring unknown extended header keyword `SCHILY.nlink'
tar: Ignoring unknown extended header keyword `LIBARCHIVE.xattr.security.selinux'
open64-binary/
tar: Ignoring unknown extended header keyword `SCHILY.dev'
tar: Ignoring unknown extended header keyword `SCHILY.ino'
tar: Ignoring unknown extended header keyword `SCHILY.nlink'
tar: Ignoring unknown extended header keyword `LIBARCHIVE.xattr.security.selinux'
open64-binary/PKGBUILD
ex is just a function that, in this case, calls GNU tar.
Last edited by falconindy (2011-06-07 17:34:31)
Offline
This file is totally insane. Are you using selinux?
Ah! So that's it!
I had my /home partition mounted by a temporary Fedora install recently due to some problems and I urgently needed a working computer at that moment. There is indeed some sort of weird PaxHeader sub directory formed (why did I not see that one before?). When I initially tried to resubmit some packages I was working from a chroot and did not see those PaxHeader things. Now I am back at a sane Arch install and I see them...
If anyone knows how to disable whatever magic is being done, I am all ears
EDIT:
After some googling I have figured out that there are magic invisible selinux stuff (xattr) hidden in the file system. Somehow I am not able to disable them though. There should be a --no-xattr option to tar but if I set alias tar="tar --no-xattr" I still get that weird PaxHeader subfolder.
I have also found that others have had similar issues before in various AURs so I am not the first
I promise to update the wiki whenever this crap is solved.
EDIT2: SOLVED
I managed to find a way to get rid of the selinux xattr in my /home by using the instructions found here:
http://lists.fedoraproject.org/pipermai … 87990.html
(/home rather than / in my case)
Since this seems to happen from time to time -where should I write up this in the wiki? Under SELINUX or PKGBUILD?
EDIT3: a warning for the unwary - make sure to do a fsck after cleaning out the xattr (will be added to the wiki too)
Last edited by W.F.Cody (2011-06-08 16:28:59)
My AUR packages
Any package of mine is up for grabs. If you think you could mantain it better - just contact me!
Offline
Offline