You are not logged in.

#1 2011-05-29 20:14:21

W.F.Cody
Member
From: Ghent
Registered: 2010-11-18
Posts: 155

[SOLVED] AUR submission problems

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

#2 2011-05-29 20:46:00

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: [SOLVED] AUR submission problems

can we see the src tarball you're trying to upload too?

Offline

#3 2011-05-30 06:03:41

W.F.Cody
Member
From: Ghent
Registered: 2010-11-18
Posts: 155

Re: [SOLVED] AUR submission problems

JokerBoy wrote:

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

#4 2011-05-30 06:12:45

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

Re: [SOLVED] AUR submission problems

Any file hosting site e.g. ompldr.org .

Offline

#5 2011-05-30 12:06:51

W.F.Cody
Member
From: Ghent
Registered: 2010-11-18
Posts: 155

Re: [SOLVED] AUR submission problems

tomk wrote:

Any file hosting site e.g. ompldr.org .

Thanks! I did not know of that one.

Here is a download link:

http://ompldr.org/vOHVvZw


My AUR packages
Any package of mine is up for grabs. If you think you could mantain it better - just contact me!

Offline

#6 2011-06-06 06:01:30

W.F.Cody
Member
From: Ghent
Registered: 2010-11-18
Posts: 155

Re: [SOLVED] AUR submission problems

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

#7 2011-06-07 15:42:39

roelsb
Member
Registered: 2011-06-07
Posts: 1

Re: [SOLVED] AUR submission problems

-snip-
Sorry wasn't paying attention

Last edited by roelsb (2011-06-07 15:44:07)

Offline

#8 2011-06-07 17:27:25

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] AUR submission problems

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

#9 2011-06-08 06:36:41

W.F.Cody
Member
From: Ghent
Registered: 2010-11-18
Posts: 155

Re: [SOLVED] AUR submission problems

falconindy wrote:

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 smile
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

#10 2011-06-08 15:01:04

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] AUR submission problems

Seems more fitting of the selinux page, as this isn't something you'd normally encounter. Glad I was able to give you the push you needed to get this resolved.

Offline

Board footer

Powered by FluxBB