Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44670 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20463 invoked from network); 2 Jul 2009 19:18:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jul 2009 19:18:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.198.239 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.198.239 rv-out-0506.google.com Received: from [209.85.198.239] ([209.85.198.239:48210] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 71/60-18647-7E70D4A4 for ; Thu, 02 Jul 2009 15:18:00 -0400 Received: by rv-out-0506.google.com with SMTP id l9so677784rvb.23 for ; Thu, 02 Jul 2009 12:17:57 -0700 (PDT) Received: by 10.140.139.3 with SMTP id m3mr552426rvd.106.1246562277214; Thu, 02 Jul 2009 12:17:57 -0700 (PDT) Received: from trainburn-lm.corp.yahoo.com (trainburn-lm.corp.yahoo.com [207.126.233.11]) by mx.google.com with ESMTPS id g22sm12409446rvb.5.2009.07.02.12.17.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Jul 2009 12:17:56 -0700 (PDT) Message-ID: <4A4D07E3.9010504@lerdorf.com> Date: Thu, 02 Jul 2009 12:17:55 -0700 User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Xyntrix CC: internals@lists.php.net References: <20090702191653.GA28525@bitz.org> In-Reply-To: <20090702191653.GA28525@bitz.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 5.3.0, phar symlink breaks rpm building. From: rasmus@lerdorf.com (Rasmus Lerdorf) Xyntrix wrote: > Congratulations on the 5.3 milestone! > > Packaging the 5.3.0 stable release into an RPM (linux) will error as the bin/phar symlink is created using the build-time path variable. This has been submitted as bug: > > http://bugs.php.net/bug.php?id=48740 > > Patch: > > --- php-5.3.0/ext/phar/Makefile.frag.orig 2009-07-02 11:44:24.000000000 -0700 > +++ php-5.3.0/ext/phar/Makefile.frag 2009-07-02 11:45:42.000000000 -0700 > @@ -43,4 +43,4 @@ > install-pharcmd: pharcmd > -@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir) > $(INSTALL) $(builddir)/phar.phar $(INSTALL_ROOT)$(bindir) > - $(LN_S) -f $(INSTALL_ROOT)$(bindir)/phar.phar $(INSTALL_ROOT)$(bindir)/phar > + $(LN_S) -f phar.phar $(INSTALL_ROOT)$(bindir)/phar > > > I encourage this to be included in the next 5.3 release as it is likely cause some woe for vendors that are packaging php. > > I didn't see any specific rpm building automation tests available and the makerpm script included in the source is a bit dated. Would it be of any benefit to the community to provide an updated reference spec file and makerpm script for rpm capabable platforms? Sure, I don't think we have been paying much attention to that. Contributions would be welcome. -Rasmus