Bug 2216918 - rhel 9 gcc-toolset-12-annobin newer than centos stream 9
Summary: rhel 9 gcc-toolset-12-annobin newer than centos stream 9
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: gcc-toolset-12-annobin
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Nick Clifton
QA Contact: Václav Kadlčík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-23 08:31 UTC by Germano Massullo
Modified: 2023-08-17 08:55 UTC (History)
8 users (show)

Fixed In Version: gcc-toolset-12-annobin-11.08-5.el9_2
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-160540 0 None None None 2023-06-23 08:31:24 UTC

Description Germano Massullo 2023-06-23 08:31:07 UTC
this el9-next build of darktable is failing
https://kojipkgs.fedoraproject.org//work/tasks/8693/102448693/build.log
https://koji.fedoraproject.org/koji/taskinfo?taskID=102448693

when instead this el9 is successful
https://kojipkgs.fedoraproject.org//packages/darktable/4.4.0/1.el9/data/logs/aarch64/build.log
https://koji.fedoraproject.org/koji/buildinfo?buildID=2218776

a senior dev in #epel channel said that the issue may be a discrepancy between rhel9 and c9 for gcc-toolset-12-annobin-plugin-gcc.  rhel9 has 11.08-2.el9, but that build failed for c9 and epel9-next is still building against 10.76-2.el9 which appears to be broken.
Later he also tried the darktable build against internal rhel 9.3 + epel + epel-next, and it worked. So it's fairly sure the problem is that out-of-sync gcc-toolset-12-annobin package.

Comment 1 Nick Clifton 2023-06-23 14:02:34 UTC
(In reply to Germano Massullo from comment #0)
 
> a senior dev in #epel channel said that the issue may be a discrepancy
> between rhel9 and c9 for gcc-toolset-12-annobin-plugin-gcc.  rhel9 has
> 11.08-2.el9, but that build failed for c9 and epel9-next is still building
> against 10.76-2.el9 which appears to be broken.

This does indeed appear to be the case.

How is annobin for el9-next built ?  Is there a way to trigger a rebuild ?

Comment 2 Carl George 🤠 2023-06-28 21:41:23 UTC
epel9-next is a layered repo on top of epel9 to ensure compatibility with CentOS Stream 9.  While epel9 builds against RHEL 9, epel9-next builds against CentOS Stream 9.  I believe the problem here is that RHEL 9 has gcc-toolset-12-annobin-plugin-gcc-11.08-2.el9, but CentOS Stream still has gcc-toolset-12-annobin-plugin-gcc-10.76-2.el9.  It seems that the root of the issue is this failed build:

https://kojihub.stream.centos.org/koji/buildinfo?buildID=33575

Get that resolved and published in CentOS Stream 9, and it will sync to the private mirror Koji uses.  Then the epel9-next build of darktable should work.

Comment 4 Nick Clifton 2023-06-29 10:46:16 UTC
(In reply to Carl George 🤠 from comment #2)
> epel9-next is a layered repo on top of epel9 to ensure compatibility with
> CentOS Stream 9.  While epel9 builds against RHEL 9, epel9-next builds
> against CentOS Stream 9. 

Ah - thanks for the explanation.

> I believe the problem here is that RHEL 9 has
> gcc-toolset-12-annobin-plugin-gcc-11.08-2.el9, but CentOS Stream still has
> gcc-toolset-12-annobin-plugin-gcc-10.76-2.el9.  It seems that the root of
> the issue is this failed build:
> 
> https://kojihub.stream.centos.org/koji/buildinfo?buildID=33575

Indeed - CentOS has upgraded to Clang 16, whereas RHEL-9 is using Clang 15.
Clang 16 changed its API for certain features used by the annobin plugins for
Clang and LLVM, so the build no longer works.

> Get that resolved and published in CentOS Stream 9, and it will sync to the
> private mirror Koji uses.  Then the epel9-next build of darktable should
> work.

I have completed a build, but it still has to get through gating:

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

Comment 11 Nick Clifton 2023-07-21 07:52:45 UTC
OK, I have built gcc-toolset-12-annobin-11.08-4.el9_2 and it is currently in gating here:

  https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/54098407


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