-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Release] ArgumentError: invalid byte sequence in US-ASCII
when signing binaries for RC0
#41238
Comments
… binary We may have non ASCII characters in the process. For example, PGP uid may include non ASCII characters.
I tried: 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:
|
@kou feel free to sign and upload yourself to trigger the binary verification so I can send the vote tomorrow. I am going to sleep now :) |
OK! I'll do it! |
Ah, you define not only |
#41242) ### Rationale for this change We may have non ASCII characters in the process. For example, PGP uid may include non ASCII characters. ### What changes are included in this PR? Use `LANG=C.UTF-8` and `LC_*=C.UTF-8` to use UTF-8 as the default encoding. ### Are these changes tested? Yes. I used this for 16.0.0 RC0. ### Are there any user-facing changes? No. * GitHub Issue: #41238 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Issue resolved by pull request 41242 |
Done! |
#41242) ### Rationale for this change We may have non ASCII characters in the process. For example, PGP uid may include non ASCII characters. ### What changes are included in this PR? Use `LANG=C.UTF-8` and `LC_*=C.UTF-8` to use UTF-8 as the default encoding. ### Are these changes tested? Yes. I used this for 16.0.0 RC0. ### Are there any user-facing changes? No. * GitHub Issue: #41238 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
… binary (apache#41242) ### Rationale for this change We may have non ASCII characters in the process. For example, PGP uid may include non ASCII characters. ### What changes are included in this PR? Use `LANG=C.UTF-8` and `LC_*=C.UTF-8` to use UTF-8 as the default encoding. ### Are these changes tested? Yes. I used this for 16.0.0 RC0. ### Are there any user-facing changes? No. * GitHub Issue: apache#41238 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
… binary (apache#41242) ### Rationale for this change We may have non ASCII characters in the process. For example, PGP uid may include non ASCII characters. ### What changes are included in this PR? Use `LANG=C.UTF-8` and `LC_*=C.UTF-8` to use UTF-8 as the default encoding. ### Are these changes tested? Yes. I used this for 16.0.0 RC0. ### Are there any user-facing changes? No. * GitHub Issue: apache#41238 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
… binary (apache#41242) ### Rationale for this change We may have non ASCII characters in the process. For example, PGP uid may include non ASCII characters. ### What changes are included in this PR? Use `LANG=C.UTF-8` and `LC_*=C.UTF-8` to use UTF-8 as the default encoding. ### Are these changes tested? Yes. I used this for 16.0.0 RC0. ### Are there any user-facing changes? No. * GitHub Issue: apache#41238 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
… binary (apache#41242) ### Rationale for this change We may have non ASCII characters in the process. For example, PGP uid may include non ASCII characters. ### What changes are included in this PR? Use `LANG=C.UTF-8` and `LC_*=C.UTF-8` to use UTF-8 as the default encoding. ### Are these changes tested? Yes. I used this for 16.0.0 RC0. ### Are there any user-facing changes? No. * GitHub Issue: apache#41238 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
… binary (apache#41242) ### Rationale for this change We may have non ASCII characters in the process. For example, PGP uid may include non ASCII characters. ### What changes are included in this PR? Use `LANG=C.UTF-8` and `LC_*=C.UTF-8` to use UTF-8 as the default encoding. ### Are these changes tested? Yes. I used this for 16.0.0 RC0. ### Are there any user-facing changes? No. * GitHub Issue: apache#41238 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Describe the bug, including details regarding any error messages, version, and platform.
I had an issue when signing binaries locally executing:
$ dev/release/05-binary-upload.sh 16.0.0 0
I am not entirely sure if it's due to my locale settings or due to my GPG key containing non-ASCII characters.
Component(s)
Release
The text was updated successfully, but these errors were encountered: