Bug 1306222

Summary: loudmouth: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: loudmouthAssignee: Peter Robinson <pbrobinson>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fale, lkundrak, otaylor, pavel, pbrobinson, sander, yselkowi
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-23 18:12:07 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
Patch for rawhide none

Description Fedora Release Engineering 2016-02-10 11:04:54 UTC
Your package loudmouth failed to build from source in current rawhide.

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

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

Comment 1 Fedora Release Engineering 2016-02-10 11:04:59 UTC
Created attachment 1122736 [details]
build.log

Comment 2 Fedora Release Engineering 2016-02-10 11:05:02 UTC
Created attachment 1122737 [details]
root.log

Comment 3 Fedora Release Engineering 2016-02-10 11:05:05 UTC
Created attachment 1122738 [details]
state.log

Comment 4 Yaakov Selkowitz 2016-02-19 05:49:28 UTC
Created attachment 1128450 [details]
Patch for rawhide

- Work around gtk-doc breakage in tarball (#1306222)
- Disable -Werror in release tarball

Those are from an epel7 build, and the 1.5.2 tarball is indeed broken,
but on f24 there is also the following:

lm-sock.c: In function '_lm_sock_get_local_host':
lm-sock.c:365:33: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
         sock_addr = & (((struct sockaddr_in *) &addr_info)->sin_addr);
                                 ^~~~~~~~~~~
lm-sock.c:368:33: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
         sock_addr = & (((struct sockaddr_in6 *) &addr_info)->sin6_addr);
                                 ^~~~~~~~~~~~

The logic to not use -Werror in release tarballs is also broken.

Comment 5 Fabio Alessandro Locati 2016-02-21 11:15:48 UTC
Thanks a lot Yaakov Selkowitz :). It builded properly (http://koji.fedoraproject.org/koji/buildinfo?buildID=737487)

I've committed it in EPEL7 branch (I don't have ACL for Fedora branches). I'll ping pbrobinson and hopefully he will merge it in rawhide too :)