You are not logged in.

#1 2013-08-17 12:33:32

EvanPurkhiser
Member
From: San Francisco
Registered: 2010-08-17
Posts: 225
Website

[Solved] "source tarball may not contain nested subdirectories"

Hey guys,

I'm trying to upload (my first!) package to the AUR, however I'm getting the error "Error - source tarball may not contain nested subdirectories."

I've created the package using `makepkg --source`, it's just a single PKGBUILD file.

Running tar tvf looks fine:

$ tar tvf setcolors-git-0.0.0-1.src.tar.gz 
drwxr-xr-x root/root         0 2013-08-17 08:25 setcolors-git/
-rw-r--r-- root/root       685 2013-08-17 07:19 setcolors-git/PKGBUILD

I searched around, but it looks like only a few people had this issue, and it was due to SELinx (which I'm not using).

I must be missing something really simple and I'm sure I'll feel dumb.

Here's the tarball in question.

Last edited by EvanPurkhiser (2013-08-19 01:46:07)

Offline

#2 2013-08-17 13:27:55

Hibernate
Member
From: Stockholm, Sweden
Registered: 2011-07-12
Posts: 100

Re: [Solved] "source tarball may not contain nested subdirectories"

This bug seems to have been introduces shortly after 2013-08-17 10:39* which is the latest update, as updates are frequently added.
I to am unable to submit packages and I only did that a few days ago last time.

* I do not know which timezone the Arch website uses, but hopefully (for standardisatio and the duration this bug as lasted) it is UTC,
or the visitor local timezone.

Last edited by Hibernate (2013-08-17 13:32:41)

Offline

#3 2013-08-17 13:56:17

Mineko
Member
Registered: 2013-08-16
Posts: 6

Re: [Solved] "source tarball may not contain nested subdirectories"

So there are others getting this problem too.. qq

Was makepkg changed today or something? I can't remember..

Last edited by Mineko (2013-08-17 13:57:34)


Meow.

Offline

#4 2013-08-17 15:27:31

Hibernate
Member
From: Stockholm, Sweden
Registered: 2011-07-12
Posts: 100

Re: [Solved] "source tarball may not contain nested subdirectories"

Mineko wrote:

Was makepkg changed today or something? I can't remember..

makepkg is a part of pacman and has not been updated.

Offline

#5 2013-08-17 15:49:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,471

Re: [Solved] "source tarball may not contain nested subdirectories"

I just tested it, same problem (and I've done it plenty of times before). Seems to be an AUR bug.

Online

#6 2013-08-17 15:51:34

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

Re: [Solved] "source tarball may not contain nested subdirectories"

Appears to be tied to the php 5.5 update. Stay tuned.

Offline

#7 2013-08-17 16:01:53

Mineko
Member
Registered: 2013-08-16
Posts: 6

Re: [Solved] "source tarball may not contain nested subdirectories"

falconindy wrote:

Appears to be tied to the php 5.5 update. Stay tuned.

That avatar and what you just said... FUUUUUUUUUUUUUUUUUU--

Since it's scanning the tar file for unwanted alterations, I suppose the update messed that up, huh.


Meow.

Offline

#8 2013-08-17 16:04:50

Ichimonji10
Member
Registered: 2010-11-07
Posts: 32
Website

Re: [Solved] "source tarball may not contain nested subdirectories"

I'm also getting this error. The exact error thrown is:

Error - source tarball may not contain nested subdirectories.

I'm trying to submit this PKGBUILD: https://github.com/Ichimonji10/PKGBUILD … ybeans-git

And here's the contents of my package:

[ichimonji10@hardhack:tmp]$ ls
vim-jellybeans-git-v1.5.25.gc173b85-1.src.tar.gz
[ichimonji10@hardhack:tmp]$ tar tfv vim-jellybeans-git-v1.5.25.gc173b85-1.src.tar.gz 
drwxr-xr-x root/root         0 2013-08-17 11:55 vim-jellybeans-git/
-rw-r--r-- root/root      1094 2013-08-17 09:08 vim-jellybeans-git/LICENSE.txt
-rw-r--r-- root/root      1022 2013-08-17 11:39 vim-jellybeans-git/PKGBUILD

Offline

#9 2013-08-17 16:19:56

Mineko
Member
Registered: 2013-08-16
Posts: 6

Re: [Solved] "source tarball may not contain nested subdirectories"

Ichimonji10 wrote:

I'm also getting this error. The exact error thrown is:

Error - source tarball may not contain nested subdirectories.

I'm trying to submit this PKGBUILD: https://github.com/Ichimonji10/PKGBUILD … ybeans-git

And here's the contents of my package:

[ichimonji10@hardhack:tmp]$ ls
vim-jellybeans-git-v1.5.25.gc173b85-1.src.tar.gz
[ichimonji10@hardhack:tmp]$ tar tfv vim-jellybeans-git-v1.5.25.gc173b85-1.src.tar.gz 
drwxr-xr-x root/root         0 2013-08-17 11:55 vim-jellybeans-git/
-rw-r--r-- root/root      1094 2013-08-17 09:08 vim-jellybeans-git/LICENSE.txt
-rw-r--r-- root/root      1022 2013-08-17 11:39 vim-jellybeans-git/PKGBUILD

Ahhh I get that too, your tar isn't the problem (I think), like mr. developer said, it's probably PHP5.5 that's the problem, it's the site.

My theory is that PHP5.5 probably upgraded their parsing stuffs and the site's code just isn't compatible yet.


Meow.

Offline

#10 2013-08-17 16:42:14

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

Re: [Solved] "source tarball may not contain nested subdirectories"

Should be fixed

Offline

#11 2013-08-17 19:20:23

Ichimonji10
Member
Registered: 2010-11-07
Posts: 32
Website

Re: [Solved] "source tarball may not contain nested subdirectories"

falconindy wrote:

Should be fixed

I sucessfully uploaded my PKGBUILD. Thanks for the follow-up.

Offline

Board footer

Powered by FluxBB