Bug 2144836
| Summary: | FTBFS with autoconf 2.72 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Frédéric Bérat <fberat> |
| Component: | netresolve | Assignee: | Petr Menšík <pemensik> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | pemensik |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | netresolve-0.0.1-0.35.20160317git.fc38 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-12-05 11:28:58 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 | ||
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 ASYNCNS... yes ./configure: line 14202: syntax error near unexpected token `;;' ./configure: line 14202: ` ;;' error: Bad exit status from /var/tmp/rpm-tmp.71Mnpk (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.71Mnpk (%build) Child return code was: 1 --- The error is due to under-quoting of AS_IF parameters in configure.ac. The proposed patch is the following: --- diff -U5 -r netresolve-0.0.1/configure.ac netresolve-0.0.1.old/configure.ac --- netresolve-0.0.1/configure.ac 2022-11-22 14:15:28.837157563 +0100 +++ netresolve-0.0.1.old/configure.ac 2022-11-22 13:47:43.692292809 +0100 @@ -59,13 +59,13 @@ AM_CONDITIONAL(BUILD_FRONTEND_ASYNCNS, [test $build_asyncns = yes]) AM_CONDITIONAL(BUILD_BACKEND_ASYNCNS, [test $build_asyncns = yes]) AC_ARG_ENABLE(tests, AS_HELP_STRING([--enable-tests|--disable-tests], [Build tests using additional dependencies (Default: no)])) AS_IF([test "$enable_tests" = yes], - PKG_CHECK_MODULES([GLIB], [glib-2.0]) + [PKG_CHECK_MODULES([GLIB], [glib-2.0]) AC_CHECK_LIB([event], [event_base_new], [EVENT_LIBS=-levent]) - AC_SUBST(EVENT_LIBS)) + AC_SUBST(EVENT_LIBS)]) AM_CONDITIONAL(BUILD_ALL_TESTS, [test "$enable_tests" = yes]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([ Makefile --- Please have a look and get the problem fixed upstream.