From owner-svn-ports-all@FreeBSD.ORG Sat Oct 19 16:57:02 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 8C56F2B4; Sat, 19 Oct 2013 16:57:02 +0000 (UTC) Date: Sat, 19 Oct 2013 16:57:02 +0000 From: Alexey Dokuchaev To: Baptiste Daroussin Subject: Re: svn commit: r330906 - head/multimedia/vcdpad Message-ID: <20131019165702.GA64069@FreeBSD.org> References: <201310191630.r9JGUXZJ049165@svn.freebsd.org> <20131019163648.GA61417@FreeBSD.org> <20131019163946.GF57066@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131019163946.GF57066@ithaqua.etoilebsd.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Oct 2013 16:57:02 -0000 On Sat, Oct 19, 2013 at 06:39:46PM +0200, Baptiste Daroussin wrote: > On Sat, Oct 19, 2013 at 04:36:48PM +0000, Alexey Dokuchaev wrote: > > On Sat, Oct 19, 2013 at 04:30:33PM +0000, Baptiste Daroussin wrote: > > > New Revision: 330906 > > > URL: http://svnweb.freebsd.org/changeset/ports/330906 > > > > > > [...] > > > +post-install: > > > + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} > > > > How do you know if installed binaries should be post-stripped? Is there > > automated check involved? What if, for any reason, binary indeed must be > > installed unstripped? > > make stage warns about unstripped binaries if you have DEVELOPERS=YES in your > make.conf, I suppose it should read DEVELOPER, not DEVELOPER_S_, right? > if you need the binaries unstripped then just do not strip them, those works > stripped properly, btw STRIP_CMD respects WITH_DEBUG. I understand; I was worrying about rare cases when stripping the binary (not for debugging) actually renders it unusable in certain circumstances. Don't get me wrong, I also prefer to have installed binaries normally stripped, but I vaguely recall there were cases, albeit rarely seen, when upstream actually intended unstripped installs, for a reason. I just hope that these sorts of automatic suggestions would not result in massive commits that would result in broken installations. From what I see how easily folks follow portlint's sometimes misguided advice, it could become problem. ./danfe