From aa5f0de66338362733231c311a2c642a42bfd163 Mon Sep 17 00:00:00 2001 From: AlmaLinux RelEng Bot Date: Mon, 1 Jun 2026 00:05:04 -0400 Subject: [PATCH] import UBI dotnet10.0-10.0.108-1.el10_2 --- .gitignore | 2 +- dotnet-10.0.106.tar.gz.sig | 17 ------------ dotnet-10.0.108.tar.gz.sig | 17 ++++++++++++ dotnet10.0.spec | 54 +++++++++++++++++++++++++++++--------- release.json | 14 +++++----- sources | 2 +- 6 files changed, 68 insertions(+), 38 deletions(-) delete mode 100644 dotnet-10.0.106.tar.gz.sig create mode 100644 dotnet-10.0.108.tar.gz.sig diff --git a/.gitignore b/.gitignore index 13f14ef..a11759a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -dotnet-10.0.106.tar.gz +dotnet-10.0.108.tar.gz diff --git a/dotnet-10.0.106.tar.gz.sig b/dotnet-10.0.106.tar.gz.sig deleted file mode 100644 index 9cc7055..0000000 --- a/dotnet-10.0.106.tar.gz.sig +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: BSN Pgp v1.0.0.0 - -iQIcBAABCAAGBQJpxPBVAAoJEP2/U8JNtIcuSLMQAL9K6DxNfduoHtr6MXnpBEsX -9woFxBRHiMn6HBxVlFLPYtNxHLt8vrFncbF0LtgQDSPai7mVKtT4dl9BgeuF2YUx -5D78S0v5st48ox+Z361XbcUyh0/q6fRn40fgLWZJ9vpyQqdI2q1EbEUocS3wPuBx -KNLJhgLGli8mZH05xuk1181j8DcJIkhREcPFxdWoT6t5QXMOuG73gJFF4/dOAZRU -pH1P5Qxbu7AnOVYvMMcr4zAbB8Af1nI2YbOm1rWL7ardRp+E3HwMgiKjLVy6+Jrm -1jfaR1fe+WeCv+W3CUDwsKEsms84xiXZgCgUUKBmNJcckhlvE053zbkuS+himHMP -00Xd7MvX48xb/lz86uTZmjAOW2uc7fQW802qJRb3VReNuEraMokvpIvr6YlHwqYo -wZTEg98oGw5ec+nTUnmXaSWxge0wpNg5ufhoIk2vc4PlqyfgI3op+gVpyqrxacuA -JdKu+FpSPhMeHLLyrysRdbKTJuvlHDwE/OCS75p+nc3+gyoAizPIIicr2Jj16PUz -42wki+hJHj6E6sX/J9axxcXSUSMg5t6JuLpzkEAlFcUOKqiA7lgrCdHEVetTGGqz -uJTmceigwTA9qiqapbSUDLKQ37wcjAtMkRjp5voMUTDz8PZsJqyFbNvQDE+4xEkE -TJcrFn3qMeJ2LG7ZllJH -=OEzr ------END PGP SIGNATURE----- diff --git a/dotnet-10.0.108.tar.gz.sig b/dotnet-10.0.108.tar.gz.sig new file mode 100644 index 0000000..5105d7a --- /dev/null +++ b/dotnet-10.0.108.tar.gz.sig @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: BSN Pgp v1.0.0.0 + +iQIcBAABCAAGBQJp8rQBAAoJEP2/U8JNtIcuMlYP/0TQdelVIdvnVh4HHZKwESOT +RRgIjBn2Z4ahl7EsBFzH4+vSd2Znk5om5HnYrhW22GoKdt392pmEenX6LfERiHGp +YXIlIEV1KRYr71wmYgMSp8uRcKPmDtKqz3H6WjVp0czizs3Irq7usUFmndoJO4Br +JeXEmJDS/APTIePZPdqHsUwxEXpZ25TIrwNF0RfQYAH7jpPwObpuFMepSV9RU2KG +ue1zgm3NifggvSQPOZetahBmF9fgzdQdBZuVHbOzCB1kt4E1jWbfflwMPSQACmUH +PHO52RDeE0ztrhryyYBqPEUvnZ+brU5/Sv1X0qBGZxYtYabc0RxqkTAeaN3UoB1l +N9DfX5PLqAhPLuCH4HOtUac5VpLFET0WUhkD+qjjWhDEA/6uGXQRy8fF04+qWYHo +S1P5Avk8MWidaejzJ7FjYBKH8G6kXG0AzqxrtGRlEIqmEwFxzi9jXmWq1FSGjGdW +eGgz9aTaG9RYnkEjtmLkGayOZ5Kd45wB7qZ7Tu2kgXOMEdj/otdV97Pcu6EKSSZN +xN6agmA5U+fjg3ct1xy2Dgr7KIh7cCRMoDNWYv8AsuHKUb9CRIr/BfsEBqh5bH6Y +TpRX6OFHjXSbRokg0GQQSp7CLO4VnV0+2RcRYX4yPBOHS4Z7o/xxsmKgrxuIaofZ +9Ba3nUgPqGD2I38cUbxB +=WNqQ +-----END PGP SIGNATURE----- diff --git a/dotnet10.0.spec b/dotnet10.0.spec index 29176f6..594f970 100644 --- a/dotnet10.0.spec +++ b/dotnet10.0.spec @@ -14,13 +14,13 @@ # upstream can produce releases with a different tag than the SDK version #%%global upstream_tag v%%{runtime_version} -%global upstream_tag v10.0.106 +%global upstream_tag v10.0.108 %global upstream_tag_without_v %(echo %{upstream_tag} | sed -e 's|^v||') %global hostfxr_version %{runtime_version} -%global runtime_version 10.0.6 -%global aspnetcore_runtime_version 10.0.6 -%global sdk_version 10.0.106 +%global runtime_version 10.0.8 +%global aspnetcore_runtime_version 10.0.8 +%global sdk_version 10.0.108 %global sdk_feature_band_version %(echo %{sdk_version} | cut -d '-' -f 1 | sed -e 's|[[:digit:]][[:digit:]]$|00|') %global templates_version %{aspnetcore_runtime_version} #%%global templates_version %%(echo %%{runtime_version} | awk 'BEGIN { FS="."; OFS="." } {print $1, $2, $3+1 }') @@ -77,7 +77,7 @@ Name: dotnet%{dotnetver} Version: %{sdk_rpm_version} -Release: 2%{?dist} +Release: 1%{?dist} Summary: .NET Runtime and SDK License: 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib @@ -158,6 +158,7 @@ BuildRequires: lttng-ust-devel %endif BuildRequires: make BuildRequires: openssl-devel +BuildRequires: procps-ng BuildRequires: python3 %if ! %{use_bundled_rapidjson} BuildRequires: rapidjson-devel @@ -559,12 +560,14 @@ rm -r src/runtime/src/native/external/zlib-ng %build +cat /proc/cpuinfo +cat /proc/meminfo cat /etc/os-release %if %{without bootstrap} # We need to create a copy because build scripts will mutate this cp -a %{_libdir}/dotnet previously-built-dotnet -find previously-built-dotnet +#find previously-built-dotnet %endif %if 0%{?fedora} || 0%{?rhel} >= 9 @@ -621,6 +624,14 @@ export EXTRA_CFLAGS="$CFLAGS" export EXTRA_CXXFLAGS="$CXXFLAGS" export EXTRA_LDFLAGS="$LDFLAGS" +# In some build environments, the build environment is shared across multiple +# packages. We need to be careful not to consume all the resources of the +# entire system. If we do, we might get killed by OOM killer. +%ifarch ppc64le s390x # TODO: conditionalize on konflux too +export DOTNET_PROCESSOR_COUNT=4 +export DOTNET_GCHeapHardLimit=0x400000000 +%endif + # Disable tracing, which is incompatible with certain versions of # lttng See https://github.com/dotnet/runtime/issues/57784. The # suggested compile-time change doesn't work, unfortunately. @@ -651,11 +662,11 @@ system_libs= %endif %ifarch ppc64le s390x -max_attempts=3 +max_attempts=5 timeout=5h %else max_attempts=3 -timeout=120m +timeout=2.5h %endif function retry_until_success { @@ -690,25 +701,34 @@ find -depth -name 'artifacts' -type d -print -exec rm -rf {} \; %ifarch %{mono_archs} --use-mono-runtime \ %endif + --clean-while-building \ -- \ /p:UseSystemLibs=${system_libs} \ /p:TargetRid=%{runtime_id} \ /p:OfficialBuilder="$vendor" \ - /p:MinimalConsoleLogOutput=false \ /p:ContinueOnPrebuiltBaselineError=true \ - /v:n \ - /p:LogVerbosity=n + #/v:n \ + #/p:LogVerbosity=n \ + #/p:MinimalConsoleLogOutput=false \ + + EOF chmod +x dotnet-rpm-build.sh VERBOSE=1 retry_until_success $max_attempts \ timeout $timeout \ - ./dotnet-rpm-build.sh + ./dotnet-rpm-build.sh || { cat /proc/cpuinfo; cat /proc/meminfo; env; exit 1; } +# Kill any leftover processes +pgrep -x dotnet -u "$UID" -a +pkill -x dotnet -u "$UID" +pkill -x VBCSCompiler -u "$UID" sed -e 's|[@]LIBDIR[@]|%{_libdir}|g' %{SOURCE102} > dotnet.sh +env +ps aux %install @@ -808,6 +828,7 @@ find %{buildroot}%{_libdir}/dotnet/sdk -type f -name '*.pdb' | sed -E 's|%{buil # delete files, we will not have everything we need to self-test in %%check. %{buildroot}%{_libdir}/dotnet/dotnet --info %{buildroot}%{_libdir}/dotnet/dotnet --version +ps aux # Provided by dotnet-host from another SRPM rm %{buildroot}%{_libdir}/dotnet/LICENSE.txt @@ -826,6 +847,7 @@ export COMPlus_LTTng=0 %if %{is_latest_dotnet} %{buildroot}%{_libdir}/dotnet/dotnet --info %{buildroot}%{_libdir}/dotnet/dotnet --version +ps aux %endif @@ -915,6 +937,14 @@ export COMPlus_LTTng=0 %changelog +* Wed May 06 2026 Omair Majid - 10.0.108-1 +- Update to .NET SDK 10.0.108 and Runtime 10.0.8 +- Resolves: RHEL-173909 + +* Wed Apr 22 2026 Omair Majid - 10.0.106-3 +- Adjust build limits +- Resolves: RHEL-169518 + * Fri Apr 17 2026 Omair Majid - 10.0.106-2 - Update to .NET SDK 10.0.106 and Runtime 10.0.6 - Resolves: RHEL-163387 diff --git a/release.json b/release.json index 8ebf128..0251f1b 100644 --- a/release.json +++ b/release.json @@ -1,11 +1,11 @@ { - "release": "10.0.6", + "release": "10.0.8", "channel": "10.0", - "tag": "v10.0.106", - "sdkVersion": "10.0.106", - "runtimeVersion": "10.0.6", - "aspNetCoreVersion": "10.0.6", + "tag": "v10.0.108", + "sdkVersion": "10.0.108", + "runtimeVersion": "10.0.8", + "aspNetCoreVersion": "10.0.8", "sourceRepository": "https://github.com/dotnet/dotnet", - "sourceVersion": "47fb725acf5d7094af51aebbb5b7e5c44a3b2a77", - "officialBuildId": "20260326.1" + "sourceVersion": "94ea82652cdd4e0f8046b5bd5becbd11461482ca", + "officialBuildId": "20260429.19" } diff --git a/sources b/sources index 648cb9c..995d6a3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dotnet-10.0.106.tar.gz) = 82738c17137723cd3a326d3c71a08dc705710f4a2d63ddc689788e1c8555720e706e416511c3bd880be589b297baff33b4465ee08db1ab8d85a2c956ecaefc41 +SHA512 (dotnet-10.0.108.tar.gz) = a48d120f3466c2ad3b7e203b313bc7aa943ff9ce9c55697fc791f28aa025ea8b31cadb6bd4040122e929f9fd31a56ac28c9d8fff4e3fd888e05040ea9c7b6471