Bug 2143306 - FTBFS with autoconf 2.72
Summary: FTBFS with autoconf 2.72
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: krb5
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Julien Rische
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Autoconf2.72
TreeView+ depends on / blocked
 
Reported: 2022-11-16 15:10 UTC by Frédéric Bérat
Modified: 2023-07-11 01:26 UTC (History)
9 users (show)

Fixed In Version: krb5-1.21-2.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-11 01:26:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources krb5 pull-request 36 0 None None None 2023-06-12 14:48:32 UTC
Github krb5 krb5 pull 1272 0 None open Fix syntax error in aclocal.m4 2022-11-17 14:23:41 UTC
Red Hat Issue Tracker FREEIPA-9006 0 None None None 2022-11-16 16:02:23 UTC

Description Frédéric Bérat 2022-11-16 15:10:31 UTC
Autoconf 2.72 seems to be under preparation upstream, I therefore started to build dependent components to verify that they can be built once it lands in Fedora.

Your component fails to build with the new version of autoconf, due to the following error:

---
checking for IPv6 compile-time support without -DINET6... ./configure: line 10559: syntax error near unexpected token `;;'
./configure: line 10559: `rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;'
+ cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Kerberos 5 configure 1.19.2, which was
generated by GNU Autoconf 2.72c.47-75861.  Invocation command line was
---

Further investigation as shown a bug in the aclocal.m4 file from krb5, a misplace closing "fi".
Please look at the following diff for further details:

diff --git a/src/aclocal.m4 b/src/aclocal.m4
index 5afb96e..cb9a1bf 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -404,8 +404,9 @@ AC_TRY_COMPILE([
   struct sockaddr_in6 in;
   AF_INET6;
   IN6_IS_ADDR_LINKLOCAL (&in.sin6_addr);
-],krb5_cv_inet6=yes,krb5_cv_inet6=no)])
+],krb5_cv_inet6=yes,krb5_cv_inet6=no)
 fi
+])
 AC_MSG_RESULT($krb5_cv_inet6)
 if test "$krb5_cv_inet6" = no && test "$ac_cv_func_inet_ntop" = yes; then
 AC_MSG_CHECKING(for IPv6 compile-time support with -DINET6)
-- 
2.38.1

Comment 1 Julien Rische 2022-11-17 14:22:45 UTC
Hello Frédéric,

Thank you for reporting the issue. I opened an upstream pull request:
https://github.com/krb5/krb5/pull/1272

Comment 2 Julien Rische 2022-11-21 08:34:00 UTC
The fix has been merged upstream.

Comment 3 Julien Rische 2023-06-12 14:48:32 UTC
Fedora pull request:
https://src.fedoraproject.org/rpms/krb5/pull-request/36

Comment 4 Fedora Update System 2023-06-13 13:41:11 UTC
FEDORA-2023-5cd7789569 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-5cd7789569

Comment 5 Fedora Update System 2023-06-13 13:55:21 UTC
FEDORA-2023-5cd7789569 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2023-07-10 08:51:57 UTC
FEDORA-2023-f7841e7a29 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f7841e7a29

Comment 7 Fedora Update System 2023-07-11 01:26:44 UTC
FEDORA-2023-f7841e7a29 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


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