Commit Graph

344 Commits

Author SHA1 Message Date
Alejandro Sáez
9ad1a464ad Default to ld.bfd on ARM64
Until now, Go defaulted to ld.gold, but now, the binutils package is
deprecating gold in favor of ld.bfd.

Resolves: RHEL-49036
2024-07-16 15:16:04 -04:00
Archana
dbc9518e2b - Rebase to Go1.22.5 to address CVE-2024-24791
- Resolves: RHEL-46971
2024-07-11 16:41:05 +05:30
Troy Dawson
7b3d933eb2 Bump release for June 2024 mass rebuild 2024-06-24 08:44:50 -07:00
Archana
4e661dba18 - Rebase to Go1.22.4
- Resolves: RHEL-40155
2024-06-06 18:08:39 +05:30
Alejandro Sáez
94916d7b59 Update RHEL10 go.env to use power9 ISA on PPC64LE
The previous patch was not right.

Resolves: RHEL-32658
2024-06-05 14:02:51 +02:00
Derek Parker
0a2871b104 Update openssl backend
Resolves: RHEL-36100
2024-05-30 19:59:52 -04:00
Derek Parker
3de7cf0394 Restore HashSign / HashVerify API
Resolves: RHEL-35882
2024-05-23 21:41:14 -04:00
Alejandro Sáez
1b54720e99 Update to Go 1.22.3
Remove re-enable-cgo patch, it's already included in upstream

Resolves: RHEL-35629
Resolves: RHEL-35882
Resolves: RHEL-35074
2024-05-22 18:06:22 +02:00
Alejandro Sáez
fff4ad9ce8 Renaming patch
There was an issue during an update and another version of a patch was
introduced by mistake. GOPROXY, GOSUMDB and the baseline ISA for PPC64
were modified by this change.

This commit overrides the "bad" patch with the "good" one. And also
deletes an old unused patch.

Related: RHEL-34085
Related: RHEL-32658
2024-05-17 13:19:15 +02:00
Alejandro Sáez
64ba02b281 Add RHEL version to the go version command
Resolves: RHEL-34018
2024-05-14 06:22:23 +00:00
Archana
c9d6351079 - Corrected golang.spec to use --no-backup-if-mismatch to avoid creating .orig files
- Resolves: RHEL-34671
2024-05-14 06:53:24 +05:30
Edjunior Machado
aa99fe1654 Add rpminspect.yaml
Related: RHEL-29526
2024-05-10 12:39:43 +00:00
Alejandro Sáez
d4d71947ad Include go.env in the root
Commit b3c52a9 (Set the baselines for AMD64 and PPC64LE, 2024-04-10)

When the baselines where added go.env was not included so the change was
not really applied. This should fix it.

Related: RHEL-32658
Related: RHEL-32660
Related: RHEL-34008
Related: RHEL-34236
2024-05-10 12:30:36 +00:00
Edjunior Machado
6cd70a81da gating.yaml: Add gating config for rhel-10
Related: RHEL-29526
2024-05-10 12:27:45 +00:00
Archana
4c5ee73cdc - Modified golang.spec to delete intermediate .orig files that create issues in the build
- Resolves: RHEL-34671
2024-05-08 13:15:00 +05:30
Archana
b0a81b3e63 - Updated Go version to 1.22.2
- Resolves: RHEL-29526
2024-04-22 23:25:11 +05:30
Alejandro Sáez
b3c52a9541 Set the baselines for AMD64 and PPC64LE
Resolves: RHEL-32658
Resolves: RHEL-32660
2024-04-12 13:54:02 +02:00
Archana
09ec712f35 - Fix mockbuild error: Had missed running centpkg new-sources
- Resolves: RHEL-29526
2024-04-08 17:45:39 +05:30
Archana
029e177678 - Bumped pkg_release to 2
- Rebase to Go1.22.1
- Resolves RHEL-29526
2024-04-01 14:23:41 +05:30
Archana
887c3dbef0 - Rebase to Go1.22.1
- Resolves RHEL-29526
2024-03-25 22:23:04 +05:30
Alejandro Sáez
21dcfead0c Add indications in the tests 2023-11-09 12:15:49 +01:00
Alejandro Sáez
335d81de5f Convert to %autorelease and %autochangelog
[skip changelog]
2023-11-08 17:37:30 +01:00
Alejandro Sáez
7dae2191e8 Fix typos 2023-11-08 17:37:28 +01:00
Alejandro Sáez
0465580ff3 Update to Go 1.21.3
- Update bundled-deps.sh to generate a proper output.
- Add 0001-Modify-go.env.patch that modifies the go.env file to change GOPROXY, GOSUMDB, and GOTOOLCHAIN settings.
- Delete 0002-syscall-expose-IfInfomsg.X__ifi_pad-on-s390x.patch.
2023-11-06 12:12:15 +01:00
Alejandro Sáez
78332dc19c Migrated to SPDX license 2023-09-28 17:22:26 +02:00
Yaakov Selkowitz
7fa9965761 Drop unused pcre-devel dependency 2023-09-05 09:49:16 -04:00
Alejandro Sáez
5261403362 Update to go 1.20.6 2023-08-01 23:02:47 +02:00
Yaakov Selkowitz
8dc9a335dc Add go-toolset subpackage 2023-06-29 17:15:08 -04:00
Yaakov Selkowitz
2689cc83bc Add runtime requirement for openssl-devel
Compiling any crypto-dependent code with crypto/boring enabled requires
openssl headers and libraries.
2023-06-22 17:03:27 -04:00
Alejandro Sáez
ecfc7ce021 Package bump up 2023-06-14 13:14:45 +02:00
Alejandro Sáez
c1db21c4b9 Update to go1.20.5 2023-06-14 13:12:57 +02:00
Alejandro Sáez
069f0dcbce Add FIPS support for RHEL targets 2023-06-13 15:01:06 +02:00
Alejandro Sáez
4716400a7f Update to go 1.20.5 2023-06-06 20:21:19 +02:00
Alejandro Sáez
7026110a60 Update to go1.20.4
Resolves: rhbz#2184454
2023-05-05 12:26:07 +02:00
36f1c8b6f9
Fix broken golang-race update path
```
Error:
 Problem: package golang-race-1.19.7-1.fc37.x86_64 requires golang = 1.19.7-1.fc37, but none of the providers can be installed
  - golang-1.19.7-1.fc37.x86_64 does not belong to a distupgrade repository
  - problem with installed package golang-race-1.19.7-1.fc37.x86_64
```
2023-04-15 23:16:34 +00:00
Alejandro Sáez
5f1c1e0ca8 Update to go1.20.3 2023-04-04 23:13:01 +02:00
9a498fc4c3 Update to go1.20.2
- Resolves: rhbz#2176528
2023-03-10 11:55:22 -05:00
Alejandro Sáez
a076d7e3bb Update to go1.20.1
Resolves: rhbz#2169896
2023-02-15 10:12:05 +01:00
Alejandro Sáez
2f747a3e62 Update to go1.20
Resolves: rhbz#2152070
2023-02-02 11:07:48 +01:00
Fedora Release Engineering
fa4d6ce0c2 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 05:51:57 +00:00
Alejandro Sáez
f7c0afe323 Update to go1.20rc3
Disable race package due go 1.20 new feature
2023-01-17 18:38:58 +00:00
Alejandro Sáez
1d2570b076 Update to go1.20rc2 2023-01-17 18:38:58 +00:00
Edjunior Machado
e4fa10a046 tests: Drop path attribute 2022-12-09 16:21:13 +01:00
Edjunior Machado
adaaa04cd7 tests: Fix fmf plan attributes 'directory'/'path' and 'how'
Thanks mprchlik@redhat.com for spotting the issue and providing the fix.
2022-12-08 14:25:44 +01:00
Alejandro Sáez
67a51aa259 Update to go1.19.4
Resolves: rhbz#2151595
2022-12-07 17:15:53 +01:00
Amit Shah
c874af597b Fix build without the gold linker
The Go runtime silently chose the gold linker on arm and aarch64 build
targets to work around a binutils bug.

That bug was from 2016, and has been fixed in binutils for a while.  But
the Go workaround was still in place.

The workaround to choose gold was supposed to error out during the
configure phase if gold wasn't found - but that doesn't happen.

This leads to builds on aarch64 failing if attempting to compile without
gold.

Just removing the special condition in the Go source code:

https://go-review.googlesource.com/c/go/+/391115/

works, but that patch is unlikely to be merged upstream.

A patch fixing the build is more likely to be merged:

https://go-review.googlesource.com/c/go/+/366279/

which updates the linker selection to use gold only if available.

References to this bug in upstream Go and Binutils:

https://github.com/golang/go/issues/22040
https://sourceware.org/bugzilla/show_bug.cgi?id=19962

Including the likely-to-be-merged patch here.
2022-11-08 23:27:48 +00:00
Mike Rochefort
fd8ecd035f Update to go1.19.3
Resolves: rhbz#2139548
2022-11-06 19:25:07 -05:00
Alejandro Sáez
0d02567844 Update to go1.19.2 2022-10-04 20:05:41 +02:00
Alejandro Sáez
b001866299 Update to go1.19.1 2022-09-06 18:45:54 +02:00
Alejandro Sáez
797e3f5003 Update to go1.19.0
Remove reference to AUTHORS and CONTRIBUTORS due to https://github.com/golang/go/issues/53961
2022-08-02 19:55:06 +02:00