r362666 breaking buildworld (don't know how to make nvpair.c) & Fix/Patch

From: Neel Chauhan <neel_at_neelc.org>
Date: Fri, 26 Jun 2020 18:56:44 -0700
Hi,

When I attempt to build world in 13-CURRENT, I get this error:

===> lib/libnv (obj,includes,all,install)
[Creating objdir 
/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/libnv...]
make[3]: make[3]: don't know how to make nvpair.c. Stop

make[3]: stopped in /usr/src/lib/libnv
*** [legacy] Error code 2

make[2]: stopped in /usr/src
1 error

make[2]: stopped in /usr/src
*** [_legacy] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [buildworld] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src
root_at_omen:/usr/src #

The build broke with mmacy_at_'s commit r362666 which renamed nvpair.c to 
bsd_nvpair.c without renaming the Makefile.

Is anyone else having this error?

I have a patch to unbreak the build here: 
https://reviews.freebsd.org/D25481

Does the patch work?

Best,

Neel Chauhan
Received on Fri Jun 26 2020 - 23:56:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC