Bug 1305218

Summary: qt: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: qtAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: itamar, jreznik, kevin, ltinkl, me, rdieter, rnovacek, smparrish, than
Target Milestone: ---   
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-10 17:10:54 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-06 06:29:57 UTC
Your package qt failed to build from source in current rawhide.

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

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

Comment 1 Fedora Release Engineering 2016-02-06 06:30:03 UTC
Created attachment 1121586 [details]
build.log

Comment 2 Fedora Release Engineering 2016-02-06 06:30:07 UTC
Created attachment 1121587 [details]
root.log

Comment 3 Fedora Release Engineering 2016-02-06 06:30:11 UTC
Created attachment 1121588 [details]
state.log

Comment 4 Kevin Kofler 2016-02-06 10:05:44 UTC
In file included from api/qcoloringmessagehandler_p.h:57:0,
                 from api/qxmlquery_p.h:67,
                 from api/qvariableloader.cpp:54:
api/qcoloroutput_p.h:74:60: warning: result of '(1048575 << 20)' requires 41 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=]
             BackgroundMask  = ((1 << BackgroundShift) - 1) << BackgroundShift
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
api/qcoloroutput_p.h:74:60: error: shift expression '(1048575 << 20)' overflows [-fpermissive]
api/qcoloroutput_p.h:74:63: error: enumerator value for 'BackgroundMask' is not an integer constant
             BackgroundMask  = ((1 << BackgroundShift) - 1) << BackgroundShift
                                                               ^~~~~~~~~~~~~~~
Makefile:2595: recipe for target '.obj/release-shared/qvariableloader.o' failed
make[1]: *** [.obj/release-shared/qvariableloader.o] Error 1

Comment 5 Than Ngo 2016-02-09 22:10:11 UTC
(In reply to Kevin Kofler from comment #4)
> In file included from api/qcoloringmessagehandler_p.h:57:0,
>                  from api/qxmlquery_p.h:67,
>                  from api/qvariableloader.cpp:54:
> api/qcoloroutput_p.h:74:60: warning: result of '(1048575 << 20)' requires 41
> bits to represent, but 'int' only has 32 bits [-Wshift-overflow=]
>              BackgroundMask  = ((1 << BackgroundShift) - 1) <<
> BackgroundShift
>                               
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
> api/qcoloroutput_p.h:74:60: error: shift expression '(1048575 << 20)'
> overflows [-fpermissive]
> api/qcoloroutput_p.h:74:63: error: enumerator value for 'BackgroundMask' is
> not an integer constant
>              BackgroundMask  = ((1 << BackgroundShift) - 1) <<
> BackgroundShift
>                                                               
> ^~~~~~~~~~~~~~~
> Makefile:2595: recipe for target '.obj/release-shared/qvariableloader.o'
> failed
> make[1]: *** [.obj/release-shared/qvariableloader.o] Error 1

this issue is alread fixed (fix commited in git). There're still many other issues which cause the build failure. I'm working on the fi

Comment 6 Than Ngo 2016-02-10 17:10:54 UTC
it's fixed in qt-4.8.7-8.fc24.

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