From owner-freebsd-current@FreeBSD.ORG Mon May 7 19:25:03 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5850616A40A for ; Mon, 7 May 2007 19:25:03 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id E417413C480 for ; Mon, 7 May 2007 19:25:02 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so141754and for ; Mon, 07 May 2007 12:25:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ejtpJ0Uow6gFWt94exU8o8d2MfAVpylThQxxF1eFCKsh3ovK6JQn+v0rSyHJ5EWRGLyVM+SAkRbhNOcY8qo555poxkRjCrrXkdSd3Nqqsu6kP2n9bQreo++6W7/gD68j1glw47WGqm6cq6F4MbILSnuILjp+m3rlrtFLgibUW64= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lmeyNLzMPgKedDZJ7MLBUus0AGrYsixuOSzVqz3cf6KtWicXgo6LbARMtzwaXb7/Uun/OdmtxlVrbhClaekfE9fYqo4OSZyytUYWositfb0pzWSbGHg9FWuGDUJZMxeYCaUy9qUXGzrig7TMCPjSAYlaCB/LVZm9dQCCY9JfD2E= Received: by 10.100.39.17 with SMTP id m17mr5120123anm.1178565902217; Mon, 07 May 2007 12:25:02 -0700 (PDT) Received: by 10.100.9.7 with HTTP; Mon, 7 May 2007 12:24:57 -0700 (PDT) Message-ID: Date: Mon, 7 May 2007 23:24:57 +0400 From: pluknet To: "Wojciech A. Koszek" , freebsd-current@freebsd.org In-Reply-To: <20070507172554.GA339@FreeBSD.czest.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070506164247.GA77786@FreeBSD.czest.pl> <20070507172554.GA339@FreeBSD.czest.pl> Cc: Subject: Re: INCLUDE_CONFIG_FILE patches X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 19:25:03 -0000 On 07/05/07, Wojciech A. Koszek wrote: > On Mon, May 07, 2007 at 07:46:29PM +0400, pluknet wrote: > > Hello, > > > > [..] > > > > > While in buildworld (namely in 'make depend' in usr.sbin/config) > > I get the following error: > > > > ===> usr.sbin/config (obj,depend,all,install) > > /usr/obj/usr/src/tmp/usr/src/usr.sbin/config created for > > /usr/src/usr.sbin/config > > yacc -d /usr/src/usr.sbin/config/config.y > > cp y.tab.c config.c > > lex -t /usr/src/usr.sbin/config/lang.l > lang.c > > file2c 'char kernconfstr[] = {' ',0};' < kernconf.tmpl > kernconf.c > > cannot open kernconf.tmpl: No such file or directory > > > > It disappears, if I put manually kernconf.tmpl in generated > > /usr/obj/usr/src/tmp/usr/src/usr.sbin/config > > Maybe I forgot something? > > I belive you should have run patch(1) command with -p0 argument: > > patch -p0 < patchfile > If you are about missing kernconf.tmpl after patching - it's fine: it has appeared successfully in usr.sbin/config/ (but not in that temporary build directory later). What about that? - file2c 'char kernconfstr[] = {' ',0};' < kernconf.tmpl > kernconf.c + file2c 'char kernconfstr[] = {' ',0};' < ${.CURDIR}/kernconf.tmpl > kernconf.c wbr, pluknet