Bug 2256783

Summary: FTBFS with autoconf 2.72
Product: [Fedora] Fedora Reporter: Frédéric Bérat <fberat>
Component: gmimeAssignee: Jan Grulich <jgrulich>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: alexl, epel-packagers-sig, gnome-sig, jgrulich, mclasen, rstrode, walter.pete
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: gmime-2.6.23-24.fc42 gmime-2.6.23-24.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-22 01:47:43 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 14:22:16 UTC
The component fails to build with autoconf 2.72 due to its use of Autoconf internal variables in its configure.ac file.

the following section needs to be adapted (or better removed):

dnl *************************************
dnl *** Checks for large file support ***
dnl *************************************
AC_ARG_ENABLE([largefile],
	      AC_HELP_STRING([--enable-largefile],
	      [enable support for large files [[default=yes]]]),,
	      [enable_largefile="yes"])

[...]
    if test "x$ac_cv_sys_file_offset_bits" != "xno"; then
        LFS_CFLAGS="$LFS_CFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
        enable_largefile="yes"
    fi
else
    LFS_CFLAGS=""
fi
AM_CONDITIONAL(ENABLE_LARGEFILE, test "x$enable_largefile" = "xyes")

The main problem of this section being the check against `$ac_cv_sys_file_offset_bits` which no longer exists. Leading to further failures.

AC_SYS_LARGEFILE will define _FILE_OFFSET_BITS if necessary.

Reproducible: Always

Comment 1 Aoife Moloney 2024-02-15 23:08:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 2 Frédéric Bérat 2024-02-16 06:35:52 UTC
Autoconf 2.72 has been merged into rawhide.

Comment 3 Aoife Moloney 2025-02-26 12:54:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 4 Fedora Update System 2025-05-13 09:11:17 UTC
FEDORA-2025-23d2fb0aad (gmime-2.6.23-24.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-23d2fb0aad

Comment 5 Fedora Update System 2025-05-13 09:11:18 UTC
FEDORA-2025-85bac2537e (gmime-2.6.23-24.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-85bac2537e

Comment 6 Fedora Update System 2025-05-14 01:38:58 UTC
FEDORA-2025-85bac2537e has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-85bac2537e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-85bac2537e

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

Comment 7 Fedora Update System 2025-05-14 02:07:22 UTC
FEDORA-2025-23d2fb0aad has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-23d2fb0aad`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-23d2fb0aad

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

Comment 8 Fedora Update System 2025-05-22 01:47:43 UTC
FEDORA-2025-23d2fb0aad (gmime-2.6.23-24.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2025-05-22 02:03:20 UTC
FEDORA-2025-85bac2537e (gmime-2.6.23-24.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.