Project

General

Profile

Actions

Bug #15015

closed

Build failure from `git clone`

Added by hsbt (Hiroshi SHIBATA) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Target version:
-
[ruby-core:88584]

Description

I got build failure related mjit header.

chkbuild002% make
	BASERUBY = /usr/local/bin/ruby --disable=gems
	CC = cc
	LD = ld
	LDSHARED = cc -shared
	CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Werror=implicit-int -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -Werror=division-by-zero -Werror=deprecated-declarations -Wno-overlength-strings -Wmissing-noreturn -Werror=extra-tokens -std=gnu99 
	XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -DRUBY_DEVEL=1 -fvisibility=hidden -DRUBY_EXPORT -fPIE -DCANONICALIZATION_FOR_MATHN
	CPPFLAGS =   -I. -I.ext/include/x86_64-freebsd11.2 -I./include -I. -I./enc/unicode/10.0.0 
	DLDFLAGS = -Wl,-soname,showflags -fstack-protector -pie  
	SOLIBS = -lelf -lexecinfo -lprocstat -lthr -lrt -lrt -ldl -lcrypt -lm
	LANG = en_US.UTF-8
	LC_ALL = 
	LC_CTYPE = 
FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0)
Target: x86_64-unknown-freebsd11.2
Thread model: posix
InstalledDir: /usr/bin
translating probes probes.d
generating id.h
id.h updated
generating insns.inc
generating insns_info.inc
/usr/local/bin/ruby --disable=gems ./tool/gen_dummy_probes.rb ./probes.d > probes.dmyh
generating vm.inc
generating vm_call_iseq_optimized.inc
generating vmtc.inc
compiling vm.c
building rb_mjit_header.h
rb_mjit_header.h updated
./tool/ifchange: cannot create .ext/.timestamp/rb_mjit_header.time: No such file or directory
*** Error code 2

I manually create mkdir -p .ext/.timestamp. After that, it works.

Actions

Also available in: Atom PDF

Like0
Like0