Description of problem: Package kdelibs3 fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 3.5.10-128.fc40 Steps to Reproduce: koji build --scratch f41 kdelibs3-3.5.10-128.fc40.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/kdelibs3 To help narrow down what might have caused this, here is the first failing Koschei build: https://koschei.fedoraproject.org/build/17466833 The build fails due to an error in the configure script: checking whether uic supports -L ... yes checking whether uic supports -nounload ... yes ./configure: line 29458: syntax error near unexpected token `fi' ./configure: line 29458: `fi'
Since kdelibs3 needs to be rebuilt for openexr 3.2.4, fixing this is somewhat urgent. I have not yet studied it deeply, and I’m hoping that a regular maintainer will be able to come up with a quick fix.
Looks like the same issue Than already fixed for kdebase3, see bug #2276345.
This is what fixed it for kdebase3: https://src.fedoraproject.org/rpms/kdebase3/c/91233a5b909d09775930236bd21556faa993176f?branch=rawhide
(In reply to Kevin Kofler from comment #3) > This is what fixed it for kdebase3: > https://src.fedoraproject.org/rpms/kdebase3/c/ > 91233a5b909d09775930236bd21556faa993176f?branch=rawhide Thank you; that’s really helpful. If this package still FTBFS after I have finished the other builds, I will try porting the patch you linked.
The KDE 3 autoconf mess tends to be a big blob of copy&paste, which on the plus side means such patches against one KDE 3 package tend to apply completely unchanged to the other affected ones, though I have not tested it in this case so far. (The copy&paste mess is one of the reasons why KDE switched from autotools to CMake in KDE 4 and later releases.)
Your suggestion works perfectly; as you guessed might be the case, the patch file applies without modification. https://src.fedoraproject.org/rpms/kdelibs3/pull-request/3
FEDORA-2024-3cfe4d34bc (blender-4.1.1-4.fc41, calligra-3.2.1-30.fc41, and 37 more) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-3cfe4d34bc
FEDORA-2024-3cfe4d34bc (blender-4.1.1-4.fc41, calligra-3.2.1-30.fc41, and 37 more) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.