Nixpkgs: neovim fails to build on aarch64

Created on 14 Aug 2018  ยท  5Comments  ยท  Source: NixOS/nixpkgs

Issue description

The neovim package fails to build on aarch64 on nixos-unstable channel.

Steps to reproduce

$> nix-shell -p neovim
these derivations will be built:
  /nix/store/vchimknrwxaf46k3w4vnvai6cq783q0b-neovim-unwrapped-0.3.1.drv
  /nix/store/1js0550xmkjy4lx7di4bilzbh1wm3ayc-neovim-0.3.1.drv
building '/nix/store/vchimknrwxaf46k3w4vnvai6cq783q0b-neovim-unwrapped-0.3.1.drv'...
unpacking sources
unpacking source archive /nix/store/zg7vi1k141fkhimmbqs2l0z5zymx1gsq-source
source root is source
patching sources
updateAutotoolsGnuConfigScriptsPhase
configuring
fixing cmake files...
cmake flags: -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/zvpdp8x4hd3shsprm540ffaqq62j0zl9-neovim-unwrapped-0.3.1/include -DCMAKE_INSTALL_LIBDIR=/nix/store/zvpdp8x4hd3shsprm540ffaqq62j0zl9-neovim-unwrapped-0.3.1/lib -DCMAKE_INSTALL_NAME_DIR=/nix/store/zvpdp8x4hd3shsprm54
0ffaqq62j0zl9-neovim-unwrapped-0.3.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_DEPLOYMENT_TARGET= -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=last -DCMAKE_STRIP=/nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip -DCMAKE_RANLIB=/nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/ranl
ib -DCMAKE_AR=/nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/zvpdp8x4hd3shsprm540ffaqq62j0zl9-neovim-unwrapped-0.3.1 -DLUA_PRG=/nix/store/5lwpysvm05n25prj969f7znx8mzja84y-luajit-2.1.0-beta3/bin/lua -DGPERF_PRG=/nix/stor
e/g36cd9jmq8rk65n7hfz076knh1k1gj9q-gperf-3.1/bin/gperf
-- The C compiler identification is GNU 7.3.0
-- Check for working C compiler: /nix/store/r4yzs2pnn47k9f1m6l69r9p5nlv2figm-gcc-wrapper-7.3.0/bin/gcc
-- Check for working C compiler: /nix/store/r4yzs2pnn47k9f1m6l69r9p5nlv2figm-gcc-wrapper-7.3.0/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Replacing -O3 in CMAKE_C_FLAGS_RELEASE with -O2.
-- Performing Test HAS_OG_FLAG
-- Performing Test HAS_OG_FLAG - Success
-- Performing Test HAS_ACCEPTABLE_FORTIFY
-- Performing Test HAS_ACCEPTABLE_FORTIFY - Success
-- Performing Test HAVE_EXECINFO_BACKTRACE
-- Performing Test HAVE_EXECINFO_BACKTRACE - 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: /nix/store/091bir0r4wdbq898i8v6z33297mx69k1-pkg-config-0.29.2/bin/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: /nix/store/6w56ng8h00cyvqhjavwj1q1c1r9aqash-libuv-1.21.0/lib/libuv.so
-- Found Msgpack: /nix/store/msmdanlnkx7mxixjjrz2msgakmzblqb8-libmsgpack-2.1.5/lib/libmsgpackc.so (found suitable version "2.1.5", minimum required is "1.0.0")
-- Found LuaJit: /nix/store/5lwpysvm05n25prj969f7znx8mzja84y-luajit-2.1.0-beta3/lib/libluajit-5.1.so
-- Performing Test MSGPACK_HAS_FLOAT32
-- Performing Test MSGPACK_HAS_FLOAT32 - Success
-- Found unibilium: /nix/store/8rbvs43rl6pm48czf1c83a6waw1l49nz-unibilium-2.0.0/lib/libunibilium.so
-- Performing Test UNIBI_HAS_VAR_FROM
-- Performing Test UNIBI_HAS_VAR_FROM - Success
-- Found LibTermkey: /nix/store/jdy810mlm201kpz551i6yg91xy310qs0-libtermkey-0.20/lib/libtermkey.so
-- Found LibVterm: /nix/store/3ngiykhzcqgr7y5xc9kj9lcbq10591j3-neovim-libvterm-2017-11-05/lib/libvterm.so
-- Found JeMalloc: /nix/store/nw0486337wn6mdig0pmganl23bqy2c3j-jemalloc-5.0.1/lib/libjemalloc.so
-- Performing Test HAVE_WORKING_LIBINTL
-- Performing Test HAVE_WORKING_LIBINTL - Success
-- Looking for _nl_msg_cat_cntr
-- Looking for _nl_msg_cat_cntr - found
-- Found Iconv
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Checking Lua interpreter /nix/store/5lwpysvm05n25prj969f7znx8mzja84y-luajit-2.1.0-beta3/bin/lua
-- Using the Lua interpreter /nix/store/5lwpysvm05n25prj969f7znx8mzja84y-luajit-2.1.0-beta3/bin/lua.
-- MIN_LOG_LEVEL not specified
-- Performing Test HAS_WNO_STATIC_IN_INLINE_FLAG
-- Performing Test HAS_WNO_STATIC_IN_INLINE_FLAG - Success
-- Found Gettext: /nix/store/4wiy073gn2i8ipdnii4s3xzh34hcpz83-gettext-0.19.8.1/bin/msgmerge (found version "0.19.8.1")
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of intmax_t
-- Check size of intmax_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of long long
-- Check size of long long - done
-- Check size of void *
-- Check size of void * - done
-- Looking for _NSGetEnviron
-- Looking for _NSGetEnviron - not found
-- Looking for include file iconv.h
-- Looking for include file iconv.h - found
-- Looking for include file langinfo.h
-- Looking for include file langinfo.h - found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for include file pwd.h
-- Looking for include file pwd.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file sys/utsname.h
-- Looking for include file sys/utsname.h - found
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file utime.h
-- Looking for include file utime.h - found
-- Looking for include file sys/uio.h
-- Looking for include file sys/uio.h - found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for getpwent
-- Looking for getpwent - found
-- Looking for getpwnam
-- Looking for getpwnam - found
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Looking for uv_translate_sys_error
-- Looking for uv_translate_sys_error - not found
-- Looking for readv
-- Looking for readv - found
-- Looking for _putenv_s
-- Looking for _putenv_s - not found
-- Looking for opendir
-- Looking for opendir - found
-- Looking for readlink
-- Looking for readlink - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for setpgid
-- Looking for setpgid - found
-- Looking for setsid
-- Looking for setsid - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for utime
-- Looking for utime - found
-- Looking for utimes
-- Looking for utimes - found
-- Looking for FD_CLOEXEC
-- Looking for FD_CLOEXEC - found
-- Looking for CODESET
-- Looking for CODESET - found
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Looking for include file sys/endian.h
-- Looking for include file sys/endian.h - not found
-- Performing Test HAVE_BE64TOH_MACROS
-- Performing Test HAVE_BE64TOH_MACROS - Success
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER


-- Build files have been written to: /build/source/build
building
build flags: -j1 -l1 SHELL=/nix/store/7q3ayirslrcva28wava6zpjcflcz1h3b-bash-4.4-p23/bin/bash
[  0%] Generating auto/ui_events.generated.h, auto/ui_events_call.generated.h, auto/ui_events_remote.generated.h, auto/ui_events_bridge.generated.h, auto/api/private/ui_events_metadata.generated.h
/nix/store/5lwpysvm05n25prj969f7znx8mzja84y-luajit-2.1.0-beta3/bin/lua: bad light userdata pointer
stack traceback:
        [C]: in function 'match'
        /build/source/src/nvim/generators/gen_api_ui_events.lua:15: in main chunk
        [C]: at 0x00405660
make[2]: *** [src/nvim/CMakeFiles/nvim.dir/build.make:1225: src/nvim/auto/ui_events.generated.h] Error 1
make[2]: *** Deleting file 'src/nvim/auto/ui_events.generated.h'
make[1]: *** [CMakeFiles/Makefile2:2865: src/nvim/CMakeFiles/nvim.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
builder for '/nix/store/vchimknrwxaf46k3w4vnvai6cq783q0b-neovim-unwrapped-0.3.1.drv' failed with exit code 2
cannot build derivation '/nix/store/1js0550xmkjy4lx7di4bilzbh1wm3ayc-neovim-0.3.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/1js0550xmkjy4lx7di4bilzbh1wm3ayc-neovim-0.3.1.drv' failed

Technical details

  • system: "aarch64-linux"
  • host os: Linux 4.18.0, NixOS, 18.09pre149044.6afd19e699c (Jellyfish)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.0.4
  • channels(root): "nixos-18.09pre149044.6afd19e699c"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

All 5 comments

Sounds like an upstream issue. There is https://github.com/neovim/neovim/issues/7879 at least which is closed... but maybe the problem has resurfaced.

Does not build on my machine..

โฏ nix-shell -p neovim
these derivations will be built:
  /nix/store/xaw73gca3ff3f4l0j92mycpv7s52374c-neovim-unwrapped-0.3.4.drv
  /nix/store/m55qkv4by07nl7l40a9mrb5s7vpah9jm-neovim-0.3.4.drv
building '/nix/store/xaw73gca3ff3f4l0j92mycpv7s52374c-neovim-unwrapped-0.3.4.drv'...
unpacking sources
unpacking source archive /nix/store/25cip07j2zf6jad4n9m1ym516c2vpf5b-source
source root is source
patching sources
applying patch /nix/store/jnp9n2x9cdvl47da3656illrd3p2qvb5-system_rplugin_manifest.patch
patching file runtime/autoload/remote/host.vim
patching file runtime/plugin/rplugin.vim
updateAutotoolsGnuConfigScriptsPhase
configuring
fixing cmake files...
cmake flags: -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_INCLUDEDI
R=/nix/store/id8hcg31pzhfkh5h7hrdw2bv1ypkrfv4-neovim-unwrapped-0.3.4/include -DCMAKE_INSTALL_LIBDIR=/nix/store/id8hcg31pzhfkh5h7hrdw2bv1ypkrfv4-neovim-unwrapped-0.3.4/lib -DCMAKE_INSTALL_NAME_DIR=/nix/store/id8hcg31pzhfkh5h7hr
dw2bv1ypkrfv4-neovim-unwrapped-0.3.4/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_DEPLOYMENT_TARGET= -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=last -DCMAKE_STRIP=/nix/store/5qj51mzplnxdfra88fxj7q0k5ki4r68a-binutils-2.3
1.1/bin/strip -DCMAKE_RANLIB=/nix/store/5qj51mzplnxdfra88fxj7q0k5ki4r68a-binutils-2.31.1/bin/ranlib -DCMAKE_AR=/nix/store/5qj51mzplnxdfra88fxj7q0k5ki4r68a-binutils-2.31.1/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
-DCMAKE_INSTALL_PREFIX=/nix/store/id8hcg31pzhfkh5h7hrdw2bv1ypkrfv4-neovim-unwrapped-0.3.4 -DLUA_PRG=/nix/store/ps5586xh7kwvhihdnjg22jkgfi76bdnp-luajit-2.1.0-beta3-env/bin/lua -DGPERF_PRG=/nix/store/72c1fakclvbyync0vs2kc7lmpxl2
0dkz-gperf-3.1/bin/gperf
-- The C compiler identification is GNU 7.4.0
-- Check for working C compiler: /nix/store/3wrcg1zy6k70pvf4dma3xv5h1kgqjxb1-gcc-wrapper-7.4.0/bin/gcc
-- Check for working C compiler: /nix/store/3wrcg1zy6k70pvf4dma3xv5h1kgqjxb1-gcc-wrapper-7.4.0/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Deprecation Warning at CMakeLists.txt:12 (cmake_policy):
  The OLD behavior for policy CMP0059 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Replacing -O3 in CMAKE_C_FLAGS_RELEASE with -O2
-- Performing Test HAS_OG_FLAG
-- Performing Test HAS_OG_FLAG - Success
-- Performing Test HAS_ACCEPTABLE_FORTIFY
-- Performing Test HAS_ACCEPTABLE_FORTIFY - Success
-- Performing Test HAVE_EXECINFO_BACKTRACE
-- Performing Test HAVE_EXECINFO_BACKTRACE - 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: /nix/store/9max4zhkqnyn1akbzy92s3fplqfsn6ja-pkg-config-0.29.2/bin/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: /nix/store/z322nn8zms14n00m2qaada9m8xb0i0jd-libuv-1.26.0/lib/libuv.so
-- Found Msgpack: /nix/store/riiawvgnv053azjm6qqpab511appm2f5-msgpack-3.0.1/lib/libmsgpackc.so (found suitable version "3.0.1", minimum required is "1.0.0")
-- Found LuaJit: /nix/store/ps5586xh7kwvhihdnjg22jkgfi76bdnp-luajit-2.1.0-beta3-env/lib/libluajit-5.1.so
-- Performing Test MSGPACK_HAS_FLOAT32
-- Performing Test MSGPACK_HAS_FLOAT32 - Success
-- Found unibilium: /nix/store/4h5q7gk1pkdmhl756s73sqg3hnpkwq2n-unibilium-2.0.0/lib/libunibilium.so
-- Performing Test UNIBI_HAS_VAR_FROM
-- Performing Test UNIBI_HAS_VAR_FROM - Success
-- Found LibTermkey: /nix/store/c95k74lvws4b2sji745847yn6hj5ilh4-libtermkey-0.20/lib/libtermkey.so (Required is at least version "0.18")
-- Found LibVterm: /nix/store/fwkfzb0v537wryl0b1syq60n67f5qh2q-neovim-libvterm-2017-11-05/lib/libvterm.so
-- Found JeMalloc: /nix/store/vc8ins4fk8a2v7h0sjnwkqjgr6xyja9q-jemalloc-5.1.0/lib/libjemalloc.so
-- Performing Test HAVE_WORKING_LIBINTL
-- Performing Test HAVE_WORKING_LIBINTL - Success
-- Looking for _nl_msg_cat_cntr
-- Looking for _nl_msg_cat_cntr - found
-- Found Iconv
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Checking Lua interpreter: /nix/store/ps5586xh7kwvhihdnjg22jkgfi76bdnp-luajit-2.1.0-beta3-env/bin/lua
-- Using Lua interpreter: /nix/store/ps5586xh7kwvhihdnjg22jkgfi76bdnp-luajit-2.1.0-beta3-env/bin/lua
-- MIN_LOG_LEVEL not specified
-- Performing Test HAS_WNO_STATIC_IN_INLINE_FLAG
-- Performing Test HAS_WNO_STATIC_IN_INLINE_FLAG - Success
-- Found Gettext: /nix/store/ianpfm95qxgm4rkc9n8gccackl6a21vn-gettext-0.19.8.1/bin/msgmerge (found version "0.19.8.1")
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of intmax_t
-- Check size of intmax_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of long long
-- Check size of long long - done
-- Check size of void *
-- Check size of void * - done
-- Looking for _NSGetEnviron
-- Looking for _NSGetEnviron - not found
-- Looking for include file iconv.h
-- Looking for include file iconv.h - found
-- Looking for include file langinfo.h
-- Looking for include file langinfo.h - found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for include file pwd.h
-- Looking for include file pwd.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file sys/utsname.h
-- Looking for include file sys/utsname.h - found
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file utime.h
-- Looking for include file utime.h - found
-- Looking for include file sys/uio.h
-- Looking for include file sys/uio.h - found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for getpwent
-- Looking for getpwent - found
-- Looking for getpwnam
-- Looking for getpwnam - found
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Looking for uv_translate_sys_error
-- Looking for uv_translate_sys_error - not found
-- Looking for readv
-- Looking for readv - found
-- Looking for _putenv_s
-- Looking for _putenv_s - not found
-- Looking for opendir
-- Looking for opendir - found
-- Looking for readlink
-- Looking for readlink - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for setpgid
-- Looking for setpgid - found
-- Looking for setsid
-- Looking for setsid - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for utime
-- Looking for utime - found
-- Looking for utimes
-- Looking for utimes - found
-- Looking for FD_CLOEXEC
-- Looking for FD_CLOEXEC - found
-- Looking for CODESET
-- Looking for CODESET - found
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Looking for include file sys/endian.h
-- Looking for include file sys/endian.h - not found
-- Performing Test HAVE_BE64TOH_MACROS
-- Performing Test HAVE_BE64TOH_MACROS - Success
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_CXX_COMPILER
    CMAKE_EXPORT_NO_PACKAGE_REGISTRY


-- Build files have been written to: /build/source/build
building
build flags: -j4 -l4 SHELL=/nix/store/0s6yah4v71z5jqvsp1l8zvssjv1xka1l-bash-4.4-p23/bin/bash
Scanning dependencies of target translations
Scanning dependencies of target shell-test
[  0%] Generating auto/ui_events.generated.h, auto/ui_events_call.generated.h, auto/ui_events_remote.generated.h, auto/ui_events_bridge.generated.h, auto/api/private/ui_events_metadata.generated.h
/nix/store/lqwrqhlgn6yclcsxjaa9jbj9wl4ymsq9-luajit-2.1.0-beta3/bin/lua: bad light userdata pointer
stack traceback:
        [C]: in function 'match'
        /build/source/src/nvim/generators/gen_api_ui_events.lua:15: in main chunk
        [C]: at 0x00405618
make[2]: *** [src/nvim/CMakeFiles/nvim.dir/build.make:1243: src/nvim/auto/ui_events.generated.h] Error 1
make[2]: *** Deleting file 'src/nvim/auto/ui_events.generated.h'
make[1]: *** [CMakeFiles/Makefile2:3662: src/nvim/CMakeFiles/nvim.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  0%] Building C object test/functional/fixtures/CMakeFiles/shell-test.dir/shell-test.c.o
[  0%] Generating nvim.pot
Scanning dependencies of target tty-test
[  0%] Building C object test/functional/fixtures/CMakeFiles/tty-test.dir/tty-test.c.o
[  0%] Linking C executable ../../../bin/shell-test
[  0%] Built target shell-test
[  0%] Linking C executable ../../../bin/tty-test
[  0%] Built target tty-test
[  0%] Generating ja.euc-jp.mo
[  0%] Generating cs.cp1250.mo
[  0%] Generating sk.cp1250.mo
[  0%] Generating nb.mo
[  0%] Generating af.mo
[  0%] Generating ca.mo
[  0%] Generating cs.mo
[  0%] Generating da.mo
[  0%] Generating de.mo
[  0%] Generating eo.mo
[  0%] Generating en_GB.mo
[  0%] Generating es.mo
[  0%] Generating fi.mo
[  0%] Generating fr.mo
[  0%] Generating ga.mo
[  0%] Generating it.mo
[  0%] Generating ja.mo
[  0%] Generating nl.mo
[  0%] Generating ko.UTF-8.mo
[  0%] Generating no.mo
[  0%] Generating pl.UTF-8.mo
[  0%] Generating pt_BR.mo
[  0%] Generating ru.mo
[  0%] Generating sk.mo
[  0%] Generating uk.mo
[  0%] Generating sv.mo
[  0%] Generating vi.mo
[  0%] Generating zh_CN.UTF-8.mo
[  0%] Generating zh_TW.UTF-8.mo
[  0%] Built target translations
make: *** [Makefile:152: all] Error 2
builder for '/nix/store/xaw73gca3ff3f4l0j92mycpv7s52374c-neovim-unwrapped-0.3.4.drv' failed with exit code 2
cannot build derivation '/nix/store/m55qkv4by07nl7l40a9mrb5s7vpah9jm-neovim-0.3.4.drv': 1 dependencies couldn't be built
error: build of '/nix/store/m55qkv4by07nl7l40a9mrb5s7vpah9jm-neovim-0.3.4.drv' failed

System Info:

  • system: "aarch64-linux"
  • host os: Linux 4.19.32, NixOS, 19.03.172312.330b9fac600 (Koi)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.2.2
  • channels(root): "nixos-19.03.172363.b12b1e2f428"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

@timokau aarch64, you were looking at x86_64-linux :/. I too, just verified and it still fails.

See also https://github.com/NixOS/nixpkgs/pull/61588 , so this issue should probably be closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nico202 picture nico202  ยท  70Comments

globin picture globin  ยท  65Comments

ttuegel picture ttuegel  ยท  98Comments

ThomasMader picture ThomasMader  ยท  65Comments

danykey picture danykey  ยท  64Comments