V version: Latest master (commit: #b7e5be4)
OS: elementary OS 5.1.3 Hera x86_64, Built on Ubuntu 18.04.3 LTS & Linux 5.3.0-46-generic
What did you do?
I cloned the git repository from master and ran sudo make in it
What did you expect to see?
V to compile like it did before
What did you see instead?
$ sudo make
cd /tmp/vc && git clean -xf && git pull --quiet
cd /var/tmp/tcc && git clean -xf && git pull --quiet
cc -g -std=gnu11 -w -o v /tmp/vc/v.c -lm
/tmp/vc/v.c:832:10: fatal error: mach/mach_time.h: No such file or directory
#include <mach/mach_time.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:51: recipe for target 'all' failed
make: *** [all] Error 1
I'm seeing the same thing, same version, just doing a 'v up' on Ubuntu 19.10.
$ v up
Updating V...
From https://github.com/vlang/v
* branch master -> FETCH_HEAD
ec956698..b7e5be41 master -> origin/master
Updating ec956698..b7e5be41
Fast-forward
cmd/tools/vtest-fixed.v | 1 -
vlib/encoding/base64/base64.v | 2 +-
vlib/glm/glm.v | 2 +-
vlib/v/ast/ast.v | 1 +
vlib/v/checker/checker.v | 16 +++-
vlib/v/checker/tests/inout/cannot_assign_array.out | 2 +-
vlib/v/gen/cgen.v | 98 +++++++++++++++-------
vlib/v/parser/containers.v | 24 +++---
vlib/v/tests/fixed_array_init_test.v | 33 ++++++++
9 files changed, 130 insertions(+), 49 deletions(-)
create mode 100644 vlib/v/tests/fixed_array_init_test.v
Current branch master is up to date.
cd /tmp/vc && git clean -xf && git pull --quiet
cd /var/tmp/tcc && git clean -xf && git pull --quiet
cc -g -std=gnu11 -w -o v /tmp/vc/v.c -lm
/tmp/vc/v.c:832:10: fatal error: mach/mach_time.h: No such file or directory
832 | #include <mach/mach_time.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:51: all] Error 1
$
Fixed. Linux build was broken for about an hour.
Most helpful comment
Fixed. Linux build was broken for about an hour.