Bug 2046702

Summary: varnish: FTBFS in Fedora rawhide/f36
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: varnishAssignee: Ingvar Hagelund <ingvar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ingvar, jakub, luhliari, mpolacek, pgnet.dev
Target Milestone: ---   
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: 2022-02-07 19:19:26 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: 1992484, 2045033, 2047095, 2047104    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2022-01-27 09:20:14 UTC
varnish failed to build from source in Fedora rawhide/f36

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Please fix varnish 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,
varnish will be orphaned. Before branching of Fedora 37,
varnish 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 2022-01-27 09:20:17 UTC
Created attachment 1855756 [details]
build.log

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

Comment 2 Fedora Release Engineering 2022-01-27 09:20:19 UTC
Created attachment 1855757 [details]
root.log

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

Comment 3 Fedora Release Engineering 2022-01-27 09:20:20 UTC
Created attachment 1855758 [details]
state.log

Comment 4 Ingvar Hagelund 2022-01-28 10:43:45 UTC
This is probably caused by the recent gcc-11 -> gcc-12 update. After this update, on aarch64, varnishtest segfaults for a lot of tests, so the test suite of varnish fails, and the package fails to build.

I have reported this upstream, and done some very basic debugging, see https://github.com/varnishcache/varnish-cache/issues/3776  Not being a real C coder, I have not much more to throw into this.

This problem also blocks the update to varnish-7.0.2, which is a CVE tagged security update, see #2045033.

Jakub and/or Marek, do you have any hints or help on this?

Ingvar

Comment 5 Ingvar Hagelund 2022-02-07 19:19:26 UTC
With latest gcc-12 build in rawhide, varnish now builds fine again.