From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 21 11:11:19 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 426C9D41 for ; Sun, 21 Oct 2012 11:11:19 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id C68318FC12 for ; Sun, 21 Oct 2012 11:11:18 +0000 (UTC) Received: (qmail 48511 invoked from network); 21 Oct 2012 12:49:41 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 21 Oct 2012 12:49:41 -0000 Message-ID: <5083D84E.50903@freebsd.org> Date: Sun, 21 Oct 2012 13:11:10 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: kernel module parallel build? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 11:11:19 -0000 What's keeping kernel modules from building in parallel with "make -j8"? -- Andre From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 21 12:22:47 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56689FE3 for ; Sun, 21 Oct 2012 12:22:47 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (unknown [IPv6:2001:610:1108:5012::107]) by mx1.freebsd.org (Postfix) with ESMTP id 1579A8FC0A for ; Sun, 21 Oct 2012 12:22:47 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 7A7C61203B1; Sun, 21 Oct 2012 14:22:43 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 1677) id 555D52848C; Sun, 21 Oct 2012 14:22:43 +0200 (CEST) Date: Sun, 21 Oct 2012 14:22:43 +0200 From: Jilles Tjoelker To: Eitan Adler Subject: Re: -lpthread vs -pthread: does -D_REENTRANT matter? Message-ID: <20121021122243.GB96141@stack.nl> References: <20121014144222.GA14503@stack.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 12:22:47 -0000 On Sun, Oct 14, 2012 at 04:55:07PM -0400, Eitan Adler wrote: > On 14 October 2012 10:42, Jilles Tjoelker wrote: > > Because C99 does not specify threading, it allows these transformations. > > In C11, they are forbidden. Passing -pthread disables them as well. > Is the man page wrong or do I misunderstand? > This option sets flags for both the preprocessor and linker. It > does not affect the thread safety of object code produced by the > compiler or that of libraries supplied with it. OK, that would explain why I could not find such things. I seem to recall GCC must sometimes be instructed not to do thread-unsafe transformations but I cannot find how to do so. -- Jilles Tjoelker From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 21 19:04:47 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7D2D289; Sun, 21 Oct 2012 19:04:47 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id AD8B88FC14; Sun, 21 Oct 2012 19:04:47 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so1545973pbb.13 for ; Sun, 21 Oct 2012 12:04:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=uq7T6Yrnz95wG1fhFQRkfDB1nstfvF9tfZSBFz+bVhY=; b=HI/euCG3XCHsOSs0+JQ4QhRz7yJEdaOtux1jkLfJg1+69R874dZYpA/EcR32lacWd7 vwK2c74/BRSDoyKxJBKdWHSKH3fynf8DNt8eyvaTkqD4HCP1vJy8oEPAYLoyWYme3ojr 2DX63MNVW0reRZTC2P+PhNI0ivow1/QpL0DJvaKXvKEeJDJ8RsAQGP8Da8H0VoUKElz5 3Qu5gLVvfhJWUOboPhFZ28mcjqMKTpREdgdV9X4zTb633GOTKiWrljqNy35D3X1FzAi7 3Hrsc1meNbcvvpSOVeL+DR6nOWM0GXInq+2PKliggTbL7g3bIeSHaUTtyL5rLD/RqeDm /0aw== MIME-Version: 1.0 Received: by 10.68.223.37 with SMTP id qr5mr23889260pbc.101.1350846281636; Sun, 21 Oct 2012 12:04:41 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Sun, 21 Oct 2012 12:04:41 -0700 (PDT) Date: Sun, 21 Oct 2012 12:04:41 -0700 X-Google-Sender-Auth: PUggmPaaoMBg7H4PZrPpatlH9Lo Message-ID: Subject: VIMAGE crashes on 9.x with hotplug net80211 devices From: Adrian Chadd To: FreeBSD Net , freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 19:04:48 -0000 Hi all, I have some crashes in the VIMAGE code on releng_9. Specifically, when I enable VIMAGE and then hotplug some cardbus ath(4) NICs. The panics are dereferencing the V_ ifindex and related fields. If I start adding CURVNET_SET(vnet0) and CURVNET_RESTORE() around the ifnet calls (attach, detach) then things stop panicing - however, things are slightly more complicated than that. Since it's possible that the cloned interfaces (and maybe the parent interface?) are placed into other VNETs, I have to make sure that the right vnet context is switched to before I free interfaces. So, may I please have some help by some VIMAGE-cluey people to sort out how to _properly_ get VIMAGE up on net80211? I'd like to fix this in -HEAD and -9 so people are able to use VIMAGEs for hostapd interfaces (and so I can abuse it for lots of local testing on a single laptop.) Thanks! Adrian From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 21 19:37:31 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 91D0A93B; Sun, 21 Oct 2012 19:37:31 +0000 (UTC) (envelope-from zec@fer.hr) Received: from mail.zvne.fer.hr (mail.zvne.fer.hr [161.53.66.5]) by mx1.freebsd.org (Postfix) with ESMTP id 11D058FC0A; Sun, 21 Oct 2012 19:37:29 +0000 (UTC) Received: from munja.zvne.fer.hr (161.53.66.248) by mail.zvne.fer.hr (161.53.66.5) with Microsoft SMTP Server id 14.2.298.4; Sun, 21 Oct 2012 21:36:19 +0200 Received: from sluga.fer.hr ([161.53.66.244]) by munja.zvne.fer.hr with Microsoft SMTPSVC(6.0.3790.4675); Sun, 21 Oct 2012 21:36:18 +0200 Received: from localhost ([161.53.19.8]) by sluga.fer.hr over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 21 Oct 2012 21:36:18 +0200 From: Marko Zec To: Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices Date: Sun, 21 Oct 2012 21:36:12 +0200 User-Agent: KMail/1.9.10 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <201210212136.12788.zec@fer.hr> X-OriginalArrivalTime: 21 Oct 2012 19:36:18.0437 (UTC) FILETIME=[5774D350:01CDAFC3] Cc: freebsd-hackers@freebsd.org, Adrian Chadd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 19:37:31 -0000 On Sunday 21 October 2012 21:04:41 Adrian Chadd wrote: > Hi all, > > I have some crashes in the VIMAGE code on releng_9. Specifically, when > I enable VIMAGE and then hotplug some cardbus ath(4) NICs. > > The panics are dereferencing the V_ ifindex and related fields. > > If I start adding CURVNET_SET(vnet0) and CURVNET_RESTORE() around the > ifnet calls (attach, detach) then things stop panicing - however, > things are slightly more complicated than that. > > Since it's possible that the cloned interfaces (and maybe the parent > interface?) are placed into other VNETs, I have to make sure that the > right vnet context is switched to before I free interfaces. > > So, may I please have some help by some VIMAGE-cluey people to sort > out how to _properly_ get VIMAGE up on net80211? I'd like to fix this > in -HEAD and -9 so people are able to use VIMAGEs for hostapd > interfaces (and so I can abuse it for lots of local testing on a > single laptop.) The right approach would be to do a single CURVNET_SET(vnet0) / CURVNET_RESTORE() somewhere near the root of the call graph being triggered by the hotplug attach event. Not having any hotpluggable hardware at hand I cannot be more specific where that place could be... But most certainly doing CURVNET_SET(vnet0) on detach events would be wrong: since ifnets may be assignet to non-default vnets, CURVNET_SET(ifp->if_vnet) should be more appropriate there. Another thing that may help could be turning on options VNET_DEBUG when, as that should reveal excessive (and probably redundant) CURVNET_SET() recursions. Hope this helps, Marko From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 21 19:50:22 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A17DCBC; Sun, 21 Oct 2012 19:50:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 44A428FC0A; Sun, 21 Oct 2012 19:50:22 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so1492586pad.13 for ; Sun, 21 Oct 2012 12:50:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=8icWhKDQHJZo3nR717X8mO226QO0XOxuOhFYFv4NUXw=; b=bKELu/o9MBLt3z3wPDcEhBn/iLTZfVmP5IcAucLOfziF9SX+/f1pV+Uq505fz+7wk7 CuQM0VMw5KhUi14zEGj+v8fTOzJj03zSBr+lsBd2sMOraNoGlltr0P2csryaefiklaNe qVkaDzpx926wh4V5Zf4bZfZd/6nLYnSGPxoTJXc1w4HwHYJXhMnySMmAelA7EDd9R5D7 +si9YY0OABwxuXOlcMEuZ3X5XjZf2sMyuHIsxnfIqO/iKox660j+R1c9DN1hYa1ltxVB CpUCeiYL9cgVoJM6zi9djR4xHVtMtKN3RH3m+kmsf9lAM25IX6d9TshG0GdQ64fcBRmn 77kA== MIME-Version: 1.0 Received: by 10.68.223.37 with SMTP id qr5mr24128191pbc.101.1350849021773; Sun, 21 Oct 2012 12:50:21 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Sun, 21 Oct 2012 12:50:21 -0700 (PDT) In-Reply-To: <201210212136.12788.zec@fer.hr> References: <201210212136.12788.zec@fer.hr> Date: Sun, 21 Oct 2012 12:50:21 -0700 X-Google-Sender-Auth: aK8bDgxtAYk1X4HI0zO1NPKCO-I Message-ID: Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices From: Adrian Chadd To: Marko Zec Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 19:50:22 -0000 On 21 October 2012 12:36, Marko Zec wrote: > The right approach would be to do a single CURVNET_SET(vnet0) / > CURVNET_RESTORE() somewhere near the root of the call graph being triggered > by the hotplug attach event. Not having any hotpluggable hardware at hand > I cannot be more specific where that place could be... Right; would that be at the net80211 side, or something higher up (eg at device_attach, which gets called from the cardbus/pci bridge enumeration code.) > But most certainly doing CURVNET_SET(vnet0) on detach events would be wrong: > since ifnets may be assignet to non-default vnets, > CURVNET_SET(ifp->if_vnet) should be more appropriate there. Thanks for that. I'll look at adding that in my next debug pass. > Another thing that may help could be turning on options VNET_DEBUG when, as > that should reveal excessive (and probably redundant) CURVNET_SET() > recursions. I've spotted a couple, however the crashing here is the important bit. :-) So - why is it that the V_* variables are NULL pointers at this stage? I thought the kernel would've been running with a default vnet context of vnet0? Why doesn't this impact other network device hotplugging? Or does it, and noone noticed? Adrian From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 21 21:22:58 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22A48A3E; Sun, 21 Oct 2012 21:22:58 +0000 (UTC) (envelope-from zec@fer.hr) Received: from mail.zvne.fer.hr (mail.zvne.fer.hr [161.53.66.5]) by mx1.freebsd.org (Postfix) with ESMTP id 6ED818FC12; Sun, 21 Oct 2012 21:22:57 +0000 (UTC) Received: from munja.zvne.fer.hr (161.53.66.248) by mail.zvne.fer.hr (161.53.66.5) with Microsoft SMTP Server id 14.2.298.4; Sun, 21 Oct 2012 23:22:55 +0200 Received: from sluga.fer.hr ([161.53.66.244]) by munja.zvne.fer.hr with Microsoft SMTPSVC(6.0.3790.4675); Sun, 21 Oct 2012 23:22:54 +0200 Received: from localhost ([161.53.19.8]) by sluga.fer.hr over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 21 Oct 2012 23:22:54 +0200 From: Marko Zec To: Adrian Chadd Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices Date: Sun, 21 Oct 2012 23:22:48 +0200 User-Agent: KMail/1.9.10 References: <201210212136.12788.zec@fer.hr> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <201210212322.48791.zec@fer.hr> X-OriginalArrivalTime: 21 Oct 2012 21:22:54.0647 (UTC) FILETIME=[3BE50470:01CDAFD2] Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 21:22:58 -0000 On Sunday 21 October 2012 21:50:21 Adrian Chadd wrote: > On 21 October 2012 12:36, Marko Zec wrote: > > The right approach would be to do a single CURVNET_SET(vnet0) / > > CURVNET_RESTORE() somewhere near the root of the call graph being > > triggered by the hotplug attach event. Not having any hotpluggable > > hardware at hand I cannot be more specific where that place could be... > > Right; would that be at the net80211 side, or something higher up (eg > at device_attach, which gets called from the cardbus/pci bridge > enumeration code.) As high as it gets - if you get lucky, as a side effect you might even fix similar issues with USB hotplugging. > > But most certainly doing CURVNET_SET(vnet0) on detach events would be > > wrong: since ifnets may be assignet to non-default vnets, > > CURVNET_SET(ifp->if_vnet) should be more appropriate there. > > Thanks for that. I'll look at adding that in my next debug pass. > > > Another thing that may help could be turning on options VNET_DEBUG > > when, as that should reveal excessive (and probably redundant) > > CURVNET_SET() recursions. > > I've spotted a couple, however the crashing here is the important bit. > :-) > > So - why is it that the V_* variables are NULL pointers at this stage? > I thought the kernel would've been running with a default vnet context > of vnet0? Why doesn't this impact other network device hotplugging? Or > does it, and noone noticed? By design, the kernel is never running "by default" in any of the vnets (vnet0 included). If it were, it would be extremely difficult to spot and catch many cases where a subsystem would be (implicitly) working with vnet0, while in fact it should be working in a different vnet context. Obviously, handling device attach events is an exception from this rule, and up to this date this was never properly addressed... Marko From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 21 23:03:20 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 676F884D; Sun, 21 Oct 2012 23:03:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2EA838FC0C; Sun, 21 Oct 2012 23:03:19 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so1605201pbb.13 for ; Sun, 21 Oct 2012 16:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=MgcSrK6YkEFyCt6yEqt9hLK1mIzs6+21zehB/85verY=; b=D7gefFSv83/pcKrTLg2sMOhsp46v9QIIU2NVVkF2Mv7TByZp+TAT6D/6kkrYuTjNaq 0doRkxgIBXZfin2miuL0oO+AK5YsoMGj8BQaVFYhoiH40p/J0oYh2s7AAF8Mh+CJIi/t LuNlAaUH0tpmbITtsfXDDEzBBl5GUG7iRHfxCrNkVftzYymktpU78YiKt/tkm679oaCr 1eiobWp+Gr8HUPHa0yNlkRshOuzlHJu63zvx0WcvZEOVzxTjxZe586mIxmPdj2H+OgC/ W9mMieFr8YpjjevBt3/LgnE8Y0FDsK63SN3A5AERgSKXDbXKpVzmo6RqiYUd8ab32jeJ Jn0Q== MIME-Version: 1.0 Received: by 10.66.78.199 with SMTP id d7mr21235671pax.77.1350860599701; Sun, 21 Oct 2012 16:03:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Sun, 21 Oct 2012 16:03:19 -0700 (PDT) In-Reply-To: <201210212322.48791.zec@fer.hr> References: <201210212136.12788.zec@fer.hr> <201210212322.48791.zec@fer.hr> Date: Sun, 21 Oct 2012 16:03:19 -0700 X-Google-Sender-Auth: 8G4_jzbZ1V8ahBqzP7sb3BbEy54 Message-ID: Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices From: Adrian Chadd To: Marko Zec Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 23:03:20 -0000 On 21 October 2012 14:22, Marko Zec wrote: >> Right; would that be at the net80211 side, or something higher up (eg >> at device_attach, which gets called from the cardbus/pci bridge >> enumeration code.) > > As high as it gets - if you get lucky, as a side effect you might even fix > similar issues with USB hotplugging. Right. There's three problems: * the device attach (ath_attach, calls if_* calls) * the net80211 device attach; * the net80211 vap attach. There's also detaching all of the above too. >> So - why is it that the V_* variables are NULL pointers at this stage? >> I thought the kernel would've been running with a default vnet context >> of vnet0? Why doesn't this impact other network device hotplugging? Or >> does it, and noone noticed? > > By design, the kernel is never running "by default" in any of the vnets > (vnet0 included). If it were, it would be extremely difficult to spot and > catch many cases where a subsystem would be (implicitly) working with > vnet0, while in fact it should be working in a different vnet context. Right. Well, that's why it's panicing then. > Obviously, handling device attach events is an exception from this rule, and > up to this date this was never properly addressed... *laugh*. The problem now is figuring out how to do it without modifying all the drivers. The attach is easy - I can likely set it up during the device_attach() pass. I can do that, but it's enforcing "networking-ness" with the device attach, which will be called for networking and non-networking devices alike. However detach isn't easy - because I'm required to call CURVNET_SET(ifp->if_vnet) and CURVNET_RESTORE() around if_free(), and if_free() is called in the device specific detach() routine, I can't easily set the current VNET context from outside the driver. I _guess_ I could device_attach() to use CURVNET_SET(vnet0) but device_detach() can't do the same - it doesn't "know" about the networking-ness of the device. I'm open to other suggestions. (how the hell does this work for devices attached at probe time? What vnet context do they have, and why doesn't the kernel panic there?) Adrian From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 10:08:45 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 865C7872; Mon, 22 Oct 2012 10:08:45 +0000 (UTC) (envelope-from zec@fer.hr) Received: from mail.zvne.fer.hr (mail.zvne.fer.hr [161.53.66.5]) by mx1.freebsd.org (Postfix) with ESMTP id 085C58FC1D; Mon, 22 Oct 2012 10:08:44 +0000 (UTC) Received: from munja.zvne.fer.hr (161.53.66.248) by mail.zvne.fer.hr (161.53.66.5) with Microsoft SMTP Server id 14.2.298.4; Mon, 22 Oct 2012 12:08:42 +0200 Received: from sluga.fer.hr ([161.53.66.244]) by munja.zvne.fer.hr with Microsoft SMTPSVC(6.0.3790.4675); Mon, 22 Oct 2012 12:08:42 +0200 Received: from localhost ([161.53.19.8]) by sluga.fer.hr over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 22 Oct 2012 12:08:41 +0200 From: Marko Zec To: Adrian Chadd Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices Date: Mon, 22 Oct 2012 12:08:37 +0200 User-Agent: KMail/1.9.10 References: <201210212322.48791.zec@fer.hr> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <201210221208.37592.zec@fer.hr> X-OriginalArrivalTime: 22 Oct 2012 10:08:41.0884 (UTC) FILETIME=[3694FDC0:01CDB03D] Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 10:08:45 -0000 On Monday 22 October 2012 01:03:19 Adrian Chadd wrote: ... > > Obviously, handling device attach events is an exception from this > > rule, and up to this date this was never properly addressed... > > *laugh*. > > The problem now is figuring out how to do it without modifying all the > drivers. > > The attach is easy - I can likely set it up during the device_attach() > pass. I can do that, but it's enforcing "networking-ness" with the > device attach, which will be called for networking and non-networking > devices alike. > > However detach isn't easy - because I'm required to call > CURVNET_SET(ifp->if_vnet) and CURVNET_RESTORE() around if_free(), and > if_free() is called in the device specific detach() routine, I can't > easily set the current VNET context from outside the driver. > > I _guess_ I could device_attach() to use CURVNET_SET(vnet0) but > device_detach() can't do the same - it doesn't "know" about the > networking-ness of the device. > > I'm open to other suggestions. The only option I can think of now is to update all of the hotunpluggable device_detach() handlers to do CURVNET_SET(ifp->if_vnet) before calling further down into the networking stack, because as you already observed, whatever triggers a device_detach() handler is not aware of the nature of the driver. > (how the hell does this work for devices attached at probe time? What > vnet context do they have, and why doesn't the kernel panic there?) Because at boot / autoconfiguration time curvnet is implicitly set to vnet0 between SI_SUB_VNET and SI_SUB_VNET_DONE (i.e. before going SMP). Similarly, curvnet is set to vnet0 during kldload events. Marko From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 13:33:43 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D361AE1; Mon, 22 Oct 2012 13:33:43 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 410C68FC0C; Mon, 22 Oct 2012 13:33:43 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 9F786B91A; Mon, 22 Oct 2012 09:33:42 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Subject: Re: kernel module parallel build? Date: Mon, 22 Oct 2012 09:28:52 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p20; KDE/4.5.5; amd64; ; ) References: <5083D84E.50903@freebsd.org> In-Reply-To: <5083D84E.50903@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201210220928.52778.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 22 Oct 2012 09:33:42 -0400 (EDT) Cc: freebsd-hackers@freebsd.org, Andre Oppermann X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 13:33:43 -0000 On Sunday, October 21, 2012 7:11:10 am Andre Oppermann wrote: > What's keeping kernel modules from building in parallel with > "make -j8"? They don't for you? They do for me either via 'make buildkernel' or the old method. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 14:12:58 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57FC2E7C; Mon, 22 Oct 2012 14:12:58 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 063558FC14; Mon, 22 Oct 2012 14:12:57 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so3290930obb.13 for ; Mon, 22 Oct 2012 07:12:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=67VTMkU+JlSCEgDpiB3cOxrzm5fnUFdT+yPtDiIMd9U=; b=ORw5bAAjR9UDGrpbE2k+zuzSz33FBWtUb3vJUUIDSpRIMBZCeo2VupiFYpMxybDlO8 SlhJfZdJsQSL8hcqjIrEI+SJClt7xvPJ6/2Ul/Mta/k3GpMG/bJ8IdlItOg5Nl9Je0AC 9XJgivnUvlxA5ToP/TUfUe9PHbvCPklMOVthAyI9t6mqCvE/rn9W9U6ETkNOd/xydYmz D6eg+SlQL7VKRIPEdcs/e5LDBJCF2NmYkI8+PSqhMDkedukDFqd5Xg68Z4nVA/5JPfZX rBY55JF0bwZp3VyfDK2EQiLols++EnqxIeZLeJDOfUgYt3yDVago1BfXaZnBOvsr797r BxlQ== MIME-Version: 1.0 Received: by 10.182.154.70 with SMTP id vm6mr7292629obb.50.1350915177132; Mon, 22 Oct 2012 07:12:57 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.76.75.69 with HTTP; Mon, 22 Oct 2012 07:12:57 -0700 (PDT) In-Reply-To: <201210221208.37592.zec@fer.hr> References: <201210212322.48791.zec@fer.hr> <201210221208.37592.zec@fer.hr> Date: Mon, 22 Oct 2012 07:12:57 -0700 X-Google-Sender-Auth: ixxynEG1VCVa90_2bXmj7Yd0OpA Message-ID: Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices From: Adrian Chadd To: Marko Zec Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 14:12:58 -0000 On 22 October 2012 03:08, Marko Zec wrote: > The only option I can think of now is to update all of the hotunpluggable > device_detach() handlers to do CURVNET_SET(ifp->if_vnet) before calling > further down into the networking stack, because as you already observed, > whatever triggers a device_detach() handler is not aware of the nature of > the driver. Right. Well, since most things are in theory hotpluggable these days (or soon will be, with pcie hotplug), I think we need a slightly more generic solution. >> (how the hell does this work for devices attached at probe time? What >> vnet context do they have, and why doesn't the kernel panic there?) > > Because at boot / autoconfiguration time curvnet is implicitly set to vnet0 > between SI_SUB_VNET and SI_SUB_VNET_DONE (i.e. before going SMP). > > Similarly, curvnet is set to vnet0 during kldload events. .. like this. The trouble is going to be handling unplug and kldunload events too. Does curvnet -> vnet0 during kldunload events? Thanks, Adrian From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 14:37:43 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C52B9F06; Mon, 22 Oct 2012 14:37:43 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 99C8C8FC19; Mon, 22 Oct 2012 14:37:43 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id EA643B987; Mon, 22 Oct 2012 10:37:42 -0400 (EDT) From: John Baldwin To: freebsd-hackers@freebsd.org Subject: Re: Loader-kernel interaction Date: Mon, 22 Oct 2012 10:02:40 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p20; KDE/4.5.5; amd64; ; ) References: <5081DCA1.80906@gentoo.org> In-Reply-To: <5081DCA1.80906@gentoo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201210221002.40194.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 22 Oct 2012 10:37:43 -0400 (EDT) Cc: Richard Yao , "hackers@FreeBSD.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 14:37:43 -0000 On Friday, October 19, 2012 7:05:05 pm Richard Yao wrote: > Dear Everyone, > > I know that the kernel is a BTX client, but I do not understand the > protocol used by loader to pass sysctl settings and loadable modules to > the kernel. Is there documentation on this? The loader passes it's variables as a set of environment variables. They are stored in a contiguous block of memory after the last kernel module. Look at sys/boot/i386/libi386/bootinfo{32,64}.c. Specifically look at the bi_load*() routines. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 14:37:43 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C52B9F06; Mon, 22 Oct 2012 14:37:43 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 99C8C8FC19; Mon, 22 Oct 2012 14:37:43 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id EA643B987; Mon, 22 Oct 2012 10:37:42 -0400 (EDT) From: John Baldwin To: freebsd-hackers@freebsd.org Subject: Re: Loader-kernel interaction Date: Mon, 22 Oct 2012 10:02:40 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p20; KDE/4.5.5; amd64; ; ) References: <5081DCA1.80906@gentoo.org> In-Reply-To: <5081DCA1.80906@gentoo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201210221002.40194.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 22 Oct 2012 10:37:43 -0400 (EDT) Cc: Richard Yao , "hackers@FreeBSD.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 14:37:43 -0000 On Friday, October 19, 2012 7:05:05 pm Richard Yao wrote: > Dear Everyone, > > I know that the kernel is a BTX client, but I do not understand the > protocol used by loader to pass sysctl settings and loadable modules to > the kernel. Is there documentation on this? The loader passes it's variables as a set of environment variables. They are stored in a contiguous block of memory after the last kernel module. Look at sys/boot/i386/libi386/bootinfo{32,64}.c. Specifically look at the bi_load*() routines. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 17:29:39 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93130107; Mon, 22 Oct 2012 17:29:39 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5AADB8FC08; Mon, 22 Oct 2012 17:29:39 +0000 (UTC) Received: from JRE-MBP-2.local (c-50-143-149-146.hsd1.ca.comcast.net [50.143.149.146]) (authenticated bits=0) by vps1.elischer.org (8.14.5/8.14.5) with ESMTP id q9MHTXVA083302 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 22 Oct 2012 10:29:34 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <5085827D.5090108@freebsd.org> Date: Mon, 22 Oct 2012 10:29:33 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices References: <201210212322.48791.zec@fer.hr> <201210221208.37592.zec@fer.hr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Marko Zec , freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 17:29:39 -0000 On 10/22/12 7:12 AM, Adrian Chadd wrote: > On 22 October 2012 03:08, Marko Zec wrote: > >> The only option I can think of now is to update all of the hotunpluggable >> device_detach() handlers to do CURVNET_SET(ifp->if_vnet) before calling >> further down into the networking stack, because as you already observed, >> whatever triggers a device_detach() handler is not aware of the nature of >> the driver. > Right. Well, since most things are in theory hotpluggable these days > (or soon will be, with pcie hotplug), I think we need a slightly more > generic solution. > >>> (how the hell does this work for devices attached at probe time? What >>> vnet context do they have, and why doesn't the kernel panic there?) >> Because at boot / autoconfiguration time curvnet is implicitly set to vnet0 >> between SI_SUB_VNET and SI_SUB_VNET_DONE (i.e. before going SMP). >> >> Similarly, curvnet is set to vnet0 during kldload events. > .. like this. > > The trouble is going to be handling unplug and kldunload events too. > Does curvnet -> vnet0 during kldunload events? I think in unload events we probably need to cycle through all vnets and do individual shutdowns of anything that is set up on that vnet.. (but I'm not reading the code to say that, it's possible to ignore me safely) > > Thanks, > > > > Adrian > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 17:41:20 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D80487A; Mon, 22 Oct 2012 17:41:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 086698FC0C; Mon, 22 Oct 2012 17:41:19 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so3626754oag.13 for ; Mon, 22 Oct 2012 10:41:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=cfIItJ/N69fEvzDLxn4N+v9HjU/1GScc0Ez1YHu22kk=; b=iSaLGO3jM34KUQZlYezf5nIzNybEWoo497/Ybk3/nDdL+fnFBiBQcj8AZ6l5xr593f 3/dt1xQwV5SFM6yk83Nn/8dLWBtPDST/Bse4Wm6mN5wp21hrF+nZP5YAEmVYcKvunpPw PlQI6aEj47eLtKUv6uWTA5kWwLRm3c6SLcUlLI4/OwNbKld3bRAmjjngOxj47SyjU7SO ngJ0KYYRKA7UTrf0lzLXcXFCxBl7RCW3Rq4uoNqNbDSAXY2V18Cv2ax0s/K1GhgNQfXR +Q74GNCOUlMPUNYjMqLcIVaFWQlwU6uRyLR02agaC1QcTvdYsOQk4FS3ziKjsYGnHtgi yD1Q== MIME-Version: 1.0 Received: by 10.60.170.200 with SMTP id ao8mr8680174oec.104.1350927679450; Mon, 22 Oct 2012 10:41:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.76.75.69 with HTTP; Mon, 22 Oct 2012 10:41:19 -0700 (PDT) In-Reply-To: <5085827D.5090108@freebsd.org> References: <201210212322.48791.zec@fer.hr> <201210221208.37592.zec@fer.hr> <5085827D.5090108@freebsd.org> Date: Mon, 22 Oct 2012 10:41:19 -0700 X-Google-Sender-Auth: -l9gehXv5QIFVzihQPoVc-FjOMI Message-ID: Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices From: Adrian Chadd To: Julian Elischer Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, Marko Zec , freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 17:41:20 -0000 On 22 October 2012 10:29, Julian Elischer wrote: >> The trouble is going to be handling unplug and kldunload events too. >> Does curvnet -> vnet0 during kldunload events? > > I think in unload events we probably need to cycle through all vnets and > do individual shutdowns of anything that is set up on that vnet.. > (but I'm not reading the code to say that, it's possible to ignore me > safely) Well, in an unload event you know the device you're unloading. However, there may be clones and such involved. It's not like a kldunload will kill a specific VAP on an ath(4) interface, it'll kill the whole interface with all vaps. So in net80211 I need to teach the VAP setup/destroy path to use CURVNET_*() correctly. That's a given. I still however need to ensure that CURVNET_SET(vnet0)/CURVNET_RESTORE() is used around the device attach/detach, as right now the hotplug code doesn't do this. So Marko: * Given that you've "fixed" the kldload path and bootup path to set CURVNET_SET(vnet0) as a special case, how about we teach the device_attach() path to just do this in general? * How does kldunload work right now if any devices are in a vnet? If I kldunload if_bridge with vnets everywhere, what happens? if_bridge doesn't at all know anything about VIMAGE. How do the cloned interfaces get correctly destroyed? I don't want to have to teach _every network device_ that they need to be vnet aware on attach or detach. * the device probe/attach path should just use vnet0; and * the device detach/destroy path, to things like if_free(), should have those functions just use ifp->if_vnet, rather than assuming CURVNET_SET() was called. I know you wanted to be warned if parts of the stack weren't correctly using CURVNET_SET()/CURVNET_RESTORE(), but I think this battle is already lost. :/ Adrian From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 17:54:57 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D607F343; Mon, 22 Oct 2012 17:54:57 +0000 (UTC) (envelope-from wkoszek@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by mx1.freebsd.org (Postfix) with ESMTP id 570458FC0C; Mon, 22 Oct 2012 17:54:57 +0000 (UTC) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by freebsd.czest.pl (8.14.5/8.14.5) with ESMTP id q9MHivel059974; Mon, 22 Oct 2012 17:44:57 GMT (envelope-from wkoszek@freebsd.czest.pl) Received: (from wkoszek@localhost) by freebsd.czest.pl (8.14.5/8.14.5/Submit) id q9MHiv7I059973; Mon, 22 Oct 2012 17:44:57 GMT (envelope-from wkoszek) Date: Mon, 22 Oct 2012 17:44:57 +0000 From: "Wojciech A. Koszek" To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: FreeBSD in Google Code-In 2012? You can help too! Message-ID: <20121022174457.GB59689@FreeBSD.org> References: <20121016101957.GB53800@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <20121016101957.GB53800@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (freebsd.czest.pl [212.87.224.105]); Mon, 22 Oct 2012 17:44:57 +0000 (UTC) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 17:54:57 -0000 On Tue, Oct 16, 2012 at 10:19:57AM +0000, Wojciech A. Koszek wrote: > (cross-posted message; please keep discussion on freebsd-hackers@) > > Hello, > > Last year FreeBSD qualified for Google Code-In 2011 event--contest for > youngest open-source hackers in 13-17yr age range: > > http://www.google-melange.com/gci/homepage/google/gci2012 > > It was successful. We gained one more FreeBSD developer thanks to that > (Isabell Long) We're pondering participating in the contest this year as > well. > > For now we only have 25 ideas. We need at least 100. > > I felt all members of the FreeBSD community should help, so please submit > your own Google Code-In 2012 ideas here: > > http://www.emailmeform.com/builder/form/4aU93Obxo4NYdVAgb1 > > Examples of previously completed tasks: > > http://wiki.freebsd.org/GoogleCodeIn/2011Tasks > > Those of you who have Wiki access, please spent 2 more minutes and submit > straight to Wiki: > > http://wiki.freebsd.org/GoogleCodeIn/2012Tasks > > I plan to send out next e-mail if there's any progress on this project. > > Help will be appreciated. > Update: It looks pretty bad so far. Page: http://wiki.freebsd.org/GoogleCodeIn/2012Tasks Has 38 tasks so far out of which: ~30 would qualify. Consider this e-mail to be the last call for action. Otherwise we'll have to pull back and concentrate our efforts on GSOC instead. -- Wojciech A. Koszek wkoszek@FreeBSD.czest.pl http://FreeBSD.czest.pl/~wkoszek/ From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 18:46:22 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 75E70E42; Mon, 22 Oct 2012 18:46:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 01C478FC12; Mon, 22 Oct 2012 18:46:21 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so3720399oag.13 for ; Mon, 22 Oct 2012 11:46:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=OrDNV42VjjwIvF2vmoqlJW9oy8GXdCtVleAjndrxpDQ=; b=cOExex4S0509o5qE4yKR1wFntuVsU3KDFYDj98Z/8C0yqdpqPgMicvk9wpSoiJCoeI +Nzud9wwYHRfHjwIihFLhfwkmu/T+cSmsINUgxV2LGwzzbXel+mNcBM1IYsL55kFpsYq UwFZ/0sdhqbHFJRYpQd8rBnW8xjbo8hr5dnc5/yDZDIyAK2/bsmkCDQrwaMUdGbN90DL veq42y0zz4BiH3Y8AFjleHicFGUDRI5nAQhZO5MQwe60awRbnGdwh/SINDKzT2h2HC43 LXjySvXY//EbCFRDR5f01kD1xj8AQQ0ivTvy5L36TRUFyy5CurFOB/WhdmiptqQul9kh 24jQ== MIME-Version: 1.0 Received: by 10.182.69.36 with SMTP id b4mr7771465obu.96.1350931581200; Mon, 22 Oct 2012 11:46:21 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.76.75.69 with HTTP; Mon, 22 Oct 2012 11:46:21 -0700 (PDT) In-Reply-To: <20121022174457.GB59689@FreeBSD.org> References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> Date: Mon, 22 Oct 2012 11:46:21 -0700 X-Google-Sender-Auth: 8TTiWl9ralx-A2R1FP2Vkuuxkvs Message-ID: Subject: Re: FreeBSD in Google Code-In 2012? You can help too! From: Adrian Chadd To: "Wojciech A. Koszek" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 18:46:22 -0000 That wiki site has a distinct lack of help about: * what is required from us; * what the target is (kids, right?) * some examples of good and bad projects. Right now I have absolutely no idea what would constitute a good or bad coding project. :/ adrian From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 20:08:35 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60E4E314 for ; Mon, 22 Oct 2012 20:08:35 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 094CD8FC08 for ; Mon, 22 Oct 2012 20:08:34 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q9MK8R4d060702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 22 Oct 2012 15:08:27 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 22 Oct 2012 15:08:27 -0500 From: dweimer To: FreeBSD Hackers Subject: Re: FreeBSD in Google Code-In =?UTF-8?Q?=32=30=31=32=3F=20=20You?= =?UTF-8?Q?=20can=20help=20too!?= Organization: dweimer.net Mail-Reply-To: In-Reply-To: <20121022174457.GB59689@FreeBSD.org> References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 20:08:35 -0000 On 2012-10-22 12:44, Wojciech A. Koszek wrote: > On Tue, Oct 16, 2012 at 10:19:57AM +0000, Wojciech A. Koszek wrote: >> (cross-posted message; please keep discussion on freebsd-hackers@) >> >> Hello, >> >> Last year FreeBSD qualified for Google Code-In 2011 event--contest >> for >> youngest open-source hackers in 13-17yr age range: >> >> http://www.google-melange.com/gci/homepage/google/gci2012 >> >> It was successful. We gained one more FreeBSD developer thanks to >> that >> (Isabell Long) We're pondering participating in the contest this >> year as >> well. >> >> For now we only have 25 ideas. We need at least 100. >> >> I felt all members of the FreeBSD community should help, so please >> submit >> your own Google Code-In 2012 ideas here: >> >> http://www.emailmeform.com/builder/form/4aU93Obxo4NYdVAgb1 >> >> Examples of previously completed tasks: >> >> http://wiki.freebsd.org/GoogleCodeIn/2011Tasks >> >> Those of you who have Wiki access, please spent 2 more minutes and >> submit >> straight to Wiki: >> >> http://wiki.freebsd.org/GoogleCodeIn/2012Tasks >> >> I plan to send out next e-mail if there's any progress on this >> project. >> >> Help will be appreciated. >> > > Update: > > It looks pretty bad so far. Page: > > http://wiki.freebsd.org/GoogleCodeIn/2012Tasks > > Has 38 tasks so far out of which: > > ~30 would qualify. > > Consider this e-mail to be the last call for action. Otherwise we'll > have to > pull back and concentrate our efforts on GSOC instead. One thing I can think to add if it's not already been done and if its a practical idea for the Google project, would be to update the mount_udf command to support newer versions of UDF. It looks like as of FreeBSD 7 that 1.02 & 1.50 are supported, I( haven't been able to find any more recent documentation to support whether or not updates have been made since then. I only know that server I have running 9.0, for the purpose of hosting ISO images on the network so they are available to our ESX environment for mounting as a local CDROM/DVD within virtual machines, and also available as files over a network share, can't mount the some of the more recent DVDs in the UDF format, but I am unsure which format they are in, they could be 2.0, 2.5, or 2.6. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 21:17:14 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C273B3B2; Mon, 22 Oct 2012 21:17:14 +0000 (UTC) (envelope-from zec@fer.hr) Received: from mail.zvne.fer.hr (mail.zvne.fer.hr [161.53.66.5]) by mx1.freebsd.org (Postfix) with ESMTP id 156B68FC0A; Mon, 22 Oct 2012 21:17:13 +0000 (UTC) Received: from munja.zvne.fer.hr (161.53.66.248) by mail.zvne.fer.hr (161.53.66.5) with Microsoft SMTP Server id 14.2.298.4; Mon, 22 Oct 2012 23:17:05 +0200 Received: from sluga.fer.hr ([161.53.66.244]) by munja.zvne.fer.hr with Microsoft SMTPSVC(6.0.3790.4675); Mon, 22 Oct 2012 23:17:05 +0200 Received: from localhost ([161.53.19.8]) by sluga.fer.hr over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 22 Oct 2012 23:17:04 +0200 From: Marko Zec To: Adrian Chadd Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices Date: Mon, 22 Oct 2012 23:17:00 +0200 User-Agent: KMail/1.9.10 References: <5085827D.5090108@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <201210222317.00457.zec@fer.hr> X-OriginalArrivalTime: 22 Oct 2012 21:17:05.0213 (UTC) FILETIME=[96075ED0:01CDB09A] Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 21:17:14 -0000 On Monday 22 October 2012 19:41:19 Adrian Chadd wrote: > On 22 October 2012 10:29, Julian Elischer wrote: > >> The trouble is going to be handling unplug and kldunload events too. > >> Does curvnet -> vnet0 during kldunload events? > > > > I think in unload events we probably need to cycle through all vnets > > and do individual shutdowns of anything that is set up on that vnet.. > > (but I'm not reading the code to say that, it's possible to ignore me > > safely) > > Well, in an unload event you know the device you're unloading. > However, there may be clones and such involved. It's not like a > kldunload will kill a specific VAP on an ath(4) interface, it'll kill > the whole interface with all vaps. > > So in net80211 I need to teach the VAP setup/destroy path to use > CURVNET_*() correctly. That's a given. > > I still however need to ensure that > CURVNET_SET(vnet0)/CURVNET_RESTORE() is used around the device > attach/detach, as right now the hotplug code doesn't do this. > > So Marko: > > * Given that you've "fixed" the kldload path and bootup path to set > CURVNET_SET(vnet0) as a special case, how about we teach the > device_attach() path to just do this in general? While it's true that the kldunload path (most probably) does CURVNET_SET(vnet0), this is obviously just a kludge which works on pure luck, i.e. only when ifnets to be detached live inside vnet0. > * How does kldunload work right now if any devices are in a vnet? It (most probably) doesn't. > If I > kldunload if_bridge with vnets everywhere, what happens? if_bridge > doesn't at all know anything about VIMAGE. How do the cloned > interfaces get correctly destroyed? Haven't tried this out recently, really, though bz@ maintained a patch for a while which specifically targetted VNET issues with cloner ifnets, but I don't know the current status of that work... > I don't want to have to teach _every network device_ that they need to > be vnet aware on attach or detach. > > * the device probe/attach path should just use vnet0; and Right. > * the device detach/destroy path, to things like if_free(), should > have those functions just use ifp->if_vnet, rather than assuming > CURVNET_SET() was called. How many functions like if_free() are we talking about here? If only a few would need to be extended to do a CURVNET_SET(ifp->if_vnet), that doesn't sound like too big an issue, though I'm not completely convinced that such an approach could guarantee that every driver would survive hotunplugging with vnets. Still, that would be an improvement over what we have right now. > I know you wanted to be warned if parts of the stack weren't correctly > using CURVNET_SET()/CURVNET_RESTORE(), but I think this battle is > already lost. :/ It is absolutely critical that, at minimum, we always completely unwind the VNET stack when exiting the networking code, otherwise we risk to continue running with a fully random implicit curvnet context. As many of the networking subsystems or code paths are still not VNET-friendly, entering any of those on a VIMAGE kernel should lead to panics, not to obscure and silent inter-vnet leakages which may become a nightmare to nail down. OTOH, avoiding excessive recursions on curvnet remains an effort similar to our style(9) - if you don't stick to it to the letter, things will still work, but some code paths may become more difficult to debug when things go wrong... Plus, keep in mind that every CURVNET_SET() consumes a few CPU cycles here and there, and requires a few extra bytes on the stack... Marko From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 21:38:36 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B1D05B36 for ; Mon, 22 Oct 2012 21:38:36 +0000 (UTC) (envelope-from wkoszek@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by mx1.freebsd.org (Postfix) with ESMTP id 307B38FC0C for ; Mon, 22 Oct 2012 21:38:35 +0000 (UTC) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by freebsd.czest.pl (8.14.5/8.14.5) with ESMTP id q9MLRIH9061391; Mon, 22 Oct 2012 21:27:18 GMT (envelope-from wkoszek@freebsd.czest.pl) Received: (from wkoszek@localhost) by freebsd.czest.pl (8.14.5/8.14.5/Submit) id q9MLRIOJ061390; Mon, 22 Oct 2012 21:27:18 GMT (envelope-from wkoszek) Date: Mon, 22 Oct 2012 21:27:18 +0000 From: "Wojciech A. Koszek" To: dweimer@dweimer.net Subject: Re: FreeBSD in Google Code-In 2012? You can help too! Message-ID: <20121022212717.GC59689@FreeBSD.org> References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (freebsd.czest.pl [212.87.224.105]); Mon, 22 Oct 2012 21:27:18 +0000 (UTC) Cc: FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 21:38:36 -0000 On Mon, Oct 22, 2012 at 03:08:27PM -0500, dweimer wrote: > On 2012-10-22 12:44, Wojciech A. Koszek wrote: > > On Tue, Oct 16, 2012 at 10:19:57AM +0000, Wojciech A. Koszek wrote: > >> (cross-posted message; please keep discussion on freebsd-hackers@) > >> > >> Hello, > >> > >> Last year FreeBSD qualified for Google Code-In 2011 event--contest > >> for > >> youngest open-source hackers in 13-17yr age range: > >> > >> http://www.google-melange.com/gci/homepage/google/gci2012 > >> > >> It was successful. We gained one more FreeBSD developer thanks to > >> that > >> (Isabell Long) We're pondering participating in the contest this > >> year as > >> well. > >> > >> For now we only have 25 ideas. We need at least 100. > >> > >> I felt all members of the FreeBSD community should help, so please > >> submit > >> your own Google Code-In 2012 ideas here: > >> > >> http://www.emailmeform.com/builder/form/4aU93Obxo4NYdVAgb1 > >> > >> Examples of previously completed tasks: > >> > >> http://wiki.freebsd.org/GoogleCodeIn/2011Tasks > >> > >> Those of you who have Wiki access, please spent 2 more minutes and > >> submit > >> straight to Wiki: > >> > >> http://wiki.freebsd.org/GoogleCodeIn/2012Tasks > >> > >> I plan to send out next e-mail if there's any progress on this > >> project. > >> > >> Help will be appreciated. > >> > > > > Update: > > > > It looks pretty bad so far. Page: > > > > http://wiki.freebsd.org/GoogleCodeIn/2012Tasks > > > > Has 38 tasks so far out of which: > > > > ~30 would qualify. > > > > Consider this e-mail to be the last call for action. Otherwise we'll > > have to > > pull back and concentrate our efforts on GSOC instead. > > One thing I can think to add if it's not already been done and if its a > practical idea for the Google project, would be to update the mount_udf > command to support newer versions of UDF. It looks like as of FreeBSD 7 > that 1.02 & 1.50 are supported, I( haven't been able to find any more > recent documentation to support whether or not updates have been made > since then. > > I only know that server I have running 9.0, for the purpose of hosting > ISO images on the network so they are available to our ESX environment > for mounting as a local CDROM/DVD within virtual machines, and also > available as files over a network share, can't mount the some of the > more recent DVDs in the UDF format, but I am unsure which format they > are in, they could be 2.0, 2.5, or 2.6. I think it's too hard for Google Code-In (participants are 13--17), but submit this idea via web form. We can always end up doing copy&paste to GSOC section, which I think would be more appropriate. -- Wojciech A. Koszek wkoszek@FreeBSD.czest.pl http://FreeBSD.czest.pl/~wkoszek/ From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 21:42:30 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A7758D9F; Mon, 22 Oct 2012 21:42:30 +0000 (UTC) (envelope-from wkoszek@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by mx1.freebsd.org (Postfix) with ESMTP id 294148FC08; Mon, 22 Oct 2012 21:42:28 +0000 (UTC) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by freebsd.czest.pl (8.14.5/8.14.5) with ESMTP id q9MLWTIv061430; Mon, 22 Oct 2012 21:32:29 GMT (envelope-from wkoszek@freebsd.czest.pl) Received: (from wkoszek@localhost) by freebsd.czest.pl (8.14.5/8.14.5/Submit) id q9MLWTfc061429; Mon, 22 Oct 2012 21:32:29 GMT (envelope-from wkoszek) Date: Mon, 22 Oct 2012 21:32:29 +0000 From: "Wojciech A. Koszek" To: Adrian Chadd Subject: Re: FreeBSD in Google Code-In 2012? You can help too! Message-ID: <20121022213229.GD59689@FreeBSD.org> References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (freebsd.czest.pl [212.87.224.105]); Mon, 22 Oct 2012 21:32:29 +0000 (UTC) Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 21:42:30 -0000 On Mon, Oct 22, 2012 at 11:46:21AM -0700, Adrian Chadd wrote: > That wiki site has a distinct lack of help about: > > * what is required from us; > * what the target is (kids, right?) > * some examples of good and bad projects. > > Right now I have absolutely no idea what would constitute a good or > bad coding project. :/ > I updated the Wiki with "Sample ideas" section: http://wiki.freebsd.org/GoogleCodeIn/2012Tasks -- Wojciech A. Koszek wkoszek@FreeBSD.czest.pl http://FreeBSD.czest.pl/~wkoszek/ From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 21:43:12 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F6D6F3; Mon, 22 Oct 2012 21:43:12 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4165A8FC1E; Mon, 22 Oct 2012 21:43:11 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so2402873pbb.13 for ; Mon, 22 Oct 2012 14:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=s4yY5Y5HEPFTOU/+X8vYT+lyVqOEj1PZ/W46fdeBZYM=; b=VsmU/fWuMSPnGum+7DiB2NLvrh15t1eiZNlxTZlBhtnnC0CIIOZVzjtK0hle0MkBdD bNR4+3IMTtMfY83AdFSUQ4dwWqv8HcJg/sXnzGdr62rpsrDw9r4736OHuYv9f1ui6gvd VEbZ1GfUOhCnuIKSORa1C2yGlD+lCyx+jOlqLFDfu9hI4EFH0jaPptJfUPpoYTwlXUId qSf4ShrOt7z4T7OiTzKatm1NB5oVY5jyo/51YNRiguTEmuZN1qYIS3HLrfSc0f00/5Rc Yf0Bds+IP+C8CtxPiKrpolDIlMWOye2xAWYR52tQT/CnP5GT7f4CurTrZ6N3KmJZTYZE aTig== MIME-Version: 1.0 Received: by 10.66.80.133 with SMTP id r5mr29658954pax.24.1350942191776; Mon, 22 Oct 2012 14:43:11 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Mon, 22 Oct 2012 14:43:11 -0700 (PDT) In-Reply-To: <201210222317.00457.zec@fer.hr> References: <5085827D.5090108@freebsd.org> <201210222317.00457.zec@fer.hr> Date: Mon, 22 Oct 2012 14:43:11 -0700 X-Google-Sender-Auth: 4NJ6mWnKmAtqU93tCntqSYS6YuY Message-ID: Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices From: Adrian Chadd To: Marko Zec Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 21:43:12 -0000 Hi, I don't mind tackling the net80211 clone detach path. I do mind how the default for hotplug is "argh, it doesn't work." :-) So I'd like to come up with something to fix the basic device detach, rather than having to actually add CURVNET_*() calls around each if_free() in each device detach method. Adrian From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 22 23:37:15 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70AE985F; Mon, 22 Oct 2012 23:37:15 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 04E1F8FC16; Mon, 22 Oct 2012 23:37:14 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAEAG3YhVCDaFvO/2dsb2JhbABEFoV+vDOCIAEBAQQBAQEgKyALBRYOCgICDRkCIwYBCSYGCAcEARwEh1EDDwupM4koDYlUgSCJT2kahUOBEgOTRFiBVYEXihKFEIMLgUc1 X-IronPort-AV: E=Sophos;i="4.80,633,1344225600"; d="scan'208";a="184785046" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 22 Oct 2012 19:36:41 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 35B4379462; Mon, 22 Oct 2012 19:36:41 -0400 (EDT) Date: Mon, 22 Oct 2012 19:36:41 -0400 (EDT) From: Rick Macklem To: Ivan Voras Message-ID: <656944923.2668891.1350949001204.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: Subject: Re: NFS server bottlenecks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.203] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692) Cc: "freebsd-hackers@freebsd.org Hackers" , Nikolay Denev X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 23:37:15 -0000 Ivan Voras wrote: > On 20 October 2012 13:42, Nikolay Denev wrote: > > > Here are the results from testing both patches : > > http://home.totalterror.net/freebsd/nfstest/results.html > > Both tests ran for about 14 hours ( a bit too much, but I wanted to > > compare different zfs recordsize settings ), > > and were done first after a fresh reboot. > > The only noticeable difference seems to be much more context > > switches with Ivan's patch. > > Thank you very much for your extensive testing! > > I don't know how to interpret the rise in context switches; as this is > kernel code, I'd expect no context switches. I hope someone else can > explain. > > But, you have also shown that my patch doesn't do any better than > Rick's even on a fairly large configuration, so I don't think there's > value in adding the extra complexity, and Rick knows NFS much better > than I do. > > But there are a few things other than that I'm interested in: like why > does your load average spike almost to 20-ties, and how come that with > 24 drives in RAID-10 you only push through 600 MBit/s through the 10 > GBit/s Ethernet. Have you tested your drive setup locally (AESNI > shouldn't be a bottleneck, you should be able to encrypt well into > Gbyte/s range) and the network? > > If you have the time, could you repeat the tests but with a recent > Samba server and a CIFS mount on the client side? This is probably not > important, but I'm just curious of how would it perform on your > machine. Oh, I realized that, if you are testing 9/stable (and not head), that you won't have r227809. Without that, all reads on a given file will be serialized, because the server will acquire an exclusive lock on the vnode. The patch for r227809 in head is at: http://people.freebsd.org/~rmacklem/lkshared.patch This should apply fine to a 9 system (but not 8.n), I think. Good luck with it and have fun, rick > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 23 05:19:17 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A49FF87B; Tue, 23 Oct 2012 05:19:17 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 003A98FC0C; Tue, 23 Oct 2012 05:19:16 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id hq12so2669691wib.13 for ; Mon, 22 Oct 2012 22:19:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=ASsoJ+QDqMb6kymBGRj72FbckqXp+vIxl8DhWtR2tPQ=; b=dZPRTc4qL+sH/Po+ke4AOz7hCAqnSNtGrJhScJLS+KmJIqsnugkYmrQ7eRFYqItLTu rRrOhLNnB8yARBMMuc8GSJArCHAfF+ZhxdpDZPzr9XpND2P/8DEtP81Yt4UlYrQomL3A HT82ydGRLBe9hRqUmeQ1E+RVAUkR7kKkIsjb5e8IQsrxfiZYw619gd9J0TU4cggOQlz3 uMTGaA+cNi2d+78tfN9siFjHnWEjv8BIORDhqTOSQiWMMZMWPa3APu6nAyv2nXtoYf56 V7n2L0FtyMhKPHEDdrfcI/FDyMnc1xGUhIpJLfr7qGpSzOUV3iOjGO53fYpa9b+GO8zW cAwg== Received: by 10.180.108.45 with SMTP id hh13mr41867104wib.15.1350969555536; Mon, 22 Oct 2012 22:19:15 -0700 (PDT) Received: from [10.0.0.86] ([93.152.184.10]) by mx.google.com with ESMTPS id di7sm3197331wib.11.2012.10.22.22.19.12 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 22 Oct 2012 22:19:13 -0700 (PDT) Subject: Re: NFS server bottlenecks Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii From: Nikolay Denev In-Reply-To: <656944923.2668891.1350949001204.JavaMail.root@erie.cs.uoguelph.ca> Date: Tue, 23 Oct 2012 08:19:11 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <656944923.2668891.1350949001204.JavaMail.root@erie.cs.uoguelph.ca> To: Rick Macklem X-Mailer: Apple Mail (2.1499) Cc: "freebsd-hackers@freebsd.org Hackers" , Ivan Voras X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 05:19:17 -0000 On Oct 23, 2012, at 2:36 AM, Rick Macklem wrote: > Ivan Voras wrote: >> On 20 October 2012 13:42, Nikolay Denev wrote: >>=20 >>> Here are the results from testing both patches : >>> http://home.totalterror.net/freebsd/nfstest/results.html >>> Both tests ran for about 14 hours ( a bit too much, but I wanted to >>> compare different zfs recordsize settings ), >>> and were done first after a fresh reboot. >>> The only noticeable difference seems to be much more context >>> switches with Ivan's patch. >>=20 >> Thank you very much for your extensive testing! >>=20 >> I don't know how to interpret the rise in context switches; as this = is >> kernel code, I'd expect no context switches. I hope someone else can >> explain. >>=20 >> But, you have also shown that my patch doesn't do any better than >> Rick's even on a fairly large configuration, so I don't think there's >> value in adding the extra complexity, and Rick knows NFS much better >> than I do. >>=20 >> But there are a few things other than that I'm interested in: like = why >> does your load average spike almost to 20-ties, and how come that = with >> 24 drives in RAID-10 you only push through 600 MBit/s through the 10 >> GBit/s Ethernet. Have you tested your drive setup locally (AESNI >> shouldn't be a bottleneck, you should be able to encrypt well into >> Gbyte/s range) and the network? >>=20 >> If you have the time, could you repeat the tests but with a recent >> Samba server and a CIFS mount on the client side? This is probably = not >> important, but I'm just curious of how would it perform on your >> machine. >=20 > Oh, I realized that, if you are testing 9/stable (and not head), that > you won't have r227809. Without that, all reads on a given file will > be serialized, because the server will acquire an exclusive lock on > the vnode. >=20 > The patch for r227809 in head is at: > http://people.freebsd.org/~rmacklem/lkshared.patch > This should apply fine to a 9 system (but not 8.n), I think. >=20 > Good luck with it and have fun, rick >=20 >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to >> "freebsd-hackers-unsubscribe@freebsd.org" Thanks, I've applied the patch by hand because of some differences and = I'm now rebuilding. In case they are still needed here are the "dd" tests with loopback UDP = mount : http://home.totalterror.net/freebsd/nfstest/udp-dd.html Over udp writing degrades much worse...= From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 23 07:17:20 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EA18D4C; Tue, 23 Oct 2012 07:17:20 +0000 (UTC) (envelope-from zec@fer.hr) Received: from mail.zvne.fer.hr (mail.zvne.fer.hr [161.53.66.5]) by mx1.freebsd.org (Postfix) with ESMTP id 8ECCF8FC08; Tue, 23 Oct 2012 07:17:19 +0000 (UTC) Received: from munja.zvne.fer.hr (161.53.66.248) by mail.zvne.fer.hr (161.53.66.5) with Microsoft SMTP Server id 14.2.298.4; Tue, 23 Oct 2012 09:17:17 +0200 Received: from sluga.fer.hr ([161.53.66.244]) by munja.zvne.fer.hr with Microsoft SMTPSVC(6.0.3790.4675); Tue, 23 Oct 2012 09:17:16 +0200 Received: from localhost ([161.53.19.8]) by sluga.fer.hr over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 23 Oct 2012 09:17:16 +0200 From: Marko Zec To: Adrian Chadd Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices Date: Tue, 23 Oct 2012 09:16:11 +0200 User-Agent: KMail/1.9.10 References: <201210222317.00457.zec@fer.hr> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <201210230916.11513.zec@fer.hr> X-OriginalArrivalTime: 23 Oct 2012 07:17:16.0521 (UTC) FILETIME=[6E70E590:01CDB0EE] Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 07:17:20 -0000 On Monday 22 October 2012 23:43:11 Adrian Chadd wrote: > Hi, > > I don't mind tackling the net80211 clone detach path. > > I do mind how the default for hotplug is "argh, it doesn't work." :-) > > So I'd like to come up with something to fix the basic device detach, > rather than having to actually add CURVNET_*() calls around each > if_free() in each device detach method. As already mentioned earlier, I don't terribly object if you'd place CURVNET_SET(ifp->if_vnet) inside if_free() and a limited number of similar functions, but I don't quite believe this is will enough to solve the device_detach() issue without having to touch any of the drivers... Marko From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 23 09:34:57 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12D4F8F2 for ; Tue, 23 Oct 2012 09:34:57 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.31.30]) by mx1.freebsd.org (Postfix) with ESMTP id B9FA78FC14 for ; Tue, 23 Oct 2012 09:34:56 +0000 (UTC) Received: from [78.35.168.59] (helo=fabiankeil.de) by smtprelay03.ispgateway.de with esmtpsa (SSLv3:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1TQaoP-0005aS-I8; Tue, 23 Oct 2012 11:30:13 +0200 Date: Tue, 23 Oct 2012 11:18:09 +0200 From: Fabian Keil To: dweimer@dweimer.net Subject: Re: FreeBSD in Google Code-In 2012? You can help too! Message-ID: <20121023111809.27a9183f@fabiankeil.de> In-Reply-To: References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/uFhV__nLbWtfyFiJtH66FYf"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 09:34:57 -0000 --Sig_/uFhV__nLbWtfyFiJtH66FYf Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable dweimer wrote: > On 2012-10-22 12:44, Wojciech A. Koszek wrote: > > Update: > > > > It looks pretty bad so far. Page: > > > > http://wiki.freebsd.org/GoogleCodeIn/2012Tasks > > > > Has 38 tasks so far out of which: > > > > ~30 would qualify. > > > > Consider this e-mail to be the last call for action. Otherwise we'll=20 > > have to > > pull back and concentrate our efforts on GSOC instead. >=20 > One thing I can think to add if it's not already been done and if its a=20 > practical idea for the Google project, would be to update the mount_udf=20 > command to support newer versions of UDF. It looks like as of FreeBSD 7=20 > that 1.02 & 1.50 are supported, I( haven't been able to find any more=20 > recent documentation to support whether or not updates have been made=20 > since then. >=20 > I only know that server I have running 9.0, for the purpose of hosting=20 > ISO images on the network so they are available to our ESX environment=20 > for mounting as a local CDROM/DVD within virtual machines, and also=20 > available as files over a network share, can't mount the some of the=20 > more recent DVDs in the UDF format, but I am unsure which format they=20 > are in, they could be 2.0, 2.5, or 2.6. There's work in progress to port the UDF code from NetBSD: http://wiki.freebsd.org/action/show/SummerOfCode2012/UDFImplementation Oleksandr posted a patch on freebsd-fs@ in July. Fabian --Sig_/uFhV__nLbWtfyFiJtH66FYf Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCGYNUACgkQBYqIVf93VJ2SUgCdFPoqhPESMvJc16/z5pvYBnpm QgAAniyjsfkRxlZrsBq7MN9pxa640wnE =WieV -----END PGP SIGNATURE----- --Sig_/uFhV__nLbWtfyFiJtH66FYf-- From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 23 10:39:44 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5CA24CA2; Tue, 23 Oct 2012 10:39:44 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp2.one.com (csmtp2.one.com [91.198.169.22]) by mx1.freebsd.org (Postfix) with ESMTP id 14D818FC08; Tue, 23 Oct 2012 10:39:43 +0000 (UTC) Received: from [192.168.1.18] (unknown [217.157.7.221]) by csmtp2.one.com (Postfix) with ESMTPA id 333D4307A078; Tue, 23 Oct 2012 10:39:42 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: FreeBSD in Google Code-In 2012? You can help too! From: Erik Cederstrand In-Reply-To: <20121016101957.GB53800@FreeBSD.org> Date: Tue, 23 Oct 2012 12:39:45 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <6CEA942D-3663-41DC-A919-584F664C67D9@cederstrand.dk> References: <20121016101957.GB53800@FreeBSD.org> To: "Wojciech A. Koszek" X-Mailer: Apple Mail (2.1499) Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 10:39:44 -0000 Den 16/10/2012 kl. 12.19 skrev Wojciech A. Koszek : > (cross-posted message; please keep discussion on freebsd-hackers@) >=20 > Those of you who have Wiki access, please spent 2 more minutes and = submit > straight to Wiki: >=20 > http://wiki.freebsd.org/GoogleCodeIn/2012Tasks There are lots of smallish tasks in the code-quality department: * Analyze and fix Clang Static Analyzer warnings * Analyze and fix compiler warnings to increase WARNS level * Write regression tests for src/tools/regression * Run include-what-you-use to clean up header inclusion * Verify bugs with patches I think they're too open-ended to enter in the wiki as-is, but I'd also = like to not spam the wiki with lots of almost-identical tasks. What's = the best way to suggest them for CodeIn? Erik= From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 23 14:30:01 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C38E26F9; Tue, 23 Oct 2012 14:30:01 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 3A3BA8FC12; Tue, 23 Oct 2012 14:29:49 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q9NETmIL072073; Tue, 23 Oct 2012 08:29:48 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q9NETPgG097080; Tue, 23 Oct 2012 08:29:25 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: FreeBSD in Google Code-In 2012? You can help too! From: Ian Lepore To: Erik Cederstrand In-Reply-To: <6CEA942D-3663-41DC-A919-584F664C67D9@cederstrand.dk> References: <20121016101957.GB53800@FreeBSD.org> <6CEA942D-3663-41DC-A919-584F664C67D9@cederstrand.dk> Content-Type: text/plain; charset="us-ascii" Date: Tue, 23 Oct 2012 08:29:25 -0600 Message-ID: <1351002565.1123.271.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: "freebsd-hackers@freebsd.org" , "Wojciech A. Koszek" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 14:30:01 -0000 On Tue, 2012-10-23 at 12:39 +0200, Erik Cederstrand wrote: > Den 16/10/2012 kl. 12.19 skrev Wojciech A. Koszek : > > > (cross-posted message; please keep discussion on freebsd-hackers@) > > > > Those of you who have Wiki access, please spent 2 more minutes and submit > > straight to Wiki: > > > > http://wiki.freebsd.org/GoogleCodeIn/2012Tasks > > > There are lots of smallish tasks in the code-quality department: > > * Analyze and fix Clang Static Analyzer warnings > * Analyze and fix compiler warnings to increase WARNS level > * Write regression tests for src/tools/regression > * Run include-what-you-use to clean up header inclusion > * Verify bugs with patches > > I think they're too open-ended to enter in the wiki as-is, but I'd also like to not spam the wiki with lots of almost-identical tasks. What's the best way to suggest them for CodeIn? > Analyzing and fixing warnings is the last thing I'd assign to a young inexperienced programmer. It's far too easy (and tempting) to cast away warnings or otherwise treat the symptoms when what's really needed is to dig deeply into code (often including analyzing call chains) to evaluate the consequences of any changes. On the last 3 tasks in your list, I agree completely, just the sort of thing you'd assign to an intern or new junior engineer to get them started on a large existing project. -- Ian From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 23 17:11:23 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC7C5FB5; Tue, 23 Oct 2012 17:11:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 760828FC1C; Tue, 23 Oct 2012 17:11:23 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so3042487pad.13 for ; Tue, 23 Oct 2012 10:11:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=RKNEsUFxwb68ngcI2xczI3T6Vga9DI6cHrbcLkzgLKM=; b=VxEvbrqEm6H6xT+TOBWh/7tqUWo7A3g+u7DqacrGnbHZKkeoF+I+VAshtA4ARzXi7H tablQpFOGv/sl7T2QgOmfVQFWcKQ4RZNZPLJZcLqU6lnqpksCr3OJjxOiIjRYMuFXEjW g7aJP9LDh431f3ufZWVvSg819ssA/dNndbfgds+9KOnwO1uMS9lVeUNnpB5aYP+sgPUr +T5mvvhh/c6LqNXTRLBK8y6tzsKMY4keD0T/+VfO2dfc6uh4tSeviNYnzpT4WqFoTX8Y FL3Js0V8e9/jL7+TdfGtbLA4lGo2mloOyrIJOEWF8KInrErZM2nghnmE7cj8oE1fxmVF fB+w== MIME-Version: 1.0 Received: by 10.66.79.166 with SMTP id k6mr36946336pax.25.1351012282625; Tue, 23 Oct 2012 10:11:22 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Tue, 23 Oct 2012 10:11:21 -0700 (PDT) In-Reply-To: <5086AC06.5070405@a1poweruser.com> References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> <5086AC06.5070405@a1poweruser.com> Date: Tue, 23 Oct 2012 10:11:21 -0700 X-Google-Sender-Auth: 6JnWfZpTm_HfKi9hBayVIwUvsMA Message-ID: Subject: Re: FreeBSD in Google Code-In 2012? You can help too! From: Adrian Chadd To: Fbsd8 Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, "Wojciech A. Koszek" , freebsd-stable@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 17:11:23 -0000 On 23 October 2012 07:39, Fbsd8 wrote: > The subject is Google Code-In and all the posted tasks are directed at > creating documentation. Not one deals with coding any programs. If I was > 15-17 years old I sure would not be interested in writing documentation. I > would want to use and develop my coding skills. To that end there a lot of > simple PR's waiting for attention. This is an target area that young coders > would find more interesting. > > Such as kern/170090 > or > replacing the Freebsd Ipfilter v4.1.28 version with the current Ipfilter > version 5.1.2. This is just reusing the tools used last time ipfilter was > ported over. > > Just my 2 cents. So where are examples of what other successful open source projects have done? Adrian From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 23 17:37:03 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9850087F; Tue, 23 Oct 2012 17:37:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 521AA8FC14; Tue, 23 Oct 2012 17:37:03 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so644999pbb.13 for ; Tue, 23 Oct 2012 10:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=864LoZucaSico/1QkOtjQS3qd8yQPOx5T8xyGBar2uM=; b=Q4Jbnicgn3vMdzFSiMaUDwK+IGotxi3X9jYabIsTPVCJo/N7kg2/cEYxnCydzAbObd F1ucuXKvT7puTzsd+Cis3S2cEe9DoG2mBDlk/YiGl63NWzaFTCvjVWM/Ghe2fNFLQx0F oGaG00DHUnzLICc25l++67Rdlm5Yy3tGyikyvywqCilkqxbWGvviYoaX51BlZ+ROszT3 RbiUy68IzZHJosvSDv9WlEXJXs/futNiCFVIwiuha8ImzrkmKWez9Fm3MGay+L9dwWf7 G3/82MFXUNBHq2rHW08/4DIxFvOCWNSN8fekD/B2RjiEaHpA+DywHs63hD6mALu/0zRF YFIg== MIME-Version: 1.0 Received: by 10.68.135.168 with SMTP id pt8mr43060977pbb.24.1351013822653; Tue, 23 Oct 2012 10:37:02 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Tue, 23 Oct 2012 10:37:02 -0700 (PDT) In-Reply-To: <201210230916.11513.zec@fer.hr> References: <201210222317.00457.zec@fer.hr> <201210230916.11513.zec@fer.hr> Date: Tue, 23 Oct 2012 10:37:02 -0700 X-Google-Sender-Auth: Nb2vhf1AA3MPGTEWUU8N4AtIx9w Message-ID: Subject: Re: VIMAGE crashes on 9.x with hotplug net80211 devices From: Adrian Chadd To: Marko Zec , Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 17:37:03 -0000 On 23 October 2012 00:16, Marko Zec wrote: > As already mentioned earlier, I don't terribly object if you'd place > CURVNET_SET(ifp->if_vnet) inside if_free() and a limited number of similar > functions, but I don't quite believe this is will enough to solve the > device_detach() issue without having to touch any of the drivers... That's why I'm asking for more/better ideas. So far my ideas are: * for hotplug insert - do the same as what you're doing during the kldload and boot device enumeration pass - call CURVNET_SET(vnet0) * for device unload (hotplug or otherwise) - if vnet isn't set, implicitly set it to vnet0 * for the net80211 vaps, they get destroyed in a few places (ioctl path, device detach path, I'm sure I saw one more) so I have to use CURVNET_SET(ifp->if_vnet) on those. Now, that _should_ fix it for ath(4) and net80211, and it should fix it for all the other non-USB wireless devices out there. Now as for USB - Hans, what do you think? Should we do something similar? How does VIMAGE work right now with USB wireless and USB ethernet devices? Marko - thanks for persisting with this. I'd like to try and make this work for 10.0. Adrian From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 23 18:45:21 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7255B567; Tue, 23 Oct 2012 18:45:21 +0000 (UTC) (envelope-from carl.r.delsey@intel.com) Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by mx1.freebsd.org (Postfix) with ESMTP id 306228FC0C; Tue, 23 Oct 2012 18:45:20 +0000 (UTC) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 23 Oct 2012 11:44:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.80,637,1344236400"; d="scan'208";a="208095680" Received: from crdelsey-fbsd.ch.intel.com (HELO [10.2.105.127]) ([10.2.105.127]) by azsmga001.ch.intel.com with ESMTP; 23 Oct 2012 11:43:51 -0700 Message-ID: <5086E567.2050003@intel.com> Date: Tue, 23 Oct 2012 11:43:51 -0700 From: Carl Delsey User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120724 Thunderbird/13.0.1 MIME-Version: 1.0 To: Robert Watson Subject: Re: No bus_space_read_8 on x86 ? References: <506DC574.9010300@intel.com> <201210091154.15873.jhb@freebsd.org> <5075EC29.1010907@intel.com> <201210121131.46373.jhb@freebsd.org> <5078575B.2020808@intel.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 18:45:21 -0000 On 10/13/12 03:26, Robert Watson wrote: > > On Fri, 12 Oct 2012, Carl Delsey wrote: > >>> Indeed -- and on non-x86, where there are uncached direct map >>> segments, and TLB entries that disable caching, reading 2x 32-bit vs >>> 1x 64-bit have quite different effects in terms of atomicity. Where >>> uncached I/Os are being used, those differences may affect semantics >>> significantly -- e.g., if your device has a 64-bit memory-mapped >>> FIFO or registers, 2x 32-bit gives you two halves of two different >>> 64-bit values, rather than two halves of the same value. As device >>> drivers depend on those atomicity semantics, we should (at the >>> busspace level) offer only the exactly expected semantics, rather >>> than trying to patch things up. If a device driver accessing 64-bit >>> fields wants to support doing it using two 32-bit reads, it can >>> figure out how to splice it together following >>> bus_space_read_region_4(). >> I wouldn't make any default behaviour for bus_space_read_8 on i386, >> just amd64. My assumption (which may be unjustified) is that by far >> the most common implementations to read a 64-bit register on i386 >> would be to read the lower 4 bytes first, followed by the upper 4 >> bytes (or vice versa) and then stitch them together. I think we >> should provide helper functions for these two cases, otherwise I fear >> our code base will be littered with multiple independent >> implementations of this. >> >> Some driver writer who wants to take advantage of these helper >> functions would do something like >> #ifdef i386 >> #define bus_space_read_8 bus_space_read_8_lower_first >> #endif >> otherwise, using bus_space_read_8 won't compile for i386 builds. >> If these implementations won't work for their case, they are free to >> write their own implementation or take whatever action is necessary. >> >> I guess my question is, are these cases common enough that it is >> worth helping developers by providing functions that do the double >> read and shifts for them, or do we leave them to deal with it on >> their own at the risk of possibly some duplicated code. > > I was thinking we might suggest to developers that they use a KPI that > specifically captures the underlying semantics, so it's clear they > understand them. Untested example: > > uint64_t v; > > /* > * On 32-bit systems, read the 64-bit statistic using two 32-bit > * reads. > * > * XXX: This will sometimes lead to a race. > * > * XXX: Gosh, I wonder if some word-swapping is needed in the merge? > */ > #ifdef 32-bit > bus_space_read_region_4(space, handle, offset, (uint32_t *)&v, 2; > #else > bus_space_read_8(space, handle, offset, &v); > #endif > > The potential need to word swap, however, suggests that you may be > right about the error-prone nature of manual merging. > Again, I have to apologize for the delay in replying. I'm still dealing with my family emergency some. I really like Robert's idea of using bus_space_read_region_4 and treating the 64 bit variable as an array of two 32 bit variables. That eliminates the need to shift. I'll try to incorporate that idea if I can. Anyhow, after talking to jimharris@ I figured the best thing to do was to break this up into separate patches. This first patch is to provide bus_space_xxxx_8 for amd64 only. This way we can get the easy case out of the way. I'll follow up with a couple more patches: one to modify the cxgbe driver and maybe a few other drivers to use this new function, and then a second that makes a stab at how to deal with i386 if we think that is worthwhile. This first patch is at: http://people.freebsd.org/~jimharris/patches/bus_space_xxx_8.patch I basically copied the ia64 implementation to use as a base for this change. I wasn't quite sure how best to deal with the copyrights. The ia64 implementation has about 3 copyright headers on it, which seemed a bit ridiculous to copy, but probably is necessary to be strictly legal. I compromised and took the copyright from marcel@ since he was the last to change the file. Do we have any best practices on how to deal with this? Thanks for the feedback and thanks in advance for taking the time to look at this patch. Carl From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 23 19:59:44 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 80BD629D for ; Tue, 23 Oct 2012 19:59:44 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 46F1D8FC1A for ; Tue, 23 Oct 2012 19:59:44 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so738729pbb.13 for ; Tue, 23 Oct 2012 12:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Jb8y8Rxjm+91YSll3JXK0JhP/OeLIn6Hsy1pmtBRBq0=; b=LGj0y8THFCz/idRSROOpgVAiTpe8rSWa8eessMdFKKxH9ZpXXlENffmi+EPbhWD18J qk3YE2jgGgDqH83MiqPkXW+91QPpgISC9Z4xEL21WmfRaiBTrPxWfZXWl7atCH3FBlPl i9lacSU0GHPPCfMYt7zJBFYCRa41IViF7mhhQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=Jb8y8Rxjm+91YSll3JXK0JhP/OeLIn6Hsy1pmtBRBq0=; b=DT6gWaCmABNwhKAD3Jn9Wj7elM1GVQ6fraEllsSukzvTre6ck2U3eDIhuUeKgty4/c adOAmRkNb6okezoFW+defWBorKpe5MIcZZSjVtykl5E/GO4PDRfMLBUL7G3pkQ9x3TXT ntA9gzbHKlTrVSJJ6fai6iWSDyi5GNZGQwyob2TXDogl6a6XJ12YHYjR4K85STeM7ra6 4hej+Qrm5rvcPGo+hBRtPBQR1HLfmDsodIKpHc1GWPyqxbEiSWzsdDc1R98/Y/GNEfIg PRUBeljqefOxroHcayUF0ak0Fg9JXXh2GQpEoaHve2Trhit0JbuOdMikWAfoOm1x8ymA zxSQ== Received: by 10.66.76.231 with SMTP id n7mr37905916paw.68.1351022377922; Tue, 23 Oct 2012 12:59:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.161.163 with HTTP; Tue, 23 Oct 2012 12:59:07 -0700 (PDT) In-Reply-To: <5214043c002ef030f59c2045344b8725.squirrel@webmail.ee.ryerson.ca> References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> <5086AC06.5070405@a1poweruser.com> <5214043c002ef030f59c2045344b8725.squirrel@webmail.ee.ryerson.ca> From: Eitan Adler Date: Tue, 23 Oct 2012 15:59:07 -0400 Message-ID: Subject: Re: FreeBSD in Google Code-In 2012? You can help too! To: David Magda Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmNk18IGJtCU2y50IPTZjHSp1OuxN7RPgnXaaFwnLoWwt4eJe9BXL2eV9Msg2WzYEyEKail Cc: freebsd-hackers@freebsd.org, Fbsd8 , "Wojciech A. Koszek" , freebsd-stable@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 19:59:44 -0000 On 23 October 2012 12:54, David Magda wrote: > On Tue, October 23, 2012 10:39, Fbsd8 wrote: >> >> The subject is Google Code-In and all the posted tasks are directed at >> creating documentation. Not one deals with coding any programs. If I was >> 15-17 years old I sure would not be interested in writing documentation. >> I would want to use and develop my coding skills. To that end there a >> lot of simple PR's waiting for attention. This is an target area that >> young coders would find more interesting. > > It would depend on what one's interests were. Google code-in is aimed at *coders* and there is an expectation of people writing *code*. The biggest complaint for GCI last year was "not enough coding tasks" -- Eitan Adler From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 23 20:03:57 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC9B6612 for ; Tue, 23 Oct 2012 20:03:57 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 991168FC14 for ; Tue, 23 Oct 2012 20:03:57 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so741595pbb.13 for ; Tue, 23 Oct 2012 13:03:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=WvSuWz46DZVyK1kELi49uwZ1Ea9rT6GpyvAoO47Y7mU=; b=Rw6sYe8jq127bW/5gMRt3X3vjDjPswGpyyvGz/MtlLdqc1cwBHym6AAv5Qc/2VAkwa EdrvPyZwMn45JIK+icganQgYHDeEMhlw/H+xl5sbwkhjbsi6R/baBE6BwsPDdyR/vUdQ eYG9DjFTUGb5+RizdnZxSVuK8WR1qVObGvchc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=WvSuWz46DZVyK1kELi49uwZ1Ea9rT6GpyvAoO47Y7mU=; b=MiLtM8dJwXU5WpLqLbeR0RDeB/RZuBEgA7m4n21rz8YrSS9KIe66VO5pPgqfYqlb4c he+qXaQ66b4qIbF6SrHPcTNRn50gyg3RJVXLkdCa+i/GmYX/+MqrP0RliUxkBqpsTO/M FwXwtqmiUbtZQX4nP4iwOJJ9uvJigymO1P/0p2ftembNip7cAz+rn1SwYRaZuSYRrrgh 6z7garLp/c+fxIvT1k+vuwMhikhGdLgKlFJeukHSt86f9ezU7wn0SYLsarmeeUlPZE5G xXoAtd+xw/AMsVA9yOGUfrWDgOxqNOR0iqUUgT8ujoAqYoVKpKykciOU6vSxTk+aI4LU Jczw== Received: by 10.66.90.65 with SMTP id bu1mr38137869pab.31.1351022637203; Tue, 23 Oct 2012 13:03:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.161.163 with HTTP; Tue, 23 Oct 2012 13:03:27 -0700 (PDT) In-Reply-To: References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> <5086AC06.5070405@a1poweruser.com> From: Eitan Adler Date: Tue, 23 Oct 2012 16:03:27 -0400 Message-ID: Subject: Re: FreeBSD in Google Code-In 2012? You can help too! To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQl/dW1DrINhhIA4IayrE6Np6NSeBCl6qFRbAckKbepDcqrKVplTz6Wtv0Uc7MvqTmidNe4P Cc: freebsd-hackers@freebsd.org, Fbsd8 , "Wojciech A. Koszek" , freebsd-stable@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 20:03:58 -0000 On 23 October 2012 13:11, Adrian Chadd wrote: > So where are examples of what other successful open source projects have done? There are tasks done by the winner last year: https://www.google-melange.com/gci/student_tasks/google/gci2011/dragooon Here are all the tasks last year: https://www.google-melange.com/gci/tasks/google/gci2011 -- Eitan Adler From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 23 17:23:26 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6770575; Tue, 23 Oct 2012 17:23:26 +0000 (UTC) (envelope-from dmagda@ee.ryerson.ca) Received: from eccles.ee.ryerson.ca (eccles.ee.ryerson.ca [141.117.1.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8D02E8FC08; Tue, 23 Oct 2012 17:23:26 +0000 (UTC) Received: from webmail.ee.ryerson.ca (eccles [172.16.1.2]) by eccles.ee.ryerson.ca (8.14.4/8.14.4) with ESMTP id q9NGsGph011571; Tue, 23 Oct 2012 12:54:17 -0400 (EDT) (envelope-from dmagda@ee.ryerson.ca) Received: from 206.108.127.2 (SquirrelMail authenticated user dmagda) by webmail.ee.ryerson.ca with HTTP; Tue, 23 Oct 2012 12:54:17 -0400 Message-ID: <5214043c002ef030f59c2045344b8725.squirrel@webmail.ee.ryerson.ca> In-Reply-To: <5086AC06.5070405@a1poweruser.com> References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> <5086AC06.5070405@a1poweruser.com> Date: Tue, 23 Oct 2012 12:54:17 -0400 Subject: Re: FreeBSD in Google Code-In 2012? You can help too! From: "David Magda" To: "Fbsd8" User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 23 Oct 2012 20:44:19 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, "Wojciech A. Koszek" , freebsd-stable@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 17:23:27 -0000 On Tue, October 23, 2012 10:39, Fbsd8 wrote: > > The subject is Google Code-In and all the posted tasks are directed at > creating documentation. Not one deals with coding any programs. If I was > 15-17 years old I sure would not be interested in writing documentation. > I would want to use and develop my coding skills. To that end there a > lot of simple PR's waiting for attention. This is an target area that > young coders would find more interesting. It would depend on what one's interests were. I've known a few technical writers over the years, and even if that is not one's long-term career objective, being paid to simply write is something a lot of people wouldn't mind doing. It's just that most writers don't hang out on Unix mailing lists. :) From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 23 21:05:45 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 155F03F9; Tue, 23 Oct 2012 21:05:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id BE9D08FC17; Tue, 23 Oct 2012 21:05:44 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so778166pbb.13 for ; Tue, 23 Oct 2012 14:05:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=tWT4Fq7BCZfm61VUKr5tlUQWv1/zpniNF5v1dRKOtTk=; b=faw2CQkBXZtuFtUw9y5dHptJqEcrDUU469UwC34MCUzhUhqIQNq7DdbLuMdYXidij0 muSvpLtRjOBaSW0OhzSCaxUkI2gzx1DdAxRlWfy2yvEL8jdcJthWZR6c7vh59cHEzjsp l5GFcNux+XJV+BFBG5dKvOQjgOGu4JEu77mE5efJpKBb+3qT+oOGpQPdlfiebczX8ClI Ll41PP99ElNUHcrSJ/WJSdd5QkjyJtnrw7Z/v/wd39rKtmG6uT3IyS3Zk3slQYW9t8KA /G52c2tjPnc1CX5f+pe6cttkr8wW3mHbEp2u30V6bbJyfWJez3zTRs9TiwfkzAuKPZxg 2EDw== MIME-Version: 1.0 Received: by 10.66.74.65 with SMTP id r1mr38318525pav.75.1351026344021; Tue, 23 Oct 2012 14:05:44 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Tue, 23 Oct 2012 14:05:43 -0700 (PDT) In-Reply-To: References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> <5086AC06.5070405@a1poweruser.com> Date: Tue, 23 Oct 2012 14:05:43 -0700 X-Google-Sender-Auth: Gr4FTM2HIi-UwRSOKbIwXZW-9tI Message-ID: Subject: Re: FreeBSD in Google Code-In 2012? You can help too! From: Adrian Chadd To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, Fbsd8 , "Wojciech A. Koszek" , freebsd-stable@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 21:05:45 -0000 Right, lots of PHP coding. Attractive to a student. Adrian From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 24 04:03:03 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 383C863C for ; Wed, 24 Oct 2012 04:03:03 +0000 (UTC) (envelope-from wkoszek@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by mx1.freebsd.org (Postfix) with ESMTP id A8D908FC08 for ; Wed, 24 Oct 2012 04:03:02 +0000 (UTC) Received: from wkoszek-thinkpad-t410 (freebsd.czest.pl [212.87.224.105]) by freebsd.czest.pl (8.14.5/8.14.5) with ESMTP id q9O3qn1g072406; Wed, 24 Oct 2012 03:52:50 GMT (envelope-from wkoszek@freebsd.czest.pl) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Eitan Adler" , "Adrian Chadd" Subject: Re: FreeBSD in Google Code-In 2012? You can help too! References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> <5086AC06.5070405@a1poweruser.com> Date: Tue, 23 Oct 2012 21:02:50 -0700 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Wojciech A. Koszek" Organization: FreeBSD.czest.pl Message-ID: In-Reply-To: User-Agent: Opera Mail/12.10 (Linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (freebsd.czest.pl [127.0.0.2]); Wed, 24 Oct 2012 03:52:53 +0000 (UTC) X-Mailman-Approved-At: Wed, 24 Oct 2012 04:56:20 +0000 Cc: freebsd-hackers@freebsd.org, Fbsd8 , "Wojciech A. Koszek" , freebsd-stable@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 04:03:03 -0000 Dnia 23-10-2012 o 14:05:43 Adrian Chadd napisa=C5=82= (a): > Right, lots of PHP coding. Attractive to a student. > Nobody prevents students from serving FreeBSD by writing stuff in attrac= tive, well documented (books, translations) technologies. We just need t= o craft a task list around things which people consider attractive. -- = Wojciech A. Koszek wkoszek@freebsd.czest.pl http://FreeBSD.czest.pl/~wkoszek/ From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 24 11:11:48 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 590D92D6; Wed, 24 Oct 2012 11:11:48 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) by mx1.freebsd.org (Postfix) with ESMTP id 06B988FC12; Wed, 24 Oct 2012 11:11:47 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id E64746A6001; Wed, 24 Oct 2012 13:11:45 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.5/8.14.5) with ESMTP id q9OBBjCx020554; Wed, 24 Oct 2012 13:11:45 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.5/8.14.5/Submit) id q9OBBiep019936; Wed, 24 Oct 2012 13:11:44 +0200 (CEST) (envelope-from lars) Date: Wed, 24 Oct 2012 13:11:44 +0200 From: Lars Engels To: Eitan Adler Subject: Re: FreeBSD in Google Code-In 2012? You can help too! Message-ID: <20121024111144.GF82606@e-new.0x20.net> References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> <5086AC06.5070405@a1poweruser.com> <5214043c002ef030f59c2045344b8725.squirrel@webmail.ee.ryerson.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ls2Gy6y7jbHLe9Od" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.3-RELEASE-p4 User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Wed, 24 Oct 2012 11:41:34 +0000 Cc: David Magda , freebsd-hackers@freebsd.org, Fbsd8 , "Wojciech A. Koszek" , freebsd-current@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 11:11:48 -0000 --Ls2Gy6y7jbHLe9Od Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 23, 2012 at 03:59:07PM -0400, Eitan Adler wrote: > On 23 October 2012 12:54, David Magda wrote: > > On Tue, October 23, 2012 10:39, Fbsd8 wrote: > >> > >> The subject is Google Code-In and all the posted tasks are directed at > >> creating documentation. Not one deals with coding any programs. If I w= as > >> 15-17 years old I sure would not be interested in writing documentatio= n. > >> I would want to use and develop my coding skills. To that end there a > >> lot of simple PR's waiting for attention. This is an target area that > >> young coders would find more interesting. > > > > It would depend on what one's interests were. >=20 > Google code-in is aimed at *coders* and there is an expectation of > people writing *code*. >=20 > The biggest complaint for GCI last year was "not enough coding tasks" What about creating a new port? That is some kind of coding. If we can find some software that isn't ported, yet and not too hard to port (e.g. the wanted ports page in the wiki) we could make a task proposal of it. And one generic "create a port for a piece of software that hasn't been ported, yet". Feel free to add me as a mentor for such a task. --Ls2Gy6y7jbHLe9Od Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCHzPAACgkQKc512sD3afgtpgCeM+yMheOK1Xe0GbytCD+m653V o04An1vUco/9u4png/UGCuWexgIiWWbz =0W5K -----END PGP SIGNATURE----- --Ls2Gy6y7jbHLe9Od-- From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 24 17:24:13 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D2417F82; Wed, 24 Oct 2012 17:24:13 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9E86C8FC08; Wed, 24 Oct 2012 17:24:12 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id b5so1579434lbd.13 for ; Wed, 24 Oct 2012 10:24:11 -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=HOzwriNDMu+P+uMcqIMey6HRuzC0/Gt0jOJwjuka1fA=; b=ZPlCYlBjn9Dj6eLIePWLXJG/wb6BGTOvuAAb54CQo1IW9oJQAr+/HHC3k87N3tVFJs vJJp0E/S5GMUOlH/0w4+LiHqprQRF78K6f3/af+Q43EXHwqgb/t9sECvIACTfyn8ypDv JxmPreBCKg7/IzI+fDtrX8IJpc7dTpoIL57hkqsxeFjx7YbnAl5zqSpW8OYQbShqkEaE VxnAG2sa0asD+xcMK2trPQ8meajogDPTrRWmFiMcI4YttfW7Jkblre4KrE3yypEqUGHS 0Ez+2uJIP0/SZO8zjXW9X/Gtuwn2rzcI+D7t00OZThSwj8blYStHLZmJBgMAk1r83y3j A8Rw== MIME-Version: 1.0 Received: by 10.152.104.115 with SMTP id gd19mr15216952lab.13.1351099451004; Wed, 24 Oct 2012 10:24:11 -0700 (PDT) Received: by 10.152.1.193 with HTTP; Wed, 24 Oct 2012 10:24:10 -0700 (PDT) In-Reply-To: <20121024111144.GF82606@e-new.0x20.net> References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> <5086AC06.5070405@a1poweruser.com> <5214043c002ef030f59c2045344b8725.squirrel@webmail.ee.ryerson.ca> <20121024111144.GF82606@e-new.0x20.net> Date: Wed, 24 Oct 2012 19:24:10 +0200 Message-ID: Subject: Re: FreeBSD in Google Code-In 2012? You can help too! From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Lars Engels Content-Type: text/plain; charset=ISO-8859-1 Cc: David Magda , freebsd-hackers@freebsd.org, Fbsd8 , "Wojciech A. Koszek" , Eitan Adler , freebsd-current@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 17:24:13 -0000 On Wed, Oct 24, 2012 at 1:11 PM, Lars Engels wrote: > On Tue, Oct 23, 2012 at 03:59:07PM -0400, Eitan Adler wrote: >> On 23 October 2012 12:54, David Magda wrote: >> > On Tue, October 23, 2012 10:39, Fbsd8 wrote: >> >> >> >> The subject is Google Code-In and all the posted tasks are directed at >> >> creating documentation. Not one deals with coding any programs. If I was >> >> 15-17 years old I sure would not be interested in writing documentation. >> >> I would want to use and develop my coding skills. To that end there a >> >> lot of simple PR's waiting for attention. This is an target area that >> >> young coders would find more interesting. >> > >> > It would depend on what one's interests were. >> >> Google code-in is aimed at *coders* and there is an expectation of >> people writing *code*. >> >> The biggest complaint for GCI last year was "not enough coding tasks" > > What about creating a new port? That is some kind of coding. If we can > find some software that isn't ported, yet and not too hard to port (e.g. > the wanted ports page in the wiki) we could make a task proposal of it. > And one generic "create a port for a piece of software that hasn't been > ported, yet". > Feel free to add me as a mentor for such a task. Also related to that, what about writing a section about redports[1] in the porter's handbook[2]? And as a side question, shouldn't some (or all) of these tasks be listed also in JuniorTasks[3]? Just my two cents. [1] https://redports.org/ [2] http://www.freebsd.org/doc/en/books/porters-handbook/book.html [3] http://wiki.freebsd.org/JuniorJobs From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 24 17:37:22 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67E6A489 for ; Wed, 24 Oct 2012 17:37:22 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1DDD38FC19 for ; Wed, 24 Oct 2012 17:37:21 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id z9so379467dad.13 for ; Wed, 24 Oct 2012 10:37:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=KrdJDo+pcjYR6/5ryVsuPYk+hCvdInek3KDVYgkK6p4=; b=OsBjSNj/w5LyPl5GLAmgvZzK5M/9OZp63yLEgoPzcMGd2TdmyIQvWnSDJdpR0zXfan OXTDaeDQ0xu+S0wGgX84S/Xj2XAKj5OymjPLSkKL2nkMLQYgxzBgKEHeq6EMwPCVZ5R8 vVq7iFD/+jUXCCnaQJgt4yJ+WtL5nc2wPsnIc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=KrdJDo+pcjYR6/5ryVsuPYk+hCvdInek3KDVYgkK6p4=; b=Vm3V2cvEzVDlJKhpVBmsg6UzmJDDTwJwKCUe6mstLFpwyORDAOyBEht2fPx0gJIbtw S3kPJobQidMMYgL6qGr9+W7pZAK+eIxB+ADYbIm2fWQd48YpJVAxEDjzYZ1Y9+SfcQ1A AmxwMr1OXB9L0NCFc7mo8GihWiwEXeAna9YYlqVNY21ibixAshs4y5qt0Fw+s1InxnRQ +pDfW8JLlBq6Xck8kZFBxBKj/eirOqF/sVyF28H+AqOrWmLo0FA9vu0ASfqdz/nFahrU fjTQq6FjiIy9X37uD9TnD8FNitd0vSAt0NXq3FxATKszyKSDqA32sE966lmgE10Xxn/l 5JOA== Received: by 10.68.200.72 with SMTP id jq8mr51724169pbc.38.1351100241489; Wed, 24 Oct 2012 10:37:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.161.163 with HTTP; Wed, 24 Oct 2012 10:36:51 -0700 (PDT) In-Reply-To: References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> <5086AC06.5070405@a1poweruser.com> <5214043c002ef030f59c2045344b8725.squirrel@webmail.ee.ryerson.ca> <20121024111144.GF82606@e-new.0x20.net> From: Eitan Adler Date: Wed, 24 Oct 2012 13:36:51 -0400 Message-ID: Subject: Re: FreeBSD in Google Code-In 2012? You can help too! To: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnmUhzD0J0v4XHMlTcxPpEXHWm13uvgyfX7ml4OF91N6iE0mPHAg/ae+xCoh3U8ko85vavA Cc: David Magda , Lars Engels , freebsd-hackers@freebsd.org, Fbsd8 , "Wojciech A. Koszek" , freebsd-current@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 17:37:22 -0000 On 24 October 2012 13:24, Fernando Apestegu=C3=ADa wrote: > Also related to that, what about writing a section about redports[1] > in the porter's handbook[2]? This is a good documentation task... but we need more *coding* tasks as wel= l. > And as a side question, shouldn't some (or all) of these tasks be > listed also in JuniorTasks[3]? I'll link the page: good point. --=20 Eitan Adler From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 24 22:36:51 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7882B8E8 for ; Wed, 24 Oct 2012 22:36:51 +0000 (UTC) (envelope-from pfg@freebsd.org) Received: from nm3-vm0.bullet.mail.sp2.yahoo.com (nm3-vm0.bullet.mail.sp2.yahoo.com [98.139.90.230]) by mx1.freebsd.org (Postfix) with ESMTP id 366188FC16 for ; Wed, 24 Oct 2012 22:36:51 +0000 (UTC) Received: from [72.30.22.92] by nm3.bullet.mail.sp2.yahoo.com with NNFMP; 24 Oct 2012 22:36:45 -0000 Received: from [98.139.91.37] by tm14.bullet.mail.sp2.yahoo.com with NNFMP; 24 Oct 2012 22:36:45 -0000 Received: from [127.0.0.1] by omp1037.mail.sp2.yahoo.com with NNFMP; 24 Oct 2012 22:36:45 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 150352.78250.bm@omp1037.mail.sp2.yahoo.com Received: (qmail 9379 invoked by uid 60001); 24 Oct 2012 22:36:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1351118204; bh=SyWBgkx5dnKb5bicoVrXyyqTun6NIdmZLkR4UOu+Ouw=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=y5nxSzHOjLaFghiLtPvSd/W0VjS0OW9NcZKVkEsdlVEbeCL3qX8YxF1w7mho67l1f3JrSwQTrb2qI0Opv+BmfOv2O52naoF6y8J8kXxNRugpqVM1LrWA0LSdbrXetOM3ZI62OND78HsT5JXmDSznLPqVdnm4EhnIeBOXiPghyRk= X-YMail-OSG: k.3Wj2kVM1li9fsKbkglXURYAwPCUdFs4lFOEDTpNVN.Uyf Z.5.YXPS7pG_UrT01AXtPbpYC7bYEuG440VSFRy.8pzrR6sySTWR2FLpPf_G 5nENTu458nvWoHctydv_a8qsws0OTTKbEuH1vvvnfeCZ77AXhn441OcgE5xa 6NqROOYtJek5KrM6zX8_30bFBLF7sjB3rI_CjjbuKl5DMHEwMXzakoiRGsDp VrwNp6M.r5GwjrUygS7NOvHGBnYDhfcc6mVG6n8XndLq8KWGN3ploAiKkcr7 M2TqFp6NEm8bV33y5yxD_x5d2gHaSFMR1eePorhBadwSyPOeLXXXxQa19bNX NnY4ziGllQBb8IpS0EvmH2jyymidjNym0AqSM2iCs8WAiWI5rR.BWb0qZNom pgE.CptPzbQe3qgOCg3C8ZPDqnAssPo_.2AMXaxtlVu32eJ1GThqRB0w3PTc 9dqkB8470Mof.lllXi8IDOnV0CTn5RfvhEfqru1MLPWNWjlH7EkhVnw0Meca Kch.sxKr_dsjM09X4FWEJS.7d5vtdie8QtaPmF2Tc3UcyaiNK4laQZKiDsJI 7wIDAQQ-- Received: from [200.118.157.7] by web113508.mail.gq1.yahoo.com via HTTP; Wed, 24 Oct 2012 15:36:44 PDT X-Rocket-MIMEInfo: 001.001, KGNjJ2luZyAtcG9ydHMgYW5kIGN1dHRpbmcgbW9zdCBvZiB0aGUgcmVzdCkKCj4gRnJvbTogRWl0YW4gQWRsZXLCoAouPiAKPk9uIDI0IE9jdG9iZXIgMjAxMiAxMzoyNCwgRmVybmFuZG8gQXBlc3RlZ3XDrWHCoHdyb3RlOgo.PiBBbHNvIHJlbGF0ZWQgdG8gdGhhdCwgd2hhdCBhYm91dCB3cml0aW5nIGEgc2VjdGlvbiBhYm91dCByZWRwb3J0c1sxXQo.PiBpbiB0aGUgcG9ydGVyJ3MgaGFuZGJvb2tbMl0_Cj4KPlRoaXMgaXMgYSBnb29kIGRvY3VtZW50YXRpb24gdGFzay4uLiBidXQgd2UgbmVlZCBtb3JlICoBMAEBAQE- X-RocketYMMF: giffunip X-Mailer: YahooMailWebService/0.8.123.460 References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> <5086AC06.5070405@a1poweruser.com> <5214043c002ef030f59c2045344b8725.squirrel@webmail.ee.ryerson.ca> <20121024111144.GF82606@e-new.0x20.net> Message-ID: <1351118204.99369.YahooMailNeo@web113508.mail.gq1.yahoo.com> Date: Wed, 24 Oct 2012 15:36:44 -0700 (PDT) From: Pedro Giffuni Subject: Re: FreeBSD in Google Code-In 2012? You can help too! To: Eitan Adler , =?iso-8859-1?Q?Fernando_Apestegu=EDa?= In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: David Magda , Lars Engels , "freebsd-hackers@freebsd.org" , Fbsd8 , "Wojciech A. Koszek" , "freebsd-ports@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Pedro Giffuni List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 22:36:51 -0000 (cc'ing -ports and cutting most of the rest)=0A=0A> From: Eitan Adler=A0=0A= .> =0A>On 24 October 2012 13:24, Fernando Apestegu=EDa=A0wrote:=0A>> Also r= elated to that, what about writing a section about redports[1]=0A>> in the = porter's handbook[2]?=0A>=0A>This is a good documentation task... but we ne= ed more *coding* tasks as well.=0A>=0A=0AWe do need to port and test patch = (1) from NetBSD or DragonFly to replace=0AGNU patch, and this shouldn't be = difficult.=0A=0AI would guess there are other interesting possibilities in = the ports tree and=0Anew ports count as coding:=0A=0Ahttp://wiki.freebsd.or= g/WantedPorts=0A=0A=0ASo i guess we need porting mentors.=0A=0APedro. From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 05:52:42 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 36C79EC1; Thu, 25 Oct 2012 05:52:42 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0F0D18FC0A; Thu, 25 Oct 2012 05:52:40 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id e12so1233626lag.13 for ; Wed, 24 Oct 2012 22:52:39 -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:content-transfer-encoding; bh=50fP0DyJB7Hr/pCXRfopT9lY/79dFex9tRYmF/Cf+UA=; b=HwgEa9T1KBd7IhRAXiBuaUOUO7EQgYLL7cPnCUXU5BLS3NSvWK/Lxj6W7uZj4OS3D7 RfdP0UrPIv+Oxuq1nMLlhDLUx+cuSOgQT3Xf8AEJvUX7eqbGLa7RBsjWtQv5UBLTO96Y TRhUhIMwf6EsDnrcNxLAd+XwkCYx+rFdPGBpF81gCMjmcwOBFznBJTuQpLpMChFQtoVX CS+BiLb7io6KEySGiWuVevu71PL6TNoRoHEqKGXD5IXWgsI/iVJgxa1O2tL4fFA/aS/w vxGWQS3ZhR3jmk6o6wd+aQhdCGs/ZwOje8p8JC/sYWLQ4EIwzQRjbnZbV6izjmGpnfWr 4BiA== MIME-Version: 1.0 Received: by 10.112.26.131 with SMTP id l3mr866140lbg.26.1351144359574; Wed, 24 Oct 2012 22:52:39 -0700 (PDT) Received: by 10.152.1.193 with HTTP; Wed, 24 Oct 2012 22:52:39 -0700 (PDT) In-Reply-To: References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> <5086AC06.5070405@a1poweruser.com> <5214043c002ef030f59c2045344b8725.squirrel@webmail.ee.ryerson.ca> <20121024111144.GF82606@e-new.0x20.net> Date: Thu, 25 Oct 2012 07:52:39 +0200 Message-ID: Subject: Re: FreeBSD in Google Code-In 2012? You can help too! From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: David Magda , Lars Engels , freebsd-hackers@freebsd.org, Fbsd8 , "Wojciech A. Koszek" , freebsd-current@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 05:52:42 -0000 On Wed, Oct 24, 2012 at 7:36 PM, Eitan Adler wrote: > On 24 October 2012 13:24, Fernando Apestegu=EDa > wrote: >> Also related to that, what about writing a section about redports[1] >> in the porter's handbook[2]? > > This is a good documentation task... but we need more *coding* tasks as w= ell. What about improving bsd ctags by adding a recursive mode like in GNU ctags= ? > >> And as a side question, shouldn't some (or all) of these tasks be >> listed also in JuniorTasks[3]? > > I'll link the page: good point. > -- > Eitan Adler From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 06:03:43 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 34EB1255; Thu, 25 Oct 2012 06:03:43 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id B4D878FC08; Thu, 25 Oct 2012 06:03:42 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id k10so1343111iag.13 for ; Wed, 24 Oct 2012 23:03:42 -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=mcEN7bU0iqk4vmlDVdqMyJWho3z98ENpBp1dsUaQONc=; b=pDE09O8EL8QphR0ust/WiK+JWP+dGjdOfQqEOfNdoUNWDoNIjpikGWc/fBYl0iq4NZ 6X+Yx8Z/f1oOT2E4L8x65ndYZB+k20CD4VKwKAmnI+mWbftV9RAwdcCCsvkllgHOynqV 4jxeAsrTKhUp9ZdmsmocPklDgIvprgcgXU8dld7RiB1pZPMhH77uCyybeKriy2mYZWOK QCEun/QrfIUlPMjzG+LCOOxdidgOuhJrvTOgBqIm3iNzc1lSOFBXHc+PiI5ECeC+j/Ne u+BXQCzcuCdUt5TXe3kauI7nCrYVKvIfk7L75cHQkLGB7G4rhD53zUbrSa2E+tNxZIdA aoyw== MIME-Version: 1.0 Received: by 10.42.52.5 with SMTP id h5mr15903687icg.50.1351145022278; Wed, 24 Oct 2012 23:03:42 -0700 (PDT) Received: by 10.64.32.10 with HTTP; Wed, 24 Oct 2012 23:03:42 -0700 (PDT) In-Reply-To: <1351118204.99369.YahooMailNeo@web113508.mail.gq1.yahoo.com> References: <20121016101957.GB53800@FreeBSD.org> <20121022174457.GB59689@FreeBSD.org> <5086AC06.5070405@a1poweruser.com> <5214043c002ef030f59c2045344b8725.squirrel@webmail.ee.ryerson.ca> <20121024111144.GF82606@e-new.0x20.net> <1351118204.99369.YahooMailNeo@web113508.mail.gq1.yahoo.com> Date: Thu, 25 Oct 2012 09:03:42 +0300 Message-ID: Subject: Re: FreeBSD in Google Code-In 2012? You can help too! From: Alexander Yerenkow To: Pedro Giffuni Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: David Magda , Lars Engels , "freebsd-hackers@freebsd.org" , Fbsd8 , "Wojciech A. Koszek" , Eitan Adler , "freebsd-ports@freebsd.org" , =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 06:03:43 -0000 2012/10/25 Pedro Giffuni > (cc'ing -ports and cutting most of the rest) > > > From: Eitan Adler > .> > >On 24 October 2012 13:24, Fernando Apestegu=EDa wrote: > >> Also related to that, what about writing a section about redports[1] > >> in the porter's handbook[2]? > > > >This is a good documentation task... but we need more *coding* tasks as > well. > > > > We do need to port and test patch (1) from NetBSD or DragonFly to replace > GNU patch, and this shouldn't be difficult. > > I would guess there are other interesting possibilities in the ports tree > and > new ports count as coding: > > http://wiki.freebsd.org/WantedPorts Interesting, there is mentioned LWJGL, while I have patch for native build for about a year. I poked upstream about it again, I hope they will apply it in next version. > > > So i guess we need porting mentors. > > Pedro. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > --=20 Regards, Alexander Yerenkow From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 21:15:23 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 664) id 051A9C87; Thu, 25 Oct 2012 21:15:23 +0000 (UTC) Date: Thu, 25 Oct 2012 14:15:22 -0700 From: David O'Brien To: Marcel Moolenaar , Garrett Cooper , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121025211522.GA32636@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Marcel Moolenaar , Garrett Cooper , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> X-Operating-System: FreeBSD 10.0-CURRENT X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: obrien@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 21:15:23 -0000 On Mon, Oct 08, 2012 at 09:11:29AM -0700, Marcel Moolenaar wrote: > two independent efforts (ATF & bmake) and there was no indication that > one would be greatly benefitted from the other. At least not to the > point of creating a dependency. It seems we do have the situation where folks feel there is a dependency between the two. > Before we can switch permanently to bmake, we need to do the following > first: > 1. Request an EXP ports build with bmake as make(1). This should tell > us the "damage" of switching to bmake for ports. > 2. In parallel with 1: build www & docs with bmake and assess the > damage > 3. Fix all the damage > > It could be a while (many weeks) before we get to 4, so the question Given the time this will take, I feel we need to add another knob to the Bmake build so that 'make world' gives one both the FreeBSD make as /usr/bin/make and Bmake as /usr/bin/bmake. thoughts, -- -- David (obrien@FreeBSD.org) From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 21:22:33 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 157A111E; Thu, 25 Oct 2012 21:22:33 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3C7FC8FC0A; Thu, 25 Oct 2012 21:22:30 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1049134bkc.13 for ; Thu, 25 Oct 2012 14:22:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=mKFtmA6iC4Wa6Y13MSHjPadUUi9oonRzFXt/cXA78CI=; b=HgGo+V05BOlFLvgnKs4MCWi7EvGLkj99KcrON0UOKtT5KuKJmNennF2q8RoYocmJmC S9zTOLS0DfUBRbDsA2f9+Eqj5DYa93OWBcaJ/c4OZivsK1agNzKS1ecz20SoyJmQf2Lz MJsYoWTHapx2nnPOXSxPdRg7Rct5i7dW1oB4BljqKs4LGo8UwEnxLYcOxTF4Bz8zyiqo goVi2fEoPBRAvJyFdiUrApmoWuhWhAwaNmdN+JYQGHwvozpkI8QlCi7tIPAMxOT2aHka QfVhOv9PihtVkctw6ZLthjwGk657w1rJXzx+SBeuQG3vli+ObO/M5H9RTAWOmuOpiESk GbqA== Received: by 10.204.7.213 with SMTP id e21mr6348876bke.32.1351200149380; Thu, 25 Oct 2012 14:22:29 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.50.197 with HTTP; Thu, 25 Oct 2012 14:21:59 -0700 (PDT) In-Reply-To: <20121025211522.GA32636@dragon.NUXI.org> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> From: Chris Rees Date: Thu, 25 Oct 2012 22:21:59 +0100 X-Google-Sender-Auth: npWHCYKONeZwrEMw_SfUJWoCxHw Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program To: obrien@freebsd.org, Marcel Moolenaar , Garrett Cooper , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 21:22:33 -0000 On 25 October 2012 22:15, David O'Brien wrote: > On Mon, Oct 08, 2012 at 09:11:29AM -0700, Marcel Moolenaar wrote: >> two independent efforts (ATF & bmake) and there was no indication that >> one would be greatly benefitted from the other. At least not to the >> point of creating a dependency. > > It seems we do have the situation where folks feel there is a dependency > between the two. > >> Before we can switch permanently to bmake, we need to do the following >> first: >> 1. Request an EXP ports build with bmake as make(1). This should tell >> us the "damage" of switching to bmake for ports. >> 2. In parallel with 1: build www & docs with bmake and assess the >> damage >> 3. Fix all the damage >> >> It could be a while (many weeks) before we get to 4, so the question > > Given the time this will take, I feel we need to add another knob to the > Bmake build so that 'make world' gives one both the FreeBSD make as > /usr/bin/make and Bmake as /usr/bin/bmake. > We really aren't going to have any luck yet... [crees@pegasus]/usr/ports% sudo make MAKE=/usr/bin/bmake index |& head Generating INDEX-9 - please wait..bmake: "/usr/ports/Mk/bsd.port.mk" line 5127: warning: duplicate script for target "-depends" ignored bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous script for "-depends" defined here bmake: "/usr/ports/Mk/bsd.port.mk" line 5127: warning: duplicate script for target "-depends" ignored bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous script for "-depends" defined here bmake: "/usr/ports/Mk/bsd.port.mk" line 5127: warning: duplicate script for target "-depends" ignored bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous script for "-depends" defined here bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: duplicate script for target "-depends" ignored bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous script for "-depends" defined here bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: duplicate script for target "-depends" ignored bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous script for "-depends" defined here Looks like a few missing .if !target s, but the breakage is pretty big even for simple things :/ Chris From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 21:23:25 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35B2E2B7; Thu, 25 Oct 2012 21:23:25 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [70.36.220.4]) by mx1.freebsd.org (Postfix) with ESMTP id C07CF8FC1C; Thu, 25 Oct 2012 21:23:18 +0000 (UTC) Received: from marcelm-sslvpn-nc.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mail.xcllnt.net (8.14.5/8.14.5) with ESMTP id q9PLNBYO005770 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 25 Oct 2012 14:23:12 -0700 (PDT) (envelope-from marcel@xcllnt.net) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program From: Marcel Moolenaar In-Reply-To: <20121025211522.GA32636@dragon.NUXI.org> Date: Thu, 25 Oct 2012 14:23:06 -0700 Content-Transfer-Encoding: 7bit Message-Id: <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> To: obrien@FreeBSD.ORG X-Mailer: Apple Mail (2.1499) Cc: Garrett Cooper , freebsd-hackers@FreeBSD.ORG, "Simon J. Gerraty" , freebsd-arch@FreeBSD.ORG X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 21:23:25 -0000 On Oct 25, 2012, at 2:15 PM, David O'Brien wrote: > On Mon, Oct 08, 2012 at 09:11:29AM -0700, Marcel Moolenaar wrote: >> two independent efforts (ATF & bmake) and there was no indication that >> one would be greatly benefitted from the other. At least not to the >> point of creating a dependency. > > It seems we do have the situation where folks feel there is a dependency > between the two. > >> Before we can switch permanently to bmake, we need to do the following >> first: >> 1. Request an EXP ports build with bmake as make(1). This should tell >> us the "damage" of switching to bmake for ports. >> 2. In parallel with 1: build www & docs with bmake and assess the >> damage >> 3. Fix all the damage >> >> It could be a while (many weeks) before we get to 4, so the question > > Given the time this will take, I feel we need to add another knob to the > Bmake build so that 'make world' gives one both the FreeBSD make as > /usr/bin/make and Bmake as /usr/bin/bmake. I think there are 2 reasons why not to: 1. The people working on ATF have not raised this concern and have expressed that using the WITH_BMAKE knob is but a small price to pay. So let's work the bmake side and be able to get rid of the knob as soon as possible. 2. More knobs isn't better -- we must have none of the knobs in the end, so the more we create, the more work we have to get rid of them. That's just more work spent not focusing on the task at hand and thus more time wasted. In short: this isn't a 2-knob problem by any stretch of the imagination. -- Marcel Moolenaar marcel@xcllnt.net From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 21:32:16 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0AF1064E; Thu, 25 Oct 2012 21:32:16 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9A3688FC12; Thu, 25 Oct 2012 21:32:15 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so2693750oag.13 for ; Thu, 25 Oct 2012 14:32:14 -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=S1vomkvaI4D1s9c69G7NQT3NFnjnsPsRE9RnxahEdV8=; b=kHSbgnITSSAPN7mCxRb78r/Rxrb5/6gm+dY5jAMztpJZGfQ9z+8zlkvAEdlBTN9o7F ra+3mxPirDEA7IZJNNOCwS14Yr7+92JuTEBXRKSVgjblaKC0jrYKYaHzF/Q8vBHfN3zm Q6U1xww2GHWkZ7miVnbmBuQfEgV/FkBvCAJXaWH0IUn8RNnJ+hbUV+CCsA+CSjkLnKEe RtWzu9SvUuQPWNzt9m4UQ9IM1WTTmHuMJGEagZ7UQ5GALLglymtpHaA4l4XBo7dyNBM5 hkxKnxiyo1q6FoNi1HIqT/eTCRTaagrYcIgnUtVPKx7CyyrwKVDa0qXr4cW6RLFVh99N UP/A== MIME-Version: 1.0 Received: by 10.60.13.198 with SMTP id j6mr17900880oec.51.1351200734770; Thu, 25 Oct 2012 14:32:14 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Thu, 25 Oct 2012 14:32:14 -0700 (PDT) In-Reply-To: <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> Date: Thu, 25 Oct 2012 14:32:14 -0700 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program From: Garrett Cooper To: Marcel Moolenaar Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, "Simon J. Gerraty" , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 21:32:16 -0000 On Thu, Oct 25, 2012 at 2:23 PM, Marcel Moolenaar wrote: ... > I think there are 2 reasons why not to: > > 1. The people working on ATF have not raised this concern and > have expressed that using the WITH_BMAKE knob is but a small > price to pay. So let's work the bmake side and be able to > get rid of the knob as soon as possible. It is annoying with the magnitude of build-related errors, but I have a workaround. > 2. More knobs isn't better -- we must have none of the knobs in > the end, so the more we create, the more work we have to get > rid of them. That's just more work spent not focusing on the > task at hand and thus more time wasted. Yes, but not being able to update one's machine makes me sad panda. > In short: this isn't a 2-knob problem by any stretch of the > imagination. The real issue is that I need to take the patch Simon developed, run with it, and in parallel he needs to -- and hopefully already is -- engage portmgr to get it through a number of exp- runs to make sure bmake does what it's supposed to do with his patch. Backwards compatibility will need to be maintained for ports because ports has to work on multiple versions of FreeBSD [where bmake isn't yet available/present], so maybe a fork in the road for bsd.port.mk should be devised in order to make everything work. Thanks! -Garrett From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 22:00:24 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AEADAEB2; Thu, 25 Oct 2012 22:00:24 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id AF14B8FC0C; Thu, 25 Oct 2012 22:00:23 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id e12so2606328lag.13 for ; Thu, 25 Oct 2012 15:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=5SHKNLtiAlP3vb6aQjkFBJcwAtTu7QqCwk30eZIivYI=; b=uPJ3s+XC8O32P+9NkfEJ3KfIEKY+KOl2R5lgfEsxkJg6RMKw2LbKQ21AgV3vTAoWkm PT9HByxHy3lCXDO8GeWqElp0py4Hetkgf1SAiXoQ/ooUONRxqCJGkCTEx4TfRTwo6KoZ zcqUuMz4GJbUVAKqBG4q9sbvEJ40/cNO2eBh3WLeAAlf3Yjkd/1+TRpaSg2+Xs2CXsqU XoKDWXi6Ax4v7NCGR6ulWtfFBVwc7SEY58LRylPdpLpPjJk2K5B5WnYBH/ZKliJj0fGv UJ++YShsznHaXnP1GbJu2ta7qnRgFPlUR10jR9H3XQw0vqZyGEmNlh8R+mX4ym8DVy53 oxAw== MIME-Version: 1.0 Received: by 10.112.42.201 with SMTP id q9mr8152578lbl.28.1351202422109; Thu, 25 Oct 2012 15:00:22 -0700 (PDT) Received: by 10.112.43.232 with HTTP; Thu, 25 Oct 2012 15:00:21 -0700 (PDT) Date: Thu, 25 Oct 2012 15:00:21 -0700 Message-ID: Subject: Installing make as pmake when WITH_BMAKE specified (was Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program) From: Garrett Cooper To: Marcel Moolenaar Content-Type: multipart/mixed; boundary=90e6ba30915663b88d04cce954bf Cc: freebsd-hackers@freebsd.org, "Simon J. Gerraty" , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 22:00:24 -0000 --90e6ba30915663b88d04cce954bf Content-Type: text/plain; charset=ISO-8859-1 On Thu, Oct 25, 2012 at 2:32 PM, Garrett Cooper wrote: ... > The real issue is that I need to take the patch Simon developed, run > with it, and in parallel he needs to -- and hopefully already is -- > engage portmgr to get it through a number of exp- runs to make sure > bmake does what it's supposed to do with his patch. Backwards > compatibility will need to be maintained for ports because ports has > to work on multiple versions of FreeBSD [where bmake isn't yet > available/present], so maybe a fork in the road for bsd.port.mk should > be devised in order to make everything work. Here's an updated version of the workaround that works properly in all cases and installs bmake as make and links make to pmake when WITH_BMAKE=yes, and installs make as make when WITHOUT_BMAKE is specified (this works better than the previous patch I sent to Simon). The point of the patch isn't to discourage bmake use; in fact this encourages bmake use more because I'm able to use bmake as my system make, but be able to fall back to pmake as needed. Thanks! -Garrett --90e6ba30915663b88d04cce954bf Content-Type: application/octet-stream; name="install-make-as-pmake-when-WITH_BMAKE-specified.patch" Content-Disposition: attachment; filename="install-make-as-pmake-when-WITH_BMAKE-specified.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h8qec0yz0 SW5kZXg6IHN5cy9jb25mL2tlcm4ucG9zdC5tawo9PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzeXMvY29uZi9rZXJu LnBvc3QubWsJKHJldmlzaW9uIDI0MTk3MykKKysrIHN5cy9jb25mL2tlcm4ucG9zdC5tawkod29y a2luZyBjb3B5KQpAQCAtNjEsMTIgKzYxLDIxIEBACiAJT1NWRVJTSU9OPSR7T1NSRUxEQVRFfSBc CiAJV1JLRElSUFJFRklYPSR7V1JLRElSUFJFRklYfQogCisuaWYgZGVmaW5lZCguUEFSU0VGSUxF KQorIyBSZW1vdmUgYm1ha2Utb25seSBzdXBwb3J0ZWQgTUFLRUZMQUdTCitQT1JUU01BS0VGTEFH Uzo9ICR7TUFLRUZMQUdTOnRXOlMvLU4gLy86Qy8gLVtKVF0gW14gXSsgLyAvZ30KK1BPUlRTTU9E VUxFU0VOVis9IE1BS0VGTEFHUz0iJHtQT1JUU01BS0VGTEFHU30iCitQTUFLRT0JcG1ha2UKKy5l bHNlCitQTUFLRT0JbWFrZQorLmVuZGlmCisKICMgVGhlIFdSS0RJUiBuZWVkcyB0byBiZSBjbGVh bmVkIGJlZm9yZSBidWlsZGluZywgYW5kIHRyeWluZyB0byBjaGFuZ2UgdGhlIHRhcmdldAogIyB3 aXRoIGEgOkMgcGF0dGVybiBiZWxvdyByZXN1bHRzIGluIGluc3RhbGwgLT4gaW5zdGNsZWFuCiBh bGw6CiAuZm9yIF9faSBpbiAke1BPUlRTX01PRFVMRVN9CiAJQCR7RUNIT30gIj09PT4gUG9ydHMg bW9kdWxlICR7X19pfSAoYWxsKSIKLQljZCAkJHtQT1JUU0RJUjotL3Vzci9wb3J0c30vJHtfX2l9 OyAke1BPUlRTTU9EVUxFU0VOVn0gJHtNQUtFfSAtQiBjbGVhbiBhbGwKKwljZCAkJHtQT1JUU0RJ UjotL3Vzci9wb3J0c30vJHtfX2l9OyAke1BPUlRTTU9EVUxFU0VOVn0gJHtQTUFLRX0gLUIgY2xl YW4gYWxsCiAuZW5kZm9yCiAKIC5mb3IgX190YXJnZXQgaW4gaW5zdGFsbCByZWluc3RhbGwgY2xl YW4KQEAgLTc0LDcgKzgzLDcgQEAKIHBvcnRzLSR7X190YXJnZXR9OgogLmZvciBfX2kgaW4gJHtQ T1JUU19NT0RVTEVTfQogCUAke0VDSE99ICI9PT0+IFBvcnRzIG1vZHVsZSAke19faX0gKCR7X190 YXJnZXR9KSIKLQljZCAkJHtQT1JUU0RJUjotL3Vzci9wb3J0c30vJHtfX2l9OyAke1BPUlRTTU9E VUxFU0VOVn0gJHtNQUtFfSAtQiAke19fdGFyZ2V0OkMvaW5zdGFsbC9kZWluc3RhbGwgcmVpbnN0 YWxsLzpDL3JlaW5zdGFsbC9kZWluc3RhbGwgcmVpbnN0YWxsL30KKwljZCAkJHtQT1JUU0RJUjot L3Vzci9wb3J0c30vJHtfX2l9OyAke1BPUlRTTU9EVUxFU0VOVn0gJHtQTUFLRX0gLUIgJHtfX3Rh cmdldDpDL2luc3RhbGwvZGVpbnN0YWxsIHJlaW5zdGFsbC86Qy9yZWluc3RhbGwvZGVpbnN0YWxs IHJlaW5zdGFsbC99CiAuZW5kZm9yCiAuZW5kZm9yCiAuZW5kaWYKSW5kZXg6IHVzci5iaW4vTWFr ZWZpbGUKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PQotLS0gdXNyLmJpbi9NYWtlZmlsZQkocmV2aXNpb24gMjQxOTczKQor KysgdXNyLmJpbi9NYWtlZmlsZQkod29ya2luZyBjb3B5KQpAQCAtMjgwLDEwICsyODAsOSBAQAog LmlmICR7TUtfTUFLRX0gIT0gIm5vIgogLmlmICR7TUtfQk1BS0V9ICE9ICJubyIKIFNVQkRJUis9 CWJtYWtlCi0uZWxzZQorLmVuZGlmCiBTVUJESVIrPQltYWtlCiAuZW5kaWYKLS5lbmRpZgogCiAu aWYgJHtNS19NQU5fVVRJTFN9ICE9ICJubyIKIFNVQkRJUis9CWNhdG1hbgpJbmRleDogdXNyLmJp bi9tYWtlL01ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHVzci5iaW4vbWFrZS9NYWtlZmlsZQkocmV2 aXNpb24gMjQxOTczKQorKysgdXNyLmJpbi9tYWtlL01ha2VmaWxlCSh3b3JraW5nIGNvcHkpCkBA IC00LDcgKzQsMTcgQEAKIAogLmluY2x1ZGUgPGJzZC5vd24ubWs+CiAKKy5pZiAhZGVmaW5lZChQ Uk9HKQorLmlmICR7TUtfQk1BS0V9ICE9ICJubyIKIFBST0c9CW1ha2UKK0xJTktTKz0JbWFrZSBw bWFrZQorLmVsc2UKK1BST0c9CXBtYWtlCitwbWFrZS4xOiBtYWtlLjEKKwljcCAkey5BTExTUkN9 ICR7LlRBUkdFVH0KK01BTj0JcG1ha2UuMQorLmVuZGlmCisuZW5kaWYKIENGTEFHUys9LUkkey5D VVJESVJ9CiBTUkNTPQlhcmNoLmMgYnVmLmMgY29uZC5jIGRpci5jIGZvci5jIGhhc2guYyBoYXNo X3RhYmxlcy5jIGpvYi5jCVwKIAlsc3QuYyBtYWluLmMgbWFrZS5jIHBhcnNlLmMgcHJvYy5jIHNo ZWxsLmMgc3RyLmMgc3VmZi5jIHRhcmcuYwlcCg== --90e6ba30915663b88d04cce954bf-- From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 22:01:59 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 251A11DD; Thu, 25 Oct 2012 22:01:59 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7237D8FC12; Thu, 25 Oct 2012 22:01:58 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1058049bkc.13 for ; Thu, 25 Oct 2012 15:01:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=U+ka8Th8PrqAfpev8HG4moakD+5iK870o0aGuE2bTeA=; b=XjHJhbDYYRrkZ6VOlBFKeOwkzFmf7cg7QEY928+7UXFk3gR7fryrTHjpv4VZ0rncbA Y2CB+RUjpY2CpLUbI1mIE2iuu8vuEruIYJMBZmftu/+vWgfcCBkYWCwsyGRTPx1DIDDc aQZomAVz2ap6A/NS5XCgnHJO37yW3xnEDLVu/H5yPBpMt6za4vO35cwUm98zgoXXojQ7 f9GP9U/KaL6hh5dsrwiXrEBhL/MlK9AytnvCFlb7U/dV9T7lNbGWOhD8nxotg5zvlf1i Mjk73TrxHV+0tfXyIrj3y4M4L0UX5qPWFILO1HBDSvOM0JOjtjpP9xLniMmP1jA/+EvL E/zg== Received: by 10.204.150.213 with SMTP id z21mr6712030bkv.45.1351202517287; Thu, 25 Oct 2012 15:01:57 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.50.197 with HTTP; Thu, 25 Oct 2012 15:01:27 -0700 (PDT) In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> From: Chris Rees Date: Thu, 25 Oct 2012 23:01:27 +0100 X-Google-Sender-Auth: 5m662tMYgFMHAbnup1v-4ks_kk0 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" , Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 22:01:59 -0000 On 25 October 2012 22:32, Garrett Cooper wrote: > On Thu, Oct 25, 2012 at 2:23 PM, Marcel Moolenaar wrote: > > ... > >> I think there are 2 reasons why not to: >> >> 1. The people working on ATF have not raised this concern and >> have expressed that using the WITH_BMAKE knob is but a small >> price to pay. So let's work the bmake side and be able to >> get rid of the knob as soon as possible. > > It is annoying with the magnitude of build-related errors, but I have > a workaround. > >> 2. More knobs isn't better -- we must have none of the knobs in >> the end, so the more we create, the more work we have to get >> rid of them. That's just more work spent not focusing on the >> task at hand and thus more time wasted. > > Yes, but not being able to update one's machine makes me sad panda. > >> In short: this isn't a 2-knob problem by any stretch of the >> imagination. > > The real issue is that I need to take the patch Simon developed, run > with it, and in parallel he needs to -- and hopefully already is -- > engage portmgr to get it through a number of exp- runs to make sure > bmake does what it's supposed to do with his patch. Backwards > compatibility will need to be maintained for ports because ports has > to work on multiple versions of FreeBSD [where bmake isn't yet > available/present], so maybe a fork in the road for bsd.port.mk should > be devised in order to make everything work. Now you've terrified me, and probably most other ports people too. Is there a Wiki page where the actual benefits of moving to bmake are made clear? This is a major, *major* upheaval, and having two versions of bsd.port.mk for years is simply not an option. Have you discussed this on ports@? Chris From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 22:12:47 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBE754F3; Thu, 25 Oct 2012 22:12:47 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 9151F8FC12; Thu, 25 Oct 2012 22:12:47 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9PMClKZ009793; Thu, 25 Oct 2012 22:12:47 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9PMCkUX009792; Thu, 25 Oct 2012 22:12:46 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Fri, 26 Oct 2012 00:12:44 +0200 From: Baptiste Daroussin To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121025221244.GG3808@ithaqua.etoilebsd.net> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c7hkjup166d4FzgN" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Garrett Cooper , freebsd-hackers@FreeBSD.org, Marcel Moolenaar , "Simon J. Gerraty" , freebsd-arch@FreeBSD.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 22:12:47 -0000 --c7hkjup166d4FzgN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 25, 2012 at 11:01:27PM +0100, Chris Rees wrote: > On 25 October 2012 22:32, Garrett Cooper wrote: > > On Thu, Oct 25, 2012 at 2:23 PM, Marcel Moolenaar w= rote: > > > > ... > > > >> I think there are 2 reasons why not to: > >> > >> 1. The people working on ATF have not raised this concern and > >> have expressed that using the WITH_BMAKE knob is but a small > >> price to pay. So let's work the bmake side and be able to > >> get rid of the knob as soon as possible. > > > > It is annoying with the magnitude of build-related errors, but I have > > a workaround. > > > >> 2. More knobs isn't better -- we must have none of the knobs in > >> the end, so the more we create, the more work we have to get > >> rid of them. That's just more work spent not focusing on the > >> task at hand and thus more time wasted. > > > > Yes, but not being able to update one's machine makes me sad panda. > > > >> In short: this isn't a 2-knob problem by any stretch of the > >> imagination. > > > > The real issue is that I need to take the patch Simon developed, run > > with it, and in parallel he needs to -- and hopefully already is -- > > engage portmgr to get it through a number of exp- runs to make sure > > bmake does what it's supposed to do with his patch. Backwards > > compatibility will need to be maintained for ports because ports has > > to work on multiple versions of FreeBSD [where bmake isn't yet > > available/present], so maybe a fork in the road for bsd.port.mk should > > be devised in order to make everything work. >=20 > Now you've terrified me, and probably most other ports people too. >=20 > Is there a Wiki page where the actual benefits of moving to bmake are > made clear? This is a major, *major* upheaval, and having two > versions of bsd.port.mk for years is simply not an option. >=20 Not much test has been done on the ports tree about it, from what I have te= sted so far, except from the :tu :tl difference the ports seems to work ootb with both bmake and make, I asked obrien to MFC the support for :tl :tu in make(= 1) to all available platform which he did. Do be able to get the ports tree working with bmake asap, I also asked him = to MFC it to 9.1, from latest reply he got positive answer from re@ about this= , but was waiting for something I don't remember. regards, Bapt --c7hkjup166d4FzgN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCJuVwACgkQ8kTtMUmk6Ez5MACgtT94YHosRKnm/ooojZVnDR0o egcAn0D+MzR3JshGijfnC244TDP0Ay1s =19Jx -----END PGP SIGNATURE----- --c7hkjup166d4FzgN-- From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 22:15:34 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE5E26BC for ; Thu, 25 Oct 2012 22:15:34 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id A6B068FC1D for ; Thu, 25 Oct 2012 22:15:34 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so1587106pad.13 for ; Thu, 25 Oct 2012 15:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8vc2Fq1Q2AfcE/+/Z745cTY+yrAAB5tVzhD8p2hFZNo=; b=AITGH8pRGoYIqJHahAo7HAAfmA2JneFn2DPDW+BGCC5MCll9LbriyZC4gjKnAwtJmW e7HIJJmEnzjbjPOmms0MYAxsE/wQMmBhPS4VWtCQNqG+z9wot/zvLTkUpKRkcZkr99mH RVZNkCGb6apcJugB3/rbvChGmTOwayOFPlfGU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=8vc2Fq1Q2AfcE/+/Z745cTY+yrAAB5tVzhD8p2hFZNo=; b=nRDWq3g+fxlcwCesWyX1GaxFGlxYOE38t8Mk120vPNCXuSQWTxzy7NSVN3TSGeqcAk T6OohDBI0IM5ROFMbriIletjc7LRzyVE0XUfddlns7q/vWdTWIfvPjnCuK85fGUUrc22 9xfUDU0p+EHEXwH4M0NptaWzfdLWv/+/Awu6jslp1GfnkaRt6L8mGyGHkpltP/ye8f6B lYyJLpsf/tjHsVLwTho+o0Xsj+a2fPeVl8gEDQwKq9y72NQbbwSWmySVtL7vYlmkNXBe kcZ1uRW2dv39n+wzkQNgWg7oufsONcaxc16Oby4Vi0jdgvwEg0gCsqKnSJnOuyuPy3va IqKQ== Received: by 10.68.222.105 with SMTP id ql9mr63547869pbc.97.1351203334130; Thu, 25 Oct 2012 15:15:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.161.163 with HTTP; Thu, 25 Oct 2012 15:15:03 -0700 (PDT) In-Reply-To: <20121025221244.GG3808@ithaqua.etoilebsd.net> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> From: Eitan Adler Date: Thu, 25 Oct 2012 18:15:03 -0400 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program To: Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmPLxMT/lqXrpW4WQzw0byHMHyp/r89fsLrGiF+ktU8G6vj/HP1gGeujtAKRDe7cJiqqWqf Cc: Garrett Cooper , freebsd-hackers@freebsd.org, "Simon J. Gerraty" , Chris Rees , freebsd-arch@freebsd.org, Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 22:15:35 -0000 On 25 October 2012 18:12, Baptiste Daroussin wrote: > Not much test has been done on the ports tree about it, from what I have tested > so far, except from the :tu :tl difference the ports seems to work ootb with > both bmake and make, I asked obrien to MFC the support for :tl :tu in make(1) to > all available platform which he did. > > Do be able to get the ports tree working with bmake asap, I also asked him to > MFC it to 9.1, from latest reply he got positive answer from re@ about this, but > was waiting for something I don't remember. The ports tree isn't the only concern. We also need to think about upstream users of bmake that relied on :U and the like working as it does now. We will either need to patch them, or implement a USE_OLD_MAKE flag. -- Eitan Adler From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 22:27:42 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 081AED4F; Thu, 25 Oct 2012 22:27:42 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0016A8FC14; Thu, 25 Oct 2012 22:27:40 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id e12so2631150lag.13 for ; Thu, 25 Oct 2012 15:27:39 -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=eJbk56ioTzMLNcH3D5vYvF11Nuwm6t8P5CuZML8Dn9E=; b=NMtuJfjcUo9tPeOpYmcYvDXU8QUGEc1x4BXxGf0NTuTrbOuGNGM2ZP12BnFvBbLanX 5afRX81/Xr6A+lO/KIChdYBBP7ozKr764w9sVzPI1iymp8Wc2tZahPe0/PP+/irxV+gv IEP/9sRr0gOpMcWGTycNiwTywG2z2b/g7ztbuvYxI/UFnr/gsZ60+BzPVM8J8u5ze2hd RvMki5ty2tRbVUeEMZrXTJ4FB4Zz4LpSQV88vWzor7POSVBNSqZhiySWp1PeS0xgItra v9m7isOFzHMerQaavqayz3Yg/p4CLZdLZeDV/V9dl1CRVlm1CfEgy1Eo/HYh0KVNRTAN jqDQ== MIME-Version: 1.0 Received: by 10.112.98.37 with SMTP id ef5mr8367205lbb.84.1351204059804; Thu, 25 Oct 2012 15:27:39 -0700 (PDT) Received: by 10.112.43.232 with HTTP; Thu, 25 Oct 2012 15:27:39 -0700 (PDT) In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> Date: Thu, 25 Oct 2012 15:27:39 -0700 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program From: Garrett Cooper To: Chris Rees Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" , Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 22:27:42 -0000 On Thu, Oct 25, 2012 at 3:01 PM, Chris Rees wrote: ... > Now you've terrified me, and probably most other ports people too. > > Is there a Wiki page where the actual benefits of moving to bmake are > made clear? This is a major, *major* upheaval, and having two > versions of bsd.port.mk for years is simply not an option. I'm not the best advocate for bmake vs pmake; like bapt@ said in the followup email, most things work out of the box where people aren't trying to be clever, but I've found some interesting edgecases where bmake works and pmake doesn't, and vice versa because the old code depends upon incorrect behavior. I wasn't necessarily advocating having two bsd.*.mk files as the best idea -- it's just what came to mind first. > Have you discussed this on ports@? I haven't, but I hope that someone else started this discussion... Thanks, -Garrett PS I am an optimist, but I'm a realist more than an optimist. I know that changing major/fundamental system components like make, the toolchain, etc requires a good deal of testing and there will be bugs/issues that need to be resolved. We just should make sure that things work as best possible for those looking back as well as those looking forward because it's considerably easier doing development on FreeBSD when I can just update a ports tree, build on 6.x/7.2/7.3, run some quick tests, then switch up to 10 and do other development. From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 22:38:20 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 15B30453; Thu, 25 Oct 2012 22:38:20 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og107.obsmtp.com (exprod7og107.obsmtp.com [64.18.2.167]) by mx1.freebsd.org (Postfix) with ESMTP id 326458FC18; Thu, 25 Oct 2012 22:38:17 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob107.postini.com ([64.18.6.12]) with SMTP ID DSNKUIm/WJLz2SE6onLm+HYlutrcd5BMekp3@postini.com; Thu, 25 Oct 2012 15:38:19 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Thu, 25 Oct 2012 15:35:15 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9PMZFh08204; Thu, 25 Oct 2012 15:35:15 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id E41FF58094; Thu, 25 Oct 2012 15:35:14 -0700 (PDT) To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> Comments: In-reply-to: Chris Rees message dated "Thu, 25 Oct 2012 22:21:59 +0100." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Thu, 25 Oct 2012 15:35:14 -0700 Message-ID: <20121025223514.E41FF58094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Thu, 25 Oct 2012 22:46:56 +0000 Cc: Garrett Cooper , freebsd-hackers@FreeBSD.org, freebsd-arch@FreeBSD.org, Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 22:38:20 -0000 On Thu, 25 Oct 2012 22:21:59 +0100, Chris Rees writes: >We really aren't going to have any luck yet... > >[crees@pegasus]/usr/ports% sudo make MAKE=/usr/bin/bmake index |& head If anyone is eager to play with this, I just have put a copy of ports2bmake.tar.gz in ~sjg/ on freefall. This contains a script that *should* convert ports to bmake syntax, while adding a hack to allow older systems to still work. It will generate a list of all the files it frobs so you can easily revert them - eg. before updating the tree. There's a README file in the tarball which hopefully explains all. Any issues - pls let me know. --sjg From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 23:03:22 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 033A6F76; Thu, 25 Oct 2012 23:03:22 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id CC90A8FC12; Thu, 25 Oct 2012 23:03:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9PN3Lxg014757; Thu, 25 Oct 2012 23:03:21 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9PN3L4x014756; Thu, 25 Oct 2012 23:03:21 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Fri, 26 Oct 2012 01:03:19 +0200 From: Baptiste Daroussin To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121025230319.GH3808@ithaqua.etoilebsd.net> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+Z7/5fzWRHDJ0o7Q" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Garrett Cooper , freebsd-hackers@FreeBSD.org, "Simon J. Gerraty" , freebsd-arch@FreeBSD.org, Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 23:03:22 -0000 --+Z7/5fzWRHDJ0o7Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 25, 2012 at 10:21:59PM +0100, Chris Rees wrote: > On 25 October 2012 22:15, David O'Brien wrote: > > On Mon, Oct 08, 2012 at 09:11:29AM -0700, Marcel Moolenaar wrote: > >> two independent efforts (ATF & bmake) and there was no indication that > >> one would be greatly benefitted from the other. At least not to the > >> point of creating a dependency. > > > > It seems we do have the situation where folks feel there is a dependency > > between the two. > > > >> Before we can switch permanently to bmake, we need to do the following > >> first: > >> 1. Request an EXP ports build with bmake as make(1). This should tell > >> us the "damage" of switching to bmake for ports. > >> 2. In parallel with 1: build www & docs with bmake and assess the > >> damage > >> 3. Fix all the damage > >> > >> It could be a while (many weeks) before we get to 4, so the question > > > > Given the time this will take, I feel we need to add another knob to the > > Bmake build so that 'make world' gives one both the FreeBSD make as > > /usr/bin/make and Bmake as /usr/bin/bmake. > > >=20 > We really aren't going to have any luck yet... >=20 > [crees@pegasus]/usr/ports% sudo make MAKE=3D/usr/bin/bmake index |& head > Generating INDEX-9 - please wait..bmake: "/usr/ports/Mk/bsd.port.mk" > line 5127: warning: duplicate script for target "-depends" ignored > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous > script for "-depends" defined here > bmake: "/usr/ports/Mk/bsd.port.mk" line 5127: warning: duplicate > script for target "-depends" ignored > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous > script for "-depends" defined here > bmake: "/usr/ports/Mk/bsd.port.mk" line 5127: warning: duplicate > script for target "-depends" ignored > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous > script for "-depends" defined here > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: duplicate > script for target "-depends" ignored > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous > script for "-depends" defined here > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: duplicate > script for target "-depends" ignored > bmake: "/usr/ports/Mk/bsd.port.mk" line 5124: warning: using previous > script for "-depends" defined here >=20 > Looks like a few missing .if !target s, but the breakage is pretty big > even for simple things :/ >=20 Have you converted the :U to :tu and :L to :tl? regards, Bapt --+Z7/5fzWRHDJ0o7Q Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCJxTcACgkQ8kTtMUmk6EzQMwCcCrOzjGPAotGlZQBhjfXW/D8n dPYAoLXCnZmdzKm1VPrvAVsPpCoPs0gm =xhNQ -----END PGP SIGNATURE----- --+Z7/5fzWRHDJ0o7Q-- From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 25 22:57:14 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4AE51DA2; Thu, 25 Oct 2012 22:57:14 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og108.obsmtp.com (exprod7og108.obsmtp.com [64.18.2.169]) by mx1.freebsd.org (Postfix) with ESMTP id 6F8828FC08; Thu, 25 Oct 2012 22:57:10 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob108.postini.com ([64.18.6.12]) with SMTP ID DSNKUInDv71ryCHm1ZJgm8JVJv/1GS/8CCur@postini.com; Thu, 25 Oct 2012 15:57:13 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Thu, 25 Oct 2012 15:53:54 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9PMrrh59888; Thu, 25 Oct 2012 15:53:53 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 86DA658094; Thu, 25 Oct 2012 15:53:53 -0700 (PDT) To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> Comments: In-reply-to: Chris Rees message dated "Thu, 25 Oct 2012 23:01:27 +0100." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Thu, 25 Oct 2012 15:53:53 -0700 Message-ID: <20121025225353.86DA658094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Thu, 25 Oct 2012 23:05:23 +0000 Cc: Garrett Cooper , freebsd-hackers@FreeBSD.org, freebsd-arch@FreeBSD.org, Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 22:57:14 -0000 On Thu, 25 Oct 2012 23:01:27 +0100, Chris Rees writes: >Is there a Wiki page where the actual benefits of moving to bmake are >made clear? This is a major, *major* upheaval, and having two >versions of bsd.port.mk for years is simply not an option. There is no need/plan for two versions of bsd.port.mk, the patch I just mentioned, deals with older systems by detecting that bmake was not used, and using it (installing if need be). >Have you discussed this on ports@? I have not at least. This was discussed at the last couple of BSDCan's and dev summits. The original plan discussed at BSDCan a couple of years ago, was to allow bmake and the old make to cooexist for some time so that ports could continue to use the old make. At the last BSDCan we were told that wasn't an option - hence the patch to ports that was mentioned. FWIW the changes to 99.9% of the ports tree are trivial (:L -> :tl etc). The only interesting changes are to bsd.port.mk (the diff other than the above is 54 lines) they cover 2 things - dealing with old make as mentioned above, and man pages. The nested .for loops that deal with MLINKS are replaced with one line - this was safer that attempting to hack those .for loops to work with both makes. --sjg From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 05:01:34 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE4AFC5; Fri, 26 Oct 2012 05:01:34 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 55D658FC0A; Fri, 26 Oct 2012 05:01:33 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q9Q51g8p057622; Fri, 26 Oct 2012 08:01:42 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q9Q51UnS046357; Fri, 26 Oct 2012 08:01:30 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q9Q51USH046356; Fri, 26 Oct 2012 08:01:30 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 26 Oct 2012 08:01:30 +0300 From: Konstantin Belousov To: "Simon J. Gerraty" Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121026050130.GL35915@deviant.kiev.zoral.com.ua> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025225353.86DA658094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XlEUlEMI/M8PZpW+" Content-Disposition: inline In-Reply-To: <20121025225353.86DA658094@chaos.jnpr.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 05:01:34 -0000 --XlEUlEMI/M8PZpW+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 25, 2012 at 03:53:53PM -0700, Simon J. Gerraty wrote: >=20 > On Thu, 25 Oct 2012 23:01:27 +0100, Chris Rees writes: > >Is there a Wiki page where the actual benefits of moving to bmake are > >made clear? This is a major, *major* upheaval, and having two > >versions of bsd.port.mk for years is simply not an option. >=20 > There is no need/plan for two versions of bsd.port.mk, the patch I just > mentioned, deals with older systems by detecting that bmake was not > used, and using it (installing if need be). =20 >=20 > >Have you discussed this on ports@? >=20 > I have not at least. =20 > This was discussed at the last couple of BSDCan's and dev summits. >=20 > The original plan discussed at BSDCan a couple of years ago, was to > allow bmake and the old make to cooexist for some time so that ports > could continue to use the old make. >=20 > At the last BSDCan we were told that wasn't an option - hence the patch > to ports that was mentioned. >=20 > FWIW the changes to 99.9% of the ports tree are trivial (:L -> :tl etc). > The only interesting changes are to bsd.port.mk (the diff other than the > above is 54 lines) they cover 2 things - dealing with old make as > mentioned above, and man pages. The nested .for loops that deal > with MLINKS are replaced with one line - this was safer that attempting > to hack those .for loops to work with both makes. I am watching the serial for some time. Could please, someone, describe why bmake cannot grow the compat features to be a drop-in replacement for FreeBSD make, instead of patching all the trees ? In particular, why cannot the ':L' and ':U' support be added ? --XlEUlEMI/M8PZpW+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlCKGSoACgkQC3+MBN1Mb4iAYACfSwsdXrng2TEhcB7KtNQsjkiE U0UAoIa8x38lzjsftwX4EkITmpoBIeaC =LELO -----END PGP SIGNATURE----- --XlEUlEMI/M8PZpW+-- From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 06:23:12 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41F922BE; Fri, 26 Oct 2012 06:23:12 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 872FA8FC08; Fri, 26 Oct 2012 06:23:11 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1138412bkc.13 for ; Thu, 25 Oct 2012 23:23:10 -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=EEwzFcncGp9ZkI0KBoBbujGDU0SP2jt5pLBsuLDXGXw=; b=v7HIu/9MjTrNkozEYKovwpXoZ8ElCLTdknkvoWwZXIKjPfR9fxq4YdV2DMFnjCqicL AWfXEDgbsPL2UhNk/tZdpzlfln92B+SReCxY9oWCiBhwZ2BGKOFoYm+/UEZg/6C+CphU f7CODOWF4SkDpoOdHpmhfCHowBM4F3TSATe5VixeSr75d5W60p5II9RQ4ueWY8Hi7UEc xixlxUE3fqG+d+t5pDOIgYXcIvc/vwFwbHV/OLlXPZdONChqwCJdN0YL8x85Q7j/UjM+ hzL3imSF0HD96EGt+IontWfUApMwnaDvO54Raadia62VGOkC0IweDyNdqFKaJBfTDnFm OBfA== MIME-Version: 1.0 Received: by 10.204.4.200 with SMTP id 8mr7049538bks.81.1351232590037; Thu, 25 Oct 2012 23:23:10 -0700 (PDT) Received: by 10.204.50.197 with HTTP; Thu, 25 Oct 2012 23:23:09 -0700 (PDT) Received: by 10.204.50.197 with HTTP; Thu, 25 Oct 2012 23:23:09 -0700 (PDT) In-Reply-To: <20121026050130.GL35915@deviant.kiev.zoral.com.ua> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025225353.86DA658094@chaos.jnpr.net> <20121026050130.GL35915@deviant.kiev.zoral.com.ua> Date: Fri, 26 Oct 2012 07:23:09 +0100 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program From: Chris Rees To: Konstantin Belousov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "Simon J. Gerraty" , freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 06:23:12 -0000 On 26 Oct 2012 06:01, "Konstantin Belousov" wrote: > > On Thu, Oct 25, 2012 at 03:53:53PM -0700, Simon J. Gerraty wrote: > > > > On Thu, 25 Oct 2012 23:01:27 +0100, Chris Rees writes: > > >Is there a Wiki page where the actual benefits of moving to bmake are > > >made clear? This is a major, *major* upheaval, and having two > > >versions of bsd.port.mk for years is simply not an option. > > > > There is no need/plan for two versions of bsd.port.mk, the patch I just > > mentioned, deals with older systems by detecting that bmake was not > > used, and using it (installing if need be). > > > > >Have you discussed this on ports@? > > > > I have not at least. > > This was discussed at the last couple of BSDCan's and dev summits. > > > > The original plan discussed at BSDCan a couple of years ago, was to > > allow bmake and the old make to cooexist for some time so that ports > > could continue to use the old make. > > > > At the last BSDCan we were told that wasn't an option - hence the patch > > to ports that was mentioned. > > > > FWIW the changes to 99.9% of the ports tree are trivial (:L -> :tl etc). > > The only interesting changes are to bsd.port.mk (the diff other than the > > above is 54 lines) they cover 2 things - dealing with old make as > > mentioned above, and man pages. The nested .for loops that deal > > with MLINKS are replaced with one line - this was safer that attempting > > to hack those .for loops to work with both makes. > > I am watching the serial for some time. Could please, someone, describe > why bmake cannot grow the compat features to be a drop-in replacement for > FreeBSD make, instead of patching all the trees ? > > In particular, why cannot the ':L' and ':U' support be added ? :U is already used by bmake for something else- I can't remember what, but I checked the man page last night :( Chris From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 06:35:34 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 337DB917; Fri, 26 Oct 2012 06:35:34 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og106.obsmtp.com (exprod7og106.obsmtp.com [64.18.2.165]) by mx1.freebsd.org (Postfix) with ESMTP id A04C08FC08; Fri, 26 Oct 2012 06:35:30 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob106.postini.com ([64.18.6.12]) with SMTP ID DSNKUIovLOkhHKgAIzWWN8MEBl4n8T+8UllE@postini.com; Thu, 25 Oct 2012 23:35:33 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Thu, 25 Oct 2012 23:23:56 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9Q6Nuh66076; Thu, 25 Oct 2012 23:23:56 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 3143A58094; Thu, 25 Oct 2012 23:23:56 -0700 (PDT) To: Konstantin Belousov Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: <20121026050130.GL35915@deviant.kiev.zoral.com.ua> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025225353.86DA658094@chaos.jnpr.net> <20121026050130.GL35915@deviant.kiev.zoral.com.ua> Comments: In-reply-to: Konstantin Belousov message dated "Fri, 26 Oct 2012 08:01:30 +0300." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Thu, 25 Oct 2012 23:23:56 -0700 Message-ID: <20121026062356.3143A58094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Fri, 26 Oct 2012 11:38:45 +0000 Cc: freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 06:35:34 -0000 >In particular, why cannot the ':L' and ':U' support be added ? Because they already exist - with different meanings. They were added to NetBSD make over 10 years ago, from the OSF version of pmake. In several areas the behavior of bmake has been changed to make it a drop in replacement for FreeBSD, but the above (not used at all in the FreeBSD base) are easier dealt with the other way. The :tl and :tu equivalents were added to FreeBSD make a while back to ease the transition. From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 06:38:34 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 787FCACB; Fri, 26 Oct 2012 06:38:34 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og105.obsmtp.com (exprod7og105.obsmtp.com [64.18.2.163]) by mx1.freebsd.org (Postfix) with ESMTP id 289318FC08; Fri, 26 Oct 2012 06:38:30 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob105.postini.com ([64.18.6.12]) with SMTP ID DSNKUIov5TH4yjXpmu1IdR00oqLDgJWEhiXB@postini.com; Thu, 25 Oct 2012 23:38:34 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Thu, 25 Oct 2012 23:33:25 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9Q6XPh91854; Thu, 25 Oct 2012 23:33:25 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id C178958094; Thu, 25 Oct 2012 23:33:24 -0700 (PDT) To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025225353.86DA658094@chaos.jnpr.net> <20121026050130.GL35915@deviant.kiev.zoral.com.ua> Comments: In-reply-to: Chris Rees message dated "Fri, 26 Oct 2012 07:23:09 +0100." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Thu, 25 Oct 2012 23:33:24 -0700 Message-ID: <20121026063324.C178958094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Fri, 26 Oct 2012 11:39:16 +0000 Cc: Konstantin Belousov , freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 06:38:34 -0000 >> In particular, why cannot the ':L' and ':U' support be added ? > >:U is already used by bmake for something else- I can't remember what, but >I checked the man page last night :( http://www.crufty.net/sjg/blog/freebsd-meta-mode.htm might provide some interesting background. It is a more FreeBSD focused (and up to date), coverage of material I presented at BSDCan a couple of years ago. From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 13:15:59 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF371672 for ; Fri, 26 Oct 2012 13:15:59 +0000 (UTC) (envelope-from papowell@astart.com) Received: from astart2.astart.com (99-111-96-109.uvs.sndgca.sbcglobal.net [99.111.96.109]) by mx1.freebsd.org (Postfix) with ESMTP id 764408FC0A for ; Fri, 26 Oct 2012 13:15:58 +0000 (UTC) Received: from laptop_83.private (localhost [127.0.0.1]) by astart2.astart.com (8.14.4/8.14.4) with ESMTP id q9QD2Abv023505 for ; Fri, 26 Oct 2012 06:02:10 -0700 (PDT) (envelope-from papowell@astart.com) Message-ID: <508A89D2.807@astart.com> Date: Fri, 26 Oct 2012 06:02:10 -0700 From: Patrick Powell Organization: Astart Technologies User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120807 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025225353.86DA658094@chaos.jnpr.net> <20121026050130.GL35915@deviant.kiev.zoral.com.ua> <20121026062356.3143A58094@chaos.jnpr.net> In-Reply-To: <20121026062356.3143A58094@chaos.jnpr.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: papowell@astart.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 13:15:59 -0000 On 10/25/12 23:23, Simon J. Gerraty wrote: >> In particular, why cannot the ':L' and ':U' support be added ? > Because they already exist - with different meanings. > They were added to NetBSD make over 10 years ago, from the OSF version > of pmake. > > In several areas the behavior of bmake has been changed to make it a > drop in replacement for FreeBSD, but the above (not used at all in the > FreeBSD base) are easier dealt with the other way. The :tl and :tu > equivalents were added to FreeBSD make a while back to ease the > transition. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > At the risk of getting a ton of email telling me what an idiot I am, why not add a command line flag OR a make variable/value to set this behavior? You could put the flag/option in the /etc/make.conf file... and once you get all of the make files fixed up you could take it out... -- Patrick Powell Astart Technologies papowell@astart.com 1530 Jamacha Road, Suite X, Network and System El Cajon, CA 92019 Consulting 858-874-6543 Web Site: www.astart.com From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 14:27:20 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA9D4C4D for ; Fri, 26 Oct 2012 14:27:20 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 554ED8FC08 for ; Fri, 26 Oct 2012 14:27:19 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so5022716iea.13 for ; Fri, 26 Oct 2012 07:27:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=783D+zS/VTXpc6ZpnJAVLGjkWBKbJQDR/psApERFamw=; b=m24P2mxJYEnXgw4iW5/bbyi1kKy50tmtns6f+NVJMs/q4hdnpNB4UVBCucclt0C5Gk zGXnPyalwDzmbaSamA647RvH7l2NDgYKw047799iBZdEb9Ei3PfBZWlUyaQY8GrDSD0e WvW2UdDuDQ2pa9uNQLL7qIbWX51iT8grA0VvRFAldu7gXkuPH+pk7UfA33c9awzxVwvB etQ14kAMH4Qwhe1ThgFHT/STPnAsqP41aSQdwm2eT15ZcVCY8LtdFRr6dnNvFuEo12np BUoXKSwFK/SWO+lrtmU0QvWOIDoifB6xSgEQQFOmGud43rArWGXo4hFKzyYr9m3PZi+l wexA== Received: by 10.50.213.1 with SMTP id no1mr2306880igc.64.1351261638665; Fri, 26 Oct 2012 07:27:18 -0700 (PDT) Received: from 63.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id uj6sm1311455igb.4.2012.10.26.07.27.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 26 Oct 2012 07:27:13 -0700 (PDT) Sender: Warner Losh Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20121026062356.3143A58094@chaos.jnpr.net> Date: Fri, 26 Oct 2012 08:27:06 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <37989A40-4DBD-48C8-BD65-16C7C41454B6@bsdimp.com> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025225353.86DA658094@chaos.jnpr.net> <20121026050130.GL35915@deviant.kiev.zoral.com.ua> <20121026062356.3143A58094@chaos.jnpr.net> To: "Simon J. Gerraty" X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQlsqMmcusaqDyw4MPkRYj5LJzAwZl5URFJQTdIgHTwZkxMhNMJdRI82nHCVGvz6LFTT9ZHc Cc: Konstantin Belousov , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 14:27:20 -0000 On Oct 26, 2012, at 12:23 AM, Simon J. Gerraty wrote: >> In particular, why cannot the ':L' and ':U' support be added ? >=20 > Because they already exist - with different meanings. > They were added to NetBSD make over 10 years ago, from the OSF version > of pmake. And we've had the :U and :L for a similar period of time as well. = Arguing age here is an interesting historical footnote, but not a = compelling argument to justify the pain to our users. > In several areas the behavior of bmake has been changed to make it a > drop in replacement for FreeBSD, but the above (not used at all in the > FreeBSD base) are easier dealt with the other way. The :tl and :tu > equivalents were added to FreeBSD make a while back to ease the > transition. Why can't there be a make target that turns them on in FreeBSD compat = mode. You could then just drop those into bsd.port.mk and be done with = it? We already do this with the posix target, so there's precedent for = it. I know you've objected to this as ugly, but as I pointed out when I = mentioned it before, I think this is less ugly and less work and would = offer a smoother transition than forcing all the scripts to change. Warner From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 15:41:47 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A455568F; Fri, 26 Oct 2012 15:41:47 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id E8C418FC0A; Fri, 26 Oct 2012 15:41:46 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q9QFfdIp098055; Fri, 26 Oct 2012 09:41:40 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q9QFfanl001438; Fri, 26 Oct 2012 09:41:36 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program From: Ian Lepore To: Warner Losh In-Reply-To: <37989A40-4DBD-48C8-BD65-16C7C41454B6@bsdimp.com> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025225353.86DA658094@chaos.jnpr.net> <20121026050130.GL35915@deviant.kiev.zoral.com.ua> <20121026062356.3143A58094@chaos.jnpr.net> <37989A40-4DBD-48C8-BD65-16C7C41454B6@bsdimp.com> Content-Type: text/plain; charset="us-ascii" Date: Fri, 26 Oct 2012 09:41:36 -0600 Message-ID: <1351266096.1123.315.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Konstantin Belousov , freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org, "Simon J. Gerraty" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 15:41:47 -0000 On Fri, 2012-10-26 at 08:27 -0600, Warner Losh wrote: > On Oct 26, 2012, at 12:23 AM, Simon J. Gerraty wrote: > > >> In particular, why cannot the ':L' and ':U' support be added ? > > > > Because they already exist - with different meanings. > > They were added to NetBSD make over 10 years ago, from the OSF version > > of pmake. > > And we've had the :U and :L for a similar period of time as well. Arguing age here is an interesting historical footnote, but not a compelling argument to justify the pain to our users. > > > In several areas the behavior of bmake has been changed to make it a > > drop in replacement for FreeBSD, but the above (not used at all in the > > FreeBSD base) are easier dealt with the other way. The :tl and :tu > > equivalents were added to FreeBSD make a while back to ease the > > transition. > > Why can't there be a make target that turns them on in FreeBSD compat mode. You could then just drop those into bsd.port.mk and be done with it? We already do this with the posix target, so there's precedent for it. > > I know you've objected to this as ugly, but as I pointed out when I mentioned it before, I think this is less ugly and less work and would offer a smoother transition than forcing all the scripts to change. > > Warner I second this concept. At work, we create dozens of products using literally hundreds of makefiles scattered throughout a huge source base. We have to be able to build the same source for multiple versions of freebsd, so even finding all the old :U and :L and any other incompatibilities and fixing them isn't an option because we'd just trade "works in freebsd 10" for "broken in every other environment". If there were some way to turn on a compatibility mode, we'd have a way to slowly transition to the newer stuff over the course of a couple OS versions. Eventually we'd reach the point where we no longer need to build products using an older version and we could update to the newer syntax and stop using compatibility mode. -- Ian From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 16:34:21 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 664) id 17FE0F3E; Fri, 26 Oct 2012 16:34:21 +0000 (UTC) Date: Fri, 26 Oct 2012 09:34:20 -0700 From: David O'Brien To: Garrett Cooper Subject: Re: Installing make as pmake when WITH_BMAKE specified (was Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program) Message-ID: <20121026163420.GE43045@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Garrett Cooper , Marcel Moolenaar , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.20 (2009-06-14) Cc: "Simon J. Gerraty" , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: obrien@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 16:34:21 -0000 On Thu, Oct 25, 2012 at 03:00:21PM -0700, Garrett Cooper wrote: > Here's an updated version of the workaround that works properly in all > cases and installs bmake as make and links make to pmake when > WITH_BMAKE=yes, and installs make as make when WITHOUT_BMAKE is > specified (this works better than the previous patch I sent to Simon). Garrett, I don't see how this could be committed -- it will make it difficult for 10-CURRENT folks to build ports (and there are no pre-build packages for 10-CURRENT). Are you not able to use this instead (w/"WANT_USRBIN_BMAKE=" in /etc/src.conf)? Index: usr.bin/Makefile =================================================================== --- usr.bin/Makefile (revision 241927) +++ usr.bin/Makefile (working copy) @@ -281,6 +281,9 @@ SUBDIR+= msgs .if ${MK_BMAKE} != "no" SUBDIR+= bmake .else +.if defined(WANT_USRBIN_BMAKE) +SUBDIR+= bmake +.endif SUBDIR+= make .endif .endif -- -- David (obrien@FreeBSD.org) From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 16:37:12 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 664) id EED3E16E; Fri, 26 Oct 2012 16:37:12 +0000 (UTC) Date: Fri, 26 Oct 2012 09:37:12 -0700 From: David O'Brien To: Garrett Cooper Subject: Re: Installing make as pmake when WITH_BMAKE specified (was Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program) Message-ID: <20121026163712.GF43045@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Garrett Cooper , Marcel Moolenaar , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.20 (2009-06-14) Cc: "Simon J. Gerraty" , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: obrien@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 16:37:13 -0000 On Thu, Oct 25, 2012 at 03:00:21PM -0700, Garrett Cooper wrote: > Here's an updated version of the workaround that works properly in all > cases and installs bmake as make and links make to pmake when > WITH_BMAKE=yes, and installs make as make when WITHOUT_BMAKE is > specified (this works better than the previous patch I sent to Simon). Also, please note we have a 'pmake' port that is the proper original pmake (before *BSD embellished it). Perhaps a different name than 'pmake' is appropriate. It would not surprise me for someone to end up adding a port of the current FreeBSD make in case there are folks that find bmake incompatible with their use of FreeBSD's make in their own projects. So picking a good name now would be helpful. -- -- David (obrien@FreeBSD.org) From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 16:54:15 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 664) id BCF3ECFA; Fri, 26 Oct 2012 16:54:15 +0000 (UTC) Date: Fri, 26 Oct 2012 09:54:14 -0700 From: David O'Brien To: Garrett Cooper Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121026165414.GA43599@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Garrett Cooper , "Simon J. Gerraty" , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org References: <20121001223100.E7D0D58093@chaos.jnpr.net> <20121002000030.54CEE58093@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: obrien@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 16:54:15 -0000 On Tue, Oct 02, 2012 at 07:19:55AM -0700, Garrett Cooper wrote: > Hmmm... that's one of the 3 approaches I provided, but it turned out ... > 1. Test programs live with the sources (this was the requested approach), e.g. > 2. Test programs live in subdirs: > 3. Test programs completely decoupled from the source tree: Could someone please commit at least one working .c test and one .sh test? There is nothing to follow for others trying to write their own tests in the FreeBSD-way. I could not find a single consumer of ATF in HEAD. This makes it seem this is still a WIP that should be living in a branch and not in HEAD. But we're paying the price for checkout & build times, etc... See the recent 9.1-R thread and Peter Wemm (and others) comments in this regard. (this is why I hadn't committed the WIP I had - it wasn't ready for HEAD) thanks, -- -- David (obrien@FreeBSD.org) From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 17:41:52 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9BF2EE5B for ; Fri, 26 Oct 2012 17:41:52 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 467BA8FC0A for ; Fri, 26 Oct 2012 17:41:52 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so3754727oag.13 for ; Fri, 26 Oct 2012 10:41:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=GSMyaC7OdiQpex6A6hzCfCIrdVdOvj5WxwyTYNPJE0c=; b=lYJHK8WWBLSsnVP5JGaJjPs3FEDI5BM7tiF00HY5HANtkE/iBnkTTnkUeCfgoGa71j oznTmqR7FjUHNYXBF8HwgIGqvWTgPd4xzd8e3/1QTG4QC8CuMQbS1pZk8ZLsTD2hEr5o L5rDt2tElJWGQFhnmu7e/Ctbhg+rL0nfl1H657Mcz7Ms/rlctTmcCy2+dVp7aHMH8/6F Gak2cDUFMxwONkHNjStWvkSA840OVWHQeA/vTTREexgkKSNSdxr/asLGNizB2MfzA2Iy y75rnqeGdIixnWTgSucK7CilJirNIwd4uBmHQvr0orBfIr17TX8yHCNNT1OiWfaJiQj7 j1KQ== Received: by 10.60.9.167 with SMTP id a7mr16439292oeb.61.1351273311599; Fri, 26 Oct 2012 10:41:51 -0700 (PDT) Received: from [10.30.101.53] ([209.117.142.2]) by mx.google.com with ESMTPS id l9sm1535868oec.5.2012.10.26.10.41.47 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 26 Oct 2012 10:41:49 -0700 (PDT) Sender: Warner Losh Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20121026172106.BA86458094@chaos.jnpr.net> Date: Fri, 26 Oct 2012 11:41:46 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <21B6834A-C986-4103-B395-D1F23FB23380@bsdimp.com> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025225353.86DA658094@chaos.jnpr.net> <20121026050130.GL35915@deviant.kiev.zoral.com.ua> <20121026062356.3143A58094@chaos.jnpr.net> <37989A40-4DBD-48C8-BD65-16C7C41454B6@bsdimp.com> <20121026172106.BA86458094@chaos.jnpr.net> To: "Simon J. Gerraty" X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQmIuIPq99dPt7bmUWWxA6Wl/UToIobqTccAUbMrA7mnzNG0XRTgWYUGjdvuJFdMQ6fyNA6p Cc: Konstantin Belousov , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 17:41:52 -0000 On Oct 26, 2012, at 11:21 AM, Simon J. Gerraty wrote: >=20 > On Fri, 26 Oct 2012 08:27:06 -0600, Warner Losh writes: >> And we've had the :U and :L for a similar period of time as well. =3D >=20 > Sorry, I didn't mean to imply age has anything to do with it. > The doc I refered to makes it clear that the two sets of conflicting > modifers were introduced at about the same time. >=20 >> Why can't there be a make target that turns them on in FreeBSD compat = =3D >> mode. You could then just drop those into bsd.port.mk and be done = with =3D >=20 > Because then you would lose the functionality that the alternative > modifiers provide. Imagine throwing away the ability in /bin/sh to = do${foo:-bar} > Also it would perpetuate the divergence in syntax for little reason. It's called a transition period for a reason. The historical use has = permeated itself into many places, not all of which are obvious. For many years, sun had two shells so that old shell scripts would work = until they could be adapted to the new shell's syntax. So your argument = rings a bit hollow. Compatibility always has been about being = compatible, not about growing the feature set or purposely leaving = features out. > BTW there are currently < 300 makefiles in ports/ affected by the > transition to bmake, and there were an even smaller number in src/. And there are many companies (I know of at least two) that have enough = infrastructure that depend on these modifiers that moving to 10 will be = hard for them. Stupid (in their view) incompatibilities like this are a = disincentive to upgrade or keep with FreeBSD. Easing the transition for = them will help keep them in the fold. It is no different than keeping = old IOCTLs around for a release or three to ease that burden. Warner From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 17:56:00 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.ORG Received: by hub.freebsd.org (Postfix, from userid 664) id 3E6B5412; Fri, 26 Oct 2012 17:56:00 +0000 (UTC) Date: Fri, 26 Oct 2012 10:55:59 -0700 From: David O'Brien To: Marcel Moolenaar Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121026175559.GA44331@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Marcel Moolenaar , Garrett Cooper , freebsd-hackers@FreeBSD.ORG, freebsd-arch@FreeBSD.ORG, "Simon J. Gerraty" References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> X-Operating-System: FreeBSD 10.0-CURRENT X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Garrett Cooper , freebsd-hackers@FreeBSD.ORG, "Simon J. Gerraty" , freebsd-arch@FreeBSD.ORG X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: obrien@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 17:56:00 -0000 On Thu, Oct 25, 2012 at 02:23:06PM -0700, Marcel Moolenaar wrote: > I think there are 2 reasons why not to: > 1. The people working on ATF have not raised this concern and > have expressed that using the WITH_BMAKE knob is but a small > price to pay. I'm trying to create an ATF test for filemon, but I don't want to have to build make back and forth when I want to build a port. Likely that doesn't put me in the "people working on ATF" in your book. > So let's work the bmake side and be able to > get rid of the knob as soon as possible. Do we have any commitment as to when Portmgr will have bandwidth to for testing bmake (I expect it will be several iterations)? I suspect they're pretty busy with 9.1-RELEASE, so is this gated by 9.1-R? > 2. More knobs isn't better -- we must have none of the knobs in > the end, so the more we create, the more work we have to get > rid of them. That's just more work spent not focusing on the > task at hand and thus more time wasted. What can I and others do to work on this? I'm not on Portmgr and most aren't either. > In short: this isn't a 2-knob problem by any stretch of the > imagination. I disagree. Before sending my mail, I ran this by sjg and his response was: "I have absolutely no objection". -- -- David (obrien@FreeBSD.org) From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 17:26:00 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7939E8BA; Fri, 26 Oct 2012 17:26:00 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og126.obsmtp.com (exprod7og126.obsmtp.com [64.18.2.206]) by mx1.freebsd.org (Postfix) with ESMTP id BCFC98FC08; Fri, 26 Oct 2012 17:25:59 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob126.postini.com ([64.18.6.12]) with SMTP ID DSNKUIrHoZaLXQRTnorFgDQo67a4+/8ZlnKQ@postini.com; Fri, 26 Oct 2012 10:25:59 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Fri, 26 Oct 2012 10:21:07 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9QHL6h59895; Fri, 26 Oct 2012 10:21:07 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id BA86458094; Fri, 26 Oct 2012 10:21:06 -0700 (PDT) To: Warner Losh Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: <37989A40-4DBD-48C8-BD65-16C7C41454B6@bsdimp.com> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025225353.86DA658094@chaos.jnpr.net> <20121026050130.GL35915@deviant.kiev.zoral.com.ua> <20121026062356.3143A58094@chaos.jnpr.net> <37989A40-4DBD-48C8-BD65-16C7C41454B6@bsdimp.com> Comments: In-reply-to: Warner Losh message dated "Fri, 26 Oct 2012 08:27:06 -0600." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Fri, 26 Oct 2012 10:21:06 -0700 Message-ID: <20121026172106.BA86458094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Fri, 26 Oct 2012 17:57:48 +0000 Cc: Konstantin Belousov , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 17:26:00 -0000 On Fri, 26 Oct 2012 08:27:06 -0600, Warner Losh writes: >And we've had the :U and :L for a similar period of time as well. = Sorry, I didn't mean to imply age has anything to do with it. The doc I refered to makes it clear that the two sets of conflicting modifers were introduced at about the same time. >Why can't there be a make target that turns them on in FreeBSD compat = >mode. You could then just drop those into bsd.port.mk and be done with = Because then you would lose the functionality that the alternative modifiers provide. Imagine throwing away the ability in /bin/sh to do ${foo:-bar} Also it would perpetuate the divergence in syntax for little reason. BTW there are currently < 300 makefiles in ports/ affected by the transition to bmake, and there were an even smaller number in src/. From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 17:28:28 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 983DEB38; Fri, 26 Oct 2012 17:28:28 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og101.obsmtp.com (exprod7og101.obsmtp.com [64.18.2.155]) by mx1.freebsd.org (Postfix) with ESMTP id 4D4228FC08; Fri, 26 Oct 2012 17:28:26 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob101.postini.com ([64.18.6.12]) with SMTP ID DSNKUIrIM5G1kAUsdiuChfjzXmM6pVSr/kn/@postini.com; Fri, 26 Oct 2012 10:28:28 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Fri, 26 Oct 2012 10:26:39 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9QHQdh76413; Fri, 26 Oct 2012 10:26:39 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 25B2558094; Fri, 26 Oct 2012 10:26:39 -0700 (PDT) To: , Garrett Cooper , Marcel Moolenaar , , Subject: Re: Installing make as pmake when WITH_BMAKE specified (was Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program) In-Reply-To: <20121026163712.GF43045@dragon.NUXI.org> References: <20121026163712.GF43045@dragon.NUXI.org> Comments: In-reply-to: "David O'Brien" message dated "Fri, 26 Oct 2012 09:37:12 -0700." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Fri, 26 Oct 2012 10:26:39 -0700 Message-ID: <20121026172639.25B2558094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Fri, 26 Oct 2012 17:57:58 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 17:28:28 -0000 >with their use of FreeBSD's make in their own projects. So picking a >good name now would be helpful. FWIW I keep a copy in /usr/bin/fmake so I can compare behavior. From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 18:09:13 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 664) id 769A6A51; Fri, 26 Oct 2012 18:09:13 +0000 (UTC) Date: Fri, 26 Oct 2012 11:09:12 -0700 From: David O'Brien To: Ian Lepore Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121026180912.GB44331@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Ian Lepore , Warner Losh , Konstantin Belousov , freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org, "Simon J. Gerraty" References: <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025225353.86DA658094@chaos.jnpr.net> <20121026050130.GL35915@deviant.kiev.zoral.com.ua> <20121026062356.3143A58094@chaos.jnpr.net> <37989A40-4DBD-48C8-BD65-16C7C41454B6@bsdimp.com> <1351266096.1123.315.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1351266096.1123.315.camel@revolution.hippie.lan> X-Operating-System: FreeBSD 10.0-CURRENT X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-hackers@freebsd.org, "Simon J. Gerraty" , freebsd-arch@freebsd.org, Konstantin Belousov , Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: obrien@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 18:09:13 -0000 On Fri, Oct 26, 2012 at 09:41:36AM -0600, Ian Lepore wrote: > We have to be able to build the same source for multiple versions of > freebsd, so even finding all the old :U and :L and any other > incompatibilities and fixing them isn't an option because we'd just > trade "works in freebsd 10" for "broken in every other environment". Ian, If you're using FreeBSD 9 after 2012-06-14, or FreeBSD 8 or 7 after 2012-10-09 you can use the Bmake spelling of ":U" and ":L" (:tu/:tl). I am not aruging against you, just giving some information you may not be aware of. -- -- David (obrien@FreeBSD.org) From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 18:11:53 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 664) id 3DAE0C53; Fri, 26 Oct 2012 18:11:53 +0000 (UTC) Date: Fri, 26 Oct 2012 11:11:52 -0700 From: David O'Brien To: Baptiste Daroussin Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121026181152.GC44331@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Baptiste Daroussin , Chris Rees , Garrett Cooper , freebsd-hackers@FreeBSD.org, Marcel Moolenaar , "Simon J. Gerraty" , freebsd-arch@FreeBSD.org References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121025221244.GG3808@ithaqua.etoilebsd.net> X-Operating-System: FreeBSD 10.0-CURRENT X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Garrett Cooper , freebsd-hackers@FreeBSD.org, "Simon J. Gerraty" , Chris Rees , freebsd-arch@FreeBSD.org, Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: obrien@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 18:11:53 -0000 On Fri, Oct 26, 2012 at 12:12:44AM +0200, Baptiste Daroussin wrote: > Do be able to get the ports tree working with bmake asap, I also asked > him to MFC it to 9.1, from latest reply he got positive answer from re@ > about this, but was waiting for something I don't remember. :tu/:tl is in releng/9.1, so it will also be in 9.1-RELEASE. -- -- David (obrien@FreeBSD.org) From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 18:17:16 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE4B7F92; Fri, 26 Oct 2012 18:17:16 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 3C1358FC0A; Fri, 26 Oct 2012 18:17:15 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q9QIHNif039515; Fri, 26 Oct 2012 21:17:23 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q9QIHBP0050010; Fri, 26 Oct 2012 21:17:11 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q9QIHBDV050009; Fri, 26 Oct 2012 21:17:11 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 26 Oct 2012 21:17:11 +0300 From: Konstantin Belousov To: "Simon J. Gerraty" Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121026181711.GU35915@deviant.kiev.zoral.com.ua> References: <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025225353.86DA658094@chaos.jnpr.net> <20121026050130.GL35915@deviant.kiev.zoral.com.ua> <20121026062356.3143A58094@chaos.jnpr.net> <37989A40-4DBD-48C8-BD65-16C7C41454B6@bsdimp.com> <20121026172106.BA86458094@chaos.jnpr.net> <21B6834A-C986-4103-B395-D1F23FB23380@bsdimp.com> <20121026181253.C6EA958094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vNKtQyIwo9cfIjjL" Content-Disposition: inline In-Reply-To: <20121026181253.C6EA958094@chaos.jnpr.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 18:17:17 -0000 --vNKtQyIwo9cfIjjL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 26, 2012 at 11:12:53AM -0700, Simon J. Gerraty wrote: >=20 > On Fri, 26 Oct 2012 11:41:46 -0600, Warner Losh writes: > >It's called a transition period for a reason. The historical use has =3D > >permeated itself into many places, not all of which are obvious. >=20 > It would seem that leaving FreeBSD make as make, for the transition > period and installing bmake as bmake, would cause the least disruption > to everyone. This was the original proposal presented at BSDCan in 2011. >=20 > FreeBSD make already grok's the :tl and :tu modifiers, > so it is quite simple for the two to coexist for some period. >=20 > The only reason we are talking about having to frob ports etc now,=20 > is a new requirement introduced this year (by yourself I think) > that bmake replace make in base rather than allow coexistence. >=20 > If we are all happy to go back to the original plan, we can ease the > concerns of the folk you speak of? >=20 > The only downside is we wait a few more years for major build improvments. Can system build, initiated by make, call bmake immediately ? I suppose it could be fine even to error out if make is typed instead of bmake for src/. --vNKtQyIwo9cfIjjL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlCK06YACgkQC3+MBN1Mb4jeBQCg0u3d/BnFMYOp0h58QW4Mc+3h vbgAnA4HUmrbLKg7mOVSwthXSIHtq2oe =2edq -----END PGP SIGNATURE----- --vNKtQyIwo9cfIjjL-- From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 18:14:51 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F050CEBC; Fri, 26 Oct 2012 18:14:51 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og111.obsmtp.com (exprod7og111.obsmtp.com [64.18.2.175]) by mx1.freebsd.org (Postfix) with ESMTP id 7774C8FC08; Fri, 26 Oct 2012 18:14:48 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob111.postini.com ([64.18.6.12]) with SMTP ID DSNKUIrTFyXabQf5+mG0QEOzqzh5VdyufA/E@postini.com; Fri, 26 Oct 2012 11:14:51 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Fri, 26 Oct 2012 11:13:02 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9QICsh08480; Fri, 26 Oct 2012 11:13:01 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id C6EA958094; Fri, 26 Oct 2012 11:12:53 -0700 (PDT) To: Warner Losh Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: <21B6834A-C986-4103-B395-D1F23FB23380@bsdimp.com> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025225353.86DA658094@chaos.jnpr.net> <20121026050130.GL35915@deviant.kiev.zoral.com.ua> <20121026062356.3143A58094@chaos.jnpr.net> <37989A40-4DBD-48C8-BD65-16C7C41454B6@bsdimp.com> <20121026172106.BA86458094@chaos.jnpr.net> <21B6834A-C986-4103-B395-D1F23FB23380@bsdimp.com> Comments: In-reply-to: Warner Losh message dated "Fri, 26 Oct 2012 11:41:46 -0600." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Fri, 26 Oct 2012 11:12:53 -0700 Message-ID: <20121026181253.C6EA958094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Fri, 26 Oct 2012 18:50:41 +0000 Cc: Konstantin Belousov , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 18:14:52 -0000 On Fri, 26 Oct 2012 11:41:46 -0600, Warner Losh writes: >It's called a transition period for a reason. The historical use has = >permeated itself into many places, not all of which are obvious. It would seem that leaving FreeBSD make as make, for the transition period and installing bmake as bmake, would cause the least disruption to everyone. This was the original proposal presented at BSDCan in 2011. FreeBSD make already grok's the :tl and :tu modifiers, so it is quite simple for the two to coexist for some period. The only reason we are talking about having to frob ports etc now, is a new requirement introduced this year (by yourself I think) that bmake replace make in base rather than allow coexistence. If we are all happy to go back to the original plan, we can ease the concerns of the folk you speak of? The only downside is we wait a few more years for major build improvments. From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 18:57:46 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3ACC325; Fri, 26 Oct 2012 18:57:46 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 24D8A8FC19; Fri, 26 Oct 2012 18:57:45 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q9QIviOo003578; Fri, 26 Oct 2012 12:57:44 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q9QIvW30001608; Fri, 26 Oct 2012 12:57:32 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program From: Ian Lepore To: obrien@freebsd.org In-Reply-To: <20121026180912.GB44331@dragon.NUXI.org> References: <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025225353.86DA658094@chaos.jnpr.net> <20121026050130.GL35915@deviant.kiev.zoral.com.ua> <20121026062356.3143A58094@chaos.jnpr.net> <37989A40-4DBD-48C8-BD65-16C7C41454B6@bsdimp.com> <1351266096.1123.315.camel@revolution.hippie.lan> <20121026180912.GB44331@dragon.NUXI.org> Content-Type: text/plain; charset="us-ascii" Date: Fri, 26 Oct 2012 12:57:31 -0600 Message-ID: <1351277851.1123.337.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Konstantin Belousov , freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org, "Simon J. Gerraty" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 18:57:46 -0000 On Fri, 2012-10-26 at 11:09 -0700, David O'Brien wrote: > On Fri, Oct 26, 2012 at 09:41:36AM -0600, Ian Lepore wrote: > > We have to be able to build the same source for multiple versions of > > freebsd, so even finding all the old :U and :L and any other > > incompatibilities and fixing them isn't an option because we'd just > > trade "works in freebsd 10" for "broken in every other environment". > > Ian, > If you're using FreeBSD 9 after 2012-06-14, or FreeBSD 8 or 7 after > 2012-10-09 you can use the Bmake spelling of ":U" and ":L" (:tu/:tl). > > I am not aruging against you, just giving some information you may not > be aware of. > Yeah. And if I have to, I could modify all our makefiles to use the new syntax, then backport support for the new syntax to earlier freebsd make source in our local repos. But to give you some idea of what I've got to support... yesterday afternoon I was struggling with whether I can find the time in a release schedule to update an old product that needs a new feature from freebsd 6 to 8. The sad fact is that I can't, I'm going to have to do another freebsd 6-based release to meet the schedule. It's interesting having to work on a daily basis in everything between freebsd 6.2 and -current. -- Ian From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 19:06:35 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 729B0A49 for ; Fri, 26 Oct 2012 19:06:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1C3B78FC18 for ; Fri, 26 Oct 2012 19:06:34 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so3852551oag.13 for ; Fri, 26 Oct 2012 12:06:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=cNUCOurD0NbMZy+ugje7VdGRGVWMQ02Hc+/cv/65mUM=; b=oxdCOoN/R5NlT7og9NU0ii+KxrmD+iNWhJhqQPglIm/lyFgACy2on1FbB91D27E/1h VSlTbFxOJa3ItoUcpJLzayqdbOqPohID1/4ZMj6LNhKAt1lyJBW4TRs2Cvh4r5LsN8xT rTtPFXYPAk9CQ3cpVgwNRtf/GcppHB52t5FEz5KwYjpDcfGjSg7phNbZmm2EPHp5NLqj kTlNCfYrOiPXr3gbvc/MX4KWIZXXR0yNRZbhmQbQ9BmSyHwRs1smMkT9zg6ZIx0bd509 GEU93DUD9g4CUBPanUpB5BgGg4IDz1/U0XiXy2OQ+spNgdXZGQzuwDwEsBC3xcbVUCgX hIJQ== Received: by 10.60.170.200 with SMTP id ao8mr20175017oec.104.1351278394521; Fri, 26 Oct 2012 12:06:34 -0700 (PDT) Received: from [10.30.101.53] ([209.117.142.2]) by mx.google.com with ESMTPS id n7sm2166441obd.16.2012.10.26.12.06.30 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 26 Oct 2012 12:06:32 -0700 (PDT) Sender: Warner Losh Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20121026181152.GC44331@dragon.NUXI.org> Date: Fri, 26 Oct 2012 13:06:27 -0600 Content-Transfer-Encoding: 7bit Message-Id: <8055D252-DB99-4C56-ACA2-CC50897791E1@bsdimp.com> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> To: obrien@freebsd.org X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQlqWAuOUD/nSvu+KcjXUUl4Bb9IUFcdGTlhmdAgPdyUuFTTkmlAyX98ZBOYOLc8w2DojZC9 Cc: Baptiste Daroussin , Garrett Cooper , freebsd-hackers@FreeBSD.org, "Simon J. Gerraty" , Chris Rees , freebsd-arch@FreeBSD.org, Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 19:06:35 -0000 On Oct 26, 2012, at 12:11 PM, David O'Brien wrote: > On Fri, Oct 26, 2012 at 12:12:44AM +0200, Baptiste Daroussin wrote: >> Do be able to get the ports tree working with bmake asap, I also asked >> him to MFC it to 9.1, from latest reply he got positive answer from re@ >> about this, but was waiting for something I don't remember. > > :tu/:tl is in releng/9.1, so it will also be in 9.1-RELEASE. It isn't in 8 yet, so there's no good transition strategy there... Warner From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 18:28:02 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9F1528F; Fri, 26 Oct 2012 18:28:02 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og122.obsmtp.com (exprod7og122.obsmtp.com [64.18.2.22]) by mx1.freebsd.org (Postfix) with ESMTP id 960D68FC08; Fri, 26 Oct 2012 18:28:00 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob122.postini.com ([64.18.6.12]) with SMTP ID DSNKUIrWKp/DrTvR1kSPUx+MitvqFVepq15O@postini.com; Fri, 26 Oct 2012 11:28:02 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Fri, 26 Oct 2012 11:26:37 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9QIQbh43997; Fri, 26 Oct 2012 11:26:37 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 5378058094; Fri, 26 Oct 2012 11:26:37 -0700 (PDT) To: , Marcel Moolenaar , Garrett Cooper , , Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: <20121026175559.GA44331@dragon.NUXI.org> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121026175559.GA44331@dragon.NUXI.org> Comments: In-reply-to: "David O'Brien" message dated "Fri, 26 Oct 2012 10:55:59 -0700." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Fri, 26 Oct 2012 11:26:37 -0700 Message-ID: <20121026182637.5378058094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Fri, 26 Oct 2012 19:07:26 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 18:28:02 -0000 On Fri, 26 Oct 2012 10:55:59 -0700, "David O'Brien" writes: >I'm trying to create an ATF test for filemon, but I don't want to have to >build make back and forth when I want to build a port. >Likely that doesn't put me in the "people working on ATF" in your book. >What can I and others do to work on this? I'm not on Portmgr and most >aren't either. Why not simply install bmake as bmake? You can even use devel/bmake in ports. >I disagree. Before sending my mail, I ran this by sjg and his response >was: "I have absolutely no objection". I have no objection to bmake being installed as bmake. From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 19:15:05 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11677116; Fri, 26 Oct 2012 19:15:05 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id DB4FB8FC0A; Fri, 26 Oct 2012 19:15:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9QJF482035981; Fri, 26 Oct 2012 19:15:04 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9QJF3MP035977; Fri, 26 Oct 2012 19:15:03 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Fri, 26 Oct 2012 21:15:01 +0200 From: Baptiste Daroussin To: obrien@FreeBSD.org, Chris Rees , Garrett Cooper , freebsd-hackers@FreeBSD.org, Marcel Moolenaar , "Simon J. Gerraty" , freebsd-arch@FreeBSD.org Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121026191500.GD18995@ithaqua.etoilebsd.net> References: <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="g7w8+K/95kPelPD2" Content-Disposition: inline In-Reply-To: <20121026181152.GC44331@dragon.NUXI.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 19:15:05 -0000 --g7w8+K/95kPelPD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 26, 2012 at 11:11:52AM -0700, David O'Brien wrote: > On Fri, Oct 26, 2012 at 12:12:44AM +0200, Baptiste Daroussin wrote: > > Do be able to get the ports tree working with bmake asap, I also asked > > him to MFC it to 9.1, from latest reply he got positive answer from re@ > > about this, but was waiting for something I don't remember. >=20 > :tu/:tl is in releng/9.1, so it will also be in 9.1-RELEASE. >=20 > --=20 > -- David (obrien@FreeBSD.org) Perfect thanks, I wasn't sure Bapt --g7w8+K/95kPelPD2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCK4TQACgkQ8kTtMUmk6EymfQCfVPxyYIOcPl2fqDDPMilFga7Y aAoAoKTFaYEEniYTAQeyfDLob7be+Nqx =DkTJ -----END PGP SIGNATURE----- --g7w8+K/95kPelPD2-- From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 19:16:06 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 044AD2AA; Fri, 26 Oct 2012 19:16:06 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C4A608FC19; Fri, 26 Oct 2012 19:16:04 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1444170bkc.13 for ; Fri, 26 Oct 2012 12:15:58 -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 :content-type; bh=X0nAcLDq01I1HJtpfk/x9ptsoHzx4mmWSqoqUpsisdo=; b=OjQSzqCc4nE10KhfOzWtLDPoBj9fT7N0m4sgM4/JFyyItxeVmsjvUOX4eg79ZiEF4o Jp2MY+TUMMNrT3nlDUDWhxWYRJ2PkOErINT4c9pgFgZnRIKCOhuU+MhWDIQQPqxsBV1X kqKmr2tDGP48ectOFMYc9AruX4sDzqlpXyVXDWJS9n5nMsaGmWlTo9k1rJwPz0hi8bCP ve+6S4z/NlzyhL6pSCbbx0xTNyJVpD2b+S6HUx/ivMKHjvblZ6d7jAvttWNZ6zCi6z+B T6SMAeMaaV5R1BZolgamPNXOxYslCrfIFqM8ewSa4KlT8t7ow/6Mwnu1BFT+iCRuQJ8b NVvg== MIME-Version: 1.0 Received: by 10.204.156.74 with SMTP id v10mr7571626bkw.39.1351278957809; Fri, 26 Oct 2012 12:15:57 -0700 (PDT) Received: by 10.204.50.197 with HTTP; Fri, 26 Oct 2012 12:15:57 -0700 (PDT) Received: by 10.204.50.197 with HTTP; Fri, 26 Oct 2012 12:15:57 -0700 (PDT) In-Reply-To: <20121026181152.GC44331@dragon.NUXI.org> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> Date: Fri, 26 Oct 2012 20:15:57 +0100 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program From: Chris Rees To: freebsd-hackers@freebsd.org, "David E. O'Brien" , Chris Rees , freebsd-arch@freebsd.org, "Simon J. Gerraty" , Marcel Moolenaar , Garrett Cooper , Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 19:16:06 -0000 On 26 Oct 2012 19:12, "David O'Brien" wrote: > > On Fri, Oct 26, 2012 at 12:12:44AM +0200, Baptiste Daroussin wrote: > > Do be able to get the ports tree working with bmake asap, I also asked > > him to MFC it to 9.1, from latest reply he got positive answer from re@ > > about this, but was waiting for something I don't remember. > > :tu/:tl is in releng/9.1, so it will also be in 9.1-RELEASE. Then we only have two supported stable branches you propose to break... Chris From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 19:17:14 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 53F7051D; Fri, 26 Oct 2012 19:17:14 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id E54F08FC08; Fri, 26 Oct 2012 19:17:13 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so3865179oag.13 for ; Fri, 26 Oct 2012 12:17:13 -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 :content-type; bh=kKZQyLY8fcEGDtEsgWT9kbyL/rDN04+N91QmZ1BZT7Q=; b=WA6DTfE7HArf0wJlRhkqNHXO8nw2aww5i08XrFtcFMPeq/eGK0hFXvllVyBS8sbgXD nKNGC9Py3SveNTCp0AK8IO39cWtGoRgHGFWsIORvgSwUplOsw3oaw+22G7/Js409DpkR YgSJttR6GaR8w2v+nvY6C8UgCiByhSdTtqb8t/VpmOPM4xjShDbaQK8yJH0p3djUWpS9 1Iy5+URAz3kK6YXwyR4JQ9Otdja7+12Y29eMHn0O6m37ZF2dxLML77NpgBwDg6WRKbwS 1kMzJnTsTSEWow8Ar6GfID4LI6lMq9s45H997QTERY408qzVEH6ycmpuk0bvh0Dvj4Ef fd5w== MIME-Version: 1.0 Received: by 10.182.131.100 with SMTP id ol4mr19210246obb.38.1351279033332; Fri, 26 Oct 2012 12:17:13 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Fri, 26 Oct 2012 12:17:13 -0700 (PDT) In-Reply-To: <20121026163420.GE43045@dragon.NUXI.org> References: <20121026163420.GE43045@dragon.NUXI.org> Date: Fri, 26 Oct 2012 12:17:13 -0700 Message-ID: Subject: Re: Installing make as pmake when WITH_BMAKE specified (was Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program) From: Garrett Cooper To: obrien@freebsd.org, Garrett Cooper , Marcel Moolenaar , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 19:17:14 -0000 On Fri, Oct 26, 2012 at 9:34 AM, David O'Brien wrote: > On Thu, Oct 25, 2012 at 03:00:21PM -0700, Garrett Cooper wrote: >> Here's an updated version of the workaround that works properly in all >> cases and installs bmake as make and links make to pmake when >> WITH_BMAKE=yes, and installs make as make when WITHOUT_BMAKE is >> specified (this works better than the previous patch I sent to Simon). > > Garrett, > I don't see how this could be committed -- it will make it difficult > for 10-CURRENT folks to build ports (and there are no pre-build packages > for 10-CURRENT). I don't want it committed because Simon's move makes sense longterm: I wanted to offer an alternative as opposed to just being stuck in purgatory and figured that others might benefit from it. We're stuck at a point now that we need to make a break but we also need to ensure that we don't break things too badly for users with older versions of make. Installing our version of make as something other than `make` would at least allow us to use make as pmake in ports, but I realized it would requiring hacking around portmaster, portupgrade, and a number of other tools that expect FreeBSD make to be make and don't have a means of parameterizing make in the environment or on the command line. So looking back now my mitigation solution would not be ideal and would not fix any problems really. > Are you not able to use this instead (w/"WANT_USRBIN_BMAKE=" in /etc/src.conf)? That would be interesting too (and is a lot less involved than my patch), and probably would have less fallout. Thanks! -Garrett From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 19:27:36 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 51FE5930; Fri, 26 Oct 2012 19:27:36 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id D270F8FC08; Fri, 26 Oct 2012 19:27:35 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so3876720oag.13 for ; Fri, 26 Oct 2012 12:27:35 -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 :content-type; bh=4YoGvdaS2yUwfmIIOW1fh7i7FkYobh563vN1eBreYC0=; b=P7V5wjivElKtQakrOQkIGPsfNEpiZHa/zuhoc9n6S34f46kRzR3bF0x15fIUQ17Q+Y anVnngfDDRSu0pa/Dk5PCFFMiDksPrVmOIj7U0IRFhr3cfD87jTIBGfFQVKKZ7HHxMK0 9Jr3ORqXmGGghtk1gnYod3XLy5+2csRqxMWwFFjLrPSWsfUvOAmWyUgHTyzzo/pcC1xb 41OgWKCB2uXXBTs+AJwuVX9Ih4DHeTjUktbpsZofcmQiDp0GJM8kjBsZB+Jl6E2qbLLv /c6nNfW/IFkUJgNjRGbOwjEshn5YTUtxCWyPy9TNOJv7O5HoJPS5VZtaNWfVeXTibuAI HAKw== MIME-Version: 1.0 Received: by 10.60.169.170 with SMTP id af10mr20543013oec.17.1351279655268; Fri, 26 Oct 2012 12:27:35 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Fri, 26 Oct 2012 12:27:35 -0700 (PDT) In-Reply-To: <20121026165414.GA43599@dragon.NUXI.org> References: <20121001223100.E7D0D58093@chaos.jnpr.net> <20121002000030.54CEE58093@chaos.jnpr.net> <20121026165414.GA43599@dragon.NUXI.org> Date: Fri, 26 Oct 2012 12:27:35 -0700 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program From: Garrett Cooper To: obrien@freebsd.org, Garrett Cooper , "Simon J. Gerraty" , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 19:27:36 -0000 On Fri, Oct 26, 2012 at 9:54 AM, David O'Brien wrote: > On Tue, Oct 02, 2012 at 07:19:55AM -0700, Garrett Cooper wrote: >> Hmmm... that's one of the 3 approaches I provided, but it turned out > ... >> 1. Test programs live with the sources (this was the requested approach), e.g. >> 2. Test programs live in subdirs: >> 3. Test programs completely decoupled from the source tree: > > Could someone please commit at least one working .c test and one .sh test? > > There is nothing to follow for others trying to write their own tests > in the FreeBSD-way. > > I could not find a single consumer of ATF in HEAD. This makes it seem > this is still a WIP that should be living in a branch and not in HEAD. > But we're paying the price for checkout & build times, etc... > See the recent 9.1-R thread and Peter Wemm (and others) comments in this > regard. > (this is why I hadn't committed the WIP I had - it wasn't ready for HEAD) There are some basic examples, but they're in my p4 branch and unfortunately they depend on atf.test.mk/bsd.test.mk/bsd.progs.mk existing before they can be built (please see the Examples section in http://wiki.freebsd.org/TestingFreeBSD ). I also have the tests integrated in my perforce branch and running, but it doesn't do a bit of good unless the build pieces are in. I've been trying to get these things into HEAD in proper order so they can be used effectively. Thanks, -Garrett From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 19:31:18 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD908B00; Fri, 26 Oct 2012 19:31:18 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 45FF68FC12; Fri, 26 Oct 2012 19:31:18 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so3880972oag.13 for ; Fri, 26 Oct 2012 12:31:17 -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 :content-type; bh=Oersz6rY7t7KPgt/8/q4/IWF0RJz63QmGQFx6D3++/Q=; b=bFDsWic7cGWzjiyX5OJu27dH7D4q4T8BSnHJ/28808jIZuAtxFIuqOreIFJht2HunR j0JTaK/0TTEIdTo5hZP25a+dY8PDhnJFaVD74znHwkXAh+h2pHfvcFy+7il2BesbkPHS hOXbCgIc6D2F2aX7yCsaR8vi1pnAOdGRfTPHrZG62oLAhS4L7qp4gpNVskBbd227WYic 5uaVU3C790rNa59nE2klxm01SL6KdFfyzWk94Vm8fL41oN/hQMe+LHAmRA4m0U/6dUAj 4qoLguQ3s6/Wm9C+PBBrJlSAOw2Hti/G2KVnfgpwHwS9oV6gytXMCOSyJqKcm/TUDA82 xgwg== MIME-Version: 1.0 Received: by 10.60.171.114 with SMTP id at18mr19844577oec.24.1351279877743; Fri, 26 Oct 2012 12:31:17 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Fri, 26 Oct 2012 12:31:17 -0700 (PDT) In-Reply-To: References: <20121001223100.E7D0D58093@chaos.jnpr.net> <20121002000030.54CEE58093@chaos.jnpr.net> <20121026165414.GA43599@dragon.NUXI.org> Date: Fri, 26 Oct 2012 12:31:17 -0700 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program From: Garrett Cooper To: obrien@freebsd.org, Garrett Cooper , "Simon J. Gerraty" , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 19:31:18 -0000 Minor disambiguation: On Fri, Oct 26, 2012 at 12:27 PM, Garrett Cooper wrote: ... > There are some basic examples, but they're in my p4 branch and > unfortunately they depend on atf.test.mk/bsd.test.mk/bsd.progs.mk > existing before they can be built (please see the Examples section in > http://wiki.freebsd.org/TestingFreeBSD ). I also have the tests "I also have the tests" -> "I also have the ATF feature/integration tests" > integrated in my perforce branch and running, but it doesn't do a bit > of good unless the build pieces are in. > > I've been trying to get these things into HEAD in proper order so they > can be used effectively. > > Thanks, > -Garrett From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 20:00:28 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CAB3E248; Fri, 26 Oct 2012 20:00:28 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 93E7B8FC0A; Fri, 26 Oct 2012 20:00:27 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1454945bkc.13 for ; Fri, 26 Oct 2012 13:00:26 -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 :content-type; bh=mNxFYp7N4gkO+7+55G2RPjKBnWK56Tl3DVAJEjmtdoc=; b=td3z5WYhnYSk+mvJ60MBJQRZqsT8bz2X7xeJHWhB8xzEdr3M3o0BrFvtdmPrOnvcd7 EIvgNLTwlE2mjHbHhFTYGviqzSGtgZlAg7zenA0EjwoIIhGDQtRHiEiwWlPSxSuET2RR AivDnKRJO/oH0S8JN3J94ckTQcmOcylwttdlPjRbZjXDNZL9axJ4FuKFP/vBNwH/lm/i HaiTzjGRazBVc0e4d6FL5N4Q5BfxFBVYrxZl2CMWDaAOri1dMBRayUO/g1ynmO/HC5JI rSngnL4VVrq8Q8t1yPW2nngIimc0KzGPUDrVjoNVnfJvbObyj4L1bQTlnAM+f0c1sOGY +sTA== MIME-Version: 1.0 Received: by 10.205.137.7 with SMTP id im7mr7314658bkc.25.1351281626448; Fri, 26 Oct 2012 13:00:26 -0700 (PDT) Received: by 10.204.50.197 with HTTP; Fri, 26 Oct 2012 13:00:26 -0700 (PDT) Received: by 10.204.50.197 with HTTP; Fri, 26 Oct 2012 13:00:26 -0700 (PDT) In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> Date: Fri, 26 Oct 2012 21:00:26 +0100 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program From: Chris Rees To: freebsd-hackers@freebsd.org, Chris Rees , freebsd-arch@freebsd.org, Marcel Moolenaar , "Simon J. Gerraty" , "David E. O'Brien" , Baptiste Daroussin , Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 20:00:29 -0000 On 26 Oct 2012 20:15, "Chris Rees" wrote: > > > On 26 Oct 2012 19:12, "David O'Brien" wrote: > > > > On Fri, Oct 26, 2012 at 12:12:44AM +0200, Baptiste Daroussin wrote: > > > Do be able to get the ports tree working with bmake asap, I also asked > > > him to MFC it to 9.1, from latest reply he got positive answer from re@ > > > about this, but was waiting for something I don't remember. > > > > :tu/:tl is in releng/9.1, so it will also be in 9.1-RELEASE. > > Then we only have two supported stable branches you propose to break... > OK, how about this: :L -- seems that bmake's use for this is kinda pointless; returning the name of the variable; we could swap that usage over directly. :U -- with bmake has non-optional arguments, so for example: ${VAR:U} - pmake behaviour ${VAR:Uval} - make behaviour. Would that be acceptable? I can get a patch in if that's popular. Chris From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 20:07:46 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 260846D3; Fri, 26 Oct 2012 20:07:46 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id AFD0A8FC14; Fri, 26 Oct 2012 20:07:45 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so3863928obb.13 for ; Fri, 26 Oct 2012 13:07:45 -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=XB7sTe4e/Y3Tr25z4V6WbIG40NpxsOvxmoK7PIbao9o=; b=qiR38cL5Y7upGIPgQipuA25RHNMa13EOxtOOPWBB3NtFygxRrv6kuTj4G8WllKphnV uH85gKG12PsXFNVQMxRGyYyVExSxipWvlOVl1mR2w//tTqjLSh58lUpN4ylhSD/WGQrV L+AN7c8Lubw1dj6xMZ2vDDlLoS03+Knkl6H9bCMujkDKuCrDWmfH/uczFUgeZVdXKDDB /6CKaA5cHrRqV8YvC1NhWzHDsqOOaBlNdy8y8PxvuW73aC3HLaoDvgnt5TqsjjettXSf TYgfvu2FhagLNOK68JXAvMg+RM2mn1sl6afq8O+D81AEUJI4XVvZLW1L8ywvVJe+mxKu 2LbA== MIME-Version: 1.0 Received: by 10.60.13.198 with SMTP id j6mr20395080oec.51.1351282065065; Fri, 26 Oct 2012 13:07:45 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Fri, 26 Oct 2012 13:07:45 -0700 (PDT) In-Reply-To: <20121026195424.8AE4858094@chaos.jnpr.net> References: <20121001223100.E7D0D58093@chaos.jnpr.net> <20121002000030.54CEE58093@chaos.jnpr.net> <20121026165414.GA43599@dragon.NUXI.org> <20121026195424.8AE4858094@chaos.jnpr.net> Date: Fri, 26 Oct 2012 13:07:45 -0700 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program From: Garrett Cooper To: "Simon J. Gerraty" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 20:07:46 -0000 On Fri, Oct 26, 2012 at 12:54 PM, Simon J. Gerraty wrote: > > On Fri, 26 Oct 2012 12:27:35 -0700, Garrett Cooper writes: >>There are some basic examples, but they're in my p4 branch and >>unfortunately they depend on atf.test.mk/bsd.test.mk/bsd.progs.mk > > Speaking of which. I notice there is now a bsd.progs.mk in head, which > bears little relationship to the one I was talking about (from > devel/bmake). Is this bsd.progs.mk essentially your port of netbsd's > bsd.prog.mk it seems much more complex than should be necessary (my > progs.mk is 75 lines vs 350 for the one in head). Yup. I was a bit surprised it was committed, but there might have been some confusion over what all was going to go in with the ATF port. > Would you be awfully upset if I replace it with the simpler one? Nah. Feel free to nuke it and remove it from the build once you get progs.mk in proper shape; I'm more concerned about completing the atf.test.mk/bsd.test.mk snippets because once those are committed I can get the test example code and the integration test patches reviewed and committed. Thanks! -Garrett From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 19:55:53 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29147169; Fri, 26 Oct 2012 19:55:53 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og122.obsmtp.com (exprod7og122.obsmtp.com [64.18.2.22]) by mx1.freebsd.org (Postfix) with ESMTP id 6C8218FC0A; Fri, 26 Oct 2012 19:55:51 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob122.postini.com ([64.18.6.12]) with SMTP ID DSNKUIrqxi4zH+FtMrZ7kwUyaV7fFWapYE0v@postini.com; Fri, 26 Oct 2012 12:55:52 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Fri, 26 Oct 2012 12:54:25 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9QJsOh78986; Fri, 26 Oct 2012 12:54:24 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 8AE4858094; Fri, 26 Oct 2012 12:54:24 -0700 (PDT) To: Garrett Cooper Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: References: <20121001223100.E7D0D58093@chaos.jnpr.net> <20121002000030.54CEE58093@chaos.jnpr.net> <20121026165414.GA43599@dragon.NUXI.org> Comments: In-reply-to: Garrett Cooper message dated "Fri, 26 Oct 2012 12:27:35 -0700." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Fri, 26 Oct 2012 12:54:24 -0700 Message-ID: <20121026195424.8AE4858094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Fri, 26 Oct 2012 20:29:36 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 19:55:53 -0000 On Fri, 26 Oct 2012 12:27:35 -0700, Garrett Cooper writes: >There are some basic examples, but they're in my p4 branch and >unfortunately they depend on atf.test.mk/bsd.test.mk/bsd.progs.mk Speaking of which. I notice there is now a bsd.progs.mk in head, which bears little relationship to the one I was talking about (from devel/bmake). Is this bsd.progs.mk essentially your port of netbsd's bsd.prog.mk it seems much more complex than should be necessary (my progs.mk is 75 lines vs 350 for the one in head). Would you be awfully upset if I replace it with the simpler one? From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 21:02:03 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20310E3B; Fri, 26 Oct 2012 21:02:03 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 11ECC8FC12; Fri, 26 Oct 2012 21:02:01 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1469342bkc.13 for ; Fri, 26 Oct 2012 14:02:01 -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=AnRUl/YirLEs9JqXtDeHnLaxPeHNZBg3akAT5QcAKbc=; b=mG6PHdlwEFqwxmx0OaA1MJiohaLfGyoudvqwS4RMqQFoI0nhnAq84R1GwXxNjX81Ne SxdLfR3CQOpUDNDDCI0NgzpgV3+imeHSbl4zLC66Nj0fLEnDDzuZ5tad8jrsKbXasojQ Dn2m4QPV7wJ/lLkntzmwOtkK5i/RmlcAIMTlAwtD9OhqvTSxVEMtNL455melY4IrgMXy NW3jifXabwl135MX5KUyPav7AqClFuj9O6YHh5Cq2RSibChlaVUxf7TvSL6ExvKeAH3i CLdl3/LKZm2XGy8lqd2dU33eJCQWTyI3KbskR9flfME5nrLbji37sQSgIk1IEvu2g45O ABrg== MIME-Version: 1.0 Received: by 10.205.137.7 with SMTP id im7mr7345468bkc.25.1351285320930; Fri, 26 Oct 2012 14:02:00 -0700 (PDT) Received: by 10.204.50.197 with HTTP; Fri, 26 Oct 2012 14:02:00 -0700 (PDT) Received: by 10.204.50.197 with HTTP; Fri, 26 Oct 2012 14:02:00 -0700 (PDT) In-Reply-To: <20121026204910.E1FFA58094@chaos.jnpr.net> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> Date: Fri, 26 Oct 2012 22:02:00 +0100 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program From: Chris Rees To: "Simon J. Gerraty" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Baptiste Daroussin , Garrett Cooper , freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 21:02:03 -0000 On 26 Oct 2012 21:51, "Simon J. Gerraty" wrote: > > > On Fri, 26 Oct 2012 21:00:26 +0100, Chris Rees writes: > >:L -- seems that bmake's use for this is kinda pointless; returning the > >name of the variable; we could swap that usage over directly. > > Acutally it is very useful. > The debugging facilities in dirdeps.mk rely on it. > The junos build uses it in many other places too. > > > >:U -- with bmake has non-optional arguments, so for example: > > > >${VAR:U} - pmake behaviour > > > >${VAR:Uval} - make behaviour. > > > >Would that be acceptable? I can get a patch in if that's popular. > > No, please don't do that. > I'm trying to reduce the divergence b/w freebsd and netbsd. In that case we have a switch time on the order of years, not weeks; 8.3 is supported until May '14, and unless we get a :tl etc MFC into 8, even longer. All this time the ports tree must work with pmake. I don't want to discourage you or belittle your excellent work here, but Marcel made me very nervous with his comment on the process being "a few weeks". Chris From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 20:51:37 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5291EB56; Fri, 26 Oct 2012 20:51:37 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og117.obsmtp.com (exprod7og117.obsmtp.com [64.18.2.6]) by mx1.freebsd.org (Postfix) with ESMTP id A9C2B8FC0C; Fri, 26 Oct 2012 20:51:33 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob117.postini.com ([64.18.6.12]) with SMTP ID DSNKUIr31BFoMan+dQpLQLfVc0lbJC7nVY+T@postini.com; Fri, 26 Oct 2012 13:51:36 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Fri, 26 Oct 2012 13:49:11 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9QKnBh31495; Fri, 26 Oct 2012 13:49:11 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id E1FFA58094; Fri, 26 Oct 2012 13:49:10 -0700 (PDT) To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> Comments: In-reply-to: Chris Rees message dated "Fri, 26 Oct 2012 21:00:26 +0100." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Fri, 26 Oct 2012 13:49:10 -0700 Message-ID: <20121026204910.E1FFA58094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Fri, 26 Oct 2012 21:04:50 +0000 Cc: Baptiste Daroussin , Garrett Cooper , freebsd-hackers@freebsd.org, Marcel Moolenaar , Chris Rees , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 20:51:37 -0000 On Fri, 26 Oct 2012 21:00:26 +0100, Chris Rees writes: >:L -- seems that bmake's use for this is kinda pointless; returning the >name of the variable; we could swap that usage over directly. Acutally it is very useful. The debugging facilities in dirdeps.mk rely on it. The junos build uses it in many other places too. >:U -- with bmake has non-optional arguments, so for example: > >${VAR:U} - pmake behaviour > >${VAR:Uval} - make behaviour. > >Would that be acceptable? I can get a patch in if that's popular. No, please don't do that. I'm trying to reduce the divergence b/w freebsd and netbsd. From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 21:17:59 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 689753F3 for ; Fri, 26 Oct 2012 21:17:59 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from mo6-p00-ob.rzone.de (mo6-p00-ob.rzone.de [IPv6:2a01:238:20a:202:5300::1]) by mx1.freebsd.org (Postfix) with ESMTP id B01218FC14 for ; Fri, 26 Oct 2012 21:17:58 +0000 (UTC) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/auYssSp3lXGlYOgHGss= X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de (ip-2-207-252-182.web.vodafone.de [2.207.252.182]) by smtp.strato.de (joses mo32) (RZmta 30.20 DYNA|AUTH) with (AES128-SHA encrypted) ESMTPA id V02064o9QKNE1F for ; Fri, 26 Oct 2012 23:17:54 +0200 (CEST) Received: by britannica.bec.de (sSMTP sendmail emulation); Fri, 26 Oct 2012 23:17:50 +0200 Date: Fri, 26 Oct 2012 23:17:50 +0200 From: Joerg Sonnenberger To: freebsd-hackers@freebsd.org Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121026211750.GA19924@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 21:17:59 -0000 On Fri, Oct 26, 2012 at 09:00:26PM +0100, Chris Rees wrote: > :U -- with bmake has non-optional arguments, so for example: > > ${VAR:U} - pmake behaviour > > ${VAR:Uval} - make behaviour. > > Would that be acceptable? I can get a patch in if that's popular. ${VAR:U} is useful for bmake as well. For example, .if conditionals can avoid explicit checks for defined and/or quoting that way. Joerg From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 22:07:35 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84432D37; Fri, 26 Oct 2012 22:07:35 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (pancho.soaustin.net [76.74.250.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5C0D08FC12; Fri, 26 Oct 2012 22:07:34 +0000 (UTC) Received: by mail.soaustin.net (Postfix, from userid 502) id 753EF5605B; Fri, 26 Oct 2012 17:07:33 -0500 (CDT) Date: Fri, 26 Oct 2012 17:07:33 -0500 From: Mark Linimon To: obrien@freebsd.org, Garrett Cooper , Marcel Moolenaar , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" Subject: Re: Installing make as pmake when WITH_BMAKE specified (was Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program) Message-ID: <20121026220733.GE29807@lonesome.com> References: <20121026163420.GE43045@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121026163420.GE43045@dragon.NUXI.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Mailman-Approved-At: Fri, 26 Oct 2012 22:48:29 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 22:07:35 -0000 On Fri, Oct 26, 2012 at 09:34:20AM -0700, David O'Brien wrote: > (there are no pre-build packages for 10-CURRENT). Please see the first two entries on: http://pkgbeta.freebsd.org/ mcl From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 23:16:27 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FB4D77; Fri, 26 Oct 2012 23:16:27 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 3B65F8FC08; Fri, 26 Oct 2012 23:16:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9QNGR0A054805; Fri, 26 Oct 2012 23:16:27 GMT (envelope-from bapt@freebsd.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9QNGQaL054804; Fri, 26 Oct 2012 23:16:26 GMT (envelope-from bapt@freebsd.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@freebsd.org using -f Date: Sat, 27 Oct 2012 01:16:24 +0200 From: Baptiste Daroussin To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <20121026231624.GH18995@ithaqua.etoilebsd.net> References: <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VkqCAaSJIySsbD6j" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Garrett Cooper , freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org, "Simon J. Gerraty" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 23:16:27 -0000 --VkqCAaSJIySsbD6j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 26, 2012 at 10:02:00PM +0100, Chris Rees wrote: > On 26 Oct 2012 21:51, "Simon J. Gerraty" wrote: > > > > > > On Fri, 26 Oct 2012 21:00:26 +0100, Chris Rees writes: > > >:L -- seems that bmake's use for this is kinda pointless; returning the > > >name of the variable; we could swap that usage over directly. > > > > Acutally it is very useful. > > The debugging facilities in dirdeps.mk rely on it. > > The junos build uses it in many other places too. > > > > > > >:U -- with bmake has non-optional arguments, so for example: > > > > > >${VAR:U} - pmake behaviour > > > > > >${VAR:Uval} - make behaviour. > > > > > >Would that be acceptable? I can get a patch in if that's popular. > > > > No, please don't do that. > > I'm trying to reduce the divergence b/w freebsd and netbsd. >=20 > In that case we have a switch time on the order of years, not weeks; 8.3 = is > supported until May '14, and unless we get a :tl etc MFC into 8, even > longer. All this time the ports tree must work with pmake. :tl/:tu has already been MFCed to 8 iirc. >=20 > I don't want to discourage you or belittle your excellent work here, but > Marcel made me very nervous with his comment on the process being "a few > weeks". >=20 > Chris --VkqCAaSJIySsbD6j Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCLGcgACgkQ8kTtMUmk6Ey4KQCdHZtgU8zYv/eBiU2L7Dz3gmN8 mV4AoJPWMJW9mHxFlMzFaE2e4qN0e1x4 =gBAA -----END PGP SIGNATURE----- --VkqCAaSJIySsbD6j-- From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 26 23:35:55 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5FF163A5; Fri, 26 Oct 2012 23:35:55 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og124.obsmtp.com (exprod7og124.obsmtp.com [64.18.2.26]) by mx1.freebsd.org (Postfix) with ESMTP id 53AC48FC12; Fri, 26 Oct 2012 23:35:52 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob124.postini.com ([64.18.6.12]) with SMTP ID DSNKUIseV9qfjJ08Ms1nKECRuEvIaOrIOM2n@postini.com; Fri, 26 Oct 2012 16:35:54 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Fri, 26 Oct 2012 16:32:32 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9QNWVh15791; Fri, 26 Oct 2012 16:32:31 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 54FB858094; Fri, 26 Oct 2012 16:32:25 -0700 (PDT) To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> Comments: In-reply-to: Chris Rees message dated "Fri, 26 Oct 2012 22:02:00 +0100." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Fri, 26 Oct 2012 16:32:25 -0700 Message-ID: <20121026233225.54FB858094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Sat, 27 Oct 2012 01:22:47 +0000 Cc: Baptiste Daroussin , Garrett Cooper , freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 23:35:55 -0000 On Fri, 26 Oct 2012 22:02:00 +0100, Chris Rees writes: >In that case we have a switch time on the order of years, not weeks; 8.3 is >supported until May '14, and unless we get a :tl etc MFC into 8, even >longer. All this time the ports tree must work with pmake. I'm pretty sure I was told it is already in 8 and 7 >I don't want to discourage you or belittle your excellent work here, but >Marcel made me very nervous with his comment on the process being "a few >weeks". That was based on discussions at the last devsummit. From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 05:14:06 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57C1C8BD for ; Sat, 27 Oct 2012 05:14:06 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 22BE78FC0A for ; Sat, 27 Oct 2012 05:14:06 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id q9R5E5nv076830 for ; Fri, 26 Oct 2012 22:14:05 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <508B6D9D.9050103@rawbw.com> Date: Fri, 26 Oct 2012 22:14:05 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121023 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org Subject: How to boot FreeBSD and linux from FreeBSD MBR? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 05:14:06 -0000 When I installed ubuntu on another partition, it overwrote BSD MBR with grub one. Now grub boots ubuntu without even asking what to boot. When I tried to restore BSD MBR, BSD boots but linux doesn't. This is because there is no bootable PBR in linux partition. When I tried to install grub into PBR on its own partition, like someone online suggested, it refused with the message that this is dangerous, etc. So is there a way to boot both linux and BSD from BSD MBR (by pressing F2 or whatever)? Are there quick instructions anywhere? I just don't want grub to take over the boot process. Yuri From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 06:50:06 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E099DF5 for ; Sat, 27 Oct 2012 06:50:06 +0000 (UTC) (envelope-from willingbug@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id E13BA8FC08 for ; Sat, 27 Oct 2012 06:50:05 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so2521135pad.13 for ; Fri, 26 Oct 2012 23:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:to:from:subject:date:mime-version:content-type; bh=kngEZAzxRT9j6t9L3WTUBMpobQHn4QUtzXTH+hcgStA=; b=L2YzHBwcnlbeeqtyASmR/RHToLV2ZmyObaPcPUwqEEelNzY0TO658rRhBkokcXPGDH vTENDXdQtWB95cXGyhOtHgo4immVQ6NxcuuLknH7xBMQLeZrhxgSX6G+zMQIUSRlA+S6 OkvKEG1jH7F6pIDFdxxF94JNf6n2I3vUPLavhc4X2e7mwOe7HBBZTeUm7T5PUyqeJheR 7ZTD3KVkSK3lYEaPO8rrMxFynG9OeO5XVGDG2muu7aumlO24fb1BoXet7e1qH6xDQRTA KCpH9y1EomCv90uju3gQ0vWt5fOqNrSm0R64KNy9P83IvATX+4I0LCA0q27wYPImokyj tUTQ== Received: by 10.68.235.106 with SMTP id ul10mr76917716pbc.83.1351320605705; Fri, 26 Oct 2012 23:50:05 -0700 (PDT) Received: from [10.6.217.198] ([61.148.243.72]) by mx.google.com with ESMTPS id b6sm2250338pav.33.2012.10.26.23.49.54 (version=SSLv3 cipher=OTHER); Fri, 26 Oct 2012 23:50:05 -0700 (PDT) Message-ID: <508b841d.4648420a.335b.ffffbf90@mx.google.com> To: freebsd-hackers@freebsd.org From: "=?utf-8?B?d2lsbGluZ2J1Z0BnbWFpbC5jb20=?=" Subject: =?utf-8?B?77yB77yB77yB?= Date: Sat, 27 Oct 2012 14:49:59 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 06:50:06 -0000 Cgrlj5HpgIHoh6rmiJHnmoRIVEMg5paw5ri05pybIFYKCg== From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 09:15:44 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8CC1BBD; Sat, 27 Oct 2012 09:15:44 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 787668FC0C; Sat, 27 Oct 2012 09:15:43 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1557594bkc.13 for ; Sat, 27 Oct 2012 02:15:42 -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=0Pu35tmM3A9eIn47xp8pVKaUju8XWPImiNfj4QAfck0=; b=qbIxSw1Wz5EnxHxRtTcFxwj6JcY9K31OPlqKF3J+pJ5KcKQ1GM0ew0MTyXUGAuGAMR 0sqdeXPiJimWW05UwiPsjgdX++8jjFG6QCdxq78aknnB7dckPiX5+/tbOOlT2KNZK5AL b9J/w3kuqEOCGJie4b0wpDhhWX3WRpUHZZn0hVX7ORqf9JEOg8GVVk8x/PJjovrUAJNX Ju9ETW1npie3gWDezGWIJvEx195m0u19XVAndUcZ4Ts3xAouShDeoJH5GbyTN8XS40Xb W9uJ5TBDMAdVJh2AG8zqx6bkTwkxaY5xqaUrXnuiz7LrCY+wjKIrniQAPTtptUDZD46B UR7Q== MIME-Version: 1.0 Received: by 10.204.11.207 with SMTP id u15mr7897216bku.40.1351329342295; Sat, 27 Oct 2012 02:15:42 -0700 (PDT) Received: by 10.204.50.197 with HTTP; Sat, 27 Oct 2012 02:15:41 -0700 (PDT) Received: by 10.204.50.197 with HTTP; Sat, 27 Oct 2012 02:15:41 -0700 (PDT) In-Reply-To: <20121026233225.54FB858094@chaos.jnpr.net> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> <20121026233225.54FB858094@chaos.jnpr.net> Date: Sat, 27 Oct 2012 10:15:41 +0100 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program From: Chris Rees To: "Simon J. Gerraty" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Baptiste Daroussin , Garrett Cooper , freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 09:15:44 -0000 On 27 Oct 2012 00:35, "Simon J. Gerraty" wrote: > > > On Fri, 26 Oct 2012 22:02:00 +0100, Chris Rees writes: > >In that case we have a switch time on the order of years, not weeks; 8.3 is > >supported until May '14, and unless we get a :tl etc MFC into 8, even > >longer. All this time the ports tree must work with pmake. > > I'm pretty sure I was told it is already in 8 and 7 Not in 8.3 at least: svnweb.freebsd.org/base/releng/8.3/usr.bin/make/var.c?view=log > >I don't want to discourage you or belittle your excellent work here, but > >Marcel made me very nervous with his comment on the process being "a few > >weeks". > > That was based on discussions at the last devsummit. These discussions need backing up with a real roadmap, including detail on exactly what 8.3 and 7.4 users will have to do to ensure that the ports tree still works. I don't see where these considerations have been made. Chris From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 09:42:44 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 39AA974C for ; Sat, 27 Oct 2012 09:42:44 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 07A8C8FC08 for ; Sat, 27 Oct 2012 09:42:43 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so2572178pad.13 for ; Sat, 27 Oct 2012 02:42:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=MFy9xhk4K2EgfwSNILhrbjdWO7vIRK0pQzyKIatF2SA=; b=DDuwakHjqCBJmEBObpr5cLh6iv9ElhmmMZ1a3167U6mbKl+/Y7zfNMbYF6kCj4iNyh qZDS5j773Ayfhhw/FKPSoGgi+c5P+29j7/kpSBJCjuEgO5N1RtihAVbtxbLJWMjzifS1 bFKOY2kziq+6FijWAz9Kgb7h+6/ogRxymg31+F479chx+zBtU/qF3DAGYPk/9hQkreb4 gQMsijD4DpJqqtP3ms3p71lBNzzBd6817srS/kYEojEsribonDNWiVgGr2a8wTVGyt3l UZT/ocVDYwUKJV2Rn3/s1LJ8P/IEOFcjFlaekmaA5MRhlX4/4vtBGZQ/IrAo8ebEHa9j Ss9w== Received: by 10.68.226.136 with SMTP id rs8mr77364143pbc.153.1351330963524; Sat, 27 Oct 2012 02:42:43 -0700 (PDT) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPS id ni3sm2588612pbc.2.2012.10.27.02.42.41 (version=SSLv3 cipher=OTHER); Sat, 27 Oct 2012 02:42:42 -0700 (PDT) Message-ID: <508BAC7E.5090406@gmail.com> Date: Sat, 27 Oct 2012 02:42:22 -0700 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121015 Thunderbird/16.0.1 MIME-Version: 1.0 To: Yuri Subject: Re: How to boot FreeBSD and linux from FreeBSD MBR? References: <508B6D9D.9050103@rawbw.com> In-Reply-To: <508B6D9D.9050103@rawbw.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 09:42:44 -0000 On 10/26/12 22:14, Yuri wrote: > When I installed ubuntu on another partition, it overwrote BSD MBR > with grub one. > Now grub boots ubuntu without even asking what to boot. > When I tried to restore BSD MBR, BSD boots but linux doesn't. This is > because there is no bootable PBR in linux partition. > When I tried to install grub into PBR on its own partition, like > someone online suggested, it refused with the message that this is > dangerous, etc. > > So is there a way to boot both linux and BSD from BSD MBR (by pressing > F2 or whatever)? > Are there quick instructions anywhere? > I just don't want grub to take over the boot process. > > Yuri > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > This means you have grub2. It is slow as molasses and has to be the mbr. You could chainload freebsd's partition under a separate entry, like Windows The partition bootcode for FreeBSD will boot it from there. You can also boot loader or kernel directly from grub, your choice. Matt From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 06:16:14 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D2C9C8E; Sat, 27 Oct 2012 06:16:14 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og127.obsmtp.com (exprod7og127.obsmtp.com [64.18.2.210]) by mx1.freebsd.org (Postfix) with ESMTP id 739358FC08; Sat, 27 Oct 2012 06:16:11 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob127.postini.com ([64.18.6.12]) with SMTP ID DSNKUIt8JGT1pC6zLXy6e8FDSjhkfuSM2llS@postini.com; Fri, 26 Oct 2012 23:16:14 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Fri, 26 Oct 2012 23:02:56 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9R62uh32925; Fri, 26 Oct 2012 23:02:56 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 21F6458094; Fri, 26 Oct 2012 23:02:56 -0700 (PDT) To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> Comments: In-reply-to: Chris Rees message dated "Fri, 26 Oct 2012 22:02:00 +0100." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Fri, 26 Oct 2012 23:02:56 -0700 Message-ID: <20121027060256.21F6458094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Sat, 27 Oct 2012 11:10:05 +0000 Cc: Baptiste Daroussin , Garrett Cooper , freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 06:16:14 -0000 BTW, would it be useful to put a devel/fmake into ports to make it easy for people with older systems to install an up to date version of freebsd make (which groks both sets of toupper/tolower modifiers)? Perhaps a knob to install it or put in a link as /usr/bin/make ? From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 13:24:03 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D750283D; Sat, 27 Oct 2012 13:24:02 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2A7368FC0C; Sat, 27 Oct 2012 13:24:01 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1589133bkc.13 for ; Sat, 27 Oct 2012 06:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=09s1lwVD/en4QyVTMw9LlWZKP53djR4oJjSs9HCLD9s=; b=b67cUj4iOOHLn41MvyXXoI6QHpgvcXMRMdW3IRm1U/1utHJ+TpTD8iFkWQ9WegRgdd REBRyxh7v7zteDtzbqn32MaBZCANVSSR2Q/xkmPbpO56VJ4jDEuW8Lf26rlTbwIeqSy/ ScXxiY7sZS287Fu3wvdmRXYOMnMqzBnacHPkNsjXTpoWqY8gqVc92KmEN0I58mopBWHE yXEHQ2Ed9Xu6+Rx8rmXrp1aFj+W0LkZUfsXmVv2+HBvvER3spIWMP4AulYxyk9gm7utR AeYlcy0iwQt1CxHacb5kXIvEccMAlTQPMfR7UIi4noIVchYAKdkMJZA/Bm8xglQ3rAUc Efjg== Received: by 10.204.128.201 with SMTP id l9mr7768215bks.66.1351344240677; Sat, 27 Oct 2012 06:24:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.50.197 with HTTP; Sat, 27 Oct 2012 06:23:29 -0700 (PDT) In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> <20121026233225.54FB858094@chaos.jnpr.net> From: Chris Rees Date: Sat, 27 Oct 2012 14:23:29 +0100 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program To: "Simon J. Gerraty" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 13:24:03 -0000 [trim CC list a little to stop people regretting replying to this thread] On 27 October 2012 10:15, Chris Rees wrote: > > On 27 Oct 2012 00:35, "Simon J. Gerraty" wrote: >> >> >> On Fri, 26 Oct 2012 22:02:00 +0100, Chris Rees writes: >> >In that case we have a switch time on the order of years, not weeks; 8.3 >> > is >> >supported until May '14, and unless we get a :tl etc MFC into 8, even >> >longer. All this time the ports tree must work with pmake. >> >> I'm pretty sure I was told it is already in 8 and 7 > > Not in 8.3 at least: > > svnweb.freebsd.org/base/releng/8.3/usr.bin/make/var.c?view=log > >> >I don't want to discourage you or belittle your excellent work here, but >> >Marcel made me very nervous with his comment on the process being "a few >> >weeks". >> >> That was based on discussions at the last devsummit. > > These discussions need backing up with a real roadmap, including detail on > exactly what 8.3 and 7.4 users will have to do to ensure that the ports tree > still works. > > I don't see where these considerations have been made. OK, so how about this. We (ab)use the security update mechanism to merge the pmake changes (:tl and :tu) into releng/7.4 and releng/8.3 (possibly the earlier releng branches such as 7.3, 8.2, 9.0). We could then send out a message on ports-announce, giving a few weeks' notice that the change to bsd.port.mk is going through and that users need the latest 'security' patches. When we change bsd.port.mk over, include a snippet such as the one at [1], which gives more informative error text and refers user to documentation. Although I still think this is less than ideal, it is the only way I can see that we can switch before May '14, if the urgency is there. Chris [1] http://www.bayofrum.net/~crees/patches/bmake-pmake.diff From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 14:34:52 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4081A4C0; Sat, 27 Oct 2012 14:34:52 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 841AC8FC08; Sat, 27 Oct 2012 14:34:51 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1598788bkc.13 for ; Sat, 27 Oct 2012 07:34:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=xr6CM+TFAxSdxAqFFGjWD2ua6cg2AYBcJ47fnQneAqQ=; b=UsKm/EZpnWu6df8SNClJovI+T2TPx9Eh763REKtCrvHRQKTuEDQBWOVE5ygxCz5voV i71N+SSAf7P3g8AX1XOk6cghbUt2MHlDHUgj+zKuMlWXe2g1GGpIccoZvEKE8QArzXI0 rqpnQ+FVvwuRAd2YGOwDxX7zxmWgus7NeBOlrAhTNKjLRZm3OeoEDsnsEKN7jL/3hPM6 vRY0D5D2Tqbzhh4x8zIrWQFGcRJvlO3UgyKvD3wZs8jYzRbIW9obNNhYMPuYBtj/reA/ 3NU6jjALHBROUn8JRlcRaddVGWxwHvoMAionbRDDeyp2u8/v2aFkIHa4C8VP+v9sIuPI DKSw== Received: by 10.204.4.200 with SMTP id 8mr8228983bks.81.1351348490307; Sat, 27 Oct 2012 07:34:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.50.197 with HTTP; Sat, 27 Oct 2012 07:34:19 -0700 (PDT) In-Reply-To: <508BF062.8020101@shatow.net> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> <20121026233225.54FB858094@chaos.jnpr.net> <508BF062.8020101@shatow.net> From: Chris Rees Date: Sat, 27 Oct 2012 15:34:19 +0100 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program To: Bryan Drewery Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 14:34:52 -0000 On 27 October 2012 15:32, Bryan Drewery wrote: > On 10/27/2012 8:23 AM, Chris Rees wrote: >> [trim CC list a little to stop people regretting replying to this thread] >> >> On 27 October 2012 10:15, Chris Rees wrote: >>> >>> On 27 Oct 2012 00:35, "Simon J. Gerraty" wrote: >>>> >>>> >>>> On Fri, 26 Oct 2012 22:02:00 +0100, Chris Rees writes: >>>>> In that case we have a switch time on the order of years, not weeks; 8.3 >>>>> is >>>>> supported until May '14, and unless we get a :tl etc MFC into 8, even >>>>> longer. All this time the ports tree must work with pmake. >>>> >>>> I'm pretty sure I was told it is already in 8 and 7 >>> >>> Not in 8.3 at least: >>> >>> svnweb.freebsd.org/base/releng/8.3/usr.bin/make/var.c?view=log >>> >>>>> I don't want to discourage you or belittle your excellent work here, but >>>>> Marcel made me very nervous with his comment on the process being "a few >>>>> weeks". >>>> >>>> That was based on discussions at the last devsummit. >>> >>> These discussions need backing up with a real roadmap, including detail on >>> exactly what 8.3 and 7.4 users will have to do to ensure that the ports tree >>> still works. >>> >>> I don't see where these considerations have been made. >> >> OK, so how about this. >> >> We (ab)use the security update mechanism to merge the pmake changes >> (:tl and :tu) into releng/7.4 and releng/8.3 (possibly the earlier >> releng branches such as 7.3, 8.2, 9.0). We could then send out a >> message on ports-announce, giving a few weeks' notice that the change >> to bsd.port.mk is going through and that users need the latest >> 'security' patches. > > This "weeks" is making a assumptions that users 1. reads ports@ or 2. > Update to security/errata patches in a timely manner or 3. Read UPDATING Quite. This should be at least a few months, otherwise we're making unreasonable requests of our users, and yet again annoy them by breaking older versions-- this time with no real benefit for end-users. Chris From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 14:32:36 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 244BC416 for ; Sat, 27 Oct 2012 14:32:36 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id BC4308FC12 for ; Sat, 27 Oct 2012 14:32:35 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=ORYxpH GDKlHk1iobOyWEJoCCAyUzL6A7feWtno7ixzIuQ7eb6Q5a2rtk7OZR94desR4Mgq 3RXQnvEPtx9OHCppmu12OwaVmC7UqoE/Nc0/nSzO/ebnduFlnxjdsKeFvPCMSlee V0MZqDxuNEGBkTWmXBnrvM3mPWPd/J+OyYHzY= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=7Ogx5lztN6c+ 1t+rIPwECuRUlMesxB3nYMkrA5O7xys=; b=X6dvXlNZqCtJeozqy2w5SqAxVHV/ +jGXP3y0UKhdVLL/Wd0H+yCO4kXJdcXikwog2ccc5sX1XmAF69qCmadTMs+KlkQo xEl1D3DrdVndp8mtSRVkG+h3HMIbfTrfp841BmNfkMtReSmhDSWbbRVjmcjWc8oU h1qoYxyuK5Xmc8s= Received: (qmail 87999 invoked from network); 27 Oct 2012 09:32:27 -0500 Received: from unknown (HELO ?10.10.0.115?) (bryan@shatow.net@10.10.0.115) by sweb.xzibition.com with ESMTPA; 27 Oct 2012 09:32:27 -0500 Message-ID: <508BF062.8020101@shatow.net> Date: Sat, 27 Oct 2012 09:32:02 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> <20121026233225.54FB858094@chaos.jnpr.net> In-Reply-To: X-Enigmail-Version: 1.4.5 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 27 Oct 2012 14:38:47 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 14:32:36 -0000 On 10/27/2012 8:23 AM, Chris Rees wrote: > [trim CC list a little to stop people regretting replying to this thread] > > On 27 October 2012 10:15, Chris Rees wrote: >> >> On 27 Oct 2012 00:35, "Simon J. Gerraty" wrote: >>> >>> >>> On Fri, 26 Oct 2012 22:02:00 +0100, Chris Rees writes: >>>> In that case we have a switch time on the order of years, not weeks; 8.3 >>>> is >>>> supported until May '14, and unless we get a :tl etc MFC into 8, even >>>> longer. All this time the ports tree must work with pmake. >>> >>> I'm pretty sure I was told it is already in 8 and 7 >> >> Not in 8.3 at least: >> >> svnweb.freebsd.org/base/releng/8.3/usr.bin/make/var.c?view=log >> >>>> I don't want to discourage you or belittle your excellent work here, but >>>> Marcel made me very nervous with his comment on the process being "a few >>>> weeks". >>> >>> That was based on discussions at the last devsummit. >> >> These discussions need backing up with a real roadmap, including detail on >> exactly what 8.3 and 7.4 users will have to do to ensure that the ports tree >> still works. >> >> I don't see where these considerations have been made. > > OK, so how about this. > > We (ab)use the security update mechanism to merge the pmake changes > (:tl and :tu) into releng/7.4 and releng/8.3 (possibly the earlier > releng branches such as 7.3, 8.2, 9.0). We could then send out a > message on ports-announce, giving a few weeks' notice that the change > to bsd.port.mk is going through and that users need the latest > 'security' patches. This "weeks" is making a assumptions that users 1. reads ports@ or 2. Update to security/errata patches in a timely manner or 3. Read UPDATING > > When we change bsd.port.mk over, include a snippet such as the one at > [1], which gives more informative error text and refers user to > documentation. > > Although I still think this is less than ideal, it is the only way I > can see that we can switch before May '14, if the urgency is there. > > Chris > > [1] http://www.bayofrum.net/~crees/patches/bmake-pmake.diff > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 14:40:44 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49FB6881 for ; Sat, 27 Oct 2012 14:40:44 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 028538FC12 for ; Sat, 27 Oct 2012 14:40:43 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id z9so1821479dad.13 for ; Sat, 27 Oct 2012 07:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=vq7DUKKMngV+p6PLSb12AWRifdFbNqRrMyS8z/hlyGE=; b=I5hS3DFeiKCRVr/V3NOhEbL/W5Hi5DAX4d5jJ7agzysaBdGWadgovZHraCtm72hzeL 1kwMLd1iPLTYxVBZpxQcrsEEty7xxtXjSM+F14EGOtok1nvBuhUJ0Vaw2YeGxW0EP8vy 2xHSUHG1TMcnZArlF1GzuoUQnGuwW2K2ZKqkA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=vq7DUKKMngV+p6PLSb12AWRifdFbNqRrMyS8z/hlyGE=; b=MXfHKsRIkz4vuU7y8WhuryGad7nXrj4nHPrArBeQRUHbAj5eHt3dZv4jwwYA1HzMaw FZUhPVbVrkNq+uUPae1qbDFLBhR9XfjI6BDjvkAdu435wbFsa55NH0grKPzUNtJTkNnW pELZ/ekiJ+K4JJoXZ2uPonh0S71Ajid7JcsZysQxZhTsOFZxKaD+YlnVDN+avZDem43U 8wdKqeCVi+ewQCRwJPZghE6Ro+IfKoNXT9BQTlUfuAvdClXzjyFDCFXcYOkeagV+ljX0 V1B2BHmYITLrhIPSw643wFyMIDUcFwofldCIZcm6M/v0kQMQFLxNSD3ITL3qoJe79toT JaWw== Received: by 10.66.90.65 with SMTP id bu1mr70362671pab.31.1351348843290; Sat, 27 Oct 2012 07:40:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.161.163 with HTTP; Sat, 27 Oct 2012 07:40:13 -0700 (PDT) In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> <20121026233225.54FB858094@chaos.jnpr.net> <508BF062.8020101@shatow.net> From: Eitan Adler Date: Sat, 27 Oct 2012 10:40:13 -0400 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program To: Chris Rees Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkL7NlPDdeg2PMM8MOisWO65ENbIXYA8y2bwkc4FClnvdnK3P0kyYV7t+juC3zcrNYmQ4OH Cc: "Simon J. Gerraty" , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, Bryan Drewery X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 14:40:44 -0000 On 27 October 2012 10:34, Chris Rees wrote: >> This "weeks" is making a assumptions that users 1. reads ports@ or 2. >> Update to security/errata patches in a timely manner or 3. Read UPDATING > > Quite. This should be at least a few months, otherwise we're making > unreasonable requests of our users, and yet again annoy them by > breaking older versions-- this time with no real benefit for > end-users. +1 I would venture to guess that most of our users don't even read -announce. In addition there are non-ports concerns here. Many people probably have custom Makefiles they use for their own projects which may rely on existing behavior. -- Eitan Adler From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 14:45:04 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DCFAC47 for ; Sat, 27 Oct 2012 14:45:04 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id D4A488FC0C for ; Sat, 27 Oct 2012 14:45:03 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=HdTCFz ur9Hkkoyb8oCSc3b5DMTbnUkR3Fs5431rlgg4XEyTke+7qIsGr85j1RRBRgezUOX OZpXuHiic+uOWT4mqvpCmBBDGSTd5xWFzH8UCOpAFJC/raO6gkcPUk8loekgkQjq PbmqjZGZEAcJ3efedPR+NVnRsh2F9G4A5vcPY= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=MlvMTgKI9L/g nTAT3gsNdFcSpViNazLCP0WITj5yPOQ=; b=iywhSYh2sU1jaoK+zeFiNX0JdSrY pgZpoSfcYl1X9S3FncBdkuHqDNn3b2NCvUQ6ybVd4Pb1BI2OmlAlXw8sOr+zdW2j ITUPNF/fDcRCgaSpusIvjpEPyBhZx6utiVYGBUrJknYNVHIkkSymD81lmPdDeQtD OFgJd45oBZE2iqc= Received: (qmail 70325 invoked from network); 27 Oct 2012 09:45:01 -0500 Received: from unknown (HELO ?10.10.0.115?) (bryan@shatow.net@10.10.0.115) by sweb.xzibition.com with ESMTPA; 27 Oct 2012 09:45:01 -0500 Message-ID: <508BF354.4060208@shatow.net> Date: Sat, 27 Oct 2012 09:44:36 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: "Simon J. Gerraty" Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program References: <201210020750.23358.jhb@freebsd.org> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> <20121026233225.54FB858094@chaos.jnpr.net> <508BF062.8020101@shatow.net> In-Reply-To: X-Enigmail-Version: 1.4.5 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 27 Oct 2012 15:37:53 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 14:45:04 -0000 On 10/27/2012 9:40 AM, Eitan Adler wrote: > On 27 October 2012 10:34, Chris Rees wrote: >>> This "weeks" is making a assumptions that users 1. reads ports@ or 2. >>> Update to security/errata patches in a timely manner or 3. Read UPDATING >> >> Quite. This should be at least a few months, otherwise we're making >> unreasonable requests of our users, and yet again annoy them by >> breaking older versions-- this time with no real benefit for >> end-users. > > +1 > > I would venture to guess that most of our users don't even read -announce. > > In addition there are non-ports concerns here. Many people probably > have custom Makefiles they use for their own projects which may rely > on existing behavior. > > I apologize for not reading the full thread. Could there be a make.conf/env setting to make bmake run AS pmake in full compat mode? On by default until all older branches are EoL, then it can flip and be optional. Or even via a symlink, whatever it is invoked as is what mode it runs in. Bryan From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 16:30:09 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FEE1D7B for ; Sat, 27 Oct 2012 16:30:09 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1C4818FC0A for ; Sat, 27 Oct 2012 16:30:08 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1615170bkc.13 for ; Sat, 27 Oct 2012 09:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=bRmqJwQ5YX/8TT7HzALZej+4ObaIlDBf5roz06gQOZw=; b=xnZuMomsO8UHrFnrAgBhc9RG1FJvKm1q7e2qeaBU/qIQ5Vzut376w801axuqYwBJKf CMp3MgHCrHEJafmDM3WMIf6mJmBDafxg/HhMr6W9QYiHUV4uVjJKsr1etWxCYnW7CWY9 BvOx0QZ7HHCT5bTDgbCN36uq+N+dm2ezAFXXK/Tms2JDAK95ekD+NVlOTsyDKrLqeTZ5 HBI6bPdMS14M2IcBO/VAAJPvdCcVr+Z0B1sAN/bX6Lt395nS3UvDYmU8cTzWOB4Nt7N/ rVz2BQ7AbspnPG2NjIw7x8YrwsbHT9bWxL9LPB3a/hnQicElmQrWW1z4KD36wT2yXyFt VkGA== Received: by 10.204.7.213 with SMTP id e21mr7792366bke.32.1351355407814; Sat, 27 Oct 2012 09:30:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.50.197 with HTTP; Sat, 27 Oct 2012 09:29:37 -0700 (PDT) From: Chris Rees Date: Sat, 27 Oct 2012 17:29:37 +0100 Message-ID: Subject: Call for review -- rc needs some love! To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 16:30:09 -0000 Hi all, I've tried to have a look at some of the lingering issues in our rc [1] as well as kick up some discussion over some other patches, but looking over the archives of the list it seems that no-one is maintaining it or reviewing patches. Because of this, I'm having a hard time working out how to get any of my patches in! Please would someone with a src bit review some of my fixes [2]? I'm working on a few more, but I would need approval for anything committed. Thanks! Chris [1] http://www.freebsd.org/cgi/query-pr-summary.cgi?responsible=freebsd-rc [2] http://lists.freebsd.org/pipermail/freebsd-rc/2012-October/thread.html From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 17:33:29 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52A69FF0; Sat, 27 Oct 2012 17:33:29 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 47A238FC14; Sat, 27 Oct 2012 17:33:27 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1623090bkc.13 for ; Sat, 27 Oct 2012 10:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=cYyxkET+uMdFbHYve7ytzTgf2oHR/8unils6z9LEOpw=; b=Sk2mJfgmSsZ7k1K1Guv6q2gYJaa27N50W3wDv/qVm+eZJCNySdFq/+ZeSU8CxXjwI2 Yzpvq9rFFLTENt+XPtxpSYdm7fx6zALSvoLopXiOj6HeeDNcAKxV93vQPgtsJoROm4dS U53hHjaoT+XSfmylXdz3pcsbcvnuIIOwiANH50hdLqE4v1K2T1qGR7svj4att1x8jFW6 iLScxRAJ17HAKgy9tU9EkseWsrNmkwQhhKJOjzEWgzg/4uakXnSHjnC6fU86dKcf8bOJ DY+yWBtS6JLOJWwNfNWxVg3Cagme5YZhhsY+MqjYMx0Oj3uL891dlxeiiVnfGu+YqnQB kZ6w== Received: by 10.204.150.213 with SMTP id z21mr8234868bkv.45.1351359207182; Sat, 27 Oct 2012 10:33:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.50.197 with HTTP; Sat, 27 Oct 2012 10:32:56 -0700 (PDT) In-Reply-To: <20121027172742.E7E8558094@chaos.jnpr.net> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> <20121026233225.54FB858094@chaos.jnpr.net> <20121027172742.E7E8558094@chaos.jnpr.net> From: Chris Rees Date: Sat, 27 Oct 2012 18:32:56 +0100 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program To: "Simon J. Gerraty" Content-Type: text/plain; charset=ISO-8859-1 Cc: Baptiste Daroussin , Garrett Cooper , freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 17:33:29 -0000 On 27 October 2012 18:27, Simon J. Gerraty wrote: >>These discussions need backing up with a real roadmap, including detail on >>exactly what 8.3 and 7.4 users will have to do to ensure that the ports >>tree still works. > > I've tested the ports tree converted to bmake - per the "patch" I > mentioned on a 7.1 box. It worked for me. Once the ports tree has > found or installed bmake, the system version makes no further > difference. > > Obviously not a conclusive result, but yes this issue has been given > consideration. What about these? [crees@pegasus]~% grep -n :\[LU] /usr/ports/Mk/bsd.port.mk | tee /dev/tty | wc -l 1324:PORTVERSION= ${DISTVERSION:L:C/([a-z])[a-z]+/\1/g:C/([0-9])([a-z])/\1.\2/g:C/:(.)/\1/g:C/[^a-z0-9+]+/./g} 1451:.if (defined(USE_QT_VER) && ${USE_QT_VER:L} == 3) || defined(USE_KDELIBS_VER) || defined(USE_KDEBASE_VER) 1455:.if defined(USE_QT_VER) && ${USE_QT_VER:L} == 4 || defined(USE_QT4) 1674:.if ${USE_PKGCONFIG:L} == yes || ${USE_PKGCONFIG:L} == build 1677:.elif ${USE_PKGCONFIG:L} == both 1681:.elif ${USE_PKGCONFIG:L} == run 1696:${b}= ${LOCALBASE}/bin/${b:C/PP/++/:L} 1763:_USE_OPENAL+= ${_OPENAL_${_OPENAL_SYSTEM:U}} 1783:_USE_OPENAL+= ${_OPENAL_${component:U}} 1829:.if defined(FAM_SYSTEM_${FAM_SYSTEM:U}) 1830:LIB_DEPENDS+= ${FAM_SYSTEM_${FAM_SYSTEM:U}} 1836:.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES" 1844:.if defined(USE_LDCONFIG) && ${USE_LDCONFIG:L} == "yes" 1847:.if defined(USE_LDCONFIG32) && ${USE_LDCONFIG32:L} == "yes" 1856:. if ${USE_GETTEXT:L} == "build" 1858:. elif ${USE_GETTEXT:L} == "run" 1860:. elif ${USE_GETTEXT:L} == "yes" 1888:. if ${USE_LINUX:L} == yes 1899:. if ${USE_LINUX:L} == "yes" 1977:. if ${USE_GL:L} == "yes" 1994:. if ${USE_BISON:L} == "build" 1996:. elif ${USE_BISON:L} == "run" 1998:. elif ${USE_BISON:L} == "both" 2044:.if defined(USE_QT_VER) && ${USE_QT_VER:L} == 4 || defined(USE_QT4) 3038:_MANPAGES+= ${MAN${sect}:S%^%${MAN${sect}PREFIX}/${manlang}/man${sect:L}/%} 3043:.if defined(MAN${sect}_${manlang:S%^man/%%:U}) 3044:_MANPAGES+= ${MAN${sect}_${manlang:S%^man/%%:U}:S%^%${MAN${sect}PREFIX}/${manlang}/man${sect:L}/%} 3056:_MANPAGES+= ${MAN${sect}_EN:S%^%${MAN${sect}PREFIX}/man/man${sect:L}/%} 3312: || defined(CONFIG_DONE_${UNIQUENAME:U}) || \ 3600:.if ${USE_DOS2UNIX:U}=="YES" 4361:${target}: ${${target:U}_COOKIE} 4364: @cd ${.CURDIR} && ${MAKE} CONFIG_DONE_${UNIQUENAME:U}=1 ${${target:U}_COOKIE} 4368:.if !exists(${${target:U}_COOKIE}) 4370:.if ${UID} != 0 && defined(_${target:U}_SUSEQ) && !defined(INSTALL_AS_USER) 4372:${${target:U}_COOKIE}: ${_${target:U}_DEP} 4373: @cd ${.CURDIR} && ${MAKE} ${_${target:U}_SEQ} 4375:${${target:U}_COOKIE}: ${_${target:U}_DEP} ${_${target:U}_SEQ} 4379: ${SU_CMD} "${MAKE} ${_${target:U}_SUSEQ}" 4383:${${target:U}_COOKIE}: ${_${target:U}_DEP} 4385: ${MAKE} ${_${target:U}_SEQ} ${_${target:U}_SUSEQ} 4388:${${target:U}_COOKIE}: ${_${target:U}_DEP} ${_${target:U}_SEQ} ${_${target:U}_SUSEQ} 4393:${${target:U}_COOKIE}:: 4802: for alg in ${CHECKSUM_ALGORITHMS:U}; do \ 4825: for alg in ${CHECKSUM_ALGORITHMS:U}; do \ 4836: for alg in ${CHECKSUM_ALGORITHMS:U}; do \ 4850: for alg in ${CHECKSUM_ALGORITHMS:U}; do \ 4904: for alg in ${CHECKSUM_ALGORITHMS:U}; do \ 5032:${deptype:L}-depends: 5653:${i:S/-//:U}= ${WRKDIR}/${SUB_FILES:M${i}*} 5700:.if defined(PLIST_REINPLACE_${reinplace:U}) 5701: @${SED} -i "" -e '${PLIST_REINPLACE_${reinplace:U}}' ${TMPPLIST} 5854:.if defined(USE_RCORDER) || defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES" 5864:.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES" 53 [crees@pegasus]~% Chris From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 17:27:53 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7D7BECB; Sat, 27 Oct 2012 17:27:53 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og112.obsmtp.com (exprod7og112.obsmtp.com [64.18.2.177]) by mx1.freebsd.org (Postfix) with ESMTP id 7FAD78FC0C; Sat, 27 Oct 2012 17:27:50 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob112.postini.com ([64.18.6.12]) with SMTP ID DSNKUIwZkL0IAc9o/eg+B1OmdCJmUKed6Rbi@postini.com; Sat, 27 Oct 2012 10:27:53 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Sat, 27 Oct 2012 10:27:43 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9RHRhh13762; Sat, 27 Oct 2012 10:27:43 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id E7E8558094; Sat, 27 Oct 2012 10:27:42 -0700 (PDT) To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> <20121026233225.54FB858094@chaos.jnpr.net> Comments: In-reply-to: Chris Rees message dated "Sat, 27 Oct 2012 10:15:41 +0100." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Sat, 27 Oct 2012 10:27:42 -0700 Message-ID: <20121027172742.E7E8558094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Sat, 27 Oct 2012 18:49:26 +0000 Cc: Baptiste Daroussin , Garrett Cooper , freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 17:27:53 -0000 >These discussions need backing up with a real roadmap, including detail on >exactly what 8.3 and 7.4 users will have to do to ensure that the ports >tree still works. I've tested the ports tree converted to bmake - per the "patch" I mentioned on a 7.1 box. It worked for me. Once the ports tree has found or installed bmake, the system version makes no further difference. Obviously not a conclusive result, but yes this issue has been given consideration. From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 18:54:29 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6714BD79; Sat, 27 Oct 2012 18:54:29 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id A54128FC0C; Sat, 27 Oct 2012 18:54:28 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1632296bkc.13 for ; Sat, 27 Oct 2012 11:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=g3uww17REFOfYt5jwqCUlpfqv8TfI6shfaT6IpsNM1k=; b=EMesrVRvKH2Os4c+tx3Z3m3/s8coTfSBdsZtmATzcwCA5aPzIzPpAwXXKM0KiN0bt2 NWBB/EHguz+jm+rpFkPHsmIhiyHrL7IimZpUbjDAYoQVvm2euuk/KmlpqEep/b/OW2Nc 4CxvreLm/PfJRacqqz7TjF9+b9A6917FgWT1bXyxH/F28xLh4z2KZ9rUQaV3TaSHp72l n8SUYrhFhhLIJaJNZ1Lb+XWUlyb4jlO6W8JqPX7w9jLzeca/0Kc3C1qCRhrwpz38afBY gzyOOSCeVwBxLVExaPtpaAQ+eld88qF/q8kTaZpgaDzOOJvWDteXuBxQCbCdT9r1KGux E7hw== Received: by 10.204.7.213 with SMTP id e21mr7856478bke.32.1351364067510; Sat, 27 Oct 2012 11:54:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.50.197 with HTTP; Sat, 27 Oct 2012 11:53:56 -0700 (PDT) In-Reply-To: <20121027185228.9CC5B58094@chaos.jnpr.net> References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> <20121026233225.54FB858094@chaos.jnpr.net> <20121027185228.9CC5B58094@chaos.jnpr.net> From: Chris Rees Date: Sat, 27 Oct 2012 19:53:56 +0100 Message-ID: Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program To: "Simon J. Gerraty" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 18:54:29 -0000 On 27 October 2012 19:52, Simon J. Gerraty wrote: > > On Sat, 27 Oct 2012 14:23:29 +0100, Chris Rees writes: >>We (ab)use the security update mechanism to merge the pmake changes >>(:tl and :tu) into releng/7.4 and releng/8.3 (possibly the earlier > > I originally provided the :tl and :tu patch for something like that > (not planning any abuse mind ;-) > > But, if portmgr test my "patch" and find it works "ok" (for some value of > "ok") for older releases, this probably isn't necessary? > > It may still be useful though to provide an updated fmake via ports, > which could make it easier for folk to migrate other code bases. > The sed script to be applied to makefiles is trivial btw: > > $ cat f2bmake.sed > /$.*:[UL][:)}]/ { s,:L,:tl,g;s,:U,:tu,g; } > $ I know the fix is trivial :) I'm saying that it's unacceptable to expect people to change their systems just to make the ports tree work after we have broken it on a supposedly supported version. Chris From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 18:19:19 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4282FBC4; Sat, 27 Oct 2012 18:19:19 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og124.obsmtp.com (exprod7og124.obsmtp.com [64.18.2.26]) by mx1.freebsd.org (Postfix) with ESMTP id 085458FC0A; Sat, 27 Oct 2012 18:19:10 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob124.postini.com ([64.18.6.12]) with SMTP ID DSNKUIwlnnXEiid+zysoHACfnvkhP/FDdYr7@postini.com; Sat, 27 Oct 2012 11:19:18 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Sat, 27 Oct 2012 11:19:09 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9RIJ7h65026; Sat, 27 Oct 2012 11:19:08 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id DA10F58094; Sat, 27 Oct 2012 11:19:06 -0700 (PDT) To: Bryan Drewery Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: <508BF354.4060208@shatow.net> References: <201210020750.23358.jhb@freebsd.org> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> <20121026233225.54FB858094@chaos.jnpr.net> <508BF062.8020101@shatow.net> <508BF354.4060208@shatow.n et> Comments: In-reply-to: Bryan Drewery message dated "Sat, 27 Oct 2012 09:44:36 -0500." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Sat, 27 Oct 2012 11:19:06 -0700 Message-ID: <20121027181906.DA10F58094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Sat, 27 Oct 2012 19:11:32 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 18:19:19 -0000 On Sat, 27 Oct 2012 09:44:36 -0500, Bryan Drewery writes: >Could there be a make.conf/env setting to make bmake run AS pmake in >full compat mode? On by default until all older branches are EoL, then >it can flip and be optional. This has been mentioned before. Firstly, I have changed bmake behavior in a number of ways to better fit FreeBSD, but in each case I could justify the change to the NetBSD folk as well (or at least most of them ;-) The above idea though would require doing more violence to bmake's internals than I think is desirable, plus it would be counter productive. Today, you can test for defined(.PARSEDIR) and *know* if you have bmake or not, and if you have, how it behaves. If we start hacking compat modes and such to avoid changing, it would be more trouble that it is worth to try and make use of bmake in any meaningful way. The simpler implementation of this idea is to simply leave the old make in place. >Or even via a symlink, whatever it is invoked as is what mode it runs in. This is more practical I think. Making /usr/bin/make -> [fb]make From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 18:40:25 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8343D399; Sat, 27 Oct 2012 18:40:25 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og101.obsmtp.com (exprod7og101.obsmtp.com [64.18.2.155]) by mx1.freebsd.org (Postfix) with ESMTP id 65B5D8FC17; Sat, 27 Oct 2012 18:40:22 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob101.postini.com ([64.18.6.12]) with SMTP ID DSNKUIwqj43aspujhUW6YJx3JrUGlmoA7zqG@postini.com; Sat, 27 Oct 2012 11:40:25 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Sat, 27 Oct 2012 11:40:11 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9RIe3h23362; Sat, 27 Oct 2012 11:40:08 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 530C758094; Sat, 27 Oct 2012 11:40:03 -0700 (PDT) To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> <20121026233225.54FB858094@chaos.jnpr.net> <20121027172742.E7E8558094@chaos.jnpr. net> Comments: In-reply-to: Chris Rees message dated "Sat, 27 Oct 2012 18:32:56 +0100." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Sat, 27 Oct 2012 11:40:03 -0700 Message-ID: <20121027184003.530C758094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Sat, 27 Oct 2012 19:11:46 +0000 Cc: Baptiste Daroussin , Garrett Cooper , freebsd-hackers@freebsd.org, Marcel Moolenaar , freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 18:40:25 -0000 On Sat, 27 Oct 2012 18:32:56 +0100, Chris Rees writes: >On 27 October 2012 18:27, Simon J. Gerraty wrote: >> I've tested the ports tree converted to bmake - per the "patch" I >> mentioned on a 7.1 box. It worked for me. Once the ports tree has >What about these? > >[crees@pegasus]~% grep -n :\[LU] /usr/ports/Mk/bsd.port.mk | tee >/dev/tty | wc -l >1324:PORTVERSION= >${DISTVERSION:L:C/([a-z])[a-z]+/\1/g:C/([0-9])([a-z])/\1.\2/g:C/:(.)/\1/g:C/[^ >a-z0-9+]+/./g} >1451:.if (defined(USE_QT_VER) && ${USE_QT_VER:L} == 3) || >defined(USE_KDELIBS_VER) || defined(USE_KDEBASE_VER) I'm not sure I follow, that tree has not been "patched". If it were: $ grep -l '$.*:[UL][:)}]' Mk/*mk $ From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 18:52:38 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 986A4ADE; Sat, 27 Oct 2012 18:52:38 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og113.obsmtp.com (exprod7og113.obsmtp.com [64.18.2.179]) by mx1.freebsd.org (Postfix) with ESMTP id 0B07D8FC14; Sat, 27 Oct 2012 18:52:36 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob113.postini.com ([64.18.6.12]) with SMTP ID DSNKUIwtbdHhIe3eqCD7ES0QxKgx2/2Zyf3n@postini.com; Sat, 27 Oct 2012 11:52:38 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Sat, 27 Oct 2012 11:52:29 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9RIqSh62153; Sat, 27 Oct 2012 11:52:28 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 9CC5B58094; Sat, 27 Oct 2012 11:52:28 -0700 (PDT) To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> <20121026233225.54FB858094@chaos.jnpr.net> Comments: In-reply-to: Chris Rees message dated "Sat, 27 Oct 2012 14:23:29 +0100." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Sat, 27 Oct 2012 11:52:28 -0700 Message-ID: <20121027185228.9CC5B58094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Sat, 27 Oct 2012 19:11:56 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 18:52:38 -0000 On Sat, 27 Oct 2012 14:23:29 +0100, Chris Rees writes: >We (ab)use the security update mechanism to merge the pmake changes >(:tl and :tu) into releng/7.4 and releng/8.3 (possibly the earlier I originally provided the :tl and :tu patch for something like that (not planning any abuse mind ;-) But, if portmgr test my "patch" and find it works "ok" (for some value of "ok") for older releases, this probably isn't necessary? It may still be useful though to provide an updated fmake via ports, which could make it easier for folk to migrate other code bases. The sed script to be applied to makefiles is trivial btw: $ cat f2bmake.sed /$.*:[UL][:)}]/ { s,:L,:tl,g;s,:U,:tu,g; } $ From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 21:17:10 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71D8BD42; Sat, 27 Oct 2012 21:17:10 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C456A8FC0A; Sat, 27 Oct 2012 21:17:09 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1646622bkc.13 for ; Sat, 27 Oct 2012 14:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=/qZpDnWTB8gRQPbI8XOUcWoRpkzN403N5XUba5TkkPA=; b=SkGqxnB9amkL5g73cvmMCGUq1jxVK9vadkVYNFcowbYH9BRzP98h2DaTjaTumPUxMt GgRPASreXXje0DF2w7t+PEqp/PiwkpTnXZER477Pj4ck0Y+u+IcvCWaBAz4n6vQMx+mQ R2FdXpoWLdlV+ceABvbTPlK0MPrxI4QLpzeNsaElfORixS4+Ic2f9WPClZ0LJ2tSgN/8 yIoSrTha6FLGkfQoY9E5MQ2/y0IURoACsRJmuMFgfQdKQmv1xashwNjJ9iik1RDcVdRP /p5IO61gS4ic8YBvakBooqE8giTdKxCrFwkpvbXZaeuJVMobJa8fRlam4nebOVWZ4DJP R4vQ== MIME-Version: 1.0 Received: by 10.204.130.152 with SMTP id t24mr7982244bks.138.1351372623149; Sat, 27 Oct 2012 14:17:03 -0700 (PDT) Received: by 10.205.83.197 with HTTP; Sat, 27 Oct 2012 14:17:03 -0700 (PDT) Date: Sat, 27 Oct 2012 14:17:03 -0700 Message-ID: Subject: Porting patch(1) from NetBSD to FreeBSD (was Re: FreeBSD in Google Code-In 2012? You can help too!) From: hiren panchasara To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Pedro Giffuni X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 21:17:10 -0000 [removing the CC list] On Wed, Oct 24, 2012 at 3:36 PM, Pedro Giffuni wrote: > (cc'ing -ports and cutting most of the rest) > > > From: Eitan Adler > .> > >On 24 October 2012 13:24, Fernando Apestegu=C3=ADa wrote: > >> Also related to that, what about writing a section about redports[1] > >> in the porter's handbook[2]? > > > >This is a good documentation task... but we need more *coding* tasks as > well. > > > > We do need to port and test patch (1) from NetBSD or DragonFly to replace > GNU patch, and this shouldn't be difficult. > Hi Pedro / List, I am not part of google summer of code but I've tried to port patch(1) from NetBSD into FreeBSD head. I hope that is okay. Patching was trivial and It _seems_ to be working fine. I would appreciate any ideas around how to test the changes and how to proceed further. Thanks, Hiren From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 21:10:37 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD961BA3; Sat, 27 Oct 2012 21:10:37 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from exprod7og121.obsmtp.com (exprod7og121.obsmtp.com [64.18.2.20]) by mx1.freebsd.org (Postfix) with ESMTP id 1B1358FC08; Sat, 27 Oct 2012 21:10:35 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob121.postini.com ([64.18.6.12]) with SMTP ID DSNKUIxNyqrg2PjU29YE3j8m45134aIKV3uz@postini.com; Sat, 27 Oct 2012 14:10:37 PDT Received: from magenta.juniper.net (172.17.27.123) by P-EMHUB03-HQ.jnpr.net (172.24.192.33) with Microsoft SMTP Server (TLS) id 8.3.213.0; Sat, 27 Oct 2012 14:10:34 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.24.29.229]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id q9RLAXh01161; Sat, 27 Oct 2012 14:10:33 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos.jnpr.net (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id C161058094; Sat, 27 Oct 2012 14:10:32 -0700 (PDT) To: Chris Rees Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program In-Reply-To: References: <201210020750.23358.jhb@freebsd.org> <201210021037.27762.jhb@freebsd.org> <127FA63D-8EEE-4616-AE1E-C39469DDCC6A@xcllnt.net> <20121025211522.GA32636@dragon.NUXI.org> <3F52B7C9-A7B7-4E0E-87D0-1E67FE5D0BA7@xcllnt.net> <20121025221244.GG3808@ithaqua.etoilebsd.net> <20121026181152.GC44331@dragon.NUXI.org> <20121026204910.E1FFA58094@chaos.jnpr.net> <20121026233225.54FB858094@chaos.jnpr.net> <20 Comments: In-reply-to: Chris Rees message dated "Sat, 27 Oct 2012 19:53:56 +0100." From: "Simon J. Gerraty" X-Mailer: MH-E 7.82+cvs; nmh 1.3; GNU Emacs 22.3.1 Date: Sat, 27 Oct 2012 14:10:32 -0700 Message-ID: <20121027211032.C161058094@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Sat, 27 Oct 2012 21:20:41 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 21:10:37 -0000 On Sat, 27 Oct 2012 19:53:56 +0100, Chris Rees writes: >I'm saying that it's unacceptable to expect people to change their >systems just to make the ports tree work after we have broken it on a >supposedly supported version. But there's no suggestion of that. The ports tree would take care of itself. The comment about fixing makefiles refered to the concern about things outside of base/ports. From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 21:31:39 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 466B611C; Sat, 27 Oct 2012 21:31:39 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7F42E8FC08; Sat, 27 Oct 2012 21:31:38 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id b5so2978887lbd.13 for ; Sat, 27 Oct 2012 14:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=czotY8T01RiRHLirjs8p92BVGP9scB0O6gtH8OiMesI=; b=y/8npun8/5IRpA4IidvStHcuuead9TVHXBcoyYuYYfyqDFn3wxoyimAcbweLYAzqe6 zOL5aA10LnGwQo1oQvrUzfN1VZWMoQQrXU/llx2Clg+i0KvJG1kSTx1rP3ruaCebkDIR D7kPptZpnDwgI/dHRmlZkdUZeFyrIzoc6hbLXb7hoRnGUKZ4cv5ioHcLtkCB5e0IiTG4 u88DI1az0RDHCqdXH6LxcplwSX4YTFH6WsvdRRuLaIbKp/IiasJABSLVXNHHMCK5eGNd 6HKpBLIwuMAGmlLeTerFqgAOU1oK74sxPrgnU7iqApz5/OJ4UoJjouK9niK3cyXML9My zp0Q== Received: by 10.152.47.79 with SMTP id b15mr23489279lan.57.1351373497435; Sat, 27 Oct 2012 14:31:37 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.112.102.200 with HTTP; Sat, 27 Oct 2012 14:31:07 -0700 (PDT) In-Reply-To: References: From: Chris Rees Date: Sat, 27 Oct 2012 22:31:07 +0100 X-Google-Sender-Auth: 23Mbwrbh-6UaG0luywm23uXwaRU Message-ID: Subject: Re: Porting patch(1) from NetBSD to FreeBSD (was Re: FreeBSD in Google Code-In 2012? You can help too!) To: hiren panchasara Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Pedro Giffuni X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 21:31:39 -0000 On 27 October 2012 22:17, hiren panchasara wro= te: > [removing the CC list] > > On Wed, Oct 24, 2012 at 3:36 PM, Pedro Giffuni wrote: > >> (cc'ing -ports and cutting most of the rest) >> >> > From: Eitan Adler >> .> >> >On 24 October 2012 13:24, Fernando Apestegu=EDa wrote: >> >> Also related to that, what about writing a section about redports[1] >> >> in the porter's handbook[2]? >> > >> >This is a good documentation task... but we need more *coding* tasks as >> well. >> > >> >> We do need to port and test patch (1) from NetBSD or DragonFly to replac= e >> GNU patch, and this shouldn't be difficult. >> > > Hi Pedro / List, > > I am not part of google summer of code but I've tried to port patch(1) fr= om > NetBSD into FreeBSD head. I hope that is okay. > > Patching was trivial and It _seems_ to be working fine. > > I would appreciate any ideas around how to test the changes and how to > proceed further. Have you a patch :)? You're right, there shouldn't have been many changes needed. Chris From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 21:48:39 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ABCE4614; Sat, 27 Oct 2012 21:48:39 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 35C3F8FC08; Sat, 27 Oct 2012 21:48:38 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so4744210oag.13 for ; Sat, 27 Oct 2012 14:48:32 -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=C383j3NABZWy7/G8cOxVfClpfKEmA6HtMj73NXYkO1k=; b=gMv2oy0O4Dno6iKKMRkOafKJtTRjbTYhFzvvJHJP5NTivGHsO1HDlEEauP1fdnQm2Q Uybrj/q9lxZ5ZYMoPKDkUufIXAPo4EVQrvv7ju2ogCeCDqi7ZRZgB+Y5HVZrLaqQSR7E 2WZmH17yKLRxlCRuV5yfApEhCj13y8weg6KcL4VIQSfa10ggpR8vTusd9BhQ/H9GYF/z tozoRN376y0CC/npSBhvOHgvQ8HklORarNKeSy7o6waEtjyaKUUfAuqNqphWHnW+8IZf mjKsrLVwifDfEISzqy2lCL5d9S2sHT/ZxT1P7V7+dQfFzaA6HFHqZupvnasW33f/9IJ7 +7Lw== MIME-Version: 1.0 Received: by 10.60.171.146 with SMTP id au18mr14535722oec.25.1351374512163; Sat, 27 Oct 2012 14:48:32 -0700 (PDT) Received: by 10.182.214.103 with HTTP; Sat, 27 Oct 2012 14:48:32 -0700 (PDT) In-Reply-To: References: Date: Sat, 27 Oct 2012 14:48:32 -0700 Message-ID: Subject: Re: Porting patch(1) from NetBSD to FreeBSD (was Re: FreeBSD in Google Code-In 2012? You can help too!) From: hiren panchasara To: Chris Rees Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-hackers@freebsd.org, Pedro Giffuni X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 21:48:39 -0000 + Sean, who has been helping me. On Sat, Oct 27, 2012 at 2:31 PM, Chris Rees wrote: > On 27 October 2012 22:17, hiren panchasara > wrote: > > [removing the CC list] > > > > On Wed, Oct 24, 2012 at 3:36 PM, Pedro Giffuni wrote: > > > >> (cc'ing -ports and cutting most of the rest) > >> > >> > From: Eitan Adler > >> .> > >> >On 24 October 2012 13:24, Fernando Apestegu=C3=ADa wrote: > >> >> Also related to that, what about writing a section about redports[1= ] > >> >> in the porter's handbook[2]? > >> > > >> >This is a good documentation task... but we need more *coding* tasks = as > >> well. > >> > > >> > >> We do need to port and test patch (1) from NetBSD or DragonFly to > replace > >> GNU patch, and this shouldn't be difficult. > >> > > > > Hi Pedro / List, > > > > I am not part of google summer of code but I've tried to port patch(1) > from > > NetBSD into FreeBSD head. I hope that is okay. > > > > Patching was trivial and It _seems_ to be working fine. > > > > I would appreciate any ideas around how to test the changes and how to > > proceed further. > > Have you a patch :)? You're right, there shouldn't have been many > changes needed. > Will prepare a patch and post here as soon as I get a chance :-) Thanks, Hiren From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 22:35:52 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8517E2B8 for ; Sat, 27 Oct 2012 22:35:52 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm28.bullet.mail.bf1.yahoo.com (nm28.bullet.mail.bf1.yahoo.com [98.139.212.187]) by mx1.freebsd.org (Postfix) with ESMTP id 0F6858FC12 for ; Sat, 27 Oct 2012 22:35:51 +0000 (UTC) Received: from [98.139.212.152] by nm28.bullet.mail.bf1.yahoo.com with NNFMP; 27 Oct 2012 22:35:45 -0000 Received: from [98.139.211.198] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 27 Oct 2012 22:35:45 -0000 Received: from [127.0.0.1] by smtp207.mail.bf1.yahoo.com with NNFMP; 27 Oct 2012 22:35:45 -0000 X-Yahoo-Newman-Id: 296755.19969.bm@smtp207.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 6OVK02YVM1mTp8.q.06hPkS.8zRumc7VPnovIrzko4X6QSe pCoKRDaW1NWlGr.hm1tdmwJtbn6Y0WfURRqiPPBnxIwBd0KAX6H.phEnKw._ OfSyvDTVeMdaOq.QvVj42mST4ys0kBByyrQ7PmTWjGl22uBfUs_vMEr0jPaZ ryxHOrfINPUcQGLKoJChn6ymp1wKe1d77XU5YuiUZYiTSr0hj5h3iuqbBi40 8tWxlk6al19LhT60Lj9qXt7DVlSJzJ.Xyb0Cexntv.aV2r_nRvXD4SBljhV1 30QoxO.dgNBpWlyNDa5mFzu_FoPWQ_.G8kQssJaEDD4vT8.VsB36n4qDxjK. _umauqNzWFprTXMgpmje3U0XYs57PGWb6esfI0jYkqodCPbU5HTAEhoL9dVg QbX9NBsHjgIk8Eio7XQ3P.2gqERCf9vZb2PVVrtG_SMNdz4fiQQmyhRbSzAv mp4_3MlBA7Q-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Received: from [192.168.10.103] (pfg@200.118.157.7 with plain) by smtp207.mail.bf1.yahoo.com with SMTP; 27 Oct 2012 15:35:45 -0700 PDT Message-ID: <508C61C1.8090109@FreeBSD.org> Date: Sat, 27 Oct 2012 17:35:45 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120621 Thunderbird/13.0.1 MIME-Version: 1.0 To: hiren panchasara Subject: Re: Porting patch(1) from NetBSD to FreeBSD (was Re: FreeBSD in Google Code-In 2012? You can help too!) References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Chris Rees , freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 22:35:52 -0000 Hello Hiren; On 10/27/2012 16:48, hiren panchasara wrote: > + Sean, who has been helping me. > > On Sat, Oct 27, 2012 at 2:31 PM, Chris Rees > wrote: > > On 27 October 2012 22:17, hiren panchasara > > > wrote: > > [removing the CC list] > > > > On Wed, Oct 24, 2012 at 3:36 PM, Pedro Giffuni > wrote: > > > >> (cc'ing -ports and cutting most of the rest) > >> > >> > From: Eitan Adler > >> .> > >> >On 24 October 2012 13:24, Fernando ApesteguĂ­a wrote: > >> >> Also related to that, what about writing a section about > redports[1] > >> >> in the porter's handbook[2]? > >> > > >> >This is a good documentation task... but we need more *coding* > tasks as > >> well. > >> > > >> > >> We do need to port and test patch (1) from NetBSD or DragonFly > to replace > >> GNU patch, and this shouldn't be difficult. > >> > > > > Hi Pedro / List, > > > > I am not part of google summer of code but I've tried to port > patch(1) from > > NetBSD into FreeBSD head. I hope that is okay. > > > > Patching was trivial and It _seems_ to be working fine. > > > > I would appreciate any ideas around how to test the changes and > how to > > proceed further. > > Have you a patch :)? You're right, there shouldn't have been many > changes needed. > > > Will prepare a patch and post here as soon as I get a chance :-) > This is great news Hiren, Thanks! The stress test for this utility is the ports tree but before that we have to know what will change. What needs to be done is: 1- Compare the options between our old patch and the new BSD patch. 2- Document this in FreeBSD's wiki. 3- Prepare a port for testing. Unfortunately I will be very busy for more than a month and I can't help much but I am sure some other committer will love to follow on this. Thanks for taking the initiative, that's what FreeBSD needs! Pedro. From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 23:00:34 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1999937; Sat, 27 Oct 2012 23:00:34 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id A7A818FC0A; Sat, 27 Oct 2012 23:00:34 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so2781273pad.13 for ; Sat, 27 Oct 2012 16:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=18EM1Za/0mETWVFEfIjM+NOumHgIJj1NyhLnNQ1AieY=; b=tvj0ZvdWMEf+Pn9sp0sMXutHP9VCqrce7eLtbHfZLoBoeXTzUTsgYWtuXZ0yTm1Udb /oTW99MxgEG0m9KrV9oe+OtgoX854WDsa8z8lPtbpOk16QmPkuJ/0Kp0H+4y9RuBXguU 5wpLiDM0Vs3uVlJmwgw569iZryq1BVmxHpee+9gpOup5gDachyo3tL2is+2d6aiv4TGo goKDkTOX9JUduav2XlxFc1vKDBMDQksJevE8eSNGfF6VVU1haJPvjOr5P574LuLfkNBu 5AyFI14DArmzda6awCAR9diL9td5J0+epDtUKKJfRdkd/HuGX5axast/aC6FAgiqgByi F+CA== MIME-Version: 1.0 Received: by 10.68.223.37 with SMTP id qr5mr81432758pbc.101.1351378833946; Sat, 27 Oct 2012 16:00:33 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Sat, 27 Oct 2012 16:00:33 -0700 (PDT) In-Reply-To: References: Date: Sat, 27 Oct 2012 16:00:33 -0700 X-Google-Sender-Auth: AN0GYWPHO0yzkGd8Vbzw_tkfFLc Message-ID: Subject: Re: Installing make as pmake when WITH_BMAKE specified (was Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program) From: Adrian Chadd To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org, "Simon J. Gerraty" , Marcel Moolenaar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 23:00:35 -0000 Can someone please explain to me what the original reason is for causing such ridiculously large, far reaching issues? And why people seem to be in a really, really big rush for it? Adrian From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 27 23:46:30 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17820A1B for ; Sat, 27 Oct 2012 23:46:30 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id CB2D48FC0C for ; Sat, 27 Oct 2012 23:46:29 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id q9RNkNth062208; Sat, 27 Oct 2012 16:46:23 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <508C724F.8090203@rawbw.com> Date: Sat, 27 Oct 2012 16:46:23 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121023 Thunderbird/16.0.1 MIME-Version: 1.0 To: matt Subject: Re: How to boot FreeBSD and linux from FreeBSD MBR? References: <508B6D9D.9050103@rawbw.com> <508BAC7E.5090406@gmail.com> In-Reply-To: <508BAC7E.5090406@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 23:46:30 -0000 On 10/27/2012 02:42, matt wrote: > This means you have grub2. It is slow as molasses and has to be the mbr. > You could chainload freebsd's partition under a separate entry, like > Windows The partition bootcode for FreeBSD will boot it from there. You > can also boot loader or kernel directly from grub, your choice. So you are saying I can't keep BSD MBR and boot linux from under it when linux uses grub2? Is it still possible to still use lilo? I vaguely remember that it used to work like this. Yuri