From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 20:56:13 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 7FD3AA92 for ; Sun, 9 Nov 2014 20:56:13 +0000 (UTC) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 43F8F69FD8 for ; Sun, 9 Nov 2014 20:56:13 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id y20so8153586ier.39 for ; Sun, 09 Nov 2014 12:56:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=NgRHWc4TJbCKUHmewOqT+n/+agfxKtgCysem+2XwE/g=; b=NSopcEbiXGaVOOMUFJ3wmqYYKBk17GjT+rHpYuInfjc7miiudWgVkspxnkcUaDJE+0 Pvfro9AGKYhbR970+/fQLMODGTCUCe7s06BMuTPiZjih1Bn9vB+rOSdoTNyPX3XQYAhY KY8kNcRG65orZygFEBvnjo/AocY3mao1bwbfMG3wsLrnW6yLGcp5qed0DyztXFVNe16P jDT4Et9jCukKZYtuJrxdLNej2JI2/7WqYLt+GInwEclFohGBcrl+IVN8l3sos9U1WoXc Ni1ITPbHW9bmU0c6++7jMq9NKY8zkHMG6gI267iNsOzCNDjIEGx5K5ElT0C+cXpvzhzb JfRQ== MIME-Version: 1.0 X-Received: by 10.50.114.97 with SMTP id jf1mr20034027igb.29.1415566572651; Sun, 09 Nov 2014 12:56:12 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.64.165.73 with HTTP; Sun, 9 Nov 2014 12:56:12 -0800 (PST) In-Reply-To: <545DF617.2040205@qeng-ho.org> References: <545DF617.2040205@qeng-ho.org> Date: Sun, 9 Nov 2014 15:56:12 -0500 X-Google-Sender-Auth: D8qpukecjjwANF5phzo_B_PzXek Message-ID: Subject: Re: MK_KERNEL_SYMBOLS can't be set by a user From: Rick Miller To: Arthur Chance Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions 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: Sun, 09 Nov 2014 20:56:13 -0000 On Sat, Nov 8, 2014 at 5:53 AM, Arthur Chance wrote: > 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. > Thanks...this was helpful in resolving the error though not through src.conf. The Makefile implemented these options using the form MK_* as opposed to WITHOUT_*. Changing Makefile accordingly resolved the error. Review of the same Makefile in the releng/10.0 and releng/10.1 branches shows they use the form WITHOUT_*. Does this signal that FreeBSD 11.x will implement MK_* instead or does this change to WITHOUT_* for the releng/ branches? -- Take care Rick Miller