Bug 1987381

Summary: bcc: FTBFS in Fedora rawhide/f35
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: bccAssignee: Jiri Olsa <jolsa>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: acaringi, jmarchan, jolsa, rdossant, skozina
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: bcc-0.21.0-1.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-03 16:49:32 UTC Type: ---
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: 1927309, 1983754    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2021-07-29 14:38:30 UTC
bcc failed to build from source in Fedora rawhide/f35

https://koji.fedoraproject.org/koji/taskinfo?taskID=72327153


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Please fix bcc at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
bcc will be orphaned. Before branching of Fedora 36,
bcc will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2021-07-29 14:38:37 UTC
Created attachment 1807197 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2021-07-29 14:38:42 UTC
Created attachment 1807198 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2021-07-29 14:38:47 UTC
Created attachment 1807199 [details]
state.log

Comment 4 Jerome Marchand 2021-07-30 17:14:14 UTC
This is related to the following change in bpftool:
commit 31332ccb756 ("bpftool: Stop emitting static variables in BPF skeleton")

Hopefully, the following MR is the proper fix:
https://github.com/iovisor/bcc/pull/3555

Comment 5 Fedora Release Engineering 2021-08-01 04:24:33 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-09-23).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html

Comment 6 Jerome Marchand 2021-08-03 09:19:13 UTC
(In reply to Jerome Marchand from comment #4)
> This is related to the following change in bpftool:
> commit 31332ccb756 ("bpftool: Stop emitting static variables in BPF
> skeleton")
> 
> Hopefully, the following MR is the proper fix:
> https://github.com/iovisor/bcc/pull/3555

Merged:
commit ada66f92ff9b ("libbpf-tools: readahead: don't mark struct hist as static")

Comment 7 Fedora Update System 2021-08-03 16:49:32 UTC
FEDORA-2021-51b415c57e has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Red Hat Bugzilla 2023-09-15 01:12:23 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days