Bug 2259130 - caribou: FTBFS in Fedora Rawhide
Summary: caribou: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: caribou
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: leigh scott
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: PortingToModernCHelpNeeded
TreeView+ depends on / blocked
 
Reported: 2024-01-19 08:13 UTC by leigh scott
Modified: 2025-03-30 07:09 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-03-30 07:09:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME vala merge_requests 369 0 None opened codegen: Emit GCC diagnostics pragmata for GCC 14 compatibility 2024-01-19 13:01:39 UTC

Description leigh scott 2024-01-19 08:13:51 UTC
Description of problem:
Package caribou fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
0.4.21-35.fc39

Steps to Reproduce:
koji build --scratch f40 caribou-0.4.21-35.fc39.src.rpm

https://kojipkgs.fedoraproject.org/work/tasks/3587/111893587/build.log

I have disabled modern c flags to fix the issue.


Reproducible: Always

Comment 1 Florian Weimer 2024-01-19 13:01:40 UTC
The workaround in vala-0.56.14-2.fc40 gets this package to build with GCC 14—if the C sources are regenerated during the build. I had to add this to %prep to make that happen:

diff --git a/caribou.spec b/caribou.spec
index 55d41f9..7544471 100644
--- a/caribou.spec
+++ b/caribou.spec
@@ -99,6 +99,7 @@ non-gnome-shell sessions.
 %prep
 %autosetup -p1
 autoreconf -fiv
+find -name '*.vala' -exec touch {} \;
 
 %build
 %configure --disable-static PYTHON=python3

With this change, lowering the C type safety level is not strictly required anymore.

Comment 2 Aoife Moloney 2024-02-15 23:10:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 3 leigh scott 2025-03-30 07:09:44 UTC
Thanks your solution worked.


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