GNOME Bugzilla – Bug 789796
"jhbuild build" command fails because of libosinfo autogenargs
Last modified: 2017-11-02 03:38:46 UTC
modulesets/gnome-suites-core-deps-3.28.modules: <autotools id="libosinfo" autogenargs="--enable-tests=no --enable-werror=no"> <branch repo="gitlab.com" module="libosinfo/libosinfo.git"/> libosinfo/configure.ac: if test "x$enable_tests" != "xno" ; then have_curl=no PKG_CHECK_MODULES([CURL], [libcurl], [have_curl=yes], [:]) AC_SUBST(CURL_CFLAGS) AC_SUBST(CURL_LIBS) AM_CONDITIONAL([HAVE_CURL],[test "x$have_curl" = "xyes"]) fi These two settings collides. HAVE_CURL variable can be set only if "enable_tests" has not "no" value but build system pass "--enable-tests=no". This makes error because HAVE_CURL is not set. This is the error message. """ configure: error: conditional "HAVE_CURL" was never defined. Usually this means the macro was only invoked conditionally. """
Thanks for reporting The following fix has been pushed: 0e04fce core-deps-3.28: Enable build of libosinfo tests
Created attachment 362789 [details] [review] core-deps-3.28: Enable build of libosinfo tests The configure script is broken, and this works around the issue.