[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tar: Link name too long

On Mon, Mar 01, 2004 at 08:47:38PM +0100, Julian Leyh wrote:
> hi.
> i'm trying to port GNUstep and discovered a problem with gnustep-base.
> it builds nicely and the fake install works, too.
> but when i try to build a package i get this error:
> $ make package
> ===>  Building package for gnustep-base-1.9.0
> Creating package /usr/ports/packages/i386/all/gnustep-base-1.9.0.tgz
> Creating gzip'd tar ball in
> '/usr/ports/packages/i386/all/gnustep-base-1.9.0.tgz' tar: Link name too
> long for ustar
> GNUStep/System/Library/Libraries/Resources/gnustep-base/NSTimeZones/zon
> es/America/Kentucky/Louisville tar failed at /usr/sbin/pkg_create line
> 273.===>  Cleaning for gnustep-base-1.9.0
> rm -f /usr/ports/packages/i386/all/gnustep-base-1.9.0.tgz
> *** Error code 1

The ustar archive format is limited to 100 characters names.
Fortunately, you can use @cwd in the packing-list to go over that limit.

I'd try something like
@cwd GNUStep/System/Library/Libraries/Resources/gnustep-base