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 1307821

Summary: opencv: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: opencvAssignee: Nicolas Chauvet (kwizart) <kwizart>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: hhorak, jmlich83, karlthered, kwizart, nomis80, pkajaba, sergio, 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-03-02 19:11:59 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
Fix FTBFS with GCC 6 (#1307821) none

Description Fedora Release Engineering 2016-02-13 21:56:49 UTC
Your package opencv failed to build from source in current rawhide.

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

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

Comment 1 Fedora Release Engineering 2016-02-13 21:56:53 UTC
Created attachment 1125524 [details]
build.log

Comment 2 Fedora Release Engineering 2016-02-13 21:56:55 UTC
Created attachment 1125525 [details]
root.log

Comment 3 Fedora Release Engineering 2016-02-13 21:56:57 UTC
Created attachment 1125526 [details]
state.log

Comment 4 Jan Kurik 2016-02-24 14:57:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 5 Yaakov Selkowitz 2016-02-25 22:26:17 UTC
/builddir/build/BUILD/opencv-2.4.12.3/modules/contrib/src/chamfermatching.cpp:969:30: error: the compiler can assume that the address of 'annotate_img' will never be NULL [-Werror=address]
             if (&annotate_img!=NULL) {
                 ~~~~~~~~~~~~~^~~
/builddir/build/BUILD/opencv-2.4.12.3/modules/contrib/src/chamfermatching.cpp:1016:34: error: the compiler can assume that the address of 'annotate_img' will never be NULL [-Werror=address]
                 if (&annotate_img!=NULL) {
                     ~~~~~~~~~~~~~^~~
/builddir/build/BUILD/opencv-2.4.12.3/modules/contrib/src/chamfermatching.cpp:1111:25: error: the compiler can assume that the address of 'orientation_img' will never be NULL [-Werror=address]
     if (&orientation_img!=NULL) {
         ~~~~~~~~~~~~~~~~^~~

Upstream fix (among other unrelated changes): https://github.com/Itseez/opencv/commit/eebd4cad665f4f1270ca58bb13e9708e130f9b30

Comment 6 Yaakov Selkowitz 2016-03-01 06:34:32 UTC
Created attachment 1131801 [details]
Fix FTBFS with GCC 6 (#1307821)

Scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=13185264

Comment 7 Sergio Basto 2016-03-02 00:15:07 UTC
Unstreamed https://github.com/Itseez/opencv/issues/6195 , do you want do a build or we wait for upstream ?

Comment 8 Sergio Basto 2016-03-02 01:08:59 UTC
Commit is also applied in branch 2.4, upstream said: Just wait for 2.4.13 release.

Comment 9 Yaakov Selkowitz 2016-03-02 02:12:48 UTC
(In reply to Sergio Monteiro Basto from comment #7)
> Unstreamed https://github.com/Itseez/opencv/issues/6195 , do you want do a
> build or we wait for upstream ?

I'd prefer a build now.