From owner-freebsd-current@FreeBSD.ORG Mon May 7 16:51:18 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 4CB3C16A402 for ; Mon, 7 May 2007 16:51:18 +0000 (UTC) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by mx1.freebsd.org (Postfix) with ESMTP id AF2A013C4B8 for ; Mon, 7 May 2007 16:51:17 +0000 (UTC) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by freebsd.czest.pl (8.13.4/8.12.9) with ESMTP id l47HPua1000501 for ; Mon, 7 May 2007 17:25:57 GMT (envelope-from dunstan@freebsd.czest.pl) Received: (from dunstan@localhost) by freebsd.czest.pl (8.13.4/8.12.9/Submit) id l47HPtUC000500 for freebsd-current@freebsd.org; Mon, 7 May 2007 17:25:55 GMT (envelope-from dunstan) Date: Mon, 7 May 2007 17:25:54 +0000 From: "Wojciech A. Koszek" To: freebsd-current@freebsd.org Message-ID: <20070507172554.GA339@FreeBSD.czest.pl> Mail-Followup-To: "Wojciech A. Koszek" , freebsd-current@freebsd.org References: <20070506164247.GA77786@FreeBSD.czest.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0.2 (freebsd.czest.pl [80.48.250.4]); Mon, 07 May 2007 17:25:57 +0000 (UTC) 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 16:51:18 -0000 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 Keep up testing! Thanks, -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/dunstan/