Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Set locale command fails in the dockerfile #5474

Closed
jeffwidman opened this issue Aug 3, 2022 · 1 comment
Closed

Set locale command fails in the dockerfile #5474

jeffwidman opened this issue Aug 3, 2022 · 1 comment
Labels
core 🍏 Relates to the dependabot-core library itself Stale T: bug 🐞 Something isn't working

Comments

@jeffwidman
Copy link
Member

jeffwidman commented Aug 3, 2022

Here we try to set LC_ALL:

LC_ALL="en_US.UTF-8" \

However, in the actual output of the build, I see the following errors:

  1. https://github.com/dependabot/dependabot-core/runs/7646741836?check_suite_focus=true#step:3:148
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
  1. https://github.com/dependabot/dependabot-core/runs/7646741836?check_suite_focus=true#step:3:186
#5 7.344 perl: warning: Setting locale failed.
#5 7.344 perl: warning: Please check that your locale settings:
#5 7.344 	LANGUAGE = (unset),
#5 7.344 	LC_ALL = "en_US.UTF-8",
#5 7.344 	LANG = "en_US.UTF-8"
#5 7.344     are supported and installed on your system.
#5 7.344 perl: warning: Falling back to the standard locale ("C").
  1. https://github.com/dependabot/dependabot-core/runs/7646741836?check_suite_focus=true#step:3:1988
#5 58.21 Setting up ucf (3.0038+nmu1) ...
#5 58.26 locale: Cannot set LC_CTYPE to default locale: No such file or directory
#5 58.26 locale: Cannot set LC_MESSAGES to default locale: No such file or directory
#5 58.26 locale: Cannot set LC_ALL to default locale: No such file or directory

this final set of error messages repeats multiple times...

  1. Then way down at the bottom I see this: https://github.com/dependabot/dependabot-core/runs/7646741836?check_suite_focus=true#step:3:2261
#5 70.78 /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
#5 70.79 Generating locales (this might take a while)...
#5 70.79   en_US.UTF-8... done
#5 72.73 Generation complete.

I don't know enough about locales and debian to know if this might be resolved if we simply flipped the order to first generate the locale and then tried to set it?

@jeffwidman jeffwidman added the T: bug 🐞 Something isn't working label Aug 3, 2022
@jeffwidman jeffwidman added the core 🍏 Relates to the dependabot-core library itself label Feb 3, 2023
Copy link
Contributor

github-actions bot commented Feb 3, 2025

👋 This issue has been marked as stale because it has been open for 2 years with no activity. You can comment on the issue to hold stalebot off for a while, or do nothing. If you do nothing, this issue will be closed eventually by the stalebot. Please see CONTRIBUTING.md for more policy details.

@github-actions github-actions bot added the Stale label Feb 3, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 10, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
core 🍏 Relates to the dependabot-core library itself Stale T: bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant