Bug 252843 - WITHOUT_TESTS_SUPPORT build option fails on fatal error: 'atf-c.h' file not found
Summary: WITHOUT_TESTS_SUPPORT build option fails on fatal error: 'atf-c.h' file not f...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Kyle Evans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-20 04:10 UTC by Michael Dexter
Modified: 2023-12-10 11:10 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Dexter freebsd_triage 2021-01-20 04:10:46 UTC
Tested on FreeBSD 13.0-ALPHA1 two times to be certain.

The WITHOUT_TESTS_SUPPORT build option fails with:

--- all_subdir_lib ---
/usr/src/lib/csu/tests/fini_test.c:43:10: fatal error: 'atf-c.h' file not found
#include <atf-c.h>
         ^~~~~~~~~

More output:

--- all_subdir_share ---
--- de_DE.UTF-8.out ---
grep -v -E '^(#$|#[ ])' < /usr/src/share/msgdef/de_DE.UTF-8.src > de_DE.UTF-8.out
--- all_subdir_share/man ---
--- acpi_hp.4.gz ---
--- all_subdir_tests ---
chmod +x 09.tmp
--- all_subdir_tests/sys/pjdfstest/tests/chown ---
--- 00 ---
--- all_subdir_share ---
--- all_subdir_share/msgdef ---
--- el_GR.ISO8859-7.out ---
grep -v -E '^(#$|#[ ])' < /usr/src/share/msgdef/el_GR.ISO8859-7.src > el_GR.ISO8859-7.out
--- all_subdir_share/man ---
--- all_subdir_share/man/man3 ---
--- pthread_affinity_np.3.gz ---
--- all_subdir_share/man/man4 ---
--- acpi_ibm.4.gz ---
--- acpi_panasonic.4.gz ---
--- all_subdir_share/man/man3 ---
gzip -cn /usr/src/share/man/man3/pthread_affinity_np.3 > pthread_affinity_np.3.gz
--- all_subdir_share/man/man4 ---
--- acpi_ibm.4.gz ---
gzip -cn /usr/src/share/man/man4/acpi_ibm.4 > acpi_ibm.4.gz
--- acpi_hp.4.gz ---
gzip -cn /usr/src/share/man/man4/acpi_hp.4 > acpi_hp.4.gz
--- all_subdir_tests ---
--- all_subdir_tests/sys/pjdfstest/tests/chmod ---
mv 09.tmp 09
--- all_subdir_lib ---
/usr/src/lib/csu/tests/fini_test.c:43:10: fatal error: 'atf-c.h' file not found
#include <atf-c.h>
         ^~~~~~~~~
--- all_subdir_tests ---
--- all_subdir_tests/sys/aio ---
--- .depend.aio_kqueue_test ---
--- all_subdir_tests/sys/pjdfstest ---
--- all_subdir_tests/sys/pjdfstest/tests/chown ---
cat /usr/src/contrib/pjdfstest/tests/chown/00.t >00.tmp
--- all_subdir_share ---
--- acpi_rapidstart.4.gz ---
--- all_subdir_lib ---
1 error generated.
--- all_subdir_share ---
--- acpi_panasonic.4.gz ---
gzip -cn /usr/src/share/man/man4/acpi_panasonic.4 > acpi_panasonic.4.gz
--- all_subdir_tests ---
--- all_subdir_tests/sys/aio ---
echo aio_kqueue_test.full: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libc.a  >> .depend.aio_kqueue_test
--- all_subdir_bin ---
--- all_subdir_bin/freebsd-version ---
===> bin/freebsd-version (all)
--- all_subdir_share ---
--- all_subdir_share/msgdef ---
--- el_GR.UTF-8.out ---
--- all_subdir_share/man ---
--- acpi_rapidstart.4.gz ---
gzip -cn /usr/src/share/man/man4/acpi_rapidstart.4 > acpi_rapidstart.4.gz
--- all_subdir_tests ---
--- aio_kqueue_test.o ---
--- all_subdir_share ---
--- all_subdir_share/msgdef ---
grep -v -E '^(#$|#[ ])' < /usr/src/share/msgdef/el_GR.UTF-8.src > el_GR.UTF-8.out
--- all_subdir_bin ---
--- all_subdir_bin/chmod ---
--- all_subdir_bin/chmod/tests ---
===> bin/chmod/tests (all)
--- all_subdir_tests ---
cc -target x86_64-unknown-freebsd13.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common -I/usr/src/tests   -g -MD  -MF.depend.aio_kqueue_test.aio_kqueue_test.o -MTaio_kqueue_test.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable  -Qunused-arguments  -c /usr/src/tests/sys/aio/aio_kqueue_test.c -o aio_kqueue_test.o
--- all_subdir_stand ---
--- all_subdir_stand/libsa ---
--- assert.o ---
--- all_subdir_tests ---
--- all_subdir_tests/sys/pjdfstest ---
chmod +x 00.tmp
--- all_subdir_share ---
--- en_US.UTF-8.out ---
--- all_subdir_share/man ---
--- acpi_sony.4.gz ---
--- all_subdir_tests ---
--- all_subdir_tests/sys/pjdfstest/tests/chmod ---
--- 10 ---
--- all_subdir_stand ---
cc -target x86_64-unknown-freebsd13.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -nostdinc    -I/usr/obj/usr/src/amd64.amd64/stand/libsa -I/usr/src/stand/libsa -D_STANDALONE -I/usr/src/sys -Ddouble=jagged-little-pill -Dfloat=floaty-mcfloatface -ffunction-sections -fdata-sections -DLOADER_GELI_SUPPORT -I/usr/src/stand/libsa/geli -DLOADER_DISK_SUPPORT -ffreestanding -mno-mmx -mno-sse -mno-avx -mno-avx2 -msoft-float -fPIC -mno-red-zone -mno-relax -I. -Iinclude -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -I/usr/src/sys/contrib/zlib -I/usr/src/stand/common -DWEAK_REFS -DHAS_ZSTD_ZFS -I/usr/src/stand/common -I/usr/src/sys/cddl/boot/zfs -I/usr/src/sys/crypto/skein -I/usr/src/sys/contrib/openzfs/include -I/usr/src/sys/contrib/openzfs/include/os/freebsd/zfs -Wformat -Wall -g -MD  -MF.depend.assert.o -MTassert.o -std=gnu99 -Wno-format-zero-length -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -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  -Oz -Qunused-arguments    -c /usr/src/stand/libsa/assert.c -o assert.o
--- all_subdir_share ---
--- all_subdir_share/man/man3 ---
--- pthread_atfork.3.gz ---
--- all_subdir_share/msgdef ---
grep -v -E '^(#$|#[ ])' < /usr/src/share/msgdef/en_US.UTF-8.src > en_US.UTF-8.out
--- all_subdir_tests ---
cat /usr/src/contrib/pjdfstest/tests/chmod/10.t >10.tmp
--- all_subdir_tests/sys/pjdfstest/tests/chown ---
mv 00.tmp 00
--- all_subdir_share ---
--- es_MX.ISO8859-1.out ---
--- all_subdir_share/man ---
--- all_subdir_share/man/man4 ---
--- acpi_thermal.4.gz ---
--- acpi_sony.4.gz ---
gzip -cn /usr/src/share/man/man4/acpi_sony.4 > acpi_sony.4.gz
--- all_subdir_share/man/man3 ---
gzip -cn /usr/src/share/man/man3/pthread_atfork.3 > pthread_atfork.3.gz
--- all_subdir_share/man/man4 ---
--- acpi_battery.4.gz ---
--- all_subdir_bin ---
--- all_subdir_bin/chflags ---
--- chflags_test ---
--- all_subdir_share ---
--- all_subdir_share/msgdef ---
--- es_MX.UTF-8.out ---
--- es_MX.ISO8859-1.out ---
grep -v -E '^(#$|#[ ])' < /usr/src/share/msgdef/es_MX.ISO8859-1.src > es_MX.ISO8859-1.out
--- all_subdir_lib ---
*** [fini_test.pico] Error code 1

make[6]: stopped in /usr/src/lib/csu/tests/dso
--- all_subdir_tests ---
--- all_subdir_tests/sys/pjdfstest/tests/chmod ---
chmod +x 10.tmp
--- all_subdir_bin ---
echo '#! /usr/libexec/atf-sh' > chflags_test.tmp
--- all_subdir_share ---
--- all_subdir_share/man ---
--- acpi_thermal.4.gz ---
gzip -cn /usr/src/share/man/man4/acpi_thermal.4 > acpi_thermal.4.gz
--- all_subdir_share/msgdef ---
--- es_MX.UTF-8.out ---
grep -v -E '^(#$|#[ ])' < /usr/src/share/msgdef/es_MX.UTF-8.src > es_MX.UTF-8.out
--- all_subdir_share/man ---
--- all_subdir_share/msgdef ---
--- all_subdir_bin ---
--- all_subdir_share ---
--- all_subdir_share/doc ---
--- all_subdir_tests ---
--- all_subdir_share ---
--- all_subdir_share/i18n ---
--- all_subdir_stand ---
--- all_subdir_stand/libsa32 ---
--- all_subdir_lib ---
--- all_subdir_share ---
--- all_subdir_share/zoneinfo ---
--- all_subdir_sbin ---
--- all_subdir_gnu ---
--- all_subdir_kerberos5 ---
--- all_subdir_stand ---
--- all_subdir_stand/libsa ---
--- all_subdir_rescue ---
--- all_subdir_usr.bin ---
--- all_subdir_share ---
--- all_subdir_share/ctypedef ---
--- all_subdir_cddl ---
--- all_subdir_cddl/lib/libavl ---
--- all_subdir_cddl/lib/libicp_rescue ---
--- all_subdir_share ---
--- all_subdir_share/monetdef ---
--- all_subdir_share/examples ---
--- all_subdir_usr.sbin ---
--- all_subdir_secure ---
--- all_subdir_share ---
--- all_subdir_share/timedef ---
--- all_subdir_share/termcap ---
--- all_subdir_share/colldef ---
--- all_subdir_libexec ---
Comment 1 Michael Dexter freebsd_triage 2021-01-23 23:10:11 UTC
Confirmed on FreeBSD 13.0-ALPHA2 built on 13.0-ALPHA2.

Full built output is linked from: https://callfortesting.org/results/bos-FreeBSD-13A1/
Comment 2 Michael Dexter freebsd_triage 2021-01-30 03:05:02 UTC
Confirmed on FreeBSD 13.0-ALPHA3 built on 13.0-ALPHA3.
Comment 3 Michael Dexter freebsd_triage 2021-11-08 20:42:40 UTC
Fixed in CURRENT as of 2021-11-04
Comment 4 Thibault 2023-12-10 11:10:04 UTC
Hi, 

I was not able to find the commit in the tree that was related to the fix mentionned in 2021 : ("Fixed in CURRENT as of 2021-11-04") 

It looks like the bug is still there : I got same issue on the FreeBSD 14.0-STABLE
WITHOUT_TESTS_SUPPORT build option fails on : 

/usr/src/lib/csu/tests/fini_test.c:41:10: fatal error: 'atf-c.h' file not found
#include <atf-c.h>
         ^~~~~~~~~


------------------------
--------------------------------------------------------------
>>> stage 4.4: building everything
--------------------------------------------------------------
cd /usr/src; _PARALLEL_SUBDIR_OK=1 time env MACHINE_ARCH=amd64  MACHINE=amd64  CPUTYPE= CC="cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CXX="c++  -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin"  CPP="cpp -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin"  AS="as" AR="ar" ELFCTL="elfctl" LD="ld"  LLVM_LINK="" NM=nm OBJCOPY="objcopy"  RANLIB=ranlib STRINGS=  SIZE="size" STRIPBIN="strip"  INSTALL="install -U"  PATH=/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin  SYSROOT=/usr/obj/usr/src/amd64.amd64/tmp make  -f Makefile.inc1  BWPHASE=everything  DESTDIR=/usr/obj/usr/src/amd64.amd64/tmp all
--- all_subdir_lib ---
===> lib (all)
--- all_subdir_libexec ---
===> libexec (all)                                                                                                                                                                                               --- all_subdir_bin ---                                                                                                                                                                                           ===> bin (all)                                                                                                                                                                                                   --- all_subdir_cddl ---
===> cddl (all)
--- all_subdir_gnu ---
===> gnu (all)
--- all_subdir_include ---
===> include (all)
--- all_subdir_kerberos5 ---
===> kerberos5 (all)
--- all_subdir_rescue ---
===> rescue (all)
--- all_subdir_sbin ---
===> sbin (all)
--- all_subdir_secure ---
===> secure (all)
--- all_subdir_share ---
===> share (all)
--- all_subdir_stand ---
===> stand (all)
--- all_subdir_gnu ---
--- all_subdir_gnu/lib ---
===> gnu/lib (all)
--- all_subdir_rescue ---
--- all_subdir_rescue/librescue ---
===> rescue/librescue (all)
--- all_subdir_kerberos5 ---
--- all_subdir_kerberos5/lib ---
===> kerberos5/lib (all)
--- all_subdir_cddl ---
--- all_subdir_cddl/lib ---
===> cddl/lib (all)
--- all_subdir_secure ---
--- all_subdir_secure/lib ---
===> secure/lib (all)
--- all_subdir_gnu ---
--- all_subdir_gnu/lib/libdialog ---
===> gnu/lib/libdialog (all)
--- all_subdir_stand ---
--- all_subdir_stand/libsa ---
===> stand/libsa (all)                                                                                                                                                                                 [246/1490]--- all_subdir_secure ---
--- all_subdir_secure/lib/libcrypto ---
===> secure/lib/libcrypto (all)
--- all_subdir_share ---
--- all_subdir_share/colldef ---
===> share/colldef (all)
--- all_subdir_kerberos5 ---
--- all_subdir_kerberos5/lib/libasn1 ---
===> kerberos5/lib/libasn1 (all)
--- all_subdir_bin ---
--- all_subdir_bin/cat ---
===> bin/cat (all)
--- all_subdir_libexec ---
--- all_subdir_libexec/atf ---
===> libexec/atf (all)
--- all_subdir_include ---
--- all_subdir_include/arpa ---
===> include/arpa (all)
--- all_subdir_cddl ---
--- all_subdir_cddl/lib/libspl ---
===> cddl/lib/libspl (all)
--- all_subdir_rescue ---
--- exec.o ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -DRESCUE -D__DBINTERFACE_PRIVATE -DINET6 -DPOSIX_MISTAKE -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -DYP -I/usr/src/lib/libc/include -g -gz=zlib -MD  -MF.depend.exec.o -MTexec.o -std=gnu99 -Wno-format-zero-length -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member  -Qunused-arguments    -c /usr/src/lib/libc/gen/exec.c -o exec.o
--- all_subdir_libexec ---
--- all_subdir_libexec/atf/atf-check ---
===> libexec/atf/atf-check (all)
--- all_subdir_sbin ---
--- all_subdir_sbin/adjkerntz ---
===> sbin/adjkerntz (all)
--- all_subdir_lib ---                                                                                                                                                                                 [211/1490]--- all_subdir_lib/csu ---
===> lib/csu (all)
--- all_subdir_bin ---
--- .depend ---
echo cat.full: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libc.a  >> .depend
--- all_subdir_gnu ---
--- dialog.3.gz ---
--- all_subdir_bin ---
--- all_subdir_bin/cat/tests ---
===> bin/cat/tests (all)
--- all_subdir_include ---
--- all_subdir_include/protocols ---
===> include/protocols (all)
--- all_subdir_gnu ---
gzip -cn /usr/src/contrib/dialog/dialog.3 > dialog.3.gz
--- all_subdir_lib ---
--- all_subdir_lib/csu/amd64 ---
===> lib/csu/amd64 (all)
--- all_subdir_libexec ---
--- .depend ---
--- all_subdir_stand ---
--- include/machine ---
--- all_subdir_libexec ---
echo atf-check.full: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libc.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libprivateatf-c++.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libprivateatf-c.a >> .depend
--- all_subdir_sbin ---
--- .depend ---
--- all_subdir_libexec ---
echo atf-check.full: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libc++.a >> .depend
--- all_subdir_gnu ---
--- all_subdir_gnu/lib/tests ---
===> gnu/lib/tests (all)
--- all_subdir_libexec ---
--- atf-check.o ---
--- all_subdir_sbin ---
echo adjkerntz.full: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libc.a  >> .depend
--- all_subdir_libexec ---
c++  -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common -DHAVE_CONFIG_H -I/usr/src/contrib/atf -DATF_SHELL='"/bin/sh"' -fPIE -g -gz=zlib -MD -MF.depend.atf-check.o -MTatf-check.o -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wdate-time -Wformat=2 -Wno-format-extra-args -Werror -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-format-nonliteral -Qunused-arguments  -fPIE -std=c++11 -Wno-deprecated-declarations   -Wno-c++11-extensions   -c /usr/src/contrib/atf/atf-sh/atf-check.cpp -o atf-check.o
--- all_subdir_sbin ---
--- adjkerntz.o ---
--- all_subdir_stand ---
include/machine -> /usr/src/sys/amd64/include
--- all_subdir_sbin ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -fPIE -g -gz=zlib -MD  -MF.depend.adjkerntz.o -MTadjkerntz.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter  -Qunused-arguments    -c /usr/src/sbin/adjkerntz/adjkerntz.c -o adjkerntz.o
--- all_subdir_kerberos5 ---
--- all_subdir_kerberos5/lib/libhdb ---
===> kerberos5/lib/libhdb (all)
--- all_subdir_stand ---
--- include/x86 ---
--- all_subdir_cddl ---
--- all_subdir_cddl/lib/drti ---
===> cddl/lib/drti (all)
--- all_subdir_include ---
--- all_subdir_include/rpcsvc ---
===> include/rpcsvc (all)
--- all_subdir_stand ---
include/x86 -> /usr/src/sys/x86/include
--- beforedepend ---
mkdir -p xlocale arpa;  for i in a.out.h assert.h elf.h inttypes.h limits.h nlist.h setjmp.h stddef.h stdbool.h string.h strings.h time.h unistd.h uuid.h; do  ln -sf /usr/src/include/$i $i;  done;  ln -sf /usr/src/sys/amd64/include/stdarg.h stdarg.h;  ln -sf /usr/src/sys/sys/errno.h errno.h;  ln -sf /usr/src/sys/sys/stdint.h stdint.h;  ln -sf /usr/src/include/arpa/inet.h arpa/inet.h;  ln -sf /usr/src/include/arpa/tftp.h arpa/tftp.h;  for i in _time.h _strings.h _string.h; do  [ -f xlocale/$i ] || :> xlocale/$i;  done;  for i in ctype.h fcntl.h signal.h stdio.h stdlib.h; do  ln -sf /usr/src/stand/libsa/stand.h $i;  done
--- all_subdir_bin ---
--- cat_test ---                                                                                                                                                                                       [142/1490]echo '#! /usr/libexec/atf-sh' > cat_test.tmp
cat /usr/src/contrib/netbsd-tests/bin/cat/t_cat.sh >>cat_test.tmp
chmod +x cat_test.tmp
--- all_subdir_lib ---
--- all_subdir_lib/csu/tests ---
===> lib/csu/tests (all)
--- all_subdir_bin ---
mv cat_test.tmp cat_test
--- Kyuafile ---
--- all_subdir_cddl ---
--- all_subdir_cddl/lib/libctf ---
===> cddl/lib/libctf (all)
--- all_subdir_gnu ---
--- all_subdir_gnu/usr.bin ---
===> gnu/usr.bin (all)
--- all_subdir_bin ---
--- cat.o ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -fPIE -g -gz=zlib -MD  -MF.depend.cat.o -MTcat.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter  -Qunused-arguments    -c /usr/src/bin/cat/cat.c -o cat.o
--- all_subdir_include ---
--- all_subdir_include/rpc ---
===> include/rpc (all)
--- all_subdir_gnu ---
--- all_subdir_gnu/usr.bin/dialog ---
===> gnu/usr.bin/dialog (all)
--- all_subdir_stand ---
--- __main.o ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -nostdinc    -I/usr/obj/usr/src/amd64.amd64/stand/libsa -I/usr/src/stand/libsa -D_STANDALONE -I/usr/src/sys -Ddouble=jagged-little-pill -Dfloat=floaty-mcfloatface -ffunction-sections -fdata-sections -DLOADER_GELI_SUPPORT -I/usr/src/stand/libsa/geli -DLOADER_DISK_SUPPORT -ffreestanding -mno-mmx -mno-sse -mno-avx -mno-avx2 -msoft-float -fPIC -mno-red-zone -mno-relax -I. -Iinclude -g -gz=zlib -MD  -MF.depend.__main.o -MT__main.o -std=gnu99 -Wno-format-zero-length -Wsystem-headers -Werror -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-tautological-compare -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  -Oz -Qunused-arguments    -c /usr/src/stand/libsa/__main.c -o __main.o
--- all_subdir_lib ---
--- all_subdir_lib/csu/tests/dso ---
===> lib/csu/tests/dso (all)
--- all_subdir_kerberos5 ---
--- HDB.3.gz ---
--- all_subdir_cddl ---
--- ctf.5.gz ---
--- all_subdir_kerberos5 ---
gzip -cn /usr/src/crypto/heimdal/doc/doxyout/hdb/man/man3//HDB.3 > HDB.3.gz
--- all_subdir_stand ---
--- abort.o ---
--- all_subdir_cddl ---
gzip -cn /usr/src/cddl/contrib/opensolaris/lib/libctf/common/ctf.5 > ctf.5.gz
--- all_subdir_gnu ---
--- .depend ---
--- all_subdir_include ---
--- all_subdir_include/xlocale ---
===> include/xlocale (all)
--- all_subdir_stand ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -nostdinc    -I/usr/obj/usr/src/amd64.amd64/stand/libsa -I/usr/src/stand/libsa -D_STANDALONE -I/usr/src/sys -Ddouble=jagged-little-pill -Dfloat=floaty-mcfloatface -ffunction-sections -fdata-sections -DLOADER_GELI_SUPPORT -I/usr/src/stand/libsa/geli -DLOADER_DISK_SUPPORT -ffreestanding -mno-mmx -mno-sse -mno-avx -mno-avx2 -msoft-float -fPIC -mno-red-zone -mno-relax -I. -Iinclude -g -gz=zlib -MD  -MF.depend.abort.o -MTabort.o -std=gnu99 -Wno-format-zero-length -Wsystem-headers -Werror -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-tautological-compare -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  -Oz -Qunused-arguments    -c /usr/src/stand/libsa/abort.c -o abort.o
--- all_subdir_gnu ---
echo dialog.full: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libc.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libdialog.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libtinfow.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libncursesw.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libm.a >> .depend
--- dialog.o ---
--- all_subdir_kerberos5 ---
--- hdb_entry_ex.3.gz ---
--- all_subdir_gnu ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common -I/usr/src/gnu/usr.bin/dialog -I/usr/src/contrib/dialog   -fPIE -g -gz=zlib -MD  -MF.depend.dialog.o -MTdialog.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter  -Qunused-arguments    -c /usr/src/contrib/dialog/dialog.c -o dialog.o
--- all_subdir_kerberos5 ---
gzip -cn /usr/src/crypto/heimdal/doc/doxyout/hdb/man/man3//hdb_entry_ex.3 > hdb_entry_ex.3.gz
--- all_subdir_lib ---
--- init_test.pico ---
--- all_subdir_cddl ---
--- all_subdir_cddl/lib/libdtrace ---
===> cddl/lib/libdtrace (all)
--- all_subdir_lib ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -fpic -DPIC  -O2 -pipe -fno-common -DDSO_LIB -I/usr/src/lib/csu/amd64   -g -gz=zlib -MD  -MF.depend.init_test.pico -MTinit_test.pico -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member  -Qunused-arguments    -c /usr/src/lib/csu/tests/init_test.c -o init_test.pico
--- all_subdir_kerberos5 ---
--- all_subdir_kerberos5/lib/libheimntlm ---
===> kerberos5/lib/libheimntlm (all)
--- all_subdir_include ---
--- all_subdir_include/i386 ---
===> include/i386 (all)
--- all_subdir_rescue ---
--- getusershell.o ---
--- all_subdir_lib ---
--- fini_test.pico ---
--- all_subdir_rescue ---                                                                                                                                                                               [46/1490]cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -DRESCUE -D__DBINTERFACE_PRIVATE -DINET6 -DPOSIX_MISTAKE -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -DYP -I/usr/src/lib/libc/include -g -gz=zlib -MD  -MF.depend.getusershell.o -MTgetusershell.o -std=gnu99 -Wno-format-zero-length -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member  -Qunused-arguments    -c /usr/src/lib/libc/gen/getusershell.c -o getusershell.o
--- all_subdir_lib ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -fpic -DPIC  -O2 -pipe -fno-common -DDSO_LIB -I/usr/src/lib/csu/amd64   -g -gz=zlib -MD  -MF.depend.fini_test.pico -MTfini_test.pico -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member  -Qunused-arguments    -c /usr/src/lib/csu/tests/fini_test.c -o fini_test.pico
--- all_subdir_kerberos5 ---
--- libheimntlm.so.11.full ---
building shared library libheimntlm.so.11
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -Wl,--no-undefined -Wl,-zrelro -Wl,--version-script=/usr/src/crypto/heimdal/lib/ntlm/version-script.map -Wl,--undefined-version   -fstack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel  -o libheimntlm.so.11.full -Wl,-soname,libheimntlm.so.11 ntlm.pico ntlm_err.pico  -lcrypto  -lcom_err  -lkrb5  -lroken
--- all_subdir_stand ---
--- assert.o ---
cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -nostdinc    -I/usr/obj/usr/src/amd64.amd64/stand/libsa -I/usr/src/stand/libsa -D_STANDALONE -I/usr/src/sys -Ddouble=jagged-little-pill -Dfloat=floaty-mcfloatface -ffunction-sections -fdata-sections -DLOADER_GELI_SUPPORT -I/usr/src/stand/libsa/geli -DLOADER_DISK_SUPPORT -ffreestanding -mno-mmx -mno-sse -mno-avx -mno-avx2 -msoft-float -fPIC -mno-red-zone -mno-relax -I. -Iinclude -g -gz=zlib -MD  -MF.depend.assert.o -MTassert.o -std=gnu99 -Wno-format-zero-length -Wsystem-headers -Werror -Wno-pointer-sign -Wdate-time -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-tautological-compare -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  -Oz -Qunused-arguments    -c /usr/src/stand/libsa/assert.c -o assert.o
--- all_subdir_include ---
--- all_subdir_include/gssapi ---
===> include/gssapi (all)
--- all_subdir_lib ---
/usr/src/lib/csu/tests/fini_test.c:41:10: fatal error: 'atf-c.h' file not found
#include <atf-c.h>
         ^~~~~~~~~
1 error generated
-----------------------------