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 1423813

Summary: kf5-libkface: FTBFS against opencv-3.2+
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: kf5-libkfaceAssignee: Rex Dieter <rdieter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: beaaegicfqmq6rykaqaakty3lqcg6btv, rdieter, sergio, yselkowi
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-14 15:12:19 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: 1423041    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2017-02-17 14:51:02 UTC
Your package kf5-libkface failed to build from source in current rawhide.

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

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

Comment 1 Fedora Release Engineering 2017-02-17 14:51:07 UTC
Created attachment 1252778 [details]
build.log

Comment 2 Fedora Release Engineering 2017-02-17 14:51:09 UTC
Created attachment 1252779 [details]
root.log

Comment 3 Fedora Release Engineering 2017-02-17 14:51:11 UTC
Created attachment 1252780 [details]
state.log

Comment 4 Fedora End Of Life 2017-02-28 11:43:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 5 Rex Dieter 2017-03-08 14:45:44 UTC
errors so far:

/builddir/build/BUILD/libkface-16.12.2/src/recognition-opencv-lbph/facerec_borrowed.h:144:10: error: 'void KFaceIface::LBPHFaceRecognizer::predict(cv::InputArray, cv::Ptr<cv::face::PredictCollector>, int) const' marked 'override', but does not override
     void predict(cv::InputArray src, cv::Ptr<cv::face::PredictCollector> collector, const int state = 0) const override;
          ^~~~~~~

/builddir/build/BUILD/libkface-16.12.2/src/recognition-opencv-lbph/facerec_borrowed.cpp: In member function 'void KFaceIface::LBPHFaceRecognizer::predict(cv::InputArray, cv::Ptr<cv::face::PredictCollector>, int) const':
/builddir/build/BUILD/libkface-16.12.2/src/recognition-opencv-lbph/facerec_borrowed.cpp:407:52: error: no matching function for call to 'cv::face::PredictCollector::init(int, const int&)'
     collector->init((int)m_histograms.size(), state);

/builddir/build/BUILD/libkface-16.12.2/src/recognition-opencv-lbph/facerec_borrowed.cpp:473:29: error: 'class cv::face::PredictCollector' has no member named 'emit'; did you mean 'init'?
             if (!collector->emit(it->first, mean, state))
                             ^~~~

Comment 6 Rex Dieter 2017-03-09 14:56:52 UTC
Filed upstream bug 
https://bugs.kde.org/show_bug.cgi?id=377425

Comment 7 Rex Dieter 2017-05-03 14:01:09 UTC
re-confirming still FTBFS with latest upstream 17.04.0 release (and master/ branch has no relevant changes either)

Comment 8 Rex Dieter 2017-08-03 19:52:43 UTC
*** Bug 1478133 has been marked as a duplicate of this bug. ***

Comment 9 Rex Dieter 2017-10-03 21:13:06 UTC
Echoing comment added to upstream report:

Confirmed still an issue with kde-apps 17.08.1 release as well.

Notice if this isn't fixed soon, fedora will likely have to drop this package from it's collection.

Comment 10 Fedora Update System 2017-10-07 18:28:36 UTC
fedora-obsolete-packages-27-8 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-743fe12b00

Comment 11 Fedora Update System 2017-10-07 18:30:09 UTC
fedora-obsolete-packages-26-4 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-46d08cca05

Comment 12 Fedora Update System 2017-10-08 04:24:13 UTC
fedora-obsolete-packages-26-4 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-46d08cca05

Comment 13 Fedora Update System 2017-10-08 06:25:06 UTC
fedora-obsolete-packages-27-8 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-743fe12b00

Comment 14 Fedora Update System 2017-10-13 16:05:27 UTC
fedora-obsolete-packages-27-9 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3d445455c4

Comment 15 Fedora Update System 2017-10-13 23:29:35 UTC
fedora-obsolete-packages-27-8 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2017-10-15 05:52:52 UTC
fedora-obsolete-packages-27-9 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3d445455c4

Comment 17 Fedora Update System 2017-10-25 23:08:45 UTC
fedora-obsolete-packages-26-4 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2017-11-11 02:52:50 UTC
fedora-obsolete-packages-27-9 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 19 Sergio Basto 2018-01-14 14:42:19 UTC
I'm reopening because package should be retired from rawhide and is not [1] .
So for me we need the action of retire this package , please .  

Thanks

[1] 
wget https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/logs/x86_64/repoclosure-Everything.x86_64.log -qO-  | grep kface -A10
package: kf5-libkface-16.08.3-1.fc26.i686 from repoclosure-Everything.x86_64
  unresolved deps:
    libopencv_core.so.3.1
    libopencv_face.so.3.1
    libopencv_highgui.so.3.1
    libopencv_imgcodecs.so.3.1
    libopencv_imgproc.so.3.1
    libopencv_ml.so.3.1
    libopencv_objdetect.so.3.1
    libopencv_videoio.so.3.1
package: kf5-libkface-16.08.3-1.fc26.x86_64 from repoclosure-Everything.x86_64
  unresolved deps:
    libopencv_core.so.3.1()(64bit)
    libopencv_face.so.3.1()(64bit)
    libopencv_highgui.so.3.1()(64bit)
    libopencv_imgcodecs.so.3.1()(64bit)
    libopencv_imgproc.so.3.1()(64bit)
    libopencv_ml.so.3.1()(64bit)
    libopencv_objdetect.so.3.1()(64bit)
    libopencv_videoio.so.3.1()(64bit)

Comment 20 Rex Dieter 2018-01-14 15:08:10 UTC
I ran fedpkg retire, fyi. Maybe something went wrong

Comment 21 Rex Dieter 2018-01-14 15:12:19 UTC
OK, confirmed it definitely didn't work last time, let's hope this one sticks.

https://src.fedoraproject.org/rpms/kf5-libkface/c/b4433acbedc9c50dace56da66b691e80e2dc7e40