Bug 2256775 - FTBFS with autoconf 2.72
Summary: FTBFS with autoconf 2.72
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: fatresize
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michal Ambroz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Autoconf2.72
TreeView+ depends on / blocked
 
Reported: 2024-01-04 13:57 UTC by Frédéric Bérat
Modified: 2024-02-07 23:51 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-02-07 23:51:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.