From: hsbt@... Date: 2018-08-21T01:06:17+00:00 Subject: [ruby-core:88584] [Ruby trunk Bug#15015] Build failure from `git clone` Issue #15015 has been reported by hsbt (Hiroshi SHIBATA). ---------------------------------------- Bug #15015: Build failure from `git clone` https://bugs.ruby-lang.org/issues/15015 * Author: hsbt (Hiroshi SHIBATA) * Status: Assigned * Priority: Normal * Assignee: k0kubun (Takashi Kokubun) * Target version: * ruby -v: * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- 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. -- https://bugs.ruby-lang.org/ Unsubscribe: