@swiftgeek: Apologies, I did not notice it sets the default PATH in a /etc/profile.d file.
Anyway, fixed upstream: https://github.com/neovim/neovim/pull/2788
Search Criteria
Package Details: neovim-git 0.11.0.r1727.g524cdd35c2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/neovim-git.git (read-only, click to copy) |
---|---|
Package Base: | neovim-git |
Description: | Fork of Vim aiming to improve user experience, plugins, and GUIs |
Upstream URL: | https://neovim.io |
Keywords: | editor |
Licenses: | custom:neovim |
Conflicts: | neovim |
Provides: | neovim, vim-plugin-runtime |
Submitter: | fhahn |
Maintainer: | Farzat (gpanders) |
Last Packager: | gpanders |
Votes: | 259 |
Popularity: | 1.10 |
First Submitted: | 2014-02-21 19:50 (UTC) |
Last Updated: | 2025-02-10 14:14 (UTC) |
Dependencies (24)
- libluv
- libutf8proc (libutf8proc-gitAUR)
- libuv (libuv-gitAUR)
- lua51-lpeg
- luajit (luajit-2.1-lua52-gitAUR, luajit-gitAUR, luajit-openrestyAUR)
- msgpack-c (msgpack-c-gitAUR)
- tree-sitter (tree-sitter-gitAUR)
- tree-sitter-c (tree-sitter-c-gitAUR)
- tree-sitter-lua (tree-sitter-lua-gitAUR)
- tree-sitter-markdown (tree-sitter-markdown-gitAUR)
- tree-sitter-query
- tree-sitter-vim (tree-sitter-vim-gitAUR)
- tree-sitter-vimdoc (tree-sitter-vimdoc-gitAUR)
- unibilium
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- unzip (unzip-natspecAUR, unzip-zstdAUR) (make)
- python-pynvim (python-pynvim-gitAUR) (optional) – for Python plugin support (see :help python)
- tree-sitter-bash (tree-sitter-bash-gitAUR) (optional) – tree-sitter parser for bash
- Show 4 more dependencies...
Required by (451)
- autoricer-bin (requires neovim) (optional)
- candyvim-git (requires neovim)
- cmp-buffer (requires neovim)
- cppman-git (requires neovim) (optional)
- deoplete (requires neovim) (optional)
- deoplete-git (requires neovim) (optional)
- eovim (requires neovim)
- fvim (requires neovim)
- fvim-bin (requires neovim)
- glrnvim (requires neovim)
- gnvim (requires neovim)
- gnvim-git (requires neovim)
- goneovim-bin (requires neovim)
- goneovim-git (requires neovim)
- grg-git (requires neovim) (optional)
- lua51-prompt-style (requires neovim) (optional)
- lunarvim-git (requires neovim)
- mason.nvim (requires neovim)
- neoray-git (requires neovim)
- neovide-git (requires neovim)
- Show 431 more...
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 19 20 21 22 23 24 25 26 27 28 29 .. 41 Next › Last »
fwalch commented on 2015-06-04 09:18 (UTC)
swiftgeek commented on 2015-06-04 08:40 (UTC)
1. hardening wrapper is a build requirement for lots of packages similar to neovim (fork from old stagnated community) eg. mpv, so not exactly an own personal choice
having wrapper and stock makepkg.conf reproduces the issue
2. PATH="${PATH/\/usr\/lib\/hardening-wrapper\/bin\:/}"
fwalch commented on 2015-06-04 08:24 (UTC)
The last question was just for my curiosity. In any case, I'm not sure why Neovim doesn't do the right thing, since it checks if FORTIFY_SOURCE is set too high: https://github.com/neovim/neovim/blob/master/CMakeLists.txt#L88-L97
This should trigger even in case of the wrapper script.
fwalch commented on 2015-06-04 08:20 (UTC)
@swiftgeek: That's because I have the following in /etc/makepkg.conf:
CFLAGS="-march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
Neovim doesn't work with FORTIFY_SOURCE=2, so it adds -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1.
Only if I remove the FORTIFY_SOURCE stuff from my /etc/makepkg.conf, I can reproduce your error. In the other case, hardened-wrapper will automatically use FORTIFY_SOURCE=1 and not break the build.
So, if you want hardened executables *all the time* (since hardened-wrapper is apparently in your default PATH), why don't you just set the appropriate CFLAGS in /etc/makepkg.conf?
swiftgeek commented on 2015-06-04 08:06 (UTC)
Just as explained in issue - setting any vim variable (triggers buffer overflow detection)
While i have -D_FORTIFY_SOURCE=2 in makepkg.conf it is dropped in resulting cc
(`pgrep -a cc` during compilation for actual compilation line)
hardening-wrapper obviously bypasses all logic in cmake and pushes own flags
Also your line is very curious anyway:
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
fwalch commented on 2015-06-04 07:53 (UTC)
@swiftgeek: Just compiled and ran nvim with hardening-wrapper without problems. To confirm that it was used, some output from 'nvim --version':
Compilation: /usr/lib/hardening-wrapper/bin/cc -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H
What exactly does not work in your case? (maybe create a new issue at github.com/neovim/neovim so we can discuss it without flooding the comments here).
swiftgeek commented on 2015-06-03 17:41 (UTC)
Build stage conficts with hardening-wrapper, please drop it from PATH in build() till #223 is resolved
(/usr/lib/hardening-wrapper/bin)
https://github.com/neovim/neovim/issues/223
https://www.archlinux.org/packages/community/x86_64/hardening-wrapper/
fwalch commented on 2015-06-01 06:56 (UTC)
@Emil: Can you try again with `makepkg -C`? If that doesn't help, can you open an issue at [1]?
[1] https://github.com/neovim/neovim/issues
Emil commented on 2015-05-31 23:30 (UTC)
I get this erros while trying to build:
...
-- Found LibUV: /usr/lib64/libuv.so
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find Msgpack (missing: MSGPACK_LIBRARY MSGPACK_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
cmake/FindMsgpack.cmake:46 (find_package_handle_standard_args)
CMakeLists.txt:178 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/emil/Downloads/neovim-git/src/neovim-git/build/CMakeFiles/CMakeOutput.log".
See also "/home/emil/Downloads/neovim-git/src/neovim-git/build/CMakeFiles/CMakeError.log".
log files: http://pastebin.com/W8f4ZXs3, http://pastebin.com/TpyqEkGx
Any idea what's going wrong here?
donnut commented on 2015-05-29 12:55 (UTC)
Solved the issue with MessagePack by making the package in a clean directory.
Pinned Comments
fwalch commented on 2016-07-04 19:52 (UTC) (edited on 2016-07-04 19:54 (UTC) by fwalch)