Bug 2261319

Summary: libgit2: FTBFS in Fedora rawhide/f40
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: libgit2Assignee: Pete Walter <walter.pete>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: i, icq, sergio, sgallagh, walter.pete
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libgit2-1.7.2-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-17 00:56:55 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: 2231791    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2024-01-29 20:32:57 UTC
libgit2 failed to build from source in Fedora rawhide/f40

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
Please fix libgit2 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,
libgit2 will be orphaned. Before branching of Fedora 41,
libgit2 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 2024-01-29 20:33:05 UTC
Created attachment 2012457 [details]
build.log

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

Comment 2 Fedora Release Engineering 2024-01-29 20:33:10 UTC
Created attachment 2012458 [details]
root.log

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

Comment 3 Fedora Release Engineering 2024-01-29 20:33:13 UTC
Created attachment 2012459 [details]
state.log

Comment 4 Sergio Basto 2024-01-31 22:53:11 UTC
Build fails test with some expected checksums could be Zlib-ng 

from https://fedoraproject.org/wiki/Changes/ZlibNGTransition#Upgrade/compatibility_impact we have 

Zlib-ng has a zlib-compat mode that aims to preserve both API and ABI compatibility with the original Zlib. However certain application tests may rely on hardcoded checksums for the compressed output. These tests could fail due to various changes, even if the compressed output remains valid and decompresses correctly.

Comment 5 Stephen Gallagher 2024-02-06 18:47:08 UTC
I've reported this upstream as https://github.com/libgit2/libgit2/issues/6728 but I think we may need to temporarily disable these tests in Fedora, since they're false negatives.

Comment 6 Fedora Update System 2024-02-07 20:19:51 UTC
FEDORA-2024-92bac3b909 (libgit2-1.7.2-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-92bac3b909

Comment 7 Fedora Update System 2024-02-09 01:39:33 UTC
FEDORA-2024-92bac3b909 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-92bac3b909`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-92bac3b909

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-02-17 00:56:55 UTC
FEDORA-2024-92bac3b909 (libgit2-1.7.2-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.