Bug 2213880

Summary: [FTBFS] bcc-0.25.0-4 fails to build on llvm 16
Product: Red Hat Enterprise Linux 8 Reporter: Louis Abel <tucklesepk>
Component: bccAssignee: Jerome Marchand <jmarchan>
Status: CLOSED DUPLICATE QA Contact: Ziqian SUN (Zamir) <zsun>
Severity: medium Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bfubel, bstinson, ctrautma, jmarchan, jwboyer, ldoskova, rdossant, zsun
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-21 12:30:14 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:

Description Louis Abel 2023-06-09 18:04:28 UTC
Description of problem:
In CentOS Stream 8, the build modules have not changed to reflect the llvm 16 builds. bcc requires llvm to build. In the latest commit for bcc, it was noted that llvm 16 is to be used for the new build. However, 15 was used for Stream 8, rather than 16.

If this is built against llvm 16, however, the build will fail. 

Version-Release number of selected component (if applicable):
0.25.0-4

How reproducible:
Always on llvm 16

Steps to Reproduce:
1. Adjust repos to use llvm 16 module
2. Attempt to build bcc 0.25.0-4

Actual results:
Fails to build from source around the 70% mark.

Expected results:
Successful build. 

Additional info:
https://gitlab.com/redhat/centos-stream/rpms/bcc/-/merge_requests/30

Comment 1 Louis Abel 2023-06-12 15:45:00 UTC
Appears to be addressed in (0.25.0-5). Can be closed.

Comment 2 Jerome Marchand 2023-07-21 12:30:14 UTC

*** This bug has been marked as a duplicate of bug 2192949 ***