Bug 2216456 - GTS-12 binutils-gold and binutils-devel rpms provide the wrong tags
Summary: GTS-12 binutils-gold and binutils-devel rpms provide the wrong tags
Keywords:
Status: MODIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: gcc-toolset-12-binutils
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Nick Clifton
QA Contact: Miloš Prchlík
URL:
Whiteboard:
Depends On:
Blocks: 2220917
TreeView+ depends on / blocked
 
Reported: 2023-06-21 13:27 UTC by Miloš Prchlík
Modified: 2023-08-17 11:14 UTC (History)
6 users (show)

Fixed In Version: gcc-toolset-12-binutils-2.38-19.el9
Doc Type: No Doc Update
Doc Text:
Clone Of: 2103056
: 2220917 (view as bug list)
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.