Summary: | sci-libs/flann-1.9.1 - CMake Error at src/cpp/CMakeLists.txt:32 - No SOURCES given to target: flann_cpp | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | archenroot, jaak, mark+gentoobugs, vivo75 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | sci-libs:flann-1.9.1:20180606-162853.log |
Description
Juergen Rose
2018-06-06 16:57:25 UTC
me too # emerge --info flann Portage 2.3.40 (python 3.6.5-final-0, !../../var/portage/repos/vivovl/profiles/desktop/desk1, gcc-8.1.0, glibc-2.27-r3, 4.14.47-serv x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.14.47-serv-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630_v4_@_2.20GHz-with-gentoo-2.6 KiB Mem: 131912260 total, 64741900 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 06 Jun 2018 00:45:01 +0000 Head commit of repository gentoo: ef0c997909858dad994cf369f77bbb9fd02d5766 Timestamp of repository vivovl: Fri, 11 May 2018 11:59:18 +0000 Head commit of repository vivovl: 342246697f346a0f86f8faa21d143a3bfa7b392b sh bash 4.4_p19 ld GNU ld (Gentoo 2.30 p2) 2.30.0 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] ccache version 3.3.4 [disabled] app-shells/bash: 4.4_p19::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.14-r2::gentoo, 3.6.5-r1::gentoo dev-util/ccache: 3.3.4-r1::gentoo dev-util/cmake: 3.11.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6::gentoo sys-apps/openrc: 0.36::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r2::gentoo sys-devel/gcc: 8.1.0-r3::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r3::gentoo Repositories: gentoo location: /var/portage/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 vivovl location: /var/portage/repos/vivovl sync-type: git sync-uri: git@github.com:vivo75/vivovl.git masters: gentoo priority: 1001 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=corei7 -pipe -mindirect-branch=thunk -flto=4 -fuse-linker-plugin -fno-fat-lto-objects -grecord-gcc-switches -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O3 -march=corei7 -pipe -mindirect-branch=thunk -flto=4 -fuse-linker-plugin -fno-fat-lto-objects -grecord-gcc-switches -frecord-gcc-switches" DISTDIR="/var/portage/distfiles" EMERGE_DEFAULT_OPTS="--dynamic-deps=n --autounmask=y --ask-enter-invalid --usepkg=n --load-average=8 --jobs=1 --quiet-build" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg collision-protect compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox multilib-strict network-sandbox news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-elog split-log splitdebug strict strict-keepdir test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="/usr/lib64/debug/* /usr/src/debug/* /usr/share/locale/* /lib/modules/*" LANG="it_IT.UTF-8" LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--as-needed,-z,now -O3 -march=corei7 -pipe -mindirect-branch=thunk -flto=4 -fuse-linker-plugin -fno-fat-lto-objects -grecord-gcc-switches -frecord-gcc-switches" MAKEOPTS="-j40 --load-average=30" PKGDIR="/var/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi activities alsa amd64 appstream berkdb bluetooth branding bzip2 cairo cdda cdr clang cli cpudetection crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gles2 gpm gpu gtk iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc lz4 mad metric mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opencl opengl openmp pam pango pcre pdf pgo phonon plasma png policykit ppds pulseaudio qml qt3support qt5 readline sdl seccomp semantic-desktop spell sse sse2 ssl startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="krita karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev wacom libinput synaptics" KERNEL="linux" L10N="en it" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 AMDGPU ARM BPF NVPTX X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 pypy3" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 arm" RUBY_TARGETS="ruby25" SANE_BACKENDS="hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005" USERLAND="GNU" VIDEO_CARDS="intel i965 nouveau radeon radeonsi amdgpu qxl modesetting virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= sci-libs/flann-1.9.1::gentoo was built with the following: USE="openmp -cuda -doc -examples -mpi -octave -static-libs" ABI_X86="(64)" CXXFLAGS="-O3 -march=corei7 -pipe -mindirect-branch=thunk -flto=4 -fuse-linker-plugin -fno-fat-lto-objects -grecord-gcc-switches -frecord-gcc-switches -std=c++11" Duplicate of https://bugs.gentoo.org/652594 ? (In reply to Jaak Ristioja from comment #2) > Duplicate of https://bugs.gentoo.org/652594 ? Possible. It would be nice if someone would confirm (and fix) ist, because due to this bug I'm unable to emerge digicam, which is very annoying :-/ Well as per this bug report: https://github.com/mariusmuja/flann/issues/369#ref-commit-4abbf40 It works with cmake 3.10, but fails on higher version, it is work in progress, but you can downgrade and test it for your digicam. (In reply to Ladislav Jech from comment #4) > Well as per this bug report: > https://github.com/mariusmuja/flann/issues/369#ref-commit-4abbf40 > > It works with cmake 3.10, but fails on higher version, it is work in > progress, but you can downgrade and test it for your digicam. No I can't - not easily: emerge -1 =dev-util/cmake-3.10.3 -- Found LibArchive: /usr/lib/libarchive.so (found suitable version "3.3.2", minimum required is "3.0.0") -- Could NOT find LibUV: Found unsuitable version "", but required is at least "1.0.0" (found /usr/lib/libuv.so) CMake Error at CMakeLists.txt:531 (message): CMAKE_USE_SYSTEM_LIBUV is ON but a libuv is not found! Anyway, what bothers me most: This is apparently an upstream bug. Fair enough, yet noone assigned to this bug from Gentoo has acknowledged/confirmed this, even though there a packages like digicam reyling on this library - and the bug has been open for nearly 20 days. Honestly, is *anyone* from sci@gentoo.org even remotely interested in fixing this? Ok, you just need manually install libuv and that's it. I understand your frustration, but sci team is busy, the repo si becoming quite big. You are always free to help Gentoo :-) Also stable cmake is 3.9.6 in Gentoo, so even you used 3.10 as I suggested based on upstream discussion, it is still not considered as stable. As you are in unstable tree, you should expect things not always working. But I am now compiling digikam and all looks good. (version 5.9.0 emerged without issues) 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(+) |