Opened 10 years ago

Closed 10 years ago

#42668 closed defect (fixed)

clang-3.3 @3.3_2: binary archive is corrupted for Snow Leopard

Reported by: cooljeanius (Eric Gallager) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: clang-3.3

Description

Specifically, the archive in question is clang-3.3-3.3_2+analyzer+python27+universal.darwin_10.i386-x86_64.tbz2. The error is:

x ./opt/local/libexec/llvm-3.3/lib/libclangAnalysis.a
x ./opt/local/libexec/llvm-3.3/lib/libclangARCMigrate.a
x ./opt/local/libexec/llvm-3.3/lib/libclangAST.a
bzip2: Compressed file ends unexpectedly;
	perhaps it is corrupted?  *Possible* reason follows.
bzip2: Undefined error: 0
	Input file = /opt/local/var/macports/software/clang-3.3/clang-3.3-3.3_2+analyzer+python27+universal.darwin_10.i386-x86_64.tbz2, output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

: Truncated tar archive
tar: Error exit delayed from previous errors.
Command failed: /usr/bin/bzip2 -d -c /opt/local/var/macports/software/clang-3.3/clang-3.3-3.3_2+analyzer+python27+universal.darwin_10.i386-x86_64.tbz2 | ( /usr/bin/tar -xvpf - )
Exit code: 1

I followed the instructions in the error messages and am also attaching the output of doing that.

Attachments (3)

main.log (9.3 KB) - added by cooljeanius (Eric Gallager) 10 years ago.
main.log for failed extraction
bzip_tvv_clang_archive.log (14.0 KB) - added by cooljeanius (Eric Gallager) 10 years ago.
output of testing integrity of archive with bzip2 -tvv
bzip2recover_clang_archive.log (103.1 KB) - added by cooljeanius (Eric Gallager) 10 years ago.
log from running bzip2recover on archive

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by cooljeanius (Eric Gallager)

Attachment: main.log added

main.log for failed extraction

Changed 10 years ago by cooljeanius (Eric Gallager)

Attachment: bzip_tvv_clang_archive.log added

output of testing integrity of archive with bzip2 -tvv

Changed 10 years ago by cooljeanius (Eric Gallager)

log from running bzip2recover on archive

comment:1 Changed 10 years ago by rdoger6424@…

After having this problem for the past week, I was just able to install clang-3.3 as a binary. Try it out again and see what happens.

comment:2 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

It's reported as fixed.

Note: See TracTickets for help on using tickets.