From owner-freebsd-questions@FreeBSD.ORG Sat Nov 8 10:53:23 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77E9E9FF for ; Sat, 8 Nov 2014 10:53:23 +0000 (UTC) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 117B76A for ; Sat, 8 Nov 2014 10:53:22 +0000 (UTC) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by fileserver.home.qeng-ho.org (8.14.7/8.14.5) with ESMTP id sA8ArBFf010354; Sat, 8 Nov 2014 10:53:12 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <545DF617.2040205@qeng-ho.org> Date: Sat, 08 Nov 2014 10:53:11 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Rick Miller , FreeBSD Questions Subject: Re: MK_KERNEL_SYMBOLS can't be set by a user References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2014 10:53:23 -0000 On 07/11/2014 19:57, Rick Miller wrote: > Hi all, > > In order to port openstack image support into an internal releng/10.0 > branch the following files were copied from HEAD to the internal branch: > > release/release.conf > release/release.sh > release/Makefile > release/amd64/mk-vmimage.sh > > Some modifications were made to release.conf such as CHROOTDIR, SRCBRANCH, > NODOC, and NOPORTS...nothing major. release.sh errors in the system target > with the following: > > touch packagesystem > rm -rf ftp > mkdir -p ftp > cp *.txz MANIFEST ftp > mkdir -p release > cd /usr/src/release/.. && make TARGET_ARCH=amd64 TARGET=amd64 installkernel > installworld distribution DESTDIR=/usr/obj/usr/src/release/release > MK_RESCUE=no MK_KERNEL_SYMBOLS=no MK_PROFILE=no MK_SENDMAIL=no MK_TESTS=no > MK_LIB32=no MK_DEBUG_FILES=no > make[3]: "/usr/src/share/mk/bsd.own.mk" line 457: MK_KERNEL_SYMBOLS can't > be set by a user. > *** Error code 1 > > Stop. > make[2]: stopped in /usr/src > *** Error code 1 > > Stop. > make[1]: stopped in /usr/src/release > *** Error code 1 > > Stop. > make: stopped in /usr/src/release > > What scenarios would result in this sort of failure? > As the error message says, users can't/mustn't set MK_* symbols. You're supposed to set WITH_* or WITHOUT_* symbols in /etc/src.conf and the makefiles convert those to MK_* form. See man src.conf for details.