Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101204 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35292 invoked from network); 29 Nov 2017 14:43:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Nov 2017 14:43:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=lists@rhsoft.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lists@rhsoft.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain rhsoft.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: lists@rhsoft.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Received: from [91.118.73.15] ([91.118.73.15:54587] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/E8-57104-197CE1A5 for ; Wed, 29 Nov 2017 09:43:30 -0500 Received: from srv-rhsoft.rhsoft.net (Authenticated sender: h.reindl@thelounge.net) by mail.thelounge.net (THELOUNGE MTA) with ESMTPSA id 3yn3Ds4kxWzXMR for ; Wed, 29 Nov 2017 15:43:25 +0100 (CET) To: internals@lists.php.net References: <1511966257.2219.24.camel@schlueters.de> Message-ID: <76fb1c89-0514-f369-2bdc-29a9f9748282@rhsoft.net> Date: Wed, 29 Nov 2017 15:43:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1511966257.2219.24.camel@schlueters.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-CH Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Re: Public Tags of Releases From: lists@rhsoft.net ("lists@rhsoft.net") Am 29.11.2017 um 15:37 schrieb Johannes Schlüter: > On Mi, 2017-11-29 at 12:09 +0100, Jan Ehrhardt wrote: >> FWIW: I am using the zip's at github, like >> https://github.com/php/php-src/archive/php-7.2.0.zip > > Contrary to "official" release tarballs those don't contain generated > parsers etc. thus behavior might be different i.e. due to different > bison versions being used. (sohuldn't be, but happened in the past) > Also they don't contain ready to use configure scripts (for unix-like > systems) thus a (Linux/Unix/Mac) user needs right versions of auto > tools same applies to compilers, compiler flags and system library versions anyways # rebuild 'data_file.c' from current system libmagic starting with PHP 7.2 and when /usr/bin/php is installed %if "%{version}" >= "7.2.0" if [ -f /usr/bin/php ]; then /usr/bin/php ext/fileinfo/create_data_file.php /usr/share/misc/magic.mgc > ext/fileinfo/data_file.c fi %endif # generate zend-vm when /usr/bin/php is installed %if "%{version}" >= "7.2.0" if [ -f /usr/bin/php ]; then /usr/bin/php Zend/zend_vm_gen.php --with-vm-kind=HYBRID fi %else if [ -f /usr/bin/php ]; then /usr/bin/php Zend/zend_vm_gen.php --with-vm-kind=CALL fi %endif # force use of system libtool and regenerate configure scripts cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >> aclocal.m4 libtoolize --force --copy --quiet cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >build/libtool.m4 %if "%{version}" >= "7.2.0" touch configure.ac %else touch configure.in %endif ./buildconf --force