Bug 2276345
| Summary: | kdebase3: FTBFS in Fedora rawhide/f41 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Charles R. Anderson <cra> | ||||||||
| Component: | kdebase3 | Assignee: | Than Ngo <than> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | rawhide | CC: | fberat, fjanus, kasal, kevin, praiskup, rdieter, than | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Linux | ||||||||||
| URL: | https://koji.fedoraproject.org/koji/buildinfo?buildID=2441875 | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2024-04-22 21:40:01 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Charles R. Anderson
2024-04-22 07:01:24 UTC
Created attachment 2028240 [details]
build.log
Created attachment 2028241 [details]
root.log
Created attachment 2028242 [details]
state.log
It just works fine with autoconf-2.71 in fedora 39/40, it looks like regression in autoconf-2.72 in rawhide. Reassigned it to autoconf That's not a regression from autoconf, this kind of error appears when there is an error in the configure.ac (or any included files), likely an if statement not properly closed (the `fi` is in the wrong place).
This kind of mistake is uncovered with autoconf 2.72 because the implementation of the AS_IF (used everywhere internally) statement has been reworked, but the bug is actually in the user side. Autoconf < 2.72 just happened to be more sensitive to this error.
More specifically, in your case, the acinclude.m4 contains an error in KDE_CHECK_QT_JPEG:
AC_DEFUN([KDE_CHECK_QT_JPEG],
[
if test -n "$LIBJPEG"; then
AC_MSG_CHECKING([if Qt needs $LIBJPEG])
AC_CACHE_VAL(kde_cv_qt_jpeg,
[
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
ac_save_LIBS="$LIBS"
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
AC_TRY_LINK(
[#include <qapplication.h>],
[
int argc;
char** argv;
QApplication app(argc, argv);],
eval "kde_cv_qt_jpeg=no",
eval "kde_cv_qt_jpeg=yes")
LIBS="$ac_save_LIBS"
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
fi
])
The "fi" closes `if test -n "$LIBJPEG"; then` while the `])` closes `AC_CACHE_VAL(` within the if.
i.e.
Last 2 lines of the snippet must be:
])
fi
Similarly, the AC_DEFUN([KDE_FIND_LIBEXR] macro is incorrect (lines 2747 to 2811), there is a `])` closure (line 2797) for `AC_CACHE_VAL` in the middle of `if .. else ... fi` statements instead of being at the end of the macro definition. the `dnl` seems inappropriate too, and was probably put there because the closure is misplaced.
Please carefully control this analysis, there may be other errors around.
it's fixed in 3.5.10-82 |