Open ader1990 opened 1 day ago
Hello @ader1990, You are likely trying to build sources that are behind the main branch. We recently moved the public feed to a new location, and the old feed was retired. Please check this configuration: https://github.com/microsoft/BuildXL/blob/e74ec9e69f90231a62ee097a86678e209c3fab1b/config.dsc#L58
The new feed should be this one .
Hello @ader1990, You are likely trying to build sources that are behind the main branch. We recently moved the public feed to a new location, and the old feed was retired. Please check this configuration:
Line 58 in e74ec9e
"buildxl-selfhost" : "https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/BuildXL.External.Dependencies/nuget/v3/index.json", The new feed should be this one .
The thing is that the error I got was while trying to build dotnet stable branch 8.0.xx from source, so by retiring those sources, this means that the current or older stable branches for dotnet 8 will not be buildable anymore? Maybe you can ask the actual owner of those older links to redirect those links so that the builds from source work again?
Sorry, maybe I'm not getting the scenario. dotnet 8 and BuildXL sources shouldn't be connected in any way. Are you trying to build BuildXL from sources so then you can build dotnet 8 from sources with BuildXL? I think your problem should go away if you sync your BuildXL sources against main.
Hello, @smera.
The problem is that one cannot fix a tagged release of dotnet, as it is frozen.
How to reproduce the error:
docker run --rm -it -v vmr:/vmr -w /vmr mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8
# inside the docker container
git clone https://github.com/dotnet/dotnet
cd dotnet/
git checkout tags/v8.0.10
./prep.sh
./build.sh --online --clean-while-building -- /v:n /p:ContinueOnPrebuiltBaselineError=true /p:MinimalConsoleLogOutput=false /p:SkipPortableRuntimeBuild=true
If I do a git checkout release/8.0.1xx
, the error goes away, as the branch was fixed.
The problem is that the dotnet tag tags/v8.0.10
, which was released a month ago cannot be built anymore, as it fails with the error shown above: 401 (Unauthorized)
.
Full error:
/vmr2/dotnet/.dotnet/sdk/8.0.108/NuGet.targets(156,5): error : Unable to load the service index for source https://pkgs.dev.azure.com/ms/BuildXL/_packaging/BuildXL/nuget/v3/index.json. [/vmr2/dotnet/artifacts/source-built-sdks/Microsoft.DotNet.Arcade.Sdk/tools/Tools.proj]
/vmr2/dotnet/.dotnet/sdk/8.0.108/NuGet.targets(156,5): error : Response status code does not indicate success: 401 (Unauthorized). [/vmr2/dotnet/artifacts/source-built-sdks/Microsoft.DotNet.Arcade.Sdk/tools/Tools.proj]
The just-merged https://github.com/dotnet/msbuild/pull/10838 will fix this forward but I don't think there's a way we can repair old tags.
Hello,
I am getting errors
401 (Unauthorized)
for the following links that are used in the building process from source of BuildXL:Thank you.