Error building -CURRENT from 10.1

From: Jonathan Anderson <jonathan_at_FreeBSD.org>
Date: Wed, 3 Jun 2015 12:29:12 -0230
Hi all,

I’m attempting to `make buildworld` from a 10.1-RELEASE box, and I’m encountering an error in the “bootstrap tools" stage. It looks like gzip, which is part of the bootstrap tools, depends on `futimens` from a newish (since February?) libc / syscall API:

$ make buildworld
[...]
usr.bin/gzip/gzip.c:1103:6: warning: implicit declaration of function 'futimens' is invalid in C99 [-Wimplicit-function-declaration]
        if (futimens(fd, times) < 0)
            ^
1 warning generated.
gzip.o: In function `copymodes':
usr.bin/gzip/gzip.c:(.text+0x2240): undefined reference to `futimens’


But we haven’t built the new libc yet:

$ grep ‘===>’ build.log && do_some_manual_compression
===> tools/build (obj,includes,depend,all,install)
===> lib/clang/libllvm{support,tablegen} (obj,depend,all,install)
===> usr.bin/clang/[clang-]tblgen (obj,depend,all,install)
===> kerberos5/[stuff] (obj,depend,all,install)
===> usr.bin/compile_et (obj,depend,all,install)
===> lib/libelf (obj,depend,all,install)
===> lib/libdwarf (obj,depend,all,install)
===> cddl/usr.bin/sgsmsg (obj,depend,all,install)
===> cddl/lib/libctf (obj,depend,all,install)
===> cddl/usr.bin/ctf{convert,merge} (obj,depend,all,install)
===> games/fortune/strfile (obj,depend,all,install)
===> gnu/usr.bin/gperf (obj,depend,all,install)
===> gnu/usr.bin/groff (obj,depend,all,install)
===> usr.bin/soelim (obj,depend,all,install)
===> gnu/usr.bin/dtc (obj,depend,all,install)
===> usr.bin/lorder (obj,depend,all,install)
===> lib/libohash (obj,depend,all,install)
===> lib/libsqlite3 (obj,depend,all,install)
===> usr.bin/mandoc (obj,depend,all,install)
===> usr.bin/gzip (obj,depend,all,install)

So, how do I bootstrap 11-CURRENT from 10.1-RELEASE? Could there be something wrong with my specific environment? I don’t have any /etc/make.conf or /etc/src.conf.

Thanks,


Jon
—
jonathan_at_FreeBSD.org
Received on Wed Jun 03 2015 - 12:59:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC