Skip to content

[Release] ArgumentError: invalid byte sequence in US-ASCII when signing binaries for RC0 #41238

@raulcd

Description

@raulcd

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.

perl: warning: Falling back to the standard locale ("C").
perl: 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"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
rake aborted!
ArgumentError: invalid byte sequence in US-ASCII
/host/binary-task.rb:881:in `==='
/host/binary-task.rb:881:in `block in valid_sign?'
/host/binary-task.rb:867:in `pipe'
/host/binary-task.rb:867:in `valid_sign?'
/host/binary-task.rb:887:in `sign'
/host/binary-task.rb:930:in `block in sign_dir'
/host/binary-task.rb:929:in `each'
/host/binary-task.rb:929:in `sign_dir'
/host/binary-task.rb:1733:in `block (5 levels) in define_yum_rc_tasks'
/host/binary-task.rb:1729:in `glob'
/host/binary-task.rb:1729:in `glob'
/host/binary-task.rb:1729:in `block (4 levels) in define_yum_rc_tasks'
/host/binary-task.rb:1721:in `each'
/host/binary-task.rb:1721:in `block (3 levels) in define_yum_rc_tasks'
/usr/share/rubygems-integration/all/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => yum:rc => yum:rc:update
(See full trace by running task with --trace)
Connection to 127.0.0.1 closed.

Component(s)

Release

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions