You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "raulcd (via GitHub)" <gi...@apache.org> on 2024/04/16 21:58:32 UTC

Re: [I] [Release] `ArgumentError: invalid byte sequence in US-ASCII` when signing binaries for RC0 [arrow]

raulcd commented on issue #41238:
URL: https://github.com/apache/arrow/issues/41238#issuecomment-2059985674

   I tried:
   ```diff
   diff --git a/dev/release/binary/runner.sh b/dev/release/binary/runner.sh
   index 465d60d..d92d1cd 100755
   --- a/dev/release/binary/runner.sh
   +++ b/dev/release/binary/runner.sh
   @@ -19,7 +19,7 @@
    
    set -u
    
   -export LANG=C
   +export LANG=C.UTF-8
    
    target_dir=/host/binary/tmp
    original_owner=$(stat --format=%u ${target_dir})
   ```
   and got the same error:
   ```
   perl: warning: Falling back to a fallback locale ("C.UTF-8").
   Signing: almalinux-9 aarch64 -  10.2% [6/59] 00:00:02 00:00:20  2/sperl: warning: Setting locale failed.
   perl: warning: Please check that your locale settings:
   	LANGUAGE = (unset),
   	LC_ALL = (unset),
   	LC_ADDRESS = "es_ES.UTF-8",
   	LC_NAME = "es_ES.UTF-8",
   	LC_MONETARY = "es_ES.UTF-8",
   	LC_PAPER = "es_ES.UTF-8",
   	LC_IDENTIFICATION = "es_ES.UTF-8",
   	LC_TELEPHONE = "es_ES.UTF-8",
   	LC_MEASUREMENT = "es_ES.UTF-8",
   	LC_CTYPE = "C",
   	LC_TIME = "es_ES.UTF-8",
   	LC_NUMERIC = "es_ES.UTF-8",
   	LANG = "C.UTF-8"
       are supported and installed on your system.
   perl: warning: Falling back to a fallback locale ("C.UTF-8").
   rake aborted!
   ArgumentError: invalid byte sequence in US-ASCII
   /host/binary-task.rb:881:in `==='
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org