[Bug 236772] build error on cross compile: '.../c++/v1/experimental/' does not exist

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 25 11:55:19 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236772

--- Comment #2 from Dimitry Andric <dim at FreeBSD.org> ---
(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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list