Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652594 - sci-libs/flann-1.9.1 : CMake Error at src/.../CMakeLists.txt:32 (add_library):
Summary: sci-libs/flann-1.9.1 : CMake Error at src/.../CMakeLists.txt:32 (add_library):
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: STABLEREQ
: 652974 686338 (view as bug list)
Depends on:
Blocks: 668020 678030
  Show dependency tree
 
Reported: 2018-04-05 15:35 UTC by Toralf Förster
Modified: 2019-05-19 21:42 UTC (History)
5 users (show)

See Also:
Package list:
sci-libs/flann-1.9.1-r2
Runtime testing required: ---
stable-bot: sanity-check+


Attachments
emerge-info.txt (emerge-info.txt,15.95 KB, text/plain)
2018-04-05 15:35 UTC, Toralf Förster
no flags Details
emerge-history.txt (emerge-history.txt,110.53 KB, text/plain)
2018-04-05 15:35 UTC, Toralf Förster
no flags Details
environment (environment,116.57 KB, text/plain)
2018-04-05 15:35 UTC, Toralf Förster
no flags Details
etc.portage.tbz2 (etc.portage.tbz2,14.11 KB, application/x-bzip)
2018-04-05 15:35 UTC, Toralf Förster
no flags Details
logs.tbz2 (logs.tbz2,7.01 KB, application/x-bzip)
2018-04-05 15:35 UTC, Toralf Förster
no flags Details
sci-libs:flann-1.9.1:20180405-005711.log (sci-libs:flann-1.9.1:20180405-005711.log,4.54 KB, text/plain)
2018-04-05 15:35 UTC, Toralf Förster
no flags Details
temp.tbz2 (temp.tbz2,28.14 KB, application/x-bzip)
2018-04-05 15:35 UTC, Toralf Förster
no flags Details
flann-1.9.1-cmake-3.11.patch (flann-1.9.1-cmake-3.11.patch,1.17 KB, patch)
2018-06-26 21:14 UTC, Jaak Ristioja
no flags Details | Diff
emerge-info.txt (emerge-info.txt,15.58 KB, text/plain)
2019-05-03 17:06 UTC, Toralf Förster
no flags Details
emerge-history.txt (emerge-history.txt,91.90 KB, text/plain)
2019-05-03 17:06 UTC, Toralf Förster
no flags Details
environment (environment,115.31 KB, text/plain)
2019-05-03 17:06 UTC, Toralf Förster
no flags Details
etc.portage.tbz2 (etc.portage.tbz2,10.33 KB, application/x-bzip)
2019-05-03 17:06 UTC, Toralf Förster
no flags Details
logs.tbz2 (logs.tbz2,6.80 KB, application/x-bzip)
2019-05-03 17:06 UTC, Toralf Förster
no flags Details
sci-libs:flann-1.9.1:20190503-163553.log (sci-libs:flann-1.9.1:20190503-163553.log,4.50 KB, text/plain)
2019-05-03 17:06 UTC, Toralf Förster
no flags Details
temp.tbz2 (temp.tbz2,28.03 KB, application/x-bzip)
2019-05-03 17:06 UTC, Toralf Förster
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-04-05 15:35:13 UTC
-- Configuring done
CMake Error at src/cpp/CMakeLists.txt:32 (add_library):
  No SOURCES given to target: flann_cpp



  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-developer_20180402-130354

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sci-libs/flann
[ebuild  N    ] sci-libs/flann-1.9.1  USE="openmp -cuda -doc -examples -mpi -octave -static-libs"
Comment 1 Toralf Förster gentoo-dev 2018-04-05 15:35:16 UTC
Created attachment 526622 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-05 15:35:19 UTC
Created attachment 526624 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-04-05 15:35:22 UTC
Created attachment 526626 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-04-05 15:35:25 UTC
Created attachment 526628 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-04-05 15:35:28 UTC
Created attachment 526630 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-04-05 15:35:31 UTC
Created attachment 526632 [details]
sci-libs:flann-1.9.1:20180405-005711.log
Comment 7 Toralf Förster gentoo-dev 2018-04-05 15:35:34 UTC
Created attachment 526634 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2018-04-16 16:21:32 UTC
*** Bug 652974 has been marked as a duplicate of this bug. ***
Comment 9 Ștefan Talpalaru 2018-04-17 19:12:09 UTC
A fixed sci-libs/flann-1.9.1-r1 is available in my overlay: https://github.com/stefantalpalaru/gentoo-overlay

The problem stems from cmake-3.11.0 and the upstream bug report is https://github.com/mariusmuja/flann/issues/369

My patch uses the same approach as Alpine Linux: https://github.com/alpinelinux/aports/pull/3901/files
Comment 10 Juergen Rose 2018-04-25 08:59:26 UTC
(In reply to Ștefan Talpalaru from comment #9)
> A fixed sci-libs/flann-1.9.1-r1 is available in my overlay:
> https://github.com/stefantalpalaru/gentoo-overlay
> 
> The problem stems from cmake-3.11.0 and the upstream bug report is
> https://github.com/mariusmuja/flann/issues/369
> 
> My patch uses the same approach as Alpine Linux:
> https://github.com/alpinelinux/aports/pull/3901/files

Thanks, the patch in the overlay worked here.
Comment 11 Dennis Schridde 2018-04-27 19:45:47 UTC
(In reply to Ștefan Talpalaru from comment #9)
> The problem stems from cmake-3.11.0 and the upstream bug report is
> https://github.com/mariusmuja/flann/issues/369

Thanks, that patch fixes the issue.
Comment 12 Jaak Ristioja 2018-06-26 21:14:56 UTC
Created attachment 537356 [details, diff]
flann-1.9.1-cmake-3.11.patch
Comment 13 Larry the Git Cow gentoo-dev 2018-07-01 10:11:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9140856244cc5799ca2c9d3196ec3d381414a2ab

commit 9140856244cc5799ca2c9d3196ec3d381414a2ab
Author:     Maxim Koltsov <maksbotan@gentoo.org>
AuthorDate: 2018-07-01 10:10:55 +0000
Commit:     Maxim Koltsov <maksbotan@gentoo.org>
CommitDate: 2018-07-01 10:10:55 +0000

    sci-libs/flann: fix build with >cmake-3.10
    
    Took patch from Buildroot project, see
    https://github.com/buildroot/buildroot/commit/0c469478f64d0ddaf72c0622a1830d855306d51c
    
    Closes: https://bugs.gentoo.org/652594
    Closes: https://bugs.gentoo.org/657470
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-libs/flann/files/flann-1.9.1-cmake-3.11.patch | 80 ++++++++++++++++++++
 sci-libs/flann/flann-1.9.1-r1.ebuild              | 90 +++++++++++++++++++++++
 sci-libs/flann/flann-9999.ebuild                  |  4 +
 3 files changed, 174 insertions(+)
Comment 14 Toralf Förster gentoo-dev 2019-05-03 17:06:31 UTC
it is still an issue at stable amd64 tinderbox image 17.0-desktop_stable_20190501-183928
Comment 15 Toralf Förster gentoo-dev 2019-05-03 17:06:34 UTC
Created attachment 575004 [details]
emerge-info.txt
Comment 16 Toralf Förster gentoo-dev 2019-05-03 17:06:37 UTC
Created attachment 575006 [details]
emerge-history.txt
Comment 17 Toralf Förster gentoo-dev 2019-05-03 17:06:40 UTC
Created attachment 575008 [details]
environment
Comment 18 Toralf Förster gentoo-dev 2019-05-03 17:06:43 UTC
Created attachment 575010 [details]
etc.portage.tbz2
Comment 19 Toralf Förster gentoo-dev 2019-05-03 17:06:46 UTC
Created attachment 575012 [details]
logs.tbz2
Comment 20 Toralf Förster gentoo-dev 2019-05-03 17:06:49 UTC
Created attachment 575014 [details]
sci-libs:flann-1.9.1:20190503-163553.log
Comment 21 Toralf Förster gentoo-dev 2019-05-03 17:06:52 UTC
Created attachment 575016 [details]
temp.tbz2
Comment 22 Toralf Förster gentoo-dev 2019-05-03 17:11:11 UTC
from IRC:

19:08] <asturm> toralf: thanks, legitimate >=cmake-3.11 bug fixed by commit 9140856 or 1.9.1-r2
Comment 23 Andreas Sturmlechner gentoo-dev 2019-05-03 17:11:52 UTC
Arches, please stabilise!
Comment 24 Thomas Deutschmann (RETIRED) gentoo-dev 2019-05-13 01:42:09 UTC
x86 stable
Comment 25 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-05-19 20:59:51 UTC
amd64 stable
Comment 26 Andreas Sturmlechner gentoo-dev 2019-05-19 21:40:04 UTC
*** Bug 686338 has been marked as a duplicate of this bug. ***
Comment 27 Larry the Git Cow gentoo-dev 2019-05-19 21:42:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3368d93400098b40cc0b8cef7a3d7b19d99e5b81

commit 3368d93400098b40cc0b8cef7a3d7b19d99e5b81
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-05-19 21:40:32 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-05-19 21:42:26 +0000

    sci-libs/flann: Really 1.9.1-r2 amd64 stable
    
    We got mail so we assume it was done.
    
    Closes: https://bugs.gentoo.org/652594
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-libs/flann/flann-1.9.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)