Bug 1423868

Summary: libosmocore: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: libosmocoreAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jskarvad, rc040203
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-20 21:15:45 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: 1423041    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2017-02-17 15:03:40 UTC
Your package libosmocore failed to build from source in current rawhide.

https://koji.fedoraproject.org/koji/taskinfo?taskID=17733884

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Comment 1 Fedora Release Engineering 2017-02-17 15:03:46 UTC
Created attachment 1252936 [details]
build.log

Comment 2 Fedora Release Engineering 2017-02-17 15:03:49 UTC
Created attachment 1252937 [details]
root.log

Comment 3 Fedora Release Engineering 2017-02-17 15:03:52 UTC
Created attachment 1252938 [details]
state.log

Comment 4 Ralf Corsepius 2017-02-20 15:00:53 UTC
This package suffers from GCC7 having changed inline-behavior.

This simple patch to the sources fixes the FTBFS: 
diff -Naur libosmocore-0.9.0.orig/tests/kasumi/kasumi_test.c libosmocore-0.9.0/tests/kasumi/kasumi_test.c
--- libosmocore-0.9.0.orig/tests/kasumi/kasumi_test.c   2015-11-09 10:52:19.000000000 +0100
+++ libosmocore-0.9.0/tests/kasumi/kasumi_test.c        2017-02-20 15:36:21.382439412 +0100
@@ -10,7 +10,7 @@

 /* Test vectors are taken from TS 135 202 */

-inline int _compare_mem(uint8_t * x, uint8_t * y, size_t len)
+static inline int _compare_mem(uint8_t * x, uint8_t * y, size_t len)
 {
        if (0 != memcmp(x, y, len)) {
                printf ("X: %s\t", osmo_hexdump_nospc(x, len));

Comment 5 Jaroslav Škarvada 2017-02-20 21:15:45 UTC
Resolved by rebase.