Bug 2147571

Summary: FTBFS with autoconf 2.72
Product: [Fedora] Fedora Reporter: Frédéric Bérat <fberat>
Component: libmobiAssignee: Orphan Owner <extras-orphan>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora, sergey.avseyev
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-10 21:11:57 UTC Type: Bug
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 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