Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1423868 - libosmocore: FTBFS in rawhide
Summary: libosmocore: FTBFS in rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libosmocore
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F26FTBFS
TreeView+ depends on / blocked
 
Reported: 2017-02-17 15:03 UTC by Fedora Release Engineering
Modified: 2017-02-20 21:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-20 21:15:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (639.46 KB, text/plain)
2017-02-17 15:03 UTC, Fedora Release Engineering
no flags Details
root.log (82.33 KB, text/plain)
2017-02-17 15:03 UTC, Fedora Release Engineering
no flags Details
state.log (715 bytes, text/plain)
2017-02-17 15:03 UTC, Fedora Release Engineering
no flags Details

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.


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