bugGNU tar - Bugs: bug #8902, Weird error trying to use -j for...

 
 

bug #8902: Weird error trying to use -j for bzip2 on AIX 5.2

Submitter:  Michael Jarvis <mjarvis>
Submitted:  Wed 12 May 2004 01:56:50 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 29 Jun 2004 10:00:36 AM UTC, comment #3: 

Thanks Michael. I am going to release a maintenance version of tar soon. It will include this fix.

Best,
Sergey

Sergey Poznyakoff <gray>
Group administrator
Wed 12 May 2004 04:07:48 PM UTC, comment #2: 

One more comment...

With the "broken" version, it works if I specify -B on the command line for "read-full-records".  This did not used to be required for AIX 5.2.

The problem seems to be either revision 1.8 of system.c or revision 1.67 to buffer.c in CVS.

If you need me to help test a permanent fix please let me know.

Best regards,
Michael

Michael Jarvis <mjarvis>
Wed 12 May 2004 03:10:41 PM UTC, comment #1: 

I checked the CVS repository for src/buffer.c (where the error is occurring) and I noticed the most recent commit to the file is not present in the tar-1.14 source I downloaded this morning from ftp.gnu.org.

I made the change in 1.67 of buffer.c (Removed assignment to read_full_records_option) in my source and recompiled, and that seemed to resolve the issue.

You might wish to put a different tarball out on ftp.gnu.org with this fix.

Thanks,
Michael

Michael Jarvis <mjarvis>
Wed 12 May 2004 01:56:50 PM UTC, original submission:  

I just built tar 1.14 under AIX 5.2, and when I try to view the contents of a tar.bz2 file I get this error:

$ tar jtvf tar-1.14.tar.bz2
tar: Unaligned block (5000 bytes) in archive
tar: Error is not recoverable: exiting now

This previously worked with the alpha version I was using (1.13.93 I think).

I have built the same code on HP-UX and it works fine.  My copy of bzip2 is in my path, and is 1.0.2.

By the way, this was built with the IBM Visual Age C/C++ Compiler 6.0.  I may try building with gcc and see if it's a compiler issue.

Any ideas?

Thanks

Michael Jarvis <mjarvis>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-12-22 gray Open/ClosedOpen Closed
2004-06-29 gray Carbon-Copy- Added mjarvis
2004-05-12 mjarvis Carbon-Copy- Added gray

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code