From owner-freebsd-current@FreeBSD.ORG Sun May 11 13:49:24 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 951B364D; Sun, 11 May 2014 13:49:24 +0000 (UTC) Received: from mail-ve0-x22e.google.com (mail-ve0-x22e.google.com [IPv6:2607:f8b0:400c:c01::22e]) (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 42B412437; Sun, 11 May 2014 13:49:24 +0000 (UTC) Received: by mail-ve0-f174.google.com with SMTP id jw12so7515083veb.33 for ; Sun, 11 May 2014 06:49:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=48fmFOcfayOApkgAK42ufkw40WMg3hwnbWIIlVIe/Ds=; b=tWLhA3ZNMVuR27WTuhkKemL73Dek0kRF3Igow8FR5u9F1VuaoVjKLpCSFjdEv7Iq3K QVw2Hp9zdMWDEgVwYWDsD5xap7WbuykjEbx5q9uggRjtjmbholqEZYadSJGJ25wsUjjr gYUfJ1FxIMSOL4IaQ6zeAlZru8e3OaiXJe8KHIM5nLWgPpHaQIp+sUORXGHWIU06EJ2G RoxIsn7hMFqo4Btqyv5EKWCihQL+njyZCYV3inaVEMEMWI/Ge0kNWEffVzaI5/rcDk4X 8B9Vocvw4+rrZ0FQW2bNz1FbFuBhEEjKOrb0nfcvPkdDCq6lbtAgHSULmwc0WcEs3TFZ ztuA== MIME-Version: 1.0 X-Received: by 10.220.159.4 with SMTP id h4mr18600642vcx.1.1399816163346; Sun, 11 May 2014 06:49:23 -0700 (PDT) Received: by 10.220.239.84 with HTTP; Sun, 11 May 2014 06:49:23 -0700 (PDT) In-Reply-To: <1399815540.1992.2.camel@alice> References: <536F71F0.9030605@gmail.com> <1399815540.1992.2.camel@alice> Date: Sun, 11 May 2014 09:49:23 -0400 Message-ID: Subject: Re: Makefile Problem of FreeBSD-Current From: Thomas Hoffmann To: FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: bycn82 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Sun, 11 May 2014 13:49:24 -0000 On Sun, May 11, 2014 at 9:39 AM, Sean Bruno wrote: > On Sun, 2014-05-11 at 20:49 +0800, bycn82 wrote: > > As you can see below . it still did not find the src.opts.mk > > > > > > root@FB10Head:/usr/src/sbin/ipfw # make > > make: "/usr/src/sbin/ipfw/Makefile" line 3: Could not find src.opts.mk > > make: "/usr/src/sbin/ipfw/Makefile" line 9: Malformed conditional > > (${MK_PF} != "no") > > make: "/usr/src/sbin/ipfw/../Makefile.inc" line 4: Could not find > > src.opts.mk > > make: "/usr/src/sbin/ipfw/../Makefile.inc" line 9: Malformed conditional > > (${MK_DYNAMICROOT} == "no") > > make: Fatal errors encountered -- cannot continue > > make: stopped in /usr/src/sbin/ipfw > > root@FB10Head:/usr/src/sbin/ipfw # uname -a > > FreeBSD FB10Head 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r265868: Sun May > > 11 11:44:35 UTC 2014 root@FB10Head:/usr/obj/usr/src/sys/GENERIC > amd64 > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > > > I suspect you are seeing the same issue as described in the thread > "delete-old issue with src.opts.mk" on -current. > I successfully built -CURRENT 265866 last night and did not run into this problem. However, I ran -DNO_CLEAN and had no need to rebuild ipfw from my previous build(s). If I now go into the /usr/src/sbin/ipfw directory and simply do a 'make', I can duplicate this error. The /usr/src/sbin/ipfw/Makefile includes an .include for src.opts.mk: # $FreeBSD: head/sbin/ipfw/Makefile 265420 2014-05-06 04:22:01Z imp $ .include PROG= ipfw SRCS= ipfw2.c dummynet.c ipv6.c main.c nat.c WARNS?= 2 ... Maybe it should not? -Tom