You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/05/23 20:08:02 UTC

DO NOT REPLY [Bug 42500] New: - tar task is incompatible with BusyBox v1.3.1

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42500

           Summary: tar task is incompatible with BusyBox v1.3.1
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: timo.kinnunen@gmail.com


Headers produced by tar task can't be read on BusyBox v1.3.1 which uses the old
GNU format ("ustar  "). The error message is:
tar: invalid number ' 11421'
indicating that BusyBox doesn't understand the checksum field. There are also
other differences: octal fields are padded with zeros and don't contain a
trailing space and devmajor and devminor fields are not filled in at all.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42500] - tar task is incompatible with BusyBox v1.3.1

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42500





------- Additional Comments From stevel@apache.org  2007-05-24 02:41 -------
hmmm. 

It would probably make sense to split this with a a new format value,
(format="busybox") rather than a header attribute, as then we'd have to deal
with with headers being set for different formats.

How well does <untar> handle busybox tar files?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42500] - tar task is incompatible with BusyBox v1.3.1

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42500





------- Additional Comments From stevel@apache.org  2007-05-24 03:39 -------
Timo? You mean the <untar> task can handle busybox? Or the untar program?

Peter, I did a quick search for busybox+ustar; here's some relevant links

http://www.opengroup.org/onlinepubs/009695399/utilities/pax.html#tag_04_100_13_06
http://busybox.net/cgi-bin/viewcvs.cgi/trunk/busybox/docs/tar_pax.txt?rev=17252

.. ustar is a posix format ..incompatiblities between busybox and gnu are known 

discussion and apparent fix of busybox incompatibilities:
http://lists.nongnu.org/archive/html/bug-tar/2004-02/msg00014.html
http://lists.debian.org/debian-boot/2004/02/msg01250.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=230872

I'm not sure where those fixes leave us...if recent busybox builds are
compatible with gnu/ant files, then I'd be tempted to leave as is. 

Timo: what happens under busybox 1.5.x?



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42500] - tar task is incompatible with BusyBox v1.3.1

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42500





------- Additional Comments From timo.kinnunen@gmail.com  2007-05-24 04:10 -------
Sorry, I meant <untar>.

I unfortunately don't have any other versions of BusyBox. The version that I
have is running in an embedded device, so I'm pretty much stuck with it.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42500] - tar task is incompatible with BusyBox v1.3.1

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42500





------- Additional Comments From timo.kinnunen@gmail.com  2007-05-23 11:22 -------
Created an attachment (id=20259)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20259&action=view)
A proposed patch to TarUtils.java


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42500] - tar task is incompatible with BusyBox v1.3.1

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42500





------- Additional Comments From timo.kinnunen@gmail.com  2007-05-23 11:22 -------
Created an attachment (id=20258)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20258&action=view)
A proposed patch to TarEntry.java


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42500] - tar task is incompatible with BusyBox v1.3.1

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42500





------- Additional Comments From timo.kinnunen@gmail.com  2007-05-23 11:13 -------
Created an attachment (id=20255)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20255&action=view)
A header from a tarfile produced by BusyBox


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42500] - tar task is incompatible with BusyBox v1.3.1

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42500





------- Additional Comments From colin@gibibit.com  2007-10-17 13:22 -------
I confirm that this occurs with BusyBox 1.7.1 when the config option
CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set. However, if you set
CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY=y, then BusyBox *can* read the Ant 'tar'
task-created files.

The BusyBox help said that the OLDGNU format is usually not needed, and I think
that Ant should stop generating tar files in this obsolete format. But for now,
using the config option for "oldgnu" compatibility works around it.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42500] - tar task is incompatible with BusyBox v1.3.1

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42500





------- Additional Comments From timo.kinnunen@gmail.com  2007-05-23 11:13 -------
Created an attachment (id=20256)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20256&action=view)
A header from a tarfile produced by ant


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42500] - tar task is incompatible with BusyBox v1.3.1

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42500





------- Additional Comments From timo.kinnunen@gmail.com  2007-05-23 11:21 -------
Created an attachment (id=20257)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20257&action=view)
A proposed patch to Tar.java

This is a reverse-engineered compatibility mode to tar task which is activated
with an experimental attribute header="oldgnu".

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42500] - tar task is incompatible with BusyBox v1.3.1

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42500





------- Additional Comments From timo.kinnunen@gmail.com  2007-05-24 03:10 -------
untar as well as Winzip can handle BusyBox tars.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 42500] - tar task is incompatible with BusyBox v1.3.1

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42500





------- Additional Comments From peterreilly@apache.org  2007-05-24 02:51 -------
There was an issue with busy box before.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40195
I do not know if this is related.
I would not think that busybox is the format name to use
- the initial description calls it GNU - ustar.
Is there a spec for this?


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org