Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RDY] neovim: fix gperf error on dev-version #40400

Merged
merged 1 commit into from May 12, 2018
Merged

Conversation

teto
Copy link
Member

@teto teto commented May 12, 2018

while trying to fix some bugs in neovim, I found out this problem which didn't happen before

[ 50%] Generating auto/api/private/dispatch_wrappers.c.generated.h, ../../include/api/private/dispatch_wrappers.h.generated.h
[ 50%] Generating auto/funcs.generated.h, ../../funcs_data.mpack
/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash: ../../../.deps/usr/bin/gperf: No such file or directory

gperf was already a buildInput but the path was not given to cmake.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@Mic92
Copy link
Member

Mic92 commented May 12, 2018

@GrahamcOfBorg build neovim

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: neovim

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/av6w1v2yd8yx24sxdpf355d2c3dmjd6i-neovim-unwrapped-0.2.2
shrinking /nix/store/av6w1v2yd8yx24sxdpf355d2c3dmjd6i-neovim-unwrapped-0.2.2/bin/nvim
gzipping man pages under /nix/store/av6w1v2yd8yx24sxdpf355d2c3dmjd6i-neovim-unwrapped-0.2.2/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/av6w1v2yd8yx24sxdpf355d2c3dmjd6i-neovim-unwrapped-0.2.2/bin
patching script interpreter paths in /nix/store/av6w1v2yd8yx24sxdpf355d2c3dmjd6i-neovim-unwrapped-0.2.2
/nix/store/av6w1v2yd8yx24sxdpf355d2c3dmjd6i-neovim-unwrapped-0.2.2/share/nvim/runtime/macros/less.sh: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/av6w1v2yd8yx24sxdpf355d2c3dmjd6i-neovim-unwrapped-0.2.2...
building '/nix/store/wg0187ymbgmaq1akmqlyz3chdhcinzya-neovim.drv'...

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: neovim

Partial log (click to expand)

        [C]: in function 'match'
        /build/source/src/nvim/generators/gen_declarations.lua:232: in main chunk
        [C]: at 0x004057f0
[ 50%] Built target tty-test
make[2]: *** [src/nvim/CMakeFiles/nvim.dir/build.make:235: src/nvim/auto/eval/encode.c.generated.h] Error 1
make[1]: *** [CMakeFiles/Makefile2:2761: src/nvim/CMakeFiles/nvim.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
builder for '/nix/store/lij0p4lrzn5cyl5if3hqlg261m0bwnjr-neovim-unwrapped-0.2.2.drv' failed with exit code 2
cannot build derivation '/nix/store/5mkykr9q1y71gbchfcsc90z74m50dkvc-neovim.drv': 1 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/5mkykr9q1y71gbchfcsc90z74m50dkvc-neovim.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: neovim

Partial log (click to expand)

-- Installing: /nix/store/pvnrpqji3k8kh6hayj9w9k1mr7jp9r8d-neovim-unwrapped-0.2.2/share/nvim/runtime/print/prolog.ps
-- Installing: /nix/store/pvnrpqji3k8kh6hayj9w9k1mr7jp9r8d-neovim-unwrapped-0.2.2/share/nvim/runtime/tutor/en/vim-01-beginner.tutor
-- Installing: /nix/store/pvnrpqji3k8kh6hayj9w9k1mr7jp9r8d-neovim-unwrapped-0.2.2/share/nvim/runtime/tutor/tutor.tutor
post-installation fixup
gzipping man pages under /nix/store/pvnrpqji3k8kh6hayj9w9k1mr7jp9r8d-neovim-unwrapped-0.2.2/share/man/
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/pvnrpqji3k8kh6hayj9w9k1mr7jp9r8d-neovim-unwrapped-0.2.2/bin
patching script interpreter paths in /nix/store/pvnrpqji3k8kh6hayj9w9k1mr7jp9r8d-neovim-unwrapped-0.2.2
/nix/store/pvnrpqji3k8kh6hayj9w9k1mr7jp9r8d-neovim-unwrapped-0.2.2/share/nvim/runtime/macros/less.sh: interpreter directive changed from "/bin/sh" to "/nix/store/r8bx3qf1bpncb14i9gzma4vr089pc3pv-bash-4.4-p19/bin/sh"
building '/nix/store/gi1klxn98zxbd2vyzv4nwpl89vc4zxsy-neovim.drv'...

@Mic92 Mic92 merged commit dcb6a74 into NixOS:master May 12, 2018
[ 50%] Generating auto/api/private/dispatch_wrappers.c.generated.h, ../../include/api/private/dispatch_wrappers.h.generated.h
[ 50%] Generating auto/funcs.generated.h, ../../funcs_data.mpack
/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash: ../../../.deps/usr/bin/gperf: No such file or directory
@teto teto deleted the neovim_gperf branch May 13, 2020 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants