Bug 2147571 - FTBFS with autoconf 2.72
Summary: FTBFS with autoconf 2.72
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: libmobi
Version: rawhide
Hardware: Unspecified
OS: All
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Autoconf2.72
TreeView+ depends on / blocked
 
Reported: 2022-11-24 10:19 UTC by Frédéric Bérat
Modified: 2023-02-10 21:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-02-10 21:11:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Frédéric Bérat 2022-11-24 10:19:13 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 zlib.h... yes
./configure: line 14589: syntax error near unexpected token `newline'
./configure: line 14589: `    '''
---

The error is due to under-quoting of AS_IF parameters in configure.ac.

The proposed patch is the following:

---
diff -U5 -r libmobi-0.6.old/configure.ac libmobi-0.6/configure.ac
--- libmobi-0.6.old/configure.ac	2022-11-24 11:15:43.608653143 +0100
+++ libmobi-0.6/configure.ac	2022-11-24 11:16:03.456652281 +0100
@@ -322,13 +322,13 @@
 AC_SUBST(MINIZ_CFLAGS)
 
 
 # Check for md5 or md5sum program, needed for tests
 AC_ARG_VAR([MD5PROG], [md5 hashing program executable])
-AS_IF([test "x$MD5PROG" = "x"], AC_CHECK_PROG([MD5PROG], [md5sum], [md5sum -t]), [])
-AS_IF([test "x$MD5PROG" = "x"], AC_CHECK_PROG([MD5PROG], [md5], [md5 -r]), [])
-AS_IF([test "x$MD5PROG" = "x"], AC_MSG_WARN([md5 hashing program not found, some tests will be skipped]), [])
+AS_IF([test "x$MD5PROG" = "x"], [AC_CHECK_PROG([MD5PROG], [md5sum], [md5sum -t])], [])
+AS_IF([test "x$MD5PROG" = "x"], [AC_CHECK_PROG([MD5PROG], [md5], [md5 -r])], [])
+AS_IF([test "x$MD5PROG" = "x"], [AC_MSG_WARN([md5 hashing program not found, some tests will be skipped])], [])
 
 # List test files
 CR=$'\n'
 for f in tests/samples/*.{mobi,fail}
 do
---

Please have a look and get the problem fixed upstream.

Comment 1 fedora 2022-11-24 12:13:53 UTC
FWIW, the autoconf problem was fixed upstream in version 0.9
https://github.com/bfabiszewski/libmobi/commit/542600db6a1614773f14cccb78c6d6a06f537408

The current upstream version is 0.11

Comment 2 Fedora Admin user for bugzilla script actions 2023-02-07 00:16:09 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Miro Hrončok 2023-02-10 21:11:57 UTC
Automation has figured out the package is retired in rawhide.

If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement


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