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

            Bug ID: 252843
           Summary: WITHOUT_TESTS_SUPPORT build option fails on fatal
                    error: 'atf-c.h' file not found
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: b...@freebsd.org
          Reporter: edi...@callfortesting.org

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 ---

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to