Bug 2276884 - kdelibs3: FTBFS in Fedora Rawhide
Summary: kdelibs3: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kdelibs3
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-24 13:31 UTC by Ben Beasley
Modified: 2024-04-26 20:03 UTC (History)
3 users (show)

Fixed In Version: kdelibs3-3.5.10-129.fc41
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-26 20:03:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ben Beasley 2024-04-24 13:31:05 UTC
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'

Comment 1 Ben Beasley 2024-04-24 13:32:53 UTC
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.

Comment 2 Kevin Kofler 2024-04-24 14:03:14 UTC
Looks like the same issue Than already fixed for kdebase3, see bug #2276345.

Comment 3 Kevin Kofler 2024-04-24 14:04:26 UTC
This is what fixed it for kdebase3:
https://src.fedoraproject.org/rpms/kdebase3/c/91233a5b909d09775930236bd21556faa993176f?branch=rawhide

Comment 4 Ben Beasley 2024-04-24 14:13:38 UTC
(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.

Comment 5 Kevin Kofler 2024-04-24 14:18:14 UTC
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.)

Comment 6 Ben Beasley 2024-04-24 14:49:46 UTC
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

Comment 7 Fedora Update System 2024-04-26 18:25:31 UTC
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

Comment 8 Fedora Update System 2024-04-26 20:03:32 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.