Error building -CURRENT from 10.1

Jonathan Anderson jonathan at FreeBSD.org
Wed Jun 3 14:59:12 UTC 2015


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


More information about the freebsd-current mailing list