On 9/22/13 9:14 AM, jean-francois wrote:
>> The problem here is that Fink's tar knows how to unpack xz archives
>> automatically under the "tar -xf " command, but the system's
>> /usr/bin/gnutar, which is the fallback, does not.
>>
>> I did a quick test and /usr/bin/tar _does_ know how to do this on 10.8. As
>> a workaround, edit /sw/lib/perl5/Fink/PkgVersion.pm as a superuser and
>> change the two instances of "gnutar" to "tar".
>
> i guess i just have to change the second occurrence in the file, so that it
> reads
> } elsif ( -e "/usr/bin/gnutar" ) {
> $tarcommand = "/usr/bin/tar $permissionflags
> $tarflags"; # Apple's GNU tar
> $tar_is_pax=0;
>
> i confirm that doing this fixes the bug and allows 'fink update-all' to
> complete the task with no more trouble.
> i restored the PkgVersion.pm to its original version - as well as /sw/bin/tar.
>
>> Sorry for the hassles. Hopefully we can get this straightened out soon.
>
> no worries - i should have waited some more before updating to Xcode5…
> and this is what i'll do for the other Macs i have to update.
> thanks again for your quick help
>
> cheers,
> jeanfrancois donati
Unfortunately, I wasn't able to reproduce this. It may be a locale issue.
If you have a moment, could I get you to put /sw/bin/tar back in place
and modify /sw/lib/perl5/Fink/PkgVersion.pm to replace
$cmd = "dpkg-deb -b $ddir ".$self->get_debpath();
with
$cmd = "env LANG=C LC_ALL=C dpkg-deb -b $ddir ".$self->get_debpath();
and then try "fink rebuild base-files"?
We set LANG and LC_ALL for unpacking already, because of issues where
the tar command can lock up, so I'd like to see if it might help here.
--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users