From owner-svn-src-projects@freebsd.org Sat Aug 11 22:45:40 2018 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8CDB107BD99 for ; Sat, 11 Aug 2018 22:45:40 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F0FA942F1; Sat, 11 Aug 2018 22:45:40 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3C2021D91A; Sat, 11 Aug 2018 22:45:40 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7BMjeLj016205; Sat, 11 Aug 2018 22:45:40 GMT (envelope-from kevans@FreeBSD.org) Received: (from kevans@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7BMjdYo016203; Sat, 11 Aug 2018 22:45:39 GMT (envelope-from kevans@FreeBSD.org) Message-Id: <201808112245.w7BMjdYo016203@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevans set sender to kevans@FreeBSD.org using -f From: Kyle Evans Date: Sat, 11 Aug 2018 22:45:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r337662 - in projects/bectl: . cddl/lib/libbe sbin/bectl X-SVN-Group: projects X-SVN-Commit-Author: kevans X-SVN-Commit-Paths: in projects/bectl: . cddl/lib/libbe sbin/bectl X-SVN-Commit-Revision: 337662 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Aug 2018 22:45:40 -0000 Author: kevans Date: Sat Aug 11 22:45:39 2018 New Revision: 337662 URL: https://svnweb.freebsd.org/changeset/base/337662 Log: libbe(3)/bectl(8): More SYSROOT/GCC build fixes - Missing include path - Fully specify libzfs's dependencies (except for deps pulled in by other deps) in Makefile.inc1 - Drop WARNS back down to 2 for libbe(3). I do this with much hesitation, but the libzfs headers are apparently a hot warning-filled mess as far as GCC 4.2 is concerned. Modified: projects/bectl/Makefile.inc1 projects/bectl/cddl/lib/libbe/Makefile projects/bectl/sbin/bectl/Makefile Modified: projects/bectl/Makefile.inc1 ============================================================================== --- projects/bectl/Makefile.inc1 Sat Aug 11 22:11:12 2018 (r337661) +++ projects/bectl/Makefile.inc1 Sat Aug 11 22:45:39 2018 (r337662) @@ -2598,7 +2598,13 @@ _cddl_lib_libuutil= cddl/lib/libuutil .if ${MK_ZFS} != "no" _cddl_lib_libzfs_core= cddl/lib/libzfs_core _cddl_lib_libzfs= cddl/lib/libzfs + cddl/lib/libzfs_core__L: cddl/lib/libnvpair__L + +cddl/lib/libzfs__L: cddl/lib/libzfs_core__L lib/msun__L lib/libutil__L +cddl/lib/libzfs__L: lib/libthr__L lib/libmd__L lib/libz__L cddl/lib/libumem__L +cddl/lib/libzfs__L: cddl/lib/libuutil__L cddl/lib/libavl__L lib/libgeom__L + cddl/lib/libbe__L: cddl/lib/libzfs__L .endif _cddl_lib_libctf= cddl/lib/libctf Modified: projects/bectl/cddl/lib/libbe/Makefile ============================================================================== --- projects/bectl/cddl/lib/libbe/Makefile Sat Aug 11 22:11:12 2018 (r337661) +++ projects/bectl/cddl/lib/libbe/Makefile Sat Aug 11 22:45:39 2018 (r337662) @@ -11,6 +11,8 @@ SRCS= be.c be_access.c be_error.c be_info.c INCS= be.h MAN= libbe.3 +WARNS?= 2 + LIBADD+= zfs LIBADD+= nvpair Modified: projects/bectl/sbin/bectl/Makefile ============================================================================== --- projects/bectl/sbin/bectl/Makefile Sat Aug 11 22:11:12 2018 (r337661) +++ projects/bectl/sbin/bectl/Makefile Sat Aug 11 22:45:39 2018 (r337662) @@ -13,6 +13,7 @@ LIBADD+= util CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common +CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair CFLAGS+= -DNEED_SOLARIS_BOOLEAN