Bug 2216456

Summary: GTS-12 binutils-gold and binutils-devel rpms provide the wrong tags
Product: Red Hat Enterprise Linux 9 Reporter: Miloš Prchlík <mprchlik>
Component: gcc-toolset-12-binutilsAssignee: Nick Clifton <nickc>
Status: CLOSED ERRATA QA Contact: Miloš Prchlík <mprchlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.2CC: dsmith, fweimer, markobri, mpolacek, mprchlik, nickc
Target Milestone: rcKeywords: Bugfix, Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-toolset-12-binutils-2.38-19.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2103056
: 2220917 (view as bug list) Environment:
Last Closed: 2023-11-07 08:37:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2220917    

Comment 4 Nick Clifton 2023-07-06 13:51:04 UTC
Fixed in gcc-toolset-12-binutils-2.38-17.el9_2

Comment 7 Nick Clifton 2023-08-01 11:45:25 UTC
I have created a ticket to request that a gcc-toolset-12-rhel-9.3.0 branch be created for the CentOS binutils:

  https://issues.redhat.com/browse/CS-1682

Comment 8 Nick Clifton 2023-08-03 09:26:00 UTC
And a ticket to have a branch created in RHEL:

https://issues.redhat.com/browse/RHEL-965

Comment 9 Nick Clifton 2023-08-14 13:27:11 UTC
Right, the branches have been created and the RHEL build has completed:

  https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=54634128

But the CentOS build is not working:

  $ centpkg build --target=scl-gcc-toolset-12-rhel-9.3.0-candidate --rhel-target latest
  Could not execute build: Unknown build target: scl-gcc-toolset-12-rhel-9.3.0-candidate

It looks like the scl-gcc-toolset-12-rhel-9.3.0-candidate target needs 
to be added to the list supported by centos.  So I have created a ticket
to ask for this addition:

  https://issues.redhat.com/browse/CS-1700

Comment 10 Nick Clifton 2023-08-15 12:25:46 UTC
OK, I fixed the problem.  (Marek has told me that I needed the magic lines at the start of the binutils.spec file, but I had forgotten to add them).  The CentOS build is now complete:

 https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=2699358

Comment 11 Miloš Prchlík 2023-08-17 07:55:46 UTC
Nick, is the build name correct? It comes from the right branch, scl-gcc-toolset-12-rhel-9.3.0, but the build itself, gcc-toolset-**13**-binutils-2.38-18.**el9** - I'd expect this to be a gcc-toolset-**12** build. Also the release part, the "drop" from el9_2.1 to simple el9 looks suspicious, `el9_3.1` maybe? Not sure though, might be perfectly correct :/

Comment 12 Nick Clifton 2023-08-17 08:52:10 UTC
(In reply to Miloš Prchlík from comment #11)
> Nick, is the build name correct? It comes from the right branch,
> scl-gcc-toolset-12-rhel-9.3.0, but the build itself,
> gcc-toolset-**13**-binutils-2.38-18.**el9** -  


Oh *rude word*.  No, you are right.  I use copy/paste to add the magic lines to the start of the binutils.spec file that let it build in a CentOS 9 stream, but I forgot to edit the GTS version.  Rebuilding...

Comment 13 Nick Clifton 2023-08-17 11:14:58 UTC
Fingers crossed, this build will be correct: gcc-toolset-12-binutils-2.38-19.el9

  https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=2712088

Comment 19 Miloš Prchlík 2023-09-01 12:02:03 UTC
Verified with gcc-toolset-12-binutils-2.38-19.el9

Comment 21 errata-xmlrpc 2023-11-07 08:37:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (gcc-toolset-12-binutils bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6564