GNOME Bugzilla – Bug 647201
ftpadmin does not work with Solaris tar
Last modified: 2011-04-08 20:06:46 UTC
I built a tarball on Solaris for gdm-2.30.6, logged into master and ran this script: $ ftpadmin install gdm-2.30.6.tar.bz2 It failed with this error: ERROR: Files should all be in one directory (gdm-2.30.6/) I untarred the tarball and re-tarred it with GNU tar, and it worked. Looking at the ftpadmin code, I think this is because the code assumes that the first entry of the tarball is the directory, which doesn't seem to be the case for Solaris-built tarballs. Note that Solaris does ship GNU tar, so Solaris users can use GNU tar if it is a requirement. But to do so, users need to set their PATH properly. If GNU tar is a requirement, it would be nice if the instructions highlighted that you need to use GNU tar. It would also be nice if the instructions highlighted that Solaris users may experience this problem if they do not use GNU tar. I'm attaching the failed GDM 2.30.6 tarball so you can look at it.
You can get the problematic tarball here: http://sheepfiends.com/gdm-2.30.6.tar.bz2
Created attachment 185547 [details] [review] Fix the bug Olav, I'm not 100% sure what the original test is for, but something along these lines should fix it.
Brian: Thanks. Just a bug, GNU tar is not a requirement.