Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600658 - media-libs/opencv-3.1.0-r6 - opencv_contrib-75b3ea9f72fdb083140fc63855b7677d67748376/modules/optflow/src/dis_flow.cpp:54:1: error: expected class-name before ‘{’ token
Summary: media-libs/opencv-3.1.0-r6 - opencv_contrib-75b3ea9f72fdb083140fc63855b7677d6...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-24 10:22 UTC by Dennis Schridde
Modified: 2018-05-25 19:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (xz-compressed) (build.log.xz,41.84 KB, application/x-xz)
2016-11-24 10:22 UTC, Dennis Schridde
Details
emerge --info opencv (emerge.info,17.65 KB, application/x-info)
2016-11-24 10:23 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2016-11-24 10:22:16 UTC
/var/tmp/portage/media-libs/opencv-3.1.0-r6/work/opencv_contrib-75b3ea9f72fdb083140fc63855b7677d67748376/modules/optflow/src/dis_flow.cpp:54:1: error: expected class-name before ‘{’ token
 {
 ^
/var/tmp/portage/media-libs/opencv-3.1.0-r6/work/opencv_contrib-75b3ea9f72fdb083140fc63855b7677d67748376/modules/optflow/src/dis_flow.cpp:472:5: error: ‘DISOpticalFlow’ was not declared in this scope
 Ptr<DISOpticalFlow> createOptFlow_DIS() { return makePtr<DISOpticalFlowImpl>(); }
     ^
/var/tmp/portage/media-libs/opencv-3.1.0-r6/work/opencv_contrib-75b3ea9f72fdb083140fc63855b7677d67748376/modules/optflow/src/dis_flow.cpp:472:19: error: template argument 1 is invalid
 Ptr<DISOpticalFlow> createOptFlow_DIS() { return makePtr<DISOpticalFlowImpl>(); }
                   ^
/var/tmp/portage/media-libs/opencv-3.1.0-r6/work/opencv_contrib-75b3ea9f72fdb083140fc63855b7677d67748376/modules/optflow/src/dis_flow.cpp: In function ‘int cv::optflow::createOptFlow_DIS()’:
/var/tmp/portage/media-libs/opencv-3.1.0-r6/work/opencv_contrib-75b3ea9f72fdb083140fc63855b7677d67748376/modules/optflow/src/dis_flow.cpp:472:21: warning: no previous declaration for ‘int cv::optflow::createOptFlow_DIS()’ [-Wmissing-declarations]
 Ptr<DISOpticalFlow> createOptFlow_DIS() { return makePtr<DISOpticalFlowImpl>(); }
                     ^
/var/tmp/portage/media-libs/opencv-3.1.0-r6/work/opencv_contrib-75b3ea9f72fdb083140fc63855b7677d67748376/modules/optflow/src/dis_flow.cpp:472:77: error: invalid user-defined conversion from ‘cv::Ptr<cv::optflow::DISOpticalFlowImpl>’ to ‘int’ [-fpermissive]
 Ptr<DISOpticalFlow> createOptFlow_DIS() { return makePtr<DISOpticalFlowImpl>(); }
                                                                             ^
Comment 1 Dennis Schridde 2016-11-24 10:22:48 UTC
Created attachment 454200 [details]
build.log (xz-compressed)
Comment 2 Dennis Schridde 2016-11-24 10:23:11 UTC
Created attachment 454202 [details]
emerge --info opencv
Comment 3 Amy Liffey gentoo-dev 2016-11-25 12:02:38 UTC
Seems there was lot of bugs in this module I will try to update contrib to more recent version.
Comment 4 Larry the Git Cow gentoo-dev 2018-05-25 19:33:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87c7f56621506120ca81cb7098b836d922280d7d

commit 87c7f56621506120ca81cb7098b836d922280d7d
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2018-05-25 19:33:22 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-05-25 19:33:22 +0000

    media-libs/opencv: drop old 3.1.0
    
    Closes: https://bugs.gentoo.org/557328
    Closes: https://bugs.gentoo.org/600658
    Closes: https://bugs.gentoo.org/607830
    Closes: https://bugs.gentoo.org/611964
    Closes: https://bugs.gentoo.org/639896
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-libs/opencv/Manifest               |   2 -
 media-libs/opencv/opencv-3.1.0-r8.ebuild | 328 -------------------------------
 2 files changed, 330 deletions(-)