NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/56416: build.sh -c clang fails (inappropriate distrib/sets/lists/ for clang 9?)
>Number: 56416
>Category: misc
>Synopsis: build.sh -c clang fails (inappropriate distrib/sets/lists/ for clang 9?)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 23 05:55:00 +0000 2021
>Originator: Wataru Ashihara
>Release: -current (2021-09-18 03:05:20)
>Organization:
>Environment:
NetBSD localhost 9.99.88 NetBSD 9.99.88 (GENERIC) #9: Sun Sep 19 15:42:53 JST 2021 wsh@wsh64:/home/wsh/qc/netbsd/zco.amd64/sys/arch/amd64/compile/GENERIC amd64
>Description:
In the following build.sh command,
./build.sh -cclang -m amd64 -T zct.amd64/ -O zco.amd64/ -D zcd.amd64/ -R zcr.amd64/ -u -U -VMKDEBUG=yes -VMKKDEBUG=yes distribution
`make includes` fails at external/bsd/compiler_rt/lib/clang/include/sanitizer/Makefile.
includes ===> external/bsd/compiler_rt/lib/clang/include/sanitizer
# install /home/wsh/qc/netbsd/zcd.amd64/usr/lib/clang/9.0.0/include/sanitizer/allocator_interface.h
/home/wsh/qc/netbsd/zct.amd64/bin/x86_64--netbsd-install -U -M /home/wsh/qc/netbsd/zcd.amd64/METALOG -D /home/wsh/qc/netbsd/zcd.amd64 -h sha256 -N /home/wsh/qc/netbsd/etc -c -p -r -o root -g wheel -m 444 /home/wsh/qc/netbsd/sys/external/bsd/compiler_rt/dist/include/sanitizer/allocator_interface.h /home/wsh/qc/netbsd/zcd.amd64/usr/lib/clang/9.0.0/include/sanitizer/allocator_interface.h
x86_64--netbsd-install: /home/wsh/qc/netbsd/zcd.amd64/usr/lib/clang/9.0.0/include/sanitizer/allocator_interface.h.inst.CZshbo: mkstemp: No such file or directory
*** Failed target: /home/wsh/qc/netbsd/zcd.amd64/usr/lib/clang/9.0.0/include/sanitizer/allocator_interface.h
*** Failed commands:
@cmp -s ${.ALLSRC} ${.TARGET} > /dev/null 2>&1 || (${_MKSHMSG_INSTALL} ${.TARGET}; ${_MKSHECHO} "${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}" && ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET})
*** [/home/wsh/qc/netbsd/zcd.amd64/usr/lib/clang/9.0.0/include/sanitizer/allocator_interface.h] Error code 1
nbmake[5]: stopped in /home/wsh/qc/netbsd/external/bsd/compiler_rt/lib/clang/include/sanitizer
1 error
nbmake[5]: stopped in /home/wsh/qc/netbsd/external/bsd/compiler_rt/lib/clang/include/sanitizer
nbmake[4]: stopped in /home/wsh/qc/netbsd/external/bsd/compiler_rt/lib/clang/include
nbmake[3]: stopped in /home/wsh/qc/netbsd/external/bsd/compiler_rt/lib/clang
nbmake[2]: stopped in /home/wsh/qc/netbsd/external/bsd/compiler_rt/lib
nbmake[1]: stopped in /home/wsh/qc/netbsd/external/bsd/compiler_rt
nbmake: stopped in /home/wsh/qc/netbsd
ERROR: Failed to make includes in "."
*** BUILD ABORTED ***
Command exited with non-zero status 1
`make includes` succeeds after doing the following commands,
mkdir -p /home/wsh/qc/netbsd/zcd.amd64/usr/lib/clang/9.0.0/include/sanitizer/
mkdir -p /home/wsh/qc/netbsd/zcd.amd64/usr/lib/clang/9.0.0/include/xray/
mkdir -p /home/wsh/qc/netbsd/zcd.amd64/usr/lib/clang/9.0.0/share/
but `make clean_METALOG` fails.
obj ===> regress/sys/kern/unfdpass
clean_METALOG ===> .
clean_METALOG ===> distrib/sets
</home/wsh/qc/netbsd/zcd.amd64/METALOG /home/wsh/qc/netbsd/zct.amd64/bin/nbawk '{ a[$1] = $0; } END { for (f in a) print a[f]; }' | sort | /home/wsh/qc/netbsd/zct.amd64/bin/nbmtree -CSM -k all -R time -N /home/wsh/qc/netbsd/etc >/home/wsh/qc/netbsd/zcd.amd64/METALOG.new
nbmtree: ./usr/lib/clang/9.0.0: missing directory in specification
nbmtree: failed at line 2033 of the specification
*** Failed target: /home/wsh/qc/netbsd/zcd.amd64/METALOG.sanitised
*** Failed commands:
<${METALOG} ${${MKUPDATE} != "no" :? ${METALOG_REMOVE_DUPLICATES} | :} sort | ${TOOL_MTREE} -CSM -k all -R time -N ${NETBSDSRCDIR}/etc >${METALOG}.new
mv ${METALOG}.new ${METALOG}.sanitised
*** [/home/wsh/qc/netbsd/zcd.amd64/METALOG.sanitised] Error code 1
nbmake[3]: stopped in /home/wsh/qc/netbsd/distrib/sets
1 error
nbmake[3]: stopped in /home/wsh/qc/netbsd/distrib/sets
nbmake[2]: stopped in /home/wsh/qc/netbsd
nbmake[1]: stopped in /home/wsh/qc/netbsd
nbmake: stopped in /home/wsh/qc/netbsd
Failed to make distribution
*** BUILD ABORTED ***
Command exited with non-zero status 1
>How-To-Repeat:
./build.sh -cclang -m amd64 -T zct.amd64/ -O zco.amd64/ -D zcd.amd64/ -R zcr.amd64/ -u -U -VMKDEBUG=yes -VMKKDEBUG=yes distribution
>Fix:
I guess we need to modify files in distrib/sets/lists/.
Home |
Main Index |
Thread Index |
Old Index