/opt/dotnet-sdk-bin-7.0/sdk/7.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateAssemblyInfo.targets(209,5): error MSB4044: The "GetAssemblyVersion" task was not given a value for the required parameter "NuGetVersion". [/var/tmp/portage/app-shells/pwsh-7.3.6/work/pwsh-7.3.6/src/System.Management.Automation/System.Management.Automation.csproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:02.13 * ERROR: app-shells/pwsh-7.3.6::gentoo failed (compile phase): * Failed to run command: dotnet-bin-7.0 build --configuration Release --no-restore --no-self-contained --output /var/tmp/portage/app-shells/pwsh-7.3.6/work/pwsh-7.3.6_net7.0_Release --runtime linux-x64 -maxCpuCount:5 /var/tmp/portage/app-shells/pwsh-7.3.6/work/pwsh-7.3.6/src/powershell-unix/powershell-unix.csproj -p:StripSymbols=true -p:NativeDebugSymbols=false -p:WarningLevel=1 * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-20230910-050004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 16.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.6 Python 3.11.5 Available Rust versions: [1] rust-bin-1.72.0 * The following VMs are available for generation-2: 1) OpenJDK 17.0.7_p7 [openjdk-17] 2) Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17] *) Eclipse Temurin JRE 17.0.7_p7 [openjdk-jre-bin-17] 4) Eclipse Temurin JRE 8.372_p07 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] openjdk-17 [2] openjdk-bin-17 [3] openjdk-jre-bin-8 [4] openjdk-jre-bin-17 system-vm php cli (if any): go version go1.21.1 linux/amd64 HEAD of ::gentoo commit 4d8b851ba802a82f0dd3fc13b72c30d5047bae78 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Sep 16 09:46:41 2023 +0000 2023-09-16 09:46:40 UTC emerge -qpvO app-shells/pwsh [ebuild N ] app-shells/pwsh-7.3.6 USE="-debug"
Created attachment 870734 [details] emerge-info.txt
Created attachment 870735 [details] app-shells:pwsh-7.3.6:20230916-104951.log
Created attachment 870736 [details] emerge-history.txt.xz
Created attachment 870737 [details] environment
Created attachment 870738 [details] etc.clang.tar.xz
Created attachment 870739 [details] etc.portage.tar.xz
The file size of ./files/temp.tar.xz is too big (498M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.1_desktop_plasma_systemd-20230910-050004/var/tmp/tb/issues/20230916-105153-app-shells_pwsh-7.3.6/files/temp.tar.xz is valid.
@Tor(In reply to Toralf Förster from comment #7) > The file size of ./files/temp.tar.xz is too big (498M) for an upload. For > few weeks the link > http://tinderbox.zwiebeltoralf.de:31560/17.1_desktop_plasma_systemd-20230910- > 050004/var/tmp/tb/issues/20230916-105153-app-shells_pwsh-7.3.6/files/temp. > tar.xz is valid. I had a similar error but also had the following lines in the build failure logs: /usr/bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) /usr/bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) /usr/bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) /usr/bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) /usr/bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) /usr/bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) /usr/bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) I fixed it by adding 'en_US.UTF-8 UTF-8' to /etc/locale.gen and running locale-gen
(In reply to Jesse Harris from comment #8) > @Tor(In reply to Toralf Förster from comment #7) > > The file size of ./files/temp.tar.xz is too big (498M) for an upload. For > > few weeks the link > > http://tinderbox.zwiebeltoralf.de:31560/17.1_desktop_plasma_systemd-20230910- > > 050004/var/tmp/tb/issues/20230916-105153-app-shells_pwsh-7.3.6/files/temp. > > tar.xz is valid. > > I had a similar error but also had the following lines in the build failure > logs: > > /usr/bin/sh: line 1: warning: setlocale: LC_ALL: cannot change locale > (en_US.UTF-8) > > I fixed it by adding 'en_US.UTF-8 UTF-8' to /etc/locale.gen and running > locale-gen Did the build pass correctly after you set the locale that .NET build wanted?
For some reasons it seems that the tar command to collect build aretfaccs hangs for $workdir/../.. w/o any log message or so
(In reply to Toralf Förster from comment #10) > For some reasons it seems that the tar command to collect build aretfaccs > hangs for $workdir/../.. w/o any log message or so it seems not to hang for tar if the portage temp dir is NOT a tmpfs. FWIW I meant this tar invocation: https://github.com/toralf/tinderbox/blob/main/bin/job.sh#L235
My guess is that Microsoft.NET.GenerateAssemblyInfo.targets wants to force English locale. Similar bug report: https://gitlab.gentoo.org/dotnet/gentoo-dotnet-2023/-/issues/2
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9606837f04d623e6d5b00d790dcb8e82b1d8e45 commit e9606837f04d623e6d5b00d790dcb8e82b1d8e45 Author: Maciej Barć <xgqt@gentoo.org> AuthorDate: 2023-12-16 21:40:24 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2023-12-16 21:44:59 +0000 app-shells/pwsh: no WarningLevel, switch to en_US, misc tweaks Bug: https://bugs.gentoo.org/914292 Bug: https://github.com/PowerShell/PowerShell/issues/20941 Signed-off-by: Maciej Barć <xgqt@gentoo.org> .../pwsh/files/pwsh-7.4.0-disable-telemetry.patch | 47 ++++++++++++++++++++++ app-shells/pwsh/pwsh-7.4.0.ebuild | 45 ++++++++++----------- 2 files changed, 69 insertions(+), 23 deletions(-)