/opt/dotnet-sdk-bin-6.0/sdk/6.0.404/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(176,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/var/tmp/portage/dev-dotnet/csharp-language-server-0.5.7/work/csharp-language-server-0.5.7/src/CSharpLanguageServer/CSharpLanguageServer.fsproj] 1 Warning(s) 1 Error(s) Time Elapsed 00:00:07.84 [ !! ] * ERROR: dev-dotnet/csharp-language-server-0.5.7::gentoo failed (compile phase): * Failed to run command: dotnet build --configuration Release --no-restore --no-self-contained --nologo --output /var/tmp/portage/dev-dotnet/csharp-language-server-0.5.7/work/csharp-language-server-0.5.7_net6.0_Release/csharp-language-server -maxCpuCount:4 -p:TargetFramework=net6.0 /var/tmp/portage/dev-dotnet/csharp-language-server-0.5.7/work/csharp-language-server-0.5.7/src * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib-j4-20230105-030026 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.6 Python 3.10.9 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby31 (with Rubygems) * Available Rust versions: [1] rust-1.66.0 * The following VMs are available for generation-2: 1) OpenJDK 17.0.5_p8 [openjdk-17] *) Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-17 [2] openjdk-bin-8 [3] openjdk-bin-17 system-vm php cli (if any): HEAD of ::gentoo commit f22e647b91dfe14859cb9e48d93f05859471193e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Jan 8 22:32:06 2023 +0000 2023-01-08 22:32:05 UTC emerge -qpvO dev-dotnet/csharp-language-server [ebuild N ] dev-dotnet/csharp-language-server-0.5.7 USE="-debug"
Created attachment 848022 [details] emerge-info.txt
Created attachment 848023 [details] dev-dotnet:csharp-language-server-0.5.7:20230108-234401.log
Created attachment 848024 [details] emerge-history.txt.bz2
Created attachment 848025 [details] environment
Created attachment 848026 [details] etc.clang.tar.bz2
Created attachment 848027 [details] etc.portage.tar.bz2
Created attachment 848028 [details] temp.tar.bz2
> The process cannot access the file > '/var/tmp/portage/[...]/CSharpLanguageServer.deps.json' > because it is being used by another process. This is a rare error but it does not only happen with this package. Unfortunately I was not able to determine why sometimes `dotnet build` will fail like that for some packages, it might be caused by setting maxCpuCount, but on the other hand I had experienced failures when this was not set.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97507709fff2f771860fce20b46bc95688d8f1e7 commit 97507709fff2f771860fce20b46bc95688d8f1e7 Author: Maciej Barć <xgqt@gentoo.org> AuthorDate: 2023-02-13 21:57:23 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2023-02-13 22:42:40 +0000 dev-dotnet/csharp-language-server: disable parallel build Closes: https://bugs.gentoo.org/890297 Signed-off-by: Maciej Barć <xgqt@gentoo.org> .../csharp-language-server/csharp-language-server-0.5.7.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)