svn commit: r285139 - in head: lib/libnv sys/conf sys/contrib/libnv sys/kern sys/sys

Peter Wemm peter at wemm.org
Thu Jul 9 20:30:08 UTC 2015


On Saturday, July 04, 2015 04:33:38 PM Mariusz Zaborski wrote:
> Author: oshogbo
> Date: Sat Jul  4 16:33:37 2015
> New Revision: 285139
> URL: https://svnweb.freebsd.org/changeset/base/285139
> 
> Log:
>   Move the nvlist source and private includes from sys/kern to seperate
>   directory sys/contrib/libnv.
> 
>   The goal of this operation is to NOT install header files which shouldn't
>   be used outside the nvlist library.

>   head/sys/contrib/libnv/nvlist.c
>      - copied, changed from r285128, head/sys/kern/subr_nvlist.c

You have broken kernel builds for the freebsd.org cluster.  By renaming 
"subr_nvlist.o" to "nvlist.o" you now cause:

make[2]: ".../Makefile" line 3143: warning: duplicate script for target 
"nvpair.o" ignored
make[2]: ".../Makefile" line 1260: warning: using previous script for 
"nvpair.o" defined here

....

linking kernel.debug
nvpair.o: In function `illumos_nvlist_add_nvlist':
/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/nvpair.c:1136: multiple 
definition of `illumos_nvlist_add_nvlist'
nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/nvpair.c:1136: 
first defined here
nvpair.o: In function `illumos_nvlist_add_nvpair':
/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/nvpair.c:1971: multiple 
definition of `illumos_nvlist_add_nvpair'
nvpair.o:/usr/src/sys/cddl/contrib/opensolaris/common/nvpair/nvpair.c:1971: 
first defined here
....

I'm going to attempt to revert this for the freebsd.org cluster because I need 
it to compile for openssl.

-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com; KI6FJV
UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150709/f3020852/attachment.bin>


More information about the svn-src-head mailing list