Bug 1307394

Summary: compat-guile18: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: compat-guile18Assignee: Miroslav Lichvar <mlichvar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jskarvad, jsynacek, mlichvar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: compat-guile18-1.8.8-13.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-17 14:41:40 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: 1305208    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2016-02-13 21:09:39 UTC
Your package compat-guile18 failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=12809962

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

Comment 1 Fedora Release Engineering 2016-02-13 21:09:42 UTC
Created attachment 1124252 [details]
build.log

Comment 2 Fedora Release Engineering 2016-02-13 21:09:44 UTC
Created attachment 1124253 [details]
root.log

Comment 3 Fedora Release Engineering 2016-02-13 21:09:45 UTC
Created attachment 1124254 [details]
state.log

Comment 4 Miroslav Lichvar 2016-02-17 14:41:40 UTC
It looks like the problem is in scm_to_int64() (libguile/conv-integer.i.c) as it depends on -LLONG_MIN being less than zero, which is undefined behavior and it fails with the new gcc. Adding -fwrapv to the CFLAGS seems to fix it.

Interestingly, the code in guile-2.0.11 looks identical, but the test doesn't fail.