db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: tar issue in ant snapshot target
Date Thu, 16 Jul 2009 07:27:22 GMT
Kathey Marsden <kmarsdenderby@sbcglobal.net> writes:

> Kathey Marsden wrote:
>> Kathey Marsden wrote:
>>> I am getting lots of warnings like the one below with the
>>> ant snapshot target when trying to make the release.
>>>
>>>   [tar] Entry:
>>> db-derby-snapshot-debug-10.5.2.0-794445/javadoc/publishedapi/jdbc4/org/apache/derby/vti/package-tree.

>>>
>>> html longer than 100 characters.
>>>
>>> Is this an issue?
>>>
>>> Thanks
>>>
>>> Kathey
>>>
>>>
>> I guess this is an issue: If I go ahead and do ant release and then try
>> [C:/tmp] tar tvf db-derby-10.5.2.0-bin.tar | grep vti | grep package
>>
>> I see the files there, but also @LongLink messages.  It's been a
>> while since I made a release candidate but don't remember this
>> problem.
>>
>> tar: blocksize = 20
>> USTAR Version
>> ././@LongLink: Unknown file type field value `L'
>> ././@LongLink: Unknown file type field value `L'
>> ././@LongLink: Unknown file type field value `L'
>> ././@LongLink: Unknown file type field value `L'
>> ././@LongLink: Unknown file type field value `L'
>> ././@LongLink: Unknown file type field value `L'
>> ././@LongLink: Unknown file type field value `L'
>> ././@LongLink: Unknown file type field value `L'
>> ././@LongLink: Unknown file type field value `L'
>> -rw-r--r--   1 0        0           1076  Jul 15 15:55
>> db-derby-10.5.2.0-bin/javadoc/jdbc3/org/apache/derby/vti/package-
>> frame.html
>> -rw-r--r--   1 0        0          10032  Jul 15 15:55
>> db-derby-10.5.2.0-bin/javadoc/jdbc3/org/apache/derby/vti/package-
>> summary.html
>> -rw-r--r--   1 0        0           6563  Jul 15 15:55
>> db-derby-10.5.2.0-bin/javadoc/jdbc3/org/apache/derby/vti/package-
>> tree.html
>> -rw-r--r--   1 0        0           1076  Jul 15 15:55
>> db-derby-10.5.2.0-bin/javadoc/jdbc4/org/apache/derby/vti/package-
>> frame.html
>> -rw-r--r--   1 0        0          10032  Jul 15 15:55
>> db-derby-10.5.2.0-bin/javadoc/jdbc4/org/apache/derby/vti/package-
>> summary.html
>> -rw-r--r--   1 0        0           6563  Jul 15 15:55
>> db-derby-10.5.2.0-bin/javadoc/jdbc4/org/apache/derby/vti/package-
>> tree.html
>>
>>
> The @LongLink messages  were with mks tar. With cygwin tar I don't see
> the errors with tar tvf.  Based on the discussion in DERBY-2839 this
> is to be expected with the src tarball but not the bin distribution.
> Advice welcome.

Hi Kathey,

Since it's unlikely that we'll be able to shorten the path names before
the release (or ever?), we'd probably have to state on the download page
that GNU tar (or a tar that handles the GNU format) should be used for
all the tarballs. Currently, we only state that for the src tarball.

If we do that, we should also add longfile="gnu" to all the tar tasks in
the build script to suppress the warnings. (The default is to use the
GNU format and additionally emit a warning, so no need to change that
before the release.)

-- 
Knut Anders

Mime
View raw message