PHP 5.3.0, phar symlink breaks rpm building.
| From: | Xyntrix | Date: | Thu, 02 Jul 2009 19:16:53 +0000 |
| Subject: | PHP 5.3.0, phar symlink breaks rpm building. | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44669@lists.php.net to get a copy of this message | ||
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?
---
Michael McLane
On Tue, Jun 30, 2009 at 03:01 PM, Lukas Kahwe Smith <mls@pooteeweet.org> said:
> Hello!
>
> The PHP Development Team would like to announce the immediate release
> of PHP 5.3.0. This release is a major improvement in the 5.X series,
> which includes a large number of new features and bug fixes.
>
> Release Announcement: http://www.php.net/release/5_3_0.php
> Downloads: http://php.net/downloads.php#v5.3.0
> Changelog: http://www.php.net/ChangeLog-5.php#5.3.0
>
> regards,
> Johannes and Lukas
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php