Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684694 - sci-libs/ceres-solver-1.12.0 - CMake Error at /usr/lib64/cmake/Ceres/CeresConfig.cmake:89 (else): A duplicate ELSE command was found inside an IF block.
Summary: sci-libs/ceres-solver-1.12.0 - CMake Error at /usr/lib64/cmake/Ceres/CeresCon...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-29 04:28 UTC by Leonard Lausen
Modified: 2020-03-22 23:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonard Lausen 2019-04-29 04:28:16 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=1479023

Version 1.12.0 prevents compilation of opencv with contrib and contrib_dnn flags.

CMake Error at /usr/lib64/cmake/Ceres/CeresConfig.cmake:89 (else):
  A duplicate ELSE command was found inside an IF block.
Call Stack (most recent call first):
  /usr/lib64/cmake/Ceres/CeresConfig.cmake:217 (ceres_report_not_found)
  /var/tmp/portage/media-libs/opencv-3.4.1-r5/work/opencv_contrib-3.4.1/modules/sfm/CMakeLists.txt:8 (find_package)


Either backporting the fix (see fedora) or bumping version should solve this.
Comment 1 Andreas Sturmlechner gentoo-dev 2020-03-22 23:45:29 UTC
Fixed in 1.14 then.