Bug 236772 - build error on cross compile: '.../c++/v1/experimental/' does not exist
Summary: build error on cross compile: '.../c++/v1/experimental/' does not exist
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-toolchain mailing list
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2019-03-25 08:19 UTC by HIROKI MORI
Modified: 2019-07-27 08:53 UTC (History)
2 users (show)

See Also:
koobs: mfc-stable12?


Attachments
This is build log. (53.45 KB, application/x-gzip)
2019-07-19 22:32 UTC, HIROKI MORI
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description HIROKI MORI 2019-03-25 08:19:07 UTC
I build sys/arm/ralink(armv5t) on amd64 host. I have build error on buildworld after clang update 7.0.

Now clang is 8.0. I have still error.


One is this.

--------------------------------------------------------------
>>> stage 3: cross tools
--------------------------------------------------------------

...

===> lib/clang/headers (install)
sh /usr/home/hiroki/freebsd/tools/install.sh  -C -o root -g wheel -m 444  /usr/h
ome/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/__clang_cuda_builtin_var
s.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/__clang_cuda_c
math.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/__clang_cud
a_complex_builtins.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Heade
rs/__clang_cuda_device_functions.h /usr/home/hiroki/freebsd/contrib/llvm/tools/c
lang/lib/Headers/__clang_cuda_intrinsics.h /usr/home/hiroki/freebsd/contrib/llvm
/tools/clang/lib/Headers/__clang_cuda_libdevice_declares.h /usr/home/hiroki/free
bsd/contrib/llvm/tools/clang/lib/Headers/__clang_cuda_math_forward_declares.h /u
sr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/__clang_cuda_runtime
_wrapper.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/__stdde
f_max_align_t.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/__
wmmintrin_aes.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/__
wmmintrin_pclmul.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers
/adxintrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/altiv
ec.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/ammintrin.h /
usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/arm64intr.h /usr/ho
me/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/arm_acle.h /usr/home/hiro
ki/freebsd/contrib/llvm/tools/clang/lib/Headers/armintr.h /usr/home/hiroki/freeb
sd/contrib/llvm/tools/clang/lib/Headers/avx2intrin.h /usr/home/hiroki/freebsd/co
ntrib/llvm/tools/clang/lib/Headers/avx512bitalgintrin.h /usr/home/hiroki/freebsd
/contrib/llvm/tools/clang/lib/Headers/avx512bwintrin.h /usr/home/hiroki/freebsd/
contrib/llvm/tools/clang/lib/Headers/avx512cdintrin.h /usr/home/hiroki/freebsd/c
ontrib/llvm/tools/clang/lib/Headers/avx512dqintrin.h /usr/home/hiroki/freebsd/co
ntrib/llvm/tools/clang/lib/Headers/avx512erintrin.h /usr/home/hiroki/freebsd/con
trib/llvm/tools/clang/lib/Headers/avx512fintrin.h /usr/home/hiroki/freebsd/contr
ib/llvm/tools/clang/lib/Headers/avx512ifmaintrin.h /usr/home/hiroki/freebsd/cont
rib/llvm/tools/clang/lib/Headers/avx512ifmavlintrin.h /usr/home/hiroki/freebsd/c
ontrib/llvm/tools/clang/lib/Headers/avx512pfintrin.h /usr/home/hiroki/freebsd/co
ntrib/llvm/tools/clang/lib/Headers/avx512vbmi2intrin.h /usr/home/hiroki/freebsd/
contrib/llvm/tools/clang/lib/Headers/avx512vbmiintrin.h /usr/home/hiroki/freebsd
/contrib/llvm/tools/clang/lib/Headers/avx512vbmivlintrin.h /usr/home/hiroki/free
bsd/contrib/llvm/tools/clang/lib/Headers/avx512vlbitalgintrin.h /usr/home/hiroki
/freebsd/contrib/llvm/tools/clang/lib/Headers/avx512vlbwintrin.h /usr/home/hirok
i/freebsd/contrib/llvm/tools/clang/lib/Headers/avx512vlcdintrin.h /usr/home/hiro
ki/freebsd/contrib/llvm/tools/clang/lib/Headers/avx512vldqintrin.h /usr/home/hir
oki/freebsd/contrib/llvm/tools/clang/lib/Headers/avx512vlintrin.h /usr/home/hiro
ki/freebsd/contrib/llvm/tools/clang/lib/Headers/avx512vlvbmi2intrin.h /usr/home/
hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/avx512vlvnniintrin.h /usr/ho
me/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/avx512vnniintrin.h /usr/h
ome/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/avx512vpopcntdqintrin.h 
/usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/avx512vpopcntdqvli
ntrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/avxintrin.
h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/bmi2intrin.h /us
r/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/bmiintrin.h /usr/home
/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/cetintrin.h /usr/home/hirok
i/freebsd/contrib/llvm/tools/clang/lib/Headers/cldemoteintrin.h /usr/home/hiroki
/freebsd/contrib/llvm/tools/clang/lib/Headers/clflushoptintrin.h /usr/home/hirok
i/freebsd/contrib/llvm/tools/clang/lib/Headers/clwbintrin.h /usr/home/hiroki/fre
ebsd/contrib/llvm/tools/clang/lib/Headers/clzerointrin.h /usr/home/hiroki/freebs
d/contrib/llvm/tools/clang/lib/Headers/cpuid.h /usr/home/hiroki/freebsd/contrib/
llvm/tools/clang/lib/Headers/emmintrin.h /usr/home/hiroki/freebsd/contrib/llvm/t
ools/clang/lib/Headers/f16cintrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/
clang/lib/Headers/fma4intrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang
/lib/Headers/fmaintrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/H
eaders/fxsrintrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Header
s/gfniintrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/htm
intrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/htmxlintr
in.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/ia32intrin.h 
/usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/immintrin.h /usr/h
ome/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/invpcidintrin.h /usr/hom
e/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/lwpintrin.h /usr/home/hiro
ki/freebsd/contrib/llvm/tools/clang/lib/Headers/lzcntintrin.h /usr/home/hiroki/f
reebsd/contrib/llvm/tools/clang/lib/Headers/mm3dnow.h /usr/home/hiroki/freebsd/c
ontrib/llvm/tools/clang/lib/Headers/mm_malloc.h /usr/home/hiroki/freebsd/contrib
/llvm/tools/clang/lib/Headers/mmintrin.h /usr/home/hiroki/freebsd/contrib/llvm/t
ools/clang/lib/Headers/module.modulemap /usr/home/hiroki/freebsd/contrib/llvm/to
ols/clang/lib/Headers/movdirintrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools
/clang/lib/Headers/msa.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/H
eaders/mwaitxintrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Head
ers/nmmintrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/op
encl-c.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/pconfigin
trin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/pkuintrin.h
 /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/pmmintrin.h /usr/
home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/popcntintrin.h /usr/hom
e/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/prfchwintrin.h /usr/home/h
iroki/freebsd/contrib/llvm/tools/clang/lib/Headers/ptwriteintrin.h /usr/home/hir
oki/freebsd/contrib/llvm/tools/clang/lib/Headers/rdseedintrin.h /usr/home/hiroki
/freebsd/contrib/llvm/tools/clang/lib/Headers/rtmintrin.h /usr/home/hiroki/freeb
sd/contrib/llvm/tools/clang/lib/Headers/s390intrin.h /usr/home/hiroki/freebsd/co
ntrib/llvm/tools/clang/lib/Headers/sgxintrin.h /usr/home/hiroki/freebsd/contrib/
llvm/tools/clang/lib/Headers/shaintrin.h /usr/home/hiroki/freebsd/contrib/llvm/t
ools/clang/lib/Headers/smmintrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/c
lang/lib/Headers/tbmintrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/l
ib/Headers/tmmintrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Hea
ders/vadefs.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/vaes
intrin.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/vecintrin
.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/vpclmulqdqintri
n.h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/waitpkgintrin.
h /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/wbnoinvdintrin.h
 /usr/home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/wmmintrin.h /usr/
home/hiroki/freebsd/contrib/llvm/tools/clang/lib/Headers/x86intrin.h /usr/home/h
iroki/freebsd/contrib/llvm/tools/clang/lib/Headers/xmmintrin.h /usr/home/hiroki/
freebsd/contrib/llvm/tools/clang/lib/Headers/xopintrin.h /usr/home/hiroki/freebs
d/contrib/llvm/tools/clang/lib/Headers/xsavecintrin.h /usr/home/hiroki/freebsd/c
ontrib/llvm/tools/clang/lib/Headers/xsaveintrin.h /usr/home/hiroki/freebsd/contr
ib/llvm/tools/clang/lib/Headers/xsaveoptintrin.h /usr/home/hiroki/freebsd/contri
b/llvm/tools/clang/lib/Headers/xsavesintrin.h /usr/home/hiroki/freebsd/contrib/l
lvm/tools/clang/lib/Headers/xtestintrin.h arm_fp16.h arm_neon.h /usr/home/hiroki
/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd/arm.arm/tmp/usr/lib/cl
ang/8.0.0/include/
install: target directory `/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr
/home/hiroki/freebsd/arm.arm/tmp/usr/lib/clang/8.0.0/include/' does not exist

and other is this.

--------------------------------------------------------------
>>> stage 4.1: building includes
--------------------------------------------------------------

...

===> lib/libc++ (includes)
sh /usr/home/hiroki/freebsd/tools/install.sh  -C -o root -g wheel -m 444  /usr/h
ome/hiroki/freebsd/contrib/libc++/include/__bit_reference /usr/home/hiroki/freeb
sd/contrib/libc++/include/__bsd_locale_defaults.h /usr/home/hiroki/freebsd/contr
ib/libc++/include/__bsd_locale_fallbacks.h /usr/home/hiroki/freebsd/contrib/libc
++/include/__config /usr/home/hiroki/freebsd/contrib/libc++/include/__debug /usr
/home/hiroki/freebsd/contrib/libc++/include/__errc /usr/home/hiroki/freebsd/cont
rib/libc++/include/__functional_03 /usr/home/hiroki/freebsd/contrib/libc++/inclu
de/__functional_base /usr/home/hiroki/freebsd/contrib/libc++/include/__functiona
l_base_03 /usr/home/hiroki/freebsd/contrib/libc++/include/__hash_table /usr/home
/hiroki/freebsd/contrib/libc++/include/__libcpp_version /usr/home/hiroki/freebsd
/contrib/libc++/include/__locale /usr/home/hiroki/freebsd/contrib/libc++/include
/__mutex_base /usr/home/hiroki/freebsd/contrib/libc++/include/__node_handle /usr
/home/hiroki/freebsd/contrib/libc++/include/__nullptr /usr/home/hiroki/freebsd/c
ontrib/libc++/include/__split_buffer /usr/home/hiroki/freebsd/contrib/libc++/inc
lude/__sso_allocator /usr/home/hiroki/freebsd/contrib/libc++/include/__std_strea
m /usr/home/hiroki/freebsd/contrib/libc++/include/__string /usr/home/hiroki/free
bsd/contrib/libc++/include/__threading_support /usr/home/hiroki/freebsd/contrib/
libc++/include/__tree /usr/home/hiroki/freebsd/contrib/libc++/include/__tuple /u
sr/home/hiroki/freebsd/contrib/libc++/include/__undef_macros /usr/home/hiroki/fr
eebsd/contrib/libc++/include/algorithm /usr/home/hiroki/freebsd/contrib/libc++/i
nclude/any /usr/home/hiroki/freebsd/contrib/libc++/include/array /usr/home/hirok
i/freebsd/contrib/libc++/include/atomic /usr/home/hiroki/freebsd/contrib/libc++/
include/bit /usr/home/hiroki/freebsd/contrib/libc++/include/bitset /usr/home/hir
oki/freebsd/contrib/libc++/include/cassert /usr/home/hiroki/freebsd/contrib/libc
++/include/ccomplex /usr/home/hiroki/freebsd/contrib/libc++/include/cctype /usr/
home/hiroki/freebsd/contrib/libc++/include/cerrno /usr/home/hiroki/freebsd/contr
ib/libc++/include/cfenv /usr/home/hiroki/freebsd/contrib/libc++/include/cfloat /
usr/home/hiroki/freebsd/contrib/libc++/include/charconv /usr/home/hiroki/freebsd
/contrib/libc++/include/chrono /usr/home/hiroki/freebsd/contrib/libc++/include/c
inttypes /usr/home/hiroki/freebsd/contrib/libc++/include/ciso646 /usr/home/hirok
i/freebsd/contrib/libc++/include/climits /usr/home/hiroki/freebsd/contrib/libc++
/include/clocale /usr/home/hiroki/freebsd/contrib/libc++/include/cmath /usr/home
/hiroki/freebsd/contrib/libc++/include/codecvt /usr/home/hiroki/freebsd/contrib/
libc++/include/compare /usr/home/hiroki/freebsd/contrib/libc++/include/complex /
usr/home/hiroki/freebsd/contrib/libc++/include/complex.h /usr/home/hiroki/freebs
d/contrib/libc++/include/condition_variable /usr/home/hiroki/freebsd/contrib/lib
c++/include/csetjmp /usr/home/hiroki/freebsd/contrib/libc++/include/csignal /usr
/home/hiroki/freebsd/contrib/libc++/include/cstdarg /usr/home/hiroki/freebsd/con
trib/libc++/include/cstdbool /usr/home/hiroki/freebsd/contrib/libc++/include/cst
ddef /usr/home/hiroki/freebsd/contrib/libc++/include/cstdint /usr/home/hiroki/fr
eebsd/contrib/libc++/include/cstdio /usr/home/hiroki/freebsd/contrib/libc++/incl
ude/cstdlib /usr/home/hiroki/freebsd/contrib/libc++/include/cstring /usr/home/hi
roki/freebsd/contrib/libc++/include/ctgmath /usr/home/hiroki/freebsd/contrib/lib
c++/include/ctime /usr/home/hiroki/freebsd/contrib/libc++/include/ctype.h /usr/h
ome/hiroki/freebsd/contrib/libc++/include/cwchar /usr/home/hiroki/freebsd/contri
b/libc++/include/cwctype /usr/home/hiroki/freebsd/contrib/libc++/include/deque /
usr/home/hiroki/freebsd/contrib/libc++/include/errno.h /usr/home/hiroki/freebsd/
contrib/libc++/include/exception /usr/home/hiroki/freebsd/contrib/libc++/include
/filesystem /usr/home/hiroki/freebsd/contrib/libc++/include/float.h /usr/home/hi
roki/freebsd/contrib/libc++/include/forward_list /usr/home/hiroki/freebsd/contri
b/libc++/include/fstream /usr/home/hiroki/freebsd/contrib/libc++/include/functio
nal /usr/home/hiroki/freebsd/contrib/libc++/include/future /usr/home/hiroki/free
bsd/contrib/libc++/include/initializer_list /usr/home/hiroki/freebsd/contrib/lib
c++/include/inttypes.h /usr/home/hiroki/freebsd/contrib/libc++/include/iomanip /
usr/home/hiroki/freebsd/contrib/libc++/include/ios /usr/home/hiroki/freebsd/cont
rib/libc++/include/iosfwd /usr/home/hiroki/freebsd/contrib/libc++/include/iostre
am /usr/home/hiroki/freebsd/contrib/libc++/include/istream /usr/home/hiroki/free
bsd/contrib/libc++/include/iterator /usr/home/hiroki/freebsd/contrib/libc++/incl
ude/limits /usr/home/hiroki/freebsd/contrib/libc++/include/limits.h /usr/home/hi
roki/freebsd/contrib/libc++/include/list /usr/home/hiroki/freebsd/contrib/libc++
/include/locale /usr/home/hiroki/freebsd/contrib/libc++/include/locale.h /usr/ho
me/hiroki/freebsd/contrib/libc++/include/map /usr/home/hiroki/freebsd/contrib/li
bc++/include/math.h /usr/home/hiroki/freebsd/contrib/libc++/include/memory /usr/
home/hiroki/freebsd/contrib/libc++/include/mutex /usr/home/hiroki/freebsd/contri
b/libc++/include/new /usr/home/hiroki/freebsd/contrib/libc++/include/numeric /us
r/home/hiroki/freebsd/contrib/libc++/include/optional /usr/home/hiroki/freebsd/c
ontrib/libc++/include/ostream /usr/home/hiroki/freebsd/contrib/libc++/include/qu
eue /usr/home/hiroki/freebsd/contrib/libc++/include/random /usr/home/hiroki/free
bsd/contrib/libc++/include/ratio /usr/home/hiroki/freebsd/contrib/libc++/include
/regex /usr/home/hiroki/freebsd/contrib/libc++/include/scoped_allocator /usr/hom
e/hiroki/freebsd/contrib/libc++/include/set /usr/home/hiroki/freebsd/contrib/lib
c++/include/setjmp.h /usr/home/hiroki/freebsd/contrib/libc++/include/shared_mute
x /usr/home/hiroki/freebsd/contrib/libc++/include/span /usr/home/hiroki/freebsd/
contrib/libc++/include/sstream /usr/home/hiroki/freebsd/contrib/libc++/include/s
tack /usr/home/hiroki/freebsd/contrib/libc++/include/stdbool.h /usr/home/hiroki/
freebsd/contrib/libc++/include/stddef.h /usr/home/hiroki/freebsd/contrib/libc++/
include/stdexcept /usr/home/hiroki/freebsd/contrib/libc++/include/stdint.h /usr/
home/hiroki/freebsd/contrib/libc++/include/stdio.h /usr/home/hiroki/freebsd/cont
rib/libc++/include/stdlib.h /usr/home/hiroki/freebsd/contrib/libc++/include/stre
ambuf /usr/home/hiroki/freebsd/contrib/libc++/include/string /usr/home/hiroki/fr
eebsd/contrib/libc++/include/string.h /usr/home/hiroki/freebsd/contrib/libc++/in
clude/string_view /usr/home/hiroki/freebsd/contrib/libc++/include/strstream /usr
/home/hiroki/freebsd/contrib/libc++/include/system_error /usr/home/hiroki/freebs
d/contrib/libc++/include/tgmath.h /usr/home/hiroki/freebsd/contrib/libc++/includ
e/thread /usr/home/hiroki/freebsd/contrib/libc++/include/tuple /usr/home/hiroki/
freebsd/contrib/libc++/include/type_traits /usr/home/hiroki/freebsd/contrib/libc
++/include/typeindex /usr/home/hiroki/freebsd/contrib/libc++/include/typeinfo /u
sr/home/hiroki/freebsd/contrib/libc++/include/unordered_map /usr/home/hiroki/fre
ebsd/contrib/libc++/include/unordered_set /usr/home/hiroki/freebsd/contrib/libc+
+/include/utility /usr/home/hiroki/freebsd/contrib/libc++/include/valarray /usr/
home/hiroki/freebsd/contrib/libc++/include/variant /usr/home/hiroki/freebsd/cont
rib/libc++/include/vector /usr/home/hiroki/freebsd/contrib/libc++/include/versio
n /usr/home/hiroki/freebsd/contrib/libc++/include/wchar.h /usr/home/hiroki/freeb
sd/contrib/libc++/include/wctype.h /usr/home/hiroki/freebsd/contrib/libcxxrt/cxx
abi.h /usr/home/hiroki/freebsd/contrib/libcxxrt/unwind-arm.h /usr/home/hiroki/fr
eebsd/contrib/libcxxrt/unwind-itanium.h /usr/home/hiroki/freebsd/contrib/libcxxr
t/unwind.h /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/fre
ebsd/arm.arm/tmp/usr/include/c++/v1/
sh /usr/home/hiroki/freebsd/tools/install.sh  -C -o root -g wheel -m 444  /usr/h
ome/hiroki/freebsd/contrib/libc++/include/experimental/__config /usr/home/hiroki
/freebsd/contrib/libc++/include/experimental/__memory /usr/home/hiroki/freebsd/c
ontrib/libc++/include/experimental/algorithm /usr/home/hiroki/freebsd/contrib/li
bc++/include/experimental/any /usr/home/hiroki/freebsd/contrib/libc++/include/ex
perimental/chrono /usr/home/hiroki/freebsd/contrib/libc++/include/experimental/c
oroutine /usr/home/hiroki/freebsd/contrib/libc++/include/experimental/deque /usr
/home/hiroki/freebsd/contrib/libc++/include/experimental/filesystem /usr/home/hi
roki/freebsd/contrib/libc++/include/experimental/forward_list /usr/home/hiroki/f
reebsd/contrib/libc++/include/experimental/functional /usr/home/hiroki/freebsd/c
ontrib/libc++/include/experimental/iterator /usr/home/hiroki/freebsd/contrib/lib
c++/include/experimental/list /usr/home/hiroki/freebsd/contrib/libc++/include/ex
perimental/map /usr/home/hiroki/freebsd/contrib/libc++/include/experimental/memo
ry_resource /usr/home/hiroki/freebsd/contrib/libc++/include/experimental/numeric
 /usr/home/hiroki/freebsd/contrib/libc++/include/experimental/optional /usr/home
/hiroki/freebsd/contrib/libc++/include/experimental/propagate_const /usr/home/hi
roki/freebsd/contrib/libc++/include/experimental/ratio /usr/home/hiroki/freebsd/
contrib/libc++/include/experimental/regex /usr/home/hiroki/freebsd/contrib/libc+
+/include/experimental/set /usr/home/hiroki/freebsd/contrib/libc++/include/exper
imental/simd /usr/home/hiroki/freebsd/contrib/libc++/include/experimental/string
 /usr/home/hiroki/freebsd/contrib/libc++/include/experimental/string_view /usr/h
ome/hiroki/freebsd/contrib/libc++/include/experimental/system_error /usr/home/hi
roki/freebsd/contrib/libc++/include/experimental/tuple /usr/home/hiroki/freebsd/
contrib/libc++/include/experimental/type_traits /usr/home/hiroki/freebsd/contrib
/libc++/include/experimental/unordered_map /usr/home/hiroki/freebsd/contrib/libc
++/include/experimental/unordered_set /usr/home/hiroki/freebsd/contrib/libc++/in
clude/experimental/utility /usr/home/hiroki/freebsd/contrib/libc++/include/exper
imental/vector /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki
/freebsd/arm.arm/tmp/usr/include/c++/v1/experimental/
install: target directory `/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr
/home/hiroki/freebsd/arm.arm/tmp/usr/include/c++/v1/experimental/' does not exis
t
Comment 1 HIROKI MORI 2019-03-25 08:50:09 UTC
This is my temporary workaround.

diff --git a/Makefile.inc1 b/Makefile.inc1
index cf166a813d2..0dc58016601 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1084,6 +1084,7 @@ _cross-tools:
        @echo "--------------------------------------------------------------"
        @echo ">>> stage 3: cross tools"
        @echo "--------------------------------------------------------------"
+       @mkdir -p /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hir
oki/freebsd/arm.arm/tmp/usr/lib/clang/8.0.0/include/
        @rm -f ${OBJTOP}/toolchain-metadata.mk
        ${_+_}cd ${.CURDIR}; ${XMAKE} cross-tools
        ${_+_}cd ${.CURDIR}; ${XMAKE} kernel-tools
@@ -1101,6 +1102,8 @@ _includes:
        @echo "--------------------------------------------------------------"
 # Special handling for SUBDIR_OVERRIDE in buildworld as they most likely need
 # headers from default SUBDIR.  Do SUBDIR_OVERRIDE includes last.
+       @mkdir -p ${WORLDTMP}/usr/include/c++/v1/experimental
+       @mkdir -p ${WORLDTMP}/usr/include/c++/v1/ext
        ${_+_}cd ${.CURDIR}; ${WMAKE} SUBDIR_OVERRIDE= SHARED=symlinks ¥
            MK_INCLUDES=yes includes
 .if !empty(SUBDIR_OVERRIDE) && make(buildworld)
Comment 2 Dimitry Andric freebsd_committer 2019-03-25 11:55:16 UTC
(In reply to HIROKI MORI from comment #0)
> I build sys/arm/ralink(armv5t) on amd64 host. I have build error on
> buildworld after clang update 7.0.
> 
> Now clang is 8.0. I have still error.
...
> install: target directory `/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd/arm.arm/tmp/usr/lib/clang/8.0.0/include/' does not exist
...
> install: target directory `/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd/arm.arm/tmp/usr/include/c++/v1/experimental/' does not exis t

In both cases, these directories should have been created with mtree at the end of "stage 1.2: bootstrap tools". In your build log, look for these commands:

mtree -deUW -f /usr/src/etc/mtree/BSD.usr.dist  -p /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd/arm.arm/tmp >/dev/null
mtree -deUW -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd/arm.arm/tmp >/dev/null

Those commands should be run just before the next stage, "stage 2.1: cleaning up the object tree" starts.

Another thing to check is whether your copies of etc/mtree/BSD.usr.dist and etc/mtree/BSD.include.dist are up to date.
Comment 3 HIROKI MORI 2019-03-30 07:15:00 UTC
Thanks for you comment.

I check my build environment then that set NO_CLEAN.

I delete this option but I have other error.

===> lib/clang/libllvm (all)
llvm-tblgen -gen-attrs  -I /usr/home/hiroki/freebsd/contrib/llvm/include -d llvm
/IR/Attributes.inc.d -o llvm/IR/Attributes.inc  /usr/home/hiroki/freebsd/contrib
/llvm/include/llvm/IR/Attributes.td
llvm-tblgen -gen-intrinsic-enums  -I /usr/home/hiroki/freebsd/contrib/llvm/inclu
de -d llvm/IR/IntrinsicEnums.inc.d -o llvm/IR/IntrinsicEnums.inc  /usr/home/hiro
ki/freebsd/contrib/llvm/include/llvm/IR/Intrinsics.td
llvm-tblgen: Unknown command line argument '-gen-intrinsic-enums'.  Try: 'llvm-t
blgen -help'
llvm-tblgen: Did you mean '-gen-intrinsic'?
*** Error code 1
Comment 4 Dimitry Andric freebsd_committer 2019-03-30 10:02:41 UTC
(In reply to HIROKI MORI from comment #3)
> Thanks for you comment.
> 
> I check my build environment then that set NO_CLEAN.
> 
> I delete this option but I have other error.
> 
> ===> lib/clang/libllvm (all)
> llvm-tblgen -gen-attrs  -I /usr/home/hiroki/freebsd/contrib/llvm/include -d
> llvm
> /IR/Attributes.inc.d -o llvm/IR/Attributes.inc 
> /usr/home/hiroki/freebsd/contrib
> /llvm/include/llvm/IR/Attributes.td
> llvm-tblgen -gen-intrinsic-enums  -I
> /usr/home/hiroki/freebsd/contrib/llvm/inclu
> de -d llvm/IR/IntrinsicEnums.inc.d -o llvm/IR/IntrinsicEnums.inc 
> /usr/home/hiro
> ki/freebsd/contrib/llvm/include/llvm/IR/Intrinsics.td
> llvm-tblgen: Unknown command line argument '-gen-intrinsic-enums'.  Try:
> 'llvm-t
> blgen -help'
> llvm-tblgen: Did you mean '-gen-intrinsic'?
> *** Error code 1

This can happen when it is running the wrong copy of llvm-tblgen, most likely the one in /usr/bin.  It should be running /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin/llvm-tblgen instead (this path can be diffent, depending on your setup).

If you run "make buildenv" in your top-level source directory, then "which llvm-tblgen", what is the output?
Comment 5 HIROKI MORI 2019-04-10 00:21:08 UTC
I use NO_CLEAN again.

I think make directory at "stage 2.2: rebuilding the object tree" by lib/clang/8.0.0/include. But I don't found that log. Where define this?
Comment 6 HIROKI MORI 2019-07-19 09:18:07 UTC
I update 11.3 host os. But still I need this patch.

*** Makefile.inc1.orig	Mon Jul  8 14:27:19 2019
--- Makefile.inc1	Fri Jul 19 18:05:11 2019
***************
*** 1086,1091 ****
--- 1086,1092 ----
  	@echo "--------------------------------------------------------------"
  	@echo ">>> stage 3: cross tools"
  	@echo "--------------------------------------------------------------"
+ 	@mkdir -p /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd/arm.${TARGET_ARCH}/tmp/usr/lib/clang/8.0.1/include/
  	@rm -f ${OBJTOP}/toolchain-metadata.mk
  	${_+_}cd ${.CURDIR}; ${XMAKE} cross-tools
  	${_+_}cd ${.CURDIR}; ${XMAKE} kernel-tools
***************
*** 1103,1108 ****
--- 1104,1111 ----
  	@echo "--------------------------------------------------------------"
  # Special handling for SUBDIR_OVERRIDE in buildworld as they most likely need
  # headers from default SUBDIR.  Do SUBDIR_OVERRIDE includes last.
+ 	@mkdir -p ${WORLDTMP}/usr/include/c++/v1/experimental
+ 	@mkdir -p ${WORLDTMP}/usr/include/c++/v1/ext
  	${_+_}cd ${.CURDIR}; ${WMAKE} SUBDIR_OVERRIDE= SHARED=symlinks \
  	    MK_INCLUDES=yes includes
  .if !empty(SUBDIR_OVERRIDE) && make(buildworld)
Comment 7 Dimitry Andric freebsd_committer 2019-07-19 10:59:01 UTC
(In reply to HIROKI MORI from comment #6)
> I update 11.3 host os. But still I need this patch.
> 
> *** Makefile.inc1.orig	Mon Jul  8 14:27:19 2019
> --- Makefile.inc1	Fri Jul 19 18:05:11 2019
> ***************
> *** 1086,1091 ****
> --- 1086,1092 ----
>   	@echo "--------------------------------------------------------------"
>   	@echo ">>> stage 3: cross tools"
>   	@echo "--------------------------------------------------------------"
> + 	@mkdir -p
> /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd/
> arm.${TARGET_ARCH}/tmp/usr/lib/clang/8.0.1/include/
>   	@rm -f ${OBJTOP}/toolchain-metadata.mk
>   	${_+_}cd ${.CURDIR}; ${XMAKE} cross-tools
>   	${_+_}cd ${.CURDIR}; ${XMAKE} kernel-tools
> ***************
> *** 1103,1108 ****
> --- 1104,1111 ----
>   	@echo "--------------------------------------------------------------"
>   # Special handling for SUBDIR_OVERRIDE in buildworld as they most likely
> need
>   # headers from default SUBDIR.  Do SUBDIR_OVERRIDE includes last.
> + 	@mkdir -p ${WORLDTMP}/usr/include/c++/v1/experimental
> + 	@mkdir -p ${WORLDTMP}/usr/include/c++/v1/ext
>   	${_+_}cd ${.CURDIR}; ${WMAKE} SUBDIR_OVERRIDE= SHARED=symlinks \
>   	    MK_INCLUDES=yes includes
>   .if !empty(SUBDIR_OVERRIDE) && make(buildworld)

I can only repeat what I mentioned in comment 2, which is that these directories should be created by mtree, during the earlier stages (e.g. before "stage 3: cross tools").

If that does not happen for you, can you please check whether your source tree is cleanly checked out, without any modifications?

If it still fails, can you post a full buildworld log somewhere?
Comment 8 HIROKI MORI 2019-07-19 22:32:19 UTC
Created attachment 205908 [details]
This is build log.
Comment 9 HIROKI MORI 2019-07-27 08:53:34 UTC
Sorry. I use normal buildworld then build is complete. I use ZRouter build system. This problem is cause of set option by ZRouter.