Bug 2256775

Summary: FTBFS with autoconf 2.72
Product: [Fedora] Fedora Reporter: Frédéric Bérat <fberat>
Component: fatresizeAssignee: Michal Ambroz <rebus>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: rebus
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-07 23:51:44 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: 2143303    

Description Frédéric Bérat 2024-01-04 13:57:48 UTC
This component makes use of autoconf internals in it configure.ac, which leads to a build failure with 2.72 since the internals have changed.
As far as "AC_SYS_LARGEFILE" is called, there is no need to modify the CFLAGS as that is done by autoconf if necessary.

The following patch should fix the issue:
--- configure.ac.old	2024-01-04 14:55:20.296584666 +0100
+++ configure.ac	2024-01-04 14:56:04.891663709 +0100
@@ -27,11 +27,10 @@
 # Check for library functions.
 AC_CHECK_FUNCS([memset strtoll])
 
 # Check for LFS
 AC_SYS_LARGEFILE
-CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=${ac_cv_sys_file_offset_bits}"
 
 dnl libparted
 # hack
 LIBS="$LIBS -ldl"
 PKG_CHECK_MODULES([PARTED], [libparted >= 2.4])

Reproducible: Always

Comment 1 Michal Ambroz 2024-01-26 03:41:09 UTC
fixed - thank you
https://koji.fedoraproject.org/koji/taskinfo?taskID=112383141