Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689398 - app-editors/neovim-9999 should depend on dev-libs/libuv ?/msgpack - CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Msgpack (missing: MSGPACK_LIBRARY MSGPACK_INCLUDE_DIR) (Required is at least
Summary: app-editors/neovim-9999 should depend on dev-libs/libuv ?/msgpack - CMake Err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-07 07:55 UTC by Stephan Lukasczyk
Modified: 2020-09-29 23:25 UTC (History)
2 users (show)

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 Stephan Lukasczyk 2019-07-07 07:55:09 UTC
Since 2019-06-10, neovim-9999 (git version) requires libluv (cf. https://github.com/neovim/neovim/wiki/Following-HEAD#20190610), which is missing as a dependency in the ebuild.  This might also influence a future stable release of neovim.

Because of the missing dependency, the build fails, reporting that cmake was not able to find libluv.

Reproducible: Always

Steps to Reproduce:
Install neovim-9999
Actual Results:  
Build fails with cmake reporting that it was not able to find libluv.

Expected Results:  
Compilation should work, when dependency is in place.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-07-07 16:14:38 UTC
>>> Configuring source in /home/jer/portage/app-editors/neovim-9999/work/neovim-9999 ...
>>> Working in BUILD_DIR: "/home/jer/portage/app-editors/neovim-9999/work/neovim-9999_build"
cmake -C /home/jer/portage/app-editors/neovim-9999/work/neovim-9999_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DFEAT_TUI=yes -DPREFER_LUA=no -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/home/jer/portage/app-editors/neovim-9999/work/neovim-9999_build/gentoo_toolchain.cmake  /home/jer/portage/app-editors/neovim-9999/work/neovim-9999
loading initial cache file /home/jer/portage/app-editors/neovim-9999/work/neovim-9999_build/gentoo_common_config.cmake
CMake Warning (dev) at gentoo_common_config.cmake:8 (SET):
  implicitly converting 'BOOLEAN' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- CMAKE_INSTALL_PREFIX=/usr
-- CMAKE_BUILD_TYPE=Release
-- MIN_LOG_LEVEL not specified, default is 1 (INFO)
-- Performing Test HAS_OG_FLAG
-- Performing Test HAS_OG_FLAG - Success
-- Performing Test HAS_ACCEPTABLE_FORTIFY
-- Performing Test HAS_ACCEPTABLE_FORTIFY - Failed
-- Unsupported _FORTIFY_SOURCE found, forcing _FORTIFY_SOURCE=1
-- Performing Test HAVE_EXECINFO_BACKTRACE
-- Performing Test HAVE_EXECINFO_BACKTRACE - Success
-- Performing Test HAVE_BUILTIN_ADD_OVERFLOW
-- Performing Test HAVE_BUILTIN_ADD_OVERFLOW - Success
-- Performing Test HAS_WIMPLICIT_FALLTHROUGH_FLAG
-- Performing Test HAS_WIMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test HAS_WVLA_FLAG
-- Performing Test HAS_WVLA_FLAG - Success
-- Performing Test HAS_FSTACK_PROTECTOR_STRONG_FLAG
-- Performing Test HAS_FSTACK_PROTECTOR_STRONG_FLAG - Success
-- Performing Test HAS_FSTACK_PROTECTOR_FLAG
-- Performing Test HAS_FSTACK_PROTECTOR_FLAG - Success
-- Performing Test HAS_DIAG_COLOR_FLAG
-- Performing Test HAS_DIAG_COLOR_FLAG - Success
-- Performing Test HAS_NO_ARRAY_BOUNDS_FLAG
-- Performing Test HAS_NO_ARRAY_BOUNDS_FLAG - Success
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.29.2")
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for kstat_lookup in kstat
-- Looking for kstat_lookup in kstat - not found
-- Looking for kvm_open in kvm
-- Looking for kvm_open in kvm - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for perfstat_cpu in perfstat
-- Looking for perfstat_cpu in perfstat - not found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for sendfile in sendfile
-- Looking for sendfile in sendfile - not found
-- Found LibUV: /usr/lib64/libuv.so
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Msgpack (missing: MSGPACK_LIBRARY MSGPACK_INCLUDE_DIR)
  (Required is at least version "1.0.0")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindMsgpack.cmake:57 (find_package_handle_standard_args)
  CMakeLists.txt:383 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/jer/portage/app-editors/neovim-9999/work/neovim-9999_build/CMakeFiles/CMakeOutput.log".
See also "/home/jer/portage/app-editors/neovim-9999/work/neovim-9999_build/CMakeFiles/CMakeError.log".
 * ERROR: app-editors/neovim-9999::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2741:  Called cmake-utils_src_configure
 *   environment, line 1148:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
Comment 2 Victor 2019-09-24 22:57:02 UTC
worked.
please add depend >=dev-libs/libvterm-0.1 and >=dev-lua/luv-1.30.1.1
Comment 3 Laurent V 2020-07-01 21:01:30 UTC
Hello,

Just to let you know that it affects neovim 0.4.3 stable too.

Cheers,

Laurent
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-09-29 23:25:25 UTC
(In reply to Laurent V from comment #3)
> Just to let you know that it affects neovim 0.4.3 stable too.

+DEPEND="
+	dev-libs/libuv:0=
+	>=dev-libs/libvterm-0.1.2
+	dev-libs/msgpack:0=
+	dev-lua/lpeg[luajit=]
+	dev-lua/luv[luajit=]

This was in 0.4.3 since it was added on 28th November 2019. Original issue seems to have been fixed in: https://gitweb.gentoo.org/repo/gentoo.git/commit/app-editors/neovim?id=6dd94f84c0fa2fe338bbeaf9d4ff20ba69a948b9.