You are not logged in.

#1 2012-10-21 02:23:20

josephg
Member
From: Brazil
Registered: 2009-09-28
Posts: 106

[SOLVED] AUR claims that the src tarball containing nested subdirs

Hi there.

I'm the maintainer of lib32-pam in AUR. It always worked just fine for me, but this particular package version won't be accepted by AUR and I don't understand why.

Steps to reproduce:
- unpack source package of lib32-pam-1.1.6-1
- makepkg -fs
- makepkg -fS
- submit to AUR
- Fail and get error message:

"Error - source tarball may not contain nested subdirectories."

Please note I did not use 'tar'.

Dows anyone know what is going on?

Thanks in advance!

Last edited by josephg (2012-10-23 06:05:54)

Offline

#2 2012-10-21 03:47:17

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,422
Website

Re: [SOLVED] AUR claims that the src tarball containing nested subdirs

Which file are you submitting to the AUR?

It looks fine here.  If you have atool, run als on the tarball you submit to the AUR to see what is actually in it.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2012-10-21 04:08:47

josephg
Member
From: Brazil
Registered: 2009-09-28
Posts: 106

Re: [SOLVED] AUR claims that the src tarball containing nested subdirs

Trilby wrote:

Which file are you submitting to the AUR?

It looks fine here.  If you have atool, run als on the tarball you submit to the AUR to see what is actually in it.

I'm trying to submit this tarball. The only weird thing I found is this output:

$ tar tvf lib32-pam-1.1.6-1.src.tar.gz 
drwxr-xr-x root/root         0 2012-10-21 02:05 lib32-pam/
tar: Ignoring unknown extended header keyword `LIBARCHIVE.xattr.user.xdg.referrer.url'
tar: Ignoring unknown extended header keyword `LIBARCHIVE.xattr.user.xdg.origin.url'
-rw-r--r-- root/root       629 2012-10-16 18:06 lib32-pam/pam_unix2-glibc216.patch
-rw-r--r-- root/root      1930 2012-10-20 23:12 lib32-pam/PKGBUILD
-rw-r--r-- root/root       343 2012-10-16 18:15 lib32-pam/pam_namespace-build-1.1.6.patch

Offline

#4 2012-10-21 04:38:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,422
Website

Re: [SOLVED] AUR claims that the src tarball containing nested subdirs

I see that in the tarball I downloaded from your links - but I do not get that when I regenerate it with makepkg.

Related: https://bbs.archlinux.org/viewtopic.php … 66#p945066

Last edited by Trilby (2012-10-21 04:40:50)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2012-10-21 17:21:21

josephg
Member
From: Brazil
Registered: 2009-09-28
Posts: 106

Re: [SOLVED] AUR claims that the src tarball containing nested subdirs

So, you regenerate the package and you don't see this wrongly added metadata ? Case yes, can you please try to upload to AUR ? In case you succeed, package will be updated.

This other thread you mentioned, I've already seen it, but it never used Selinux, so not exactly related.

Still, I don't have a clue why this happened...

Offline

#6 2012-10-21 17:32:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,422
Website

Re: [SOLVED] AUR claims that the src tarball containing nested subdirs

I had to change the arch variable to "any" to rebuild it, so it shouldn't be uploaded as is.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2012-10-21 18:19:50

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

Re: [SOLVED] AUR claims that the src tarball containing nested subdirs

Known bug: https://bugs.archlinux.org/task/28802
Fixed, but not released: https://projects.archlinux.org/aur.git/ … 64e9f55b17

You could upload this yourself through http://dev.aur.archlinux.org, I'm sure.

Last edited by falconindy (2012-10-21 18:20:35)

Offline

#8 2012-10-21 18:30:00

josephg
Member
From: Brazil
Registered: 2009-09-28
Posts: 106

Re: [SOLVED] AUR claims that the src tarball containing nested subdirs

I was not aware of this bug neither this development address of AUR. It indeed worked like a charm.

Thanks, Falconindy

p.s.: I loved AUR 2.0.0 interface already

Offline

Board footer

Powered by FluxBB