Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: tar: Pathname can't be converted from UTF-8 to current locale
make -e EXTRACT_CMD='gtar -zxf $${extract_file}' returned
'{extract_file}: No such file or directory'. Perhaps I needed to
double-quote that string.
EXTRACT_CMD='gtar -zxf $${extract_file}' export EXTRACT_CMD; #I'm old
school -- this is habit.
make -e extract
worked. Thank you.
On Fri, Feb 24, 2023 at 1:22 PM bch <brad.harder%gmail.com@localhost> wrote:
>
>
>
> On Fri, Feb 24, 2023 at 12:46 Greywolf <relayer%gmail.com@localhost> wrote:
>>
>> Hi there, having a problem more and more building from pkgsrc (see Subject):
>>
>> Output from "locale | awk '/CTYPE|LANG|ALL/' is as follows:
>>
>> LANG="en_US.UTF-8"
>> LC_CTYPE="en_US.UTF-8"
>> LC_ALL="en_US.UTF-8"
>>
>> I cannot seem to force TAR to be /usr/local/bin/gtar when extracting,
>> no matter what I try within my scope of knowledge. I've attempted the
>> full-on brute force method of:
>>
>> TAR=/usr/local/bin/gtar make -e TAR=/usr/local/bin/gtar extract
>>
>> and to no avail -- the value never makes it to the 'extract' script in
>> /usr/src/mk/extract/extract.
>>
>> I would be appreciative of any clues pointing toward a solution.
>
>
> I’ve seen the same (seems esp trigger-able by lang/go test cases, for example)
>
> I’ve pushed through w GNU tar before, but it’d certainly be nice to get libarchive (which I believe gets hung-up) working…
>
> You might get traction with:
> EXTRACT_CMD= gtar -xzf $${extract_file}
>
> Good luck,
>
> -bch
>
>>
>>
>> [Note: LANG=C is my usual preferred (interactive) localisation -- I'm
>> only setting it here so I can build a package.]
>> --
>> --*greywolf;
--
--*greywolf;
Home |
Main Index |
Thread Index |
Old Index