[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] call for testing: support for lzma archives
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] call for testing: support for lzma archives |
Date: |
Tue, 14 Sep 2010 03:03:01 +1000 |
On 14 September 2010 02:37, Volker Grabsch <address@hidden> wrote:
> Tony Theodore <address@hidden> schrieb:
>> On 11 September 2010 19:30, Tony Theodore <address@hidden> wrote:
>> > On FreeBSD 8.1, the first succeeds. Adding libarchive or gtar (with
>> > symlinks from bsdtar/gtar to tar), allows the second and third to
>> > work. The last method needs a filename of "-" to read from stdin:
>> >
>> > xz -dc -F lzma foo.tar.lzma | tar -xf -
>>
>> At least it does when it's executed from a shell (either csh or bash):
>>
>> %xz -dc -F lzma w32api-3.15-1-mingw32-dev.tar.lzma | tar x
>> tar: Error opening archive: Failed to open '/dev/sa0'
>>
>> Running from the Makefile succeeds, however. Not sure what's going on here.
>
> The command you are quoting uses "tar x" instead of "tar -xf -".
> Maybe this is the cause?
Yes, the Makefile uses the "tar x" form and at some point I changed it
to "tar -xf -". I hadn't rebuilt w32api since, but had reverted the
change in the Makefile. Building it again now fails.
Just some line noise, my apologies. FreeBSD does need the "tar -xf -" form.
Tony