-- 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"
Created attachment 526622 [details] emerge-info.txt
Created attachment 526624 [details] emerge-history.txt
Created attachment 526626 [details] environment
Created attachment 526628 [details] etc.portage.tbz2
Created attachment 526630 [details] logs.tbz2
Created attachment 526632 [details] sci-libs:flann-1.9.1:20180405-005711.log
Created attachment 526634 [details] temp.tbz2
*** Bug 652974 has been marked as a duplicate of this bug. ***
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
(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.
(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.
Created attachment 537356 [details, diff] flann-1.9.1-cmake-3.11.patch
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(+)
it is still an issue at stable amd64 tinderbox image 17.0-desktop_stable_20190501-183928
Created attachment 575004 [details] emerge-info.txt
Created attachment 575006 [details] emerge-history.txt
Created attachment 575008 [details] environment
Created attachment 575010 [details] etc.portage.tbz2
Created attachment 575012 [details] logs.tbz2
Created attachment 575014 [details] sci-libs:flann-1.9.1:20190503-163553.log
Created attachment 575016 [details] temp.tbz2
from IRC: 19:08] <asturm> toralf: thanks, legitimate >=cmake-3.11 bug fixed by commit 9140856 or 1.9.1-r2
Arches, please stabilise!
x86 stable
amd64 stable
*** Bug 686338 has been marked as a duplicate of this bug. ***
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(-)