René's URL Explorer Experiment


Title: PowerShell build fails on GNU/Linux systems without the en_US locale · Issue #20941 · PowerShell/PowerShell · GitHub

Open Graph Title: PowerShell build fails on GNU/Linux systems without the en_US locale · Issue #20941 · PowerShell/PowerShell

X Title: PowerShell build fails on GNU/Linux systems without the en_US locale · Issue #20941 · PowerShell/PowerShell

Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Steps to reprodu...

Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...

X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/20941

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PowerShell build fails on GNU/Linux systems without the en_US locale","articleBody":"### Prerequisites\r\n\r\n- [X] Write a descriptive title.\r\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- [X] Search the existing issues.\r\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\r\n\r\n### Steps to reproduce\r\n\r\n1. check /etc/locale.gen it is does not contain any en_US locale, remove them,\r\n2. regen locales with locale-gen,\r\n3. switch to a non-en_US locale, for example on Gentoo use `eselect locale set ...`\r\n\r\nI would like to know if we can use the C locale for build and the \"why\" if it is not possible.\r\nIf it is impossible to use other locale, \r\nthen from-source distributions like Gentoo, Guix, Nix, LFS, etc. \r\nhave to update their build scripts.\r\n\r\n\r\n### Expected behavior\r\n\r\n```console\r\nBuild passes with success, maybe with some features unavailable?\r\n```\r\n\r\n\r\n### Actual behavior\r\n\r\n```console\r\nBuild fails.\r\n```\r\n\r\n\r\n### Error details\r\n\r\n```console\r\n> dotnet-8.0 build --configuration Release --no-restore --no-self-contained --output /var/tmp/portage/app-shells/pwsh-7.4.0/work/pwsh-7.4.0_net8.0_Release --runtime linux-x64 -maxCpuCount:6 -p:StripSymbols=true -p:NativeDebugSymbols=false -p:WarningLevel=1 src/powershell-unix/powershell-unix.csproj\r\n\r\n\r\nMSBuild version 17.8.3+195e7f5a3 for .NET\r\n  /bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)\r\n  /bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)\r\n  /bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)\r\n  /bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)\r\n  /bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)\r\n  /bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)\r\n  /bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)\r\n  PSVersionInfoGenerator -> /var/tmp/portage/app-shells/pwsh-7.4.0/work/pwsh-7.4.0_net8.0_Release/SMA.Generator.dll\r\n/usr/lib64/dotnet-sdk-8.0/sdk/8.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateAssemblyInfo.targets(226,5): error MSB4044: The \"GetAssemblyVersion\" task was not given a value for the required parameter \"NuGetVersion\". [/var/tmp/portage/app-shells/pwsh-7.4.0/work/pwsh-7.4.0/src/System.Management.Automation/System.Management.Automation.csproj]\r\n\r\nBuild FAILED.\r\n\r\n/usr/lib64/dotnet-sdk-8.0/sdk/8.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateAssemblyInfo.targets(226,5): error MSB4044: The \"GetAssemblyVersion\" task was not given a value for the required parameter \"NuGetVersion\". [/var/tmp/portage/app-shells/pwsh-7.4.0/work/pwsh-7.4.0/src/System.Management.Automation/System.Management.Automation.csproj]\r\n    0 Warning(s)\r\n    1 Error(s)\r\n\r\nTime Elapsed 00:00:06.59\r\n```\r\n\r\n\r\n### Environment data\r\n\r\n```powershell\r\n> Paste verbatim output from $PSVersionTable below.\r\n\r\nNone.\r\n\r\n> locale\r\n\r\n\r\nLANG=pl_PL.utf8\r\nLC_CTYPE=\"pl_PL.utf8\"\r\nLC_NUMERIC=\"pl_PL.utf8\"\r\nLC_TIME=\"pl_PL.utf8\"\r\nLC_COLLATE=POSIX\r\nLC_MONETARY=\"pl_PL.utf8\"\r\nLC_MESSAGES=\"pl_PL.utf8\"\r\nLC_PAPER=\"pl_PL.utf8\"\r\nLC_NAME=\"pl_PL.utf8\"\r\nLC_ADDRESS=\"pl_PL.utf8\"\r\nLC_TELEPHONE=\"pl_PL.utf8\"\r\nLC_MEASUREMENT=\"pl_PL.utf8\"\r\nLC_IDENTIFICATION=\"pl_PL.utf8\"\r\nLC_ALL=\r\n```\r\n\r\n\r\n### Visuals\r\n\r\nnone.","author":{"url":"https://github.com/xgqt","@type":"Person","name":"xgqt"},"datePublished":"2023-12-16T20:21:54Z","url":"https://github.com/PowerShell/PowerShell/issues/20941"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cb1b976b-ea6d-c6bd-8894-c68303ea81d2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE2B4:C816B:AD6DA0:F38B3A:6AFDD000
html-safe-nonce59c019ff1e636d73952f4a0ab0a106ca0ce5f7ac575043d99051bd8f056500e4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkI0OkM4MTZCOkFENkRBMDpGMzhCM0E6NkFGREQwMDAiLCJ2aXNpdG9yX2lkIjoiMTU1MzU4MjkzMjY1MzM4MzY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6e4854283aed717795bf28103cfbd2bfeaddacc6642527c3500ea83b51b9888b
hovercard-subject-tagissue:2044947316
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/20941/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4073008a3939a9e9fab82a508492e20e1161b94de8a051ae980a98face54ebe8/PowerShell/PowerShell/issues/20941
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4073008a3939a9e9fab82a508492e20e1161b94de8a051ae980a98face54ebe8/PowerShell/PowerShell/issues/20941
og:image:altPrerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamexgqt
hostnamegithub.com
expected-hostnamegithub.com
None26886a40b582b821a7a76351e0a2f42b6d6160854b6e2520db24f31fd7be5da7
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release68ebaa631a1d248d69ebde4b9c5defd3a19aeb2f
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/20941#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F20941
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F20941
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/20941
Reloadhttps://github.com/PowerShell/PowerShell/issues/20941
Reloadhttps://github.com/PowerShell/PowerShell/issues/20941
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests366 (366)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/20941
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/20941
PowerShell build fails on GNU/Linux systems without the en_US localehttps://github.com/PowerShell/PowerShell/issues/20941#top
Needs-ReproThe issue author needs to provide repro steps.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Repro%22
https://github.com/xgqt
Maciej Barć (xgqt)https://github.com/xgqt
on Dec 16, 2023https://github.com/PowerShell/PowerShell/issues/20941#issue-2044947316
latest released versionhttps://github.com/PowerShell/PowerShell/releases
FAQhttps://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md
Differences between Windows PowerShell 5.1 and PowerShellhttps://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell
Maciej Barć (xgqt)https://github.com/xgqt
Needs-TriageThe issue is new and needs to be triaged by a work group.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
on Dec 16, 2023https://github.com/PowerShell/PowerShell/issues/20941#event-11266562338
Larry the Cow (gentoo-bot)https://github.com/gentoo-bot
on Dec 16, 2023https://github.com/PowerShell/PowerShell/issues/20941#event-11266662039
app-shells/pwsh: no WarningLevel, switch to en_US, misc tweakshttps://github.com/gentoo/gentoo/commit/e9606837f04d623e6d5b00d790dcb8e82b1d8e45
e960683https://github.com/gentoo/gentoo/commit/e9606837f04d623e6d5b00d790dcb8e82b1d8e45
Giuseppe Foti (MocioF)https://github.com/MocioF
on Dec 17, 2023https://github.com/PowerShell/PowerShell/issues/20941#event-11268066330
app-shells/pwsh: no WarningLevel, switch to en_US, misc tweakshttps://github.com/MocioF/gentoo/commit/3d84444dab82f86d8f48bc0e4d972cb68680a822
3d84444https://github.com/MocioF/gentoo/commit/3d84444dab82f86d8f48bc0e4d972cb68680a822
https://github.com/StevenBucher98
Steven Bucher (StevenBucher98)https://github.com/StevenBucher98
on Dec 18, 2023https://github.com/PowerShell/PowerShell/issues/20941#issuecomment-1861425617
Maciej Barć (@xgqt)https://github.com/xgqt
Steven Bucher (StevenBucher98)https://github.com/StevenBucher98
Needs-ReproThe issue author needs to provide repro steps.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Repro%22
Needs-TriageThe issue is new and needs to be triaged by a work group.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
on Dec 18, 2023https://github.com/PowerShell/PowerShell/issues/20941#event-11280820938
https://github.com/xgqt
Maciej Barć (xgqt)https://github.com/xgqt
on Dec 18, 2023https://github.com/PowerShell/PowerShell/issues/20941#issuecomment-1861854224
Steven Bucher (@StevenBucher98)https://github.com/StevenBucher98
https://bugs.gentoo.org/920202https://bugs.gentoo.org/920202
https://github.com/PowerShell/PowerShell/issues/images/favicon.ico
920202 – dev-dotnet/dotnet-sdk-8.0.100-r1 - build failedhttps://bugs.gentoo.org/920202
https://github.com/rkeithhill
Keith Hill (rkeithhill)https://github.com/rkeithhill
on Dec 20, 2023https://github.com/PowerShell/PowerShell/issues/20941#issuecomment-1863751791
Maciej Barć (@xgqt)https://github.com/xgqt
https://github.com/PowerShell/PowerShell/blob/master/docs/building/internals.mdhttps://github.com/PowerShell/PowerShell/blob/master/docs/building/internals.md
https://github.com/PowerShell/PowerShell/blob/master/docs/building/linux.mdhttps://github.com/PowerShell/PowerShell/blob/master/docs/building/linux.md
https://github.com/xgqt
Maciej Barć (xgqt)https://github.com/xgqt
on Dec 20, 2023https://github.com/PowerShell/PowerShell/issues/20941#issuecomment-1864331533
Maciej Barć (@xgqt)https://github.com/xgqt
https://github.com/PowerShell/PowerShell/blob/master/docs/building/internals.mdhttps://github.com/PowerShell/PowerShell/blob/master/docs/building/internals.md
https://github.com/PowerShell/PowerShell/blob/master/docs/building/linux.mdhttps://github.com/PowerShell/PowerShell/blob/master/docs/building/linux.md
Keith Hill (@rkeithhill)https://github.com/rkeithhill
https://github.com/PowerShell/PowerShell/blob/master/build.psm1#L3422C10-L3422C27https://github.com/PowerShell/PowerShell/blob/master/build.psm1#L3422C10-L3422C27
PowerShell/tools/ci.psm1https://github.com/PowerShell/PowerShell/blob/2ad03151f8c48c3a144d9af51ed569eff2abe4ea/tools/ci.psm1#L226
2ad0315https://github.com/PowerShell/PowerShell/commit/2ad03151f8c48c3a144d9af51ed569eff2abe4ea
12dbdd9https://github.com/PowerShell/PowerShell/commit/12dbdd9f05ff32e4d42e923e13a21894ce3e1c73
Rob Holt (@rjmholt)https://github.com/rjmholt
Adam Driscoll (@adamdriscoll)https://github.com/adamdriscoll
https://github.com/rkeithhill
Keith Hill (rkeithhill)https://github.com/rkeithhill
on Dec 20, 2023https://github.com/PowerShell/PowerShell/issues/20941#issuecomment-1864781573
PRhttps://github.com/PowerShell/PowerShell/pull/16067
https://github.com/xgqt
Maciej Barć (xgqt)https://github.com/xgqt
on Dec 20, 2023https://github.com/PowerShell/PowerShell/issues/20941#issuecomment-1864896269
…https://github.com/PowerShell/PowerShell/issues/20941
#16067https://github.com/PowerShell/PowerShell/pull/16067
#20941 (comment)https://github.com/PowerShell/PowerShell/issues/20941#issuecomment-1864781573
https://github.com/xgqt
Maciej Barć (xgqt)https://github.com/xgqt
on Dec 20, 2023https://github.com/PowerShell/PowerShell/issues/20941#issuecomment-1865114683
dotnet/msbuild#9449https://github.com/dotnet/msbuild/pull/9449
Maciej Barć (xgqt)https://github.com/xgqt
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 20, 2023https://github.com/PowerShell/PowerShell/issues/20941#event-11307269517
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Dec 20, 2023https://github.com/PowerShell/PowerShell/issues/20941#issuecomment-1865114825
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
Maciej Barć (@xgqt)https://github.com/xgqt
https://aka.ms/PSRepoFeedbackhttps://aka.ms/PSRepoFeedback
Microsoft Formshttps://aka.ms/PSRepoFeedback
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/20941
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/20941
Needs-ReproThe issue author needs to provide repro steps.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Repro%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.