sec / dotnet-core-freebsd-source-build

Collection of script to build .NET Core under FreeBSD OS (with binary releases)
MIT License
53 stars 4 forks source link

build_runtime.sh fails on main branch: The repository countersignature validity period has expired #12

Closed ajensenwaud closed 2 years ago

ajensenwaud commented 2 years ago

I have checked out the main branch and try to compile the solution on FreeBSD 13.1-RELEASE.

[snip]
/usr/home/aj/dotnet-core-freebsd-source-build/runtime/src/coreclr/System.Private.CoreLib/System.Private.CoreLib.csproj : error NU3037: Package 'StyleCop.Analyzers.Unstable 1.2.0.304' from source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json': The repository primary signature validity period has expired. [/usr/home/aj/dotnet-core-freebsd-source-build/runtime/Build.proj]
/usr/home/aj/dotnet-core-freebsd-source-build/runtime/src/coreclr/.nuget/coreclr-packages.proj : error NU3037: Package 'StyleCop.Analyzers 1.2.0-beta.304' from source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json': The repository primary signature validity period has expired. [/usr/home/aj/dotnet-core-freebsd-source-build/runtime/Build.proj]
/usr/home/aj/dotnet-core-freebsd-source-build/runtime/src/coreclr/.nuget/coreclr-packages.proj : error NU3037: Package 'StyleCop.Analyzers.Unstable 1.2.0.304' from source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json': The repository primary signature validity period has expired. [/usr/home/aj/dotnet-core-freebsd-source-build/runtime/Build.proj]
/usr/home/aj/dotnet-core-freebsd-source-build/runtime/src/coreclr/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.proj : error NU3037: Package 'StyleCop.Analyzers 1.2.0-beta.304' from source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json': The repository primary signature validity period has expired. [/usr/home/aj/dotnet-core-freebsd-source-build/runtime/Build.proj]
/usr/home/aj/dotnet-core-freebsd-source-build/runtime/src/coreclr/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.proj : error NU3037: Package 'StyleCop.Analyzers 1.2.0-beta.304' from source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json': The repository primary signature validity period has expired. [/usr/home/aj/dotnet-core-freebsd-source-build/runtime/Build.proj]
/usr/home/aj/dotnet-core-freebsd-source-build/runtime/src/coreclr/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.proj : error NU3037: Package 'StyleCop.Analyzers.Unstable 1.2.0.304' from source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json': The repository primary signature validity period has expired. [/usr/home/aj/dotnet-core-freebsd-source-build/runtime/Build.proj]
/usr/home/aj/dotnet-core-freebsd-source-build/runtime/src/coreclr/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.proj : error NU3037: Package 'StyleCop.Analyzers.Unstable 1.2.0.304' from source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json': The repository primary signature validity period has expired. [/usr/home/aj/dotnet-core-freebsd-source-build/runtime/Build.proj]
/usr/home/aj/dotnet-core-freebsd-source-build/runtime/src/coreclr/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.proj : error NU3037: Package 'StyleCop.Analyzers 1.2.0-beta.304' from source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json': The repository primary signature validity period has expired. [/usr/home/aj/dotnet-core-freebsd-source-build/runtime/Build.proj]
/usr/home/aj/dotnet-core-freebsd-source-build/runtime/src/coreclr/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.proj : error NU3037: Package 'StyleCop.Analyzers.Unstable 1.2.0.304' from source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json': The repository primary signature validity period has expired. [/usr/home/aj/dotnet-core-freebsd-source-build/runtime/Build.proj]
/usr/home/aj/dotnet-core-freebsd-source-build/runtime/Build.proj : error NU3037: Package 'StyleCop.Analyzers 1.2.0-beta.304' from source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json': The repository primary signature validity period has expired.
/usr/home/aj/dotnet-core-freebsd-source-build/runtime/Build.proj : error NU3037: Package 'StyleCop.Analyzers.Unstable 1.2.0.304' from source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json': The repository primary signature validity period has expired.
    2 Warning(s)
    5423 Error(s)

Time Elapsed 00:04:23.40
Build failed with exit code 1. Check errors above.
##vso[task.complete result=Failed;]msbuild execution failed.

Do the package references need to be updated? It seems the current main branch points to an old beta version of .NET 6.0.

ajensenwaud commented 2 years ago

Sorry didn't see your previous post.