From owner-freebsd-ports@FreeBSD.ORG Thu Feb 27 22:35:21 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 74082936; Thu, 27 Feb 2014 22:35:21 +0000 (UTC) Received: from nschwqsrv02p.mx.bigpond.com (nschwqsrv02p.mx.bigpond.com [61.9.189.234]) by mx1.freebsd.org (Postfix) with ESMTP id 557AE1D7A; Thu, 27 Feb 2014 22:35:20 +0000 (UTC) Received: from nschwcmgw06p ([61.9.190.166]) by nschwmtas02p.mx.bigpond.com with ESMTP id <20140227222943.CPWH12338.nschwmtas02p.mx.bigpond.com@nschwcmgw06p>; Thu, 27 Feb 2014 22:29:43 +0000 Received: from hermes.heuristicsystems.com.au ([121.210.107.100]) by nschwcmgw06p with BigPond Outbound id XaVi1n00i29zwdD01aVisE; Thu, 27 Feb 2014 22:29:43 +0000 X-Authority-Analysis: v=2.0 cv=Pdd9d1dd c=1 sm=1 a=SEJ2iDwVkb98DYvesvueMw==:17 a=JipEcVzqA9wA:10 a=8nJEP1OIZ-IA:10 a=GHIR_BbyAAAA:8 a=yJIqcyT6bu4A:10 a=6I5d2MoRAAAA:8 a=1Th1fUX2IH8NYkNa8ywA:9 a=wPNLvfGTeEIA:10 a=SEJ2iDwVkb98DYvesvueMw==:117 Received: from [10.0.5.3] (ewsw01.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id s1RMTGio069544 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 28 Feb 2014 09:29:17 +1100 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Message-ID: <530FBC31.1050408@heuristicsystems.com.au> Date: Fri, 28 Feb 2014 09:29:05 +1100 From: Dewayne Geraghty User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: marino@freebsd.org, Baptiste Daroussin Subject: Re: Support for pkg_* References: <530C5793.2070208@heuristicsystems.com.au> <20140225141144.GA87810@spectrum.skysmurf.nl> <20140225163457.GI83610@ithaqua.etoilebsd.net> <20140225220844.GA92169@spectrum.skysmurf.nl> <530D18DE.6020003@marino.st> In-Reply-To: <530D18DE.6020003@marino.st> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Feb 2014 22:35:21 -0000 On 26/02/2014 9:27 AM, John Marino wrote: > On 2/25/2014 23:08, A.J. 'Fonz' van Werven wrote: >> Baptiste Daroussin wrote: >> >>> Can we stop advertising the above, this is completly wrong, it hides the >>> dust behind the carpet and won't fix anything! >>> >>> The said port is needed a fix. >> Granted: it's not staging itself that is the problem, it's incorrect usage >> thereof. But anyone possessing even the tiniest trace amount of realism >> will have to concede that port maintainers do occasionally get it wrong. >> And when they do the errors as reported by the OP are a tell-tale symptom. > No one should have a problem conceding that. The issue is that it seems > that many ports are staged without checking in redports / poudriere or > otherwise. > > I was even guilty of this the other day. I was on the road and I > created two new ports that easily passed with DEVELOPER_MODE. Neither > built in clean environment though and I got rewarded with pkg-fallout > messages. > > A lot of stuff gets committed that it's clear was never remotely tested, > not even with portlint. But don't blame the tools -- the port needs to > be fixed. I agree that we should never advise "NO_STAGE=yes", ever. If > the port is broken, so be it. PR, patch, normal process. > > There's been a lot of understandable grumbling due to growing pains of > major infrastructure changes by users, so telling users to revert these > changes isn't a good look. Let's just try to get the port fixed in a > reasonable timeframe (e.g. get the guy that broke it to take care of it). > > John > Good point John, but its a seeping breakage - and most likely an inadvertent constraint from /usr/ports/Mk. I PR'ed net/rsync in Nov 2013, openssl and monit in February (both added staging); and I'm confident that if I extended the "base" system with other ports rooted in /usr that there would be others. Its always a tar stat related failure and the ONLY way to get ports, that use PREFIX=/usr to build their package, is to also add MANPREFIX=/usr. Ref: openssl, monit - http://www.freebsd.org/cgi/query-pr.cgi?pr=187076 rsync - http://www.freebsd.org/cgi/query-pr.cgi?pr=183669 Regards, Dewayne.