Bug 1675791

Summary: gnome-libs: FTBFS in Fedora rawhide/f30
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: gnome-libsAssignee: Paul Howarth <paul>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: paul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-libs-1.4.2-47.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-12 15:48:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1674516    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2019-02-11 21:39:40 UTC
gnome-libs failed to build from source in Fedora rawhide/f30

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Please fix gnome-libs at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
gnome-libs will be orphaned. Before branching of Fedora 31,
gnome-libs will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Fedora Release Engineering 2019-02-11 21:39:42 UTC
Created attachment 1532382 [details]
build.log

file build.log too big, will only attach last 1024 bytes

Comment 2 Fedora Release Engineering 2019-02-11 21:39:43 UTC
Created attachment 1532383 [details]
root.log

file root.log too big, will only attach last 1024 bytes

Comment 3 Fedora Release Engineering 2019-02-11 21:39:44 UTC
Created attachment 1532384 [details]
state.log

Comment 4 Paul Howarth 2019-02-12 15:48:34 UTC
There were a number of issues causing the package to fail to build:

1. Some i686-specific assembler code in glib.h that wasn't liked by gcc 9 (fixed in glib)
2. Upstream's use of LDFLAGS instead of LIBS in a configure check broke with --as-needed
3. An arm-specific configure check for detecting files as shared libraries was broken when the file command detected some shared libraries as executables (which is expected now)

I also fixed a couple of issues flagged by compiler warnings whilst I was fixing the FTBFS:

1. Fix memset() argument order in gnome-metadata.c
2. _BSD_SOURCE is deprecated, use _DEFAULT_SOURCE instead