From owner-freebsd-ports@FreeBSD.ORG Tue Sep 9 21:30:27 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 508F11065671; Tue, 9 Sep 2008 21:30:27 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id CCFC68FC1A; Tue, 9 Sep 2008 21:30:26 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 3EB8AA0664; Tue, 9 Sep 2008 23:30:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 31316A065E; Tue, 9 Sep 2008 23:30:25 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 1C7DBA065D; Tue, 9 Sep 2008 23:30:25 +0200 (CEST) Received: from localhost.my.domain ([80.129.136.233]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2) with ESMTP id 2008090923302428-27746 ; Tue, 9 Sep 2008 23:30:24 +0200 Received: by localhost.my.domain (sSMTP sendmail emulation); Tue, 9 Sep 2008 23:34:38 +0200 Date: Tue, 9 Sep 2008 23:34:38 +0200 From: Alexey Shuvaev To: freebsd-ports@freebsd.org Message-ID: <20080909213438.GA71575@localhost.my.domain> References: <20080908233719.GA7584@localhost.my.domain> <20080909132006.GB65311@hades.panopticon> <20080909133406.GA1073@straylight.m.ringlet.net> <20080909141144.GD65311@hades.panopticon> MIME-Version: 1.0 In-Reply-To: <20080909141144.GD65311@hades.panopticon> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 09/09/2008 11:30:24 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 09/09/2008 11:30:25 PM, Serialize complete at 09/09/2008 11:30:25 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: Dmitry Marakasov , Peter Pentchev , ade@FreeBSD.org, portmgr@freebsd.org Subject: Re: devel/libtool15 unconditionally hardcodes autodetected textproc/gsed 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: Tue, 09 Sep 2008 21:30:27 -0000 On Tue, Sep 09, 2008 at 06:11:44PM +0400, Dmitry Marakasov wrote: > * Peter Pentchev (roam@ringlet.net) wrote: > > > > This is definitely a bug, so better send-pr for this issue not to be > > > lost while we're in freeze. > > What I mean is the following scenario: > > - libfoo uses libtool for its build > > - libfoo depends on libbar which depends on GNU sed > > - during libfoo's build, libbar is built, thus gsed is installed > > - during libfoo's build, libtool detects gsed installed and "remembers" it > No, as libtool package will be used, which doesn't > use gsed for sure. > > - in libfoo's binary package, there is a shell script that uses "gsed", > > because libtool "knows" gsed is present on the system > > - an unsuspecting user installs the libfoo binary package without previously > > building libbar > > - the unsuspecting user gets a shell script that tries to run "gsed" and > > fails. > ... > > If libtool may put "gsed" into libfoo's binary package, this should be > > fixed before the freeze. If libtool only uses "gsed" during libfoo's > > build, then it is not a critical problem. > Neither seem to be the case for package building. > > > Of course, if Dmitry is more familiar with libtool than I am, and he > I am most likely not, > > knows that libtool does not leave any such files, then I've just wasted > > everybody's time with unneeded idle speculation, for which I apologize :) > but my vision is that the problem will only show itself if you build > libtool with gsed installed and then deinstall gsed. Thus, you'll > end up with defunct libtool and all ports which have > USE_AUTOTOOLS=libtool:15 will fail to build. > I have encountered this with x11/libX11, FWIW. The error was 'gsed not found' or something similar. > Since this doesn't affect package builds, I don't this this is serious > enough to fix duing freeze. But still to be fixed :) > Yes, but the releases will be bundled with a 'broken' devel/libtool15 port. Many [new] users could be using this port tree for a rather long time... I have filed PR with the proposed patch: http://www.freebsd.org/cgi/query-pr.cgi?pr=127256 Alexey.