Re: tar: Pathname can't be converted from UTF-8 to current locale

2023-02-24 Thread Steffen Nurpmeso
Joerg Sonnenberger wrote in : |Am Fri, Feb 24, 2023 at 12:45:54PM -0800 schrieb Greywolf: |> I would be appreciative of any clues pointing toward a solution. | |Two options: |(1) Force C.UTF-8 for the extract step on systems that can support it. |(2) Try --options hdrcharset=BINARY for (bsd)

Re: tar: Pathname can't be converted from UTF-8 to current locale

2023-02-24 Thread Joerg Sonnenberger
Am Fri, Feb 24, 2023 at 12:45:54PM -0800 schrieb Greywolf: > I would be appreciative of any clues pointing toward a solution. Two options: (1) Force C.UTF-8 for the extract step on systems that can support it. (2) Try --options hdrcharset=BINARY for (bsd)tar. Joerg

Re: tar: Pathname can't be converted from UTF-8 to current locale

2023-02-24 Thread Roland Illig
Am 24.02.2023 um 22:55 schrieb Greywolf: worked. Glad that it worked out. Your first try was: TAR=/usr/local/bin/gtar make -e TAR=/usr/local/bin/gtar extract This approach would have worked for some of the commands that are listed in pkgtools/bootstrap-mk-files/files/sys.mk. In pkgsrc, the

Re: tar: Pathname can't be converted from UTF-8 to current locale

2023-02-24 Thread Greywolf
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,

tar: Pathname can't be converted from UTF-8 to current locale

2023-02-24 Thread Greywolf
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 withi