jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven Shared Components
  • MSHARED-85

warning during tar unpackaging

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: maven-archiver-2.4
  • Component/s: maven-archiver
  • Labels:
    None

Description

Using tar distribution, during upackaging I'm getting:
tar: A lone zero block at 4174
warning message in output.
Archive is being untarred correctly but this message may worry users that archive is corrupted

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. PLXCOMP-38 plexus archiver writes archives that error out on some platforms

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Jerome Lacoste added a comment - 13/Jan/07 10:22 AM

The issue might be simiilar to http://pear.php.net/bugs/bug.php?id=5452

Does that mean that the fix is to change

http://svn.codehaus.org/plexus/plexus-components/trunk/plexus-archiver/src/main/java/org/codehaus/plexus/archiver/tar/TarOutputStream.java

public void finish()
throws IOException

{ this.writeEOFRecord(); }

into

public void finish()
throws IOException

{ this.writeEOFRecord(); this.writeEOFRecord(); }

??

Then as in the PHP Pear issue above, care must be taken if there are other parts of the archiver that expects a single empty block.

Show
Jerome Lacoste added a comment - 13/Jan/07 10:22 AM The issue might be simiilar to http://pear.php.net/bugs/bug.php?id=5452 Does that mean that the fix is to change http://svn.codehaus.org/plexus/plexus-components/trunk/plexus-archiver/src/main/java/org/codehaus/plexus/archiver/tar/TarOutputStream.java public void finish() throws IOException { this.writeEOFRecord(); } into public void finish() throws IOException { this.writeEOFRecord(); this.writeEOFRecord(); } ?? Then as in the PHP Pear issue above, care must be taken if there are other parts of the archiver that expects a single empty block.
Hide
Permalink
Martin Burger added a comment - 07/May/09 7:59 AM

PLXCOMP-38 is fixed, what's the status of this issue?

Show
Martin Burger added a comment - 07/May/09 7:59 AM PLXCOMP-38 is fixed, what's the status of this issue?
Hide
Permalink
Olivier Lamy added a comment - 08/May/09 2:53 PM

fixed with upgrading to plexus-archiver 1.0-alpha-11
Done in rev 727450

Show
Olivier Lamy added a comment - 08/May/09 2:53 PM fixed with upgrading to plexus-archiver 1.0-alpha-11 Done in rev 727450

People

  • Assignee:
    Unassigned
    Reporter:
    Tomasz Pik
Vote (2)
Watch (2)

Dates

  • Created:
    12/Jan/07 3:15 PM
    Updated:
    08/May/09 2:53 PM
    Resolved:
    08/May/09 2:53 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.