Re: building current with DIRDEPS_BUILD [was meta mode]

From: Bryan Drewery <bryan-lists_at_shatow.net>
Date: Sat, 3 Mar 2018 10:46:01 -0800
On 3/3/2018 10:13 AM, Eitan Adler wrote:
> #make toolchain
> 

This is now known as DIRDEPS_BUILD. META_MODE is something different
now, see man src.conf.

This failure is not unexpected as the build breaks with LLVM updates.
I'll work on a fix this next week.

> ...
> Building /srv/obj/srv/src/fbsd/head/usr.bin/clang/clang-tblgen/clang-tblgen.full
> c++: error: no such file or directory:
> '/srv/obj/srv/src/fbsd/head/freebsd12-amd64/lib/clang/libllvmminimal/libllvmminimal.a'
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /srv/src/fbsd/head/usr.bin/clang/clang-tblgen
> .ERROR_TARGET='clang-tblgen.full'
> .ERROR_META_FILE='/srv/obj/srv/src/fbsd/head/usr.bin/clang/clang-tblgen/clang-tblgen.full.meta'
> .MAKE.LEVEL='1'
> MAKEFILE=''
> .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
> _ERROR_CMD='/usr/bin/c++ -O2 -pipe
> -I/srv/obj/srv/src/fbsd/head/freebsd12-amd64/lib/clang/libllvm
> -I/srv/src/fbsd/head/lib/clang/include -I/srv/src/fbsd/head/
> contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS
> -D__STDC_CONSTANT_MACROS
> -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd12.0\" -DLLV
> M_HOST_TRIPLE=\"x86_64-unknown-freebsd12.0\" -DDEFAULT_SYSROOT=\"\"
> -ffunction-sections -fdata-sections -isystem
> /srv/obj/srv/src/fbsd/head/stage/freebsd12-am
> d64/usr/include -DHOSTPROG -gline-tables-only -fstack-protector-strong
> -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
> -Wno-tautological-compa
> re -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
> -Wno-enum-conversion -Wno-unused-local-typedef
> -Wno-address-of-packed-member -Wno-switch -
> Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses
> -Qunused-arguments -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++
> -Wno-c++11-extensions  -Wl
> ,--gc-sections -Wl,-rpath-link,/srv/obj/srv/src/fbsd/head/stage/freebsd12-amd64/usr/lib
> -o clang-tblgen.full  ClangASTNodesEmitter.o ClangAttrEmitter.o ClangC
> ommentCommandInfoEmitter.o
> ClangCommentHTMLNamedCharacterReferenceEmitter.o
> ClangCommentHTMLTagsEmitter.o ClangDataCollectorsEmitter.o
> ClangDiagnosticsEmitter
> .o ClangOptionDocEmitter.o ClangSACheckersEmitter.o NeonEmitter.o
> TableGen.o /srv/obj/srv/src/fbsd/head/freebsd12-amd64/lib/clang/libllvmminimal/libllvmminima
> l.a -L/srv/obj/srv/src/fbsd/head/stage/freebsd12-amd64/usr/lib
> -lncursesw  -lpthread;'
> .CURDIR='/srv/src/fbsd/head/usr.bin/clang/clang-tblgen'
> .MAKE='make'
> .OBJDIR='/srv/obj/srv/src/fbsd/head/usr.bin/clang/clang-tblgen'
> .TARGETS=' all'
> DESTDIR='/srv/obj/srv/src/fbsd/head/stage/freebsd12-amd64'
> LD_LIBRARY_PATH=''
> MACHINE='host'
> MACHINE_ARCH='amd64'
> ...
> 
> Stop.
> make: stopped in /srv/src/fbsd/head
> .ERROR_TARGET='/srv/src/fbsd/head/usr.bin/clang/clang-tblgen.host'
> .ERROR_META_FILE=''
> .MAKE.LEVEL='0'
> MAKEFILE=''
> .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
> _ERROR_CMD='.PHONY'
> .CURDIR='/srv/src/fbsd/head'
> .MAKE='make'
> .OBJDIR='/srv/obj/srv/src/fbsd/head/amd64.amd64'
> .TARGETS='toolchain'
> DESTDIR=''
> LD_LIBRARY_PATH=''
> MACHINE='amd64'
> MACHINE_ARCH='amd64'
> MAKEOBJDIRPREFIX=''
> MAKESYSPATH='/srv/src/fbsd/head/share/mk'
> MAKE_VERSION='20170510'
> PATH='/srv/obj/srv/src/fbsd/head/stage/freebsd12-amd64/usr/bin:/srv/obj/srv/src/fbsd/head/stage/freebsd12-amd64/usr/sbin:/srv/obj/srv/src/fbsd/head/stage/free
> bsd12-amd64/bin:/srv/obj/srv/src/fbsd/head/stage/freebsd12-amd64/sbin:/home/eax/bin:/opt/local/libexec/ccache:/usr/local/libexec/ccache:/home/eax/.cargo/bin:/
> Users/eax/.local/bin:/home/eax/.local/lib/npm/bin:/home/eax/.gem/ruby/2.5.0/bin:/home/eax/.rvm/bin:/home/eax/Library/Python/3.6/bin:/home/eax/Library/Python/2
> .7/bin:/opt/local/sbin:/opt/local/bin:/opt/local/bin/pear:/opt/local/lib/mariadb-10.2/bin:/usr/local/mysql/bin:/opt/local/libexec/perl5.24/sitebin:/home/eax/p
> erl5/bin:/home/eax/Library/Android/sdk/platform-tools:/home/eax/.luarocks/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin'
> SRCTOP='/srv/src/fbsd/head'
> OBJTOP='/srv/obj/srv/src/fbsd/head/amd64.amd64'
> _at_ 1520100350 [2018-03-03 18:05:50] Failed toolchain seconds=351
> make toolchain 181.64s user 100.10s system 80% cpu 5:51.48 total; max
> RSS 165028Ki
> 


-- 
Regards,
Bryan Drewery
bdrewery_at_freenode/EFNet
Received on Sat Mar 03 2018 - 17:46:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:15 UTC