WITH_TESTS=1 make installworld fails to install ATF C tests

Alan Somers asomers at freebsd.org
Mon Jan 20 16:28:31 UTC 2014


On Fri, Jan 17, 2014 at 11:58 AM, Alan Somers <asomers at freebsd.org> wrote:
> I'm unable to do a make installworld on my FreeBSD/head machine.  When
> I try, I get errors about "No such file or directory" for some ATF
> tests.  The odd thing is, if I do "make buildenv" and run the command
> that failed, it works.  How can "make buildworld" fail even though the
> same commands work in a "make buildenv" shell?  Has anyone seen this
> before?
>
> For the record, this is AMD64, I just did a completely clean
> buildworld, and my source tree is at rev 260786.
>
>
> install -o root  -g wheel -m 444  Kyuafile.auto
> /usr/tests/lib/atf/libatf-c/detail/Kyuafile
> (cd /usr/home/alans/freebsd/head/lib/atf/libatf-c/tests/detail && make
> -f /usr/home/alans/freebsd/head/lib/atf/libatf-c/tests/detail/Makefile
> _RECURSING_PROGS=  SUBDIR= PROG=process_helpers  install)
> install -s -o root -g wheel -m 555   process_helpers
> /usr/tests/lib/atf/libatf-c/detail/process_helpers
> install: process_helpers: No such file or directory
> *** Error code 71
>
> Stop.
> make[9]: stopped in /usr/home/alans/freebsd/head/lib/atf/libatf-c/tests/detail
> *** Error code 1
>
> Stop.
> make[8]: stopped in /usr/home/alans/freebsd/head/lib/atf/libatf-c/tests/detail
> *** Error code 1
>
> Stop.
> make[7]: stopped in /usr/home/alans/freebsd/head/lib/atf/libatf-c/tests
> *** Error code 1
>
> Stop.
> make[6]: stopped in /usr/home/alans/freebsd/head/lib/atf/libatf-c
> *** Error code 1
>
> Stop.
> make[5]: stopped in /usr/home/alans/freebsd/head/lib/atf
> *** Error code 1
>
> Stop.
> make[4]: stopped in /usr/home/alans/freebsd/head/lib
> *** Error code 1
>
> Stop.
> make[3]: stopped in /usr/home/alans/freebsd/head
> *** Error code 1
>
> Stop.
> make[2]: stopped in /usr/home/alans/freebsd/head
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/home/alans/freebsd/head
> *** Error code 1
>
> Stop.
> make: stopped in /usr/home/alans/freebsd/head
> [root at alans-fbsd-head /usr/home/alans/freebsd/head]# make buildenv
> Entering world for amd64:amd64
> # (cd /usr/home/alans/freebsd/head/lib/atf/libatf-c/tests/detail &&
> make -f /usr/home/alans/freebsd/head/lib/atf/libatf-c/tests/detail/Makefile
> _RECURSING_PROGS=  SUBDIR= PROG=process_helpers  install)
> sh /usr/home/alans/freebsd/head/tools/install.sh -s -o root -g wheel
> -m 555   process_helpers
> /usr/tests/lib/atf/libatf-c/detail/process_helpers
> sh /usr/home/alans/freebsd/head/tools/install.sh -o root  -g wheel -m
> 444  Kyuafile.auto  /usr/tests/lib/atf/libatf-c/detail/Kyuafile

I've just reproduced this using a freshly installed image from the
latest CURRENT snapshot
(ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-CURRENT/amd64/20140106/FreeBSD-11.0-CURRENT-amd64-20140106-r260369.vmdk.xz)
and a freshly checked out source tree at /usr/src revision 260833.
WITH_TESTS=1 is the only line in my /etc/src.conf.  This is definitely
a bug.

So I'll rephrase the question.  Has anybody successfully done
"WITH_TESTS=1 make installworld" since late November?  If so, what
revision did you use?

-Alan


More information about the freebsd-testing mailing list