Skip to content

build fails with OSX Mojave #9050

@FuzzOli87

Description

@FuzzOli87

Attempting to build from master fails on OSX mojave.

Actual behaviour

make CMAKE_BUILD_TYPE=Release

build output
In file included from unibilium.c:22:
./unibilium.h:25:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
         ^~~~~~~~~
1 error generated.
gmake[1]: *** [Makefile:69: unibilium.lo] Error 1
gmake[1]: Leaving directory '/Users/daniel.olivares/Development/neovim/.deps/build/src/unibilium'
[13/66] Performing install step for 'libvterm'
FAILED: build/src/libvterm-stamp/libvterm-install
cd /Users/daniel.olivares/Development/neovim/.deps/build/src/libvterm && /usr/local/bin/gmake CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc PREFIX=/Users/daniel.olivares/Development/neovim/.deps/usr CFLAGS=-fPIC CFLAGS+=-Og CFLAGS+=-g install && /usr/local/Cellar/cmake/3.12.2/bin/cmake -E touch /Users/daniel.olivares/Development/neovim/.deps/build/src/libvterm-stamp/libvterm-install
gmake[1]: Entering directory '/Users/daniel.olivares/Development/neovim/.deps/build/src/libvterm'
install -d /Users/daniel.olivares/Development/neovim/.deps/usr/include
install -m644 include/vterm.h include/vterm_keycodes.h /Users/daniel.olivares/Development/neovim/.deps/usr/include
install -d /Users/daniel.olivares/Development/neovim/.deps/usr/lib/pkgconfig
sed -e "s,@PREFIX@,/Users/daniel.olivares/Development/neovim/.deps/usr," -e "s,@LIBDIR@,/Users/daniel.olivares/Development/neovim/.deps/usr/lib," -e "s,@VERSION@,0.0," <vterm.pc.in >/Users/daniel.olivares/Development/neovim/.deps/usr/lib/pkgconfig/vterm.pc
CC src/encoding.c
In file included from src/encoding.c:1:
In file included from src/vterm_internal.h:4:
include/vterm.h:9:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
         ^~~~~~~~~~
1 error generated.
gmake[1]: *** [Makefile:63: src/encoding.lo] Error 1
gmake[1]: Leaving directory '/Users/daniel.olivares/Development/neovim/.deps/build/src/libvterm'
[14/66] Performing install step for 'luajit'
FAILED: build/src/luajit-stamp/luajit-install
cd /Users/daniel.olivares/Development/neovim/.deps/build/src/luajit && /usr/local/bin/gmake CFLAGS=-fPIC CFLAGS+=-DLUAJIT_DISABLE_JIT CFLAGS+=-DLUA_USE_APICHECK CFLAGS+=-DLUA_USE_ASSERT CCDEBUG+=-g Q= install CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc PREFIX=/Users/daniel.olivares/Development/neovim/.deps/usr && /usr/local/Cellar/cmake/3.12.2/bin/cmake -E touch /Users/daniel.olivares/Development/neovim/.deps/build/src/luajit-stamp/luajit-install
gmake[1]: Entering directory '/Users/daniel.olivares/Development/neovim/.deps/build/src/luajit'
==== Building LuaJIT 2.0.5 ====
/usr/local/bin/gmake -C src
gmake[2]: Entering directory '/Users/daniel.olivares/Development/neovim/.deps/build/src/luajit/src'
In file included from lj_arch.h:9:
In file included from ./lua.h:16:
./luaconf.h:145:10: fatal error: 'assert.h' file not found
#include <assert.h>
         ^~~~~~~~~~
1 error generated.
In file included from lj_arch.h:9:
In file included from ./lua.h:16:
./luaconf.h:145:10: fatal error: 'assert.h' file not found
#include <assert.h>
         ^~~~~~~~~~
1 error generated.
In file included from lj_arch.h:9:
In file included from ./lua.h:16:
./luaconf.h:145:10: fatal error: 'assert.h' file not found
#include <assert.h>
         ^~~~~~~~~~
1 error generated.
In file included from lj_arch.h:9:
In file included from ./lua.h:16:
./luaconf.h:145:10: fatal error: 'assert.h' file not found
#include <assert.h>
         ^~~~~~~~~~
1 error generated.
In file included from lj_arch.h:9:
In file included from ./lua.h:16:
./luaconf.h:145:10: fatal error: 'assert.h' file not found
#include <assert.h>
         ^~~~~~~~~~
1 error generated.
In file included from lj_arch.h:9:
In file included from ./lua.h:16:
./luaconf.h:145:10: fatal error: 'assert.h' file not found
#include <assert.h>
         ^~~~~~~~~~
1 error generated.
In file included from lj_arch.h:9:
In file included from ./lua.h:16:
./luaconf.h:145:10: fatal error: 'assert.h' file not found
#include <assert.h>
         ^~~~~~~~~~
1 error generated.
In file included from lj_arch.h:9:
In file included from ./lua.h:16:
./luaconf.h:145:10: fatal error: 'assert.h' file not found
#include <assert.h>

Expected behaviour

For the build process to succeed.

I tried doing the typical xcode stuff xcode-select --install and the license accepting stuff. But so far nothing has worked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuilding and installing Neovim using the provided scriptsplatform:macos

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions