Bug 2259130

Summary: caribou: FTBFS in Fedora Rawhide
Product: [Fedora] Fedora Reporter: leigh scott <leigh123linux>
Component: caribouAssignee: leigh scott <leigh123linux>
Status: CLOSED COMPLETED QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: dueno, epel-packagers-sig, fweimer, leigh123linux, riehecky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/caribou
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-03-30 07:09:44 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:
Bug Depends On:    
Bug Blocks: 2137512    

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.