From owner-freebsd-ports@FreeBSD.ORG Fri Jun 1 10:30:23 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id A0D89106564A; Fri, 1 Jun 2012 10:30:23 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from opti.dougb.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id E59621509C3; Fri, 1 Jun 2012 10:30:22 +0000 (UTC) Message-ID: <4FC899BE.60604@FreeBSD.org> Date: Fri, 01 Jun 2012 03:30:22 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120506 Thunderbird/12.0.1 MIME-Version: 1.0 To: Alexander Pyhalov References: <4E946838-4F3B-421A-839E-05E1A01464AB@FreeBSD.org> <4FC81F15.5010008@FreeBSD.org> <4FC85967.8010300@rsu.ru> In-Reply-To: <4FC85967.8010300@rsu.ru> X-Enigmail-Version: 1.5pre OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcus von Appen , Jilles Tjoelker , freebsd-ports@freebsd.org, Alexander Pronin Subject: Re: [ GSOC ] Differences in shell behaviour X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2012 10:30:23 -0000 On 05/31/2012 22:55, Alexander Pyhalov wrote: > Hello. > > On 06/01/2012 05:47, Doug Barton wrote: >> On 5/31/2012 12:21 PM, Alexander Pronin wrote: >>> But, is it suitable to write sh script for 9.0, that does not work in >>> 8.3? >> >> No. Our tools need to work in all supported versions of FreeBSD, which >> at this time includes 7 as well. > > I see two points... > First one is that parallel building is an optional feature wich can be > made conditionally available for systems with $OSVERSION >= 900000. Um, no. The question was asked, "Is it acceptable to do this?" and the answer is, "No, it's not." One of the key virtues of the ports system is that it runs on all supported versions of FreeBSD. There may be individual _ports_ that don't work with some versions, but the infrastructure itself needs to. > The second one is the following. Is the difference in sh behavior > intentional? Can it be considered a bug and thus the right thing is to > fix it in FreeBSD 7/8? However, as it leads to difference in shell > behavior, it can be undesirable. It's still up in the air whether there has been identified a bug, or even a difference, but hopefully Jilles can shed some light on any actual differences in behavior between versions. -- This .signature sanitized for your protection