Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1943074 - fftw: FTBFS with upcoming autoconf-2.71
Summary: fftw: FTBFS with upcoming autoconf-2.71
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: fftw
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Conrad Meyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1942967
TreeView+ depends on / blocked
 
Reported: 2021-03-25 12:50 UTC by Ondrej Dubaj
Modified: 2021-07-15 10:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ondrej Dubaj 2021-03-25 12:50:35 UTC
Your package fails to build with the newest upcoming autoconf-2.71, which is part of a wide Fedora change. Please see the attached copr: https://copr.fedorainfracloud.org/coprs/odubaj/autoconf-2.70/packages/. More information about testing your package when building with autoconf available here: https://fedoraproject.org/wiki/Changes/Autoconf_271#How_To_Test

Comment 1 Ondrej Dubaj 2021-04-12 07:16:41 UTC
Gentle ping.

Comment 2 Conrad Meyer 2021-04-12 23:00:05 UTC
(In reply to Ondrej Dubaj from comment #1)
Hi Ondrej,

In https://download.copr.fedorainfracloud.org/results/odubaj/autoconf-2.70/fedora-rawhide-x86_64/02095342-fftw/ , we see that AC_CHECK_SIZEOF(size_t) fails for some reason.  Preceding checks for various integer types seem to pass.  An error was logged to config.log (probably the type isn't defined because a header isn't included?), but that artifact does not appear to be preserved.

Comment 3 Conrad Meyer 2021-04-13 01:54:50 UTC
I have a patch to try, but am not sure how to kick off a build with autoconf-2.71.  It looks like Rawhide is still on 2.69.  It builds with 2.69, but I don't know how meaningful that is.

diff --git a/fftw-3.3.8-configure.ac-sizeof.patch b/fftw-3.3.8-configure.ac-sizeof.patch
new file mode 100644
index 0000000..ce5ea25
--- /dev/null
+++ b/fftw-3.3.8-configure.ac-sizeof.patch
@@ -0,0 +1,12 @@
+--- configure.ac.orig  2021-04-12 15:53:15.663321061 -0700
++++ configure.ac       2021-04-12 15:51:44.423322999 -0700
+@@ -532,7 +532,8 @@
+ AC_CHECK_SIZEOF(unsigned long)
+ AC_CHECK_SIZEOF(long long)
+ AC_CHECK_SIZEOF(unsigned long long)
+-AC_CHECK_SIZEOF(size_t)
++AC_CHECK_SIZEOF(size_t, [], [$ac_includes_default
++#include <stddef.h>])
+ AC_CHECK_SIZEOF(ptrdiff_t)
+
+ AC_CHECK_TYPES([ptrdiff_t])
diff --git a/fftw.spec b/fftw.spec
index bae4a5e..2c2ea4d 100644
--- a/fftw.spec
+++ b/fftw.spec
@@ -14,11 +14,13 @@

 Name:           fftw
 Version:        3.3.8
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        A Fast Fourier Transform library
 License:        GPLv2+
 URL:            http://www.fftw.org
 Source0:        http://www.fftw.org/fftw-%{version}.tar.gz
+# https://bugzilla.redhat.com/show_bug.cgi?id=1943074
+Patch0:                fftw-3.3.8-configure.ac-sizeof.patch
 BuildRequires:  gcc-gfortran

 BuildRequires:  autoconf
@@ -268,6 +270,7 @@ library.

 %prep
 %setup -q
+%patch0 -p0

 %build
 # Explicitly load shell support for the environment-modules package, used
@@ -542,6 +545,9 @@ done
 %endif

 %changelog
+* Mon Apr 12 2021 Conrad Meyer <cemeyer> - 3.3.9-10
+- Patch configure.ac around sizeof(size_t) failure
+
 * Sat Aug 01 2020 Fedora Release Engineering <releng> - 3.3.8-9
 - Second attempt - Rebuilt for
   https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

Comment 4 Ondrej Dubaj 2021-04-13 05:38:50 UTC
Hi,

you can try building the package locally using mock. You can easily download mock config from our copr and try the build the package. Details here: https://fedoraproject.org/wiki/Changes/Autoconf_271#How_To_Test

Comment 5 Ondrej Dubaj 2021-05-04 08:18:05 UTC
Hi,

any updates here please ? Did you manage to test your patch ?

Thanks.

Comment 6 Conrad Meyer 2021-05-04 16:54:44 UTC
No update.

Comment 7 Ondrej Dubaj 2021-07-15 10:02:13 UTC
Hello, this issue does not seem to be resolved, can you please check it one more time ? Soonly we are planning to move to autoconf-2.71, so there will be FTBFS on this component.

Thank you.


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