You are not logged in.

#1 2012-06-27 03:43:55

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

[Solved] AUR Submission error: "...outside of directory"

I tried to submit a "makepkg --source" file today, and got this curious error:

Error - source tarball may not contain files outside a directory.

I'm not sure what to make of this.  I've submitted other PKGBUILDs last week without an occurrence.  Here's the contents of the source file:

tar tvf gnome-shell-extension-radeon-power-profile-manager-20120626-1.src.tar.gz 
drwxr-xr-x root/root         0 2012-06-26 22:09 gnome-shell-extension-radeon-power-profile-manager/
-rw-r--r-- root/root       579 2012-06-17 20:21 gnome-shell-extension-radeon-power-profile-manager/gnome-shell-extension-radeon-power-profile-manager.install
-rw-r--r-- root/root      1127 2012-06-26 22:05 gnome-shell-extension-radeon-power-profile-manager/PKGBUILD

Any ideas?

Last edited by Gen2ly (2012-06-28 11:05:46)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#2 2012-06-27 13:58:03

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: [Solved] AUR Submission error: "...outside of directory"

I was thinking about this.  Could this be a filename character length issue?  It is pretty long.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#3 2012-06-27 14:19:22

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

Re: [Solved] AUR Submission error: "...outside of directory"

For what it's worth that's the first thing that occurred to me.  I was about to reply then realized I had nothing to really base that one except the subjective "whoa, that's long".  I quickly googled (ok, duck-duck-goed*, but that makes a horrible verb) and didn't find anything establishing such a character limit for the AUR ... though it was a very quick search.

There was a maximum POSIX pathlength of 256 characters ... I really have not kept up with whether that's changed.  Your directory name is 60 chars, but perhaps the AUR uploader checks to see that it doesn't contribute too much to a 256 limit.  When you figure in the fakeroot and destdir and other elements, this might be the issue.

There's a simple way to test that ...


*edit: perhaps it should be duck-duck-went. wink

Last edited by Trilby (2012-06-27 14:20:26)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2012-06-28 03:41:40

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: [Solved] AUR Submission error: "...outside of directory"

Well I reduced the pkgname from 52 to 33 (gnome-shell-extension-radeon-power-profile-manager to gnome-shell-extension-radeon-ppm) and it worked so it does look like AUR has a pkgname limit size.  Appreciate the help Trilby.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#5 2012-06-28 05:04:54

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [Solved] AUR Submission error: "...outside of directory"

I'd file a bug report asking for the limit to be increased.

Offline

#6 2012-06-28 11:05:28

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: [Solved] AUR Submission error: "...outside of directory"

Done.

https://bugs.archlinux.org/task/30472#comment96204

Last edited by Gen2ly (2012-07-01 11:14:57)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

Board footer

Powered by FluxBB