Skip to content

Instantly share code, notes, and snippets.

@Sciencentistguy
Created January 26, 2022 11:20
Show Gist options
  • Save Sciencentistguy/fe7e4f8825f27ec0fd0322df00fb2d78 to your computer and use it in GitHub Desktop.
Save Sciencentistguy/fe7e4f8825f27ec0fd0322df00fb2d78 to your computer and use it in GitHub Desktop.
this derivation will be built:
/nix/store/4csx1qnf65d6jb6ip64vc16grm9p5q02-neovim-unwrapped-master.drv
building '/nix/store/4csx1qnf65d6jb6ip64vc16grm9p5q02-neovim-unwrapped-master.drv'...
unpacking sources
unpacking source archive /nix/store/q4qhxz2z0z6f2xiidwdg9lcr7z7138ms-nm5i52bjccmmxibyb7bg3qvai3jlbbw5-source
source root is nm5i52bjccmmxibyb7bg3qvai3jlbbw5-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
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/ivg4f0bmxckriy86kd9s2xwswhwn9bkj-neovim-unwrapped-master/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/ivg4f0bmxckriy86kd9s2xwswhwn9bkj-neovim-unwrapped-master/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/ivg4f0bmxckriy86kd9s2xwswhwn9bkj-neovim-unwrapped-master/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/ivg4f0bmxckriy86kd9s2xwswhwn9bkj-neovim-unwrapped-master/share/doc/nvim -DCMAKE_INSTALL_INFODIR=/nix/store/ivg4f0bmxckriy86kd9s2xwswhwn9bkj-neovim-unwrapped-master/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/ivg4f0bmxckriy86kd9s2xwswhwn9bkj-neovim-unwrapped-master/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/ivg4f0bmxckriy86kd9s2xwswhwn9bkj-neovim-unwrapped-master/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/ivg4f0bmxckriy86kd9s2xwswhwn9bkj-neovim-unwrapped-master/include -DCMAKE_INSTALL_SBINDIR=/nix/store/ivg4f0bmxckriy86kd9s2xwswhwn9bkj-neovim-unwrapped-master/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/ivg4f0bmxckriy86kd9s2xwswhwn9bkj-neovim-unwrapped-master/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/ivg4f0bmxckriy86kd9s2xwswhwn9bkj-neovim-unwrapped-master/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/3ap3mhd6zg3byiqqqyqbhr8phbwxca01-clang-wrapper-11.1.0/bin/strip -DCMAKE_RANLIB=/nix/store/nf1fzw7xingi0avxg77mim6bz5nm3xl4-cctools-binutils-darwin-949.0.1/bin/ranlib -DCMAKE_AR=/nix/store/nf1fzw7xingi0avxg77mim6bz5nm3xl4-cctools-binutils-darwin-949.0.1/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/ivg4f0bmxckriy86kd9s2xwswhwn9bkj-neovim-unwrapped-master -DGPERF_PRG=/nix/store/xjkwy0l6yi8wn58a8fmzgcvcy6714qk4-gperf-3.1/bin/gperf -DLUA_PRG=/nix/store/5q24jjv31ijwznspmvfqnl95ka0fsx8j-luajit-2.1.0-2021-10-27-env/bin/lua -DLIBLUV_LIBRARY=/nix/store/z294rsb6d8fyxal9qrjjlr5716jq53za-luajit-2.1.0-2021-10-27-luv-1.42.0-0/lib/lua/5.1/libluv.1.42.0.dylib -DUSE_BUNDLED=OFF
-- The C compiler identification is Clang 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /nix/store/3ap3mhd6zg3byiqqqyqbhr8phbwxca01-clang-wrapper-11.1.0/bin/clang
-- Check for working C compiler: /nix/store/3ap3mhd6zg3byiqqqyqbhr8phbwxca01-clang-wrapper-11.1.0/bin/clang - broken
CMake Error at /nix/store/fxbkqqwm2x45nsmr9s30w7l55cj4494r-cmake-3.22.1/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
"/nix/store/3ap3mhd6zg3byiqqqyqbhr8phbwxca01-clang-wrapper-11.1.0/bin/clang"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /tmp/nix-build-neovim-unwrapped-master.drv-0/nm5i52bjccmmxibyb7bg3qvai3jlbbw5-source/build/CMakeFiles/CMakeTmp
Run Build Command(s):/nix/store/x106zq8vrcjqzxfr4k8ipv7alnc65ydz-gnumake-4.3/bin/make -f Makefile cmTC_b65c2/fast && /nix/store/x106zq8vrcjqzxfr4k8ipv7alnc65ydz-gnumake-4.3/bin/make -f CMakeFiles/cmTC_b65c2.dir/build.make CMakeFiles/cmTC_b65c2.dir/build
make[1]: Entering directory '/private/tmp/nix-build-neovim-unwrapped-master.drv-0/nm5i52bjccmmxibyb7bg3qvai3jlbbw5-source/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b65c2.dir/testCCompiler.c.o
/nix/store/3ap3mhd6zg3byiqqqyqbhr8phbwxca01-clang-wrapper-11.1.0/bin/clang -MD -MT CMakeFiles/cmTC_b65c2.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_b65c2.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_b65c2.dir/testCCompiler.c.o -c /tmp/nix-build-neovim-unwrapped-master.drv-0/nm5i52bjccmmxibyb7bg3qvai3jlbbw5-source/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_b65c2
/nix/store/fxbkqqwm2x45nsmr9s30w7l55cj4494r-cmake-3.22.1/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b65c2.dir/link.txt --verbose=1
/nix/store/3ap3mhd6zg3byiqqqyqbhr8phbwxca01-clang-wrapper-11.1.0/bin/clang -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_b65c2.dir/testCCompiler.c.o -o cmTC_b65c2
ld: library not found for -lstdc++
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [CMakeFiles/cmTC_b65c2.dir/build.make:100: cmTC_b65c2] Error 1
make[1]: Leaving directory '/private/tmp/nix-build-neovim-unwrapped-master.drv-0/nm5i52bjccmmxibyb7bg3qvai3jlbbw5-source/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:127: cmTC_b65c2/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:7 (project)
-- Configuring incomplete, errors occurred!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment