Bug #78339 [Opn->Fbk]: make: *** [ext/phar/phar.phar] Ungültiger Maschinenbefehl

From: Date: Fri, 12 Jun 2020 13:02:56 +0000
Subject: Bug #78339 [Opn->Fbk]: make: *** [ext/phar/phar.phar] Ungültiger Maschinenbefehl
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227448@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78339&edit=1 ID: 78339 Updated by: cmb@php.net Reported by: ogre5000 at gmail dot com Summary: make: *** [ext/phar/phar.phar] Ungültiger Maschinenbefehl -Status: Open +Status: Feedback Type: Bug Package: *Compile Issues Operating System: Debian Linux PHP Version: 7.3.7 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: > I install PHP on Debian GNU/Linux 6.0 […] Even LTS support for Debian 6.0 ended on 2016-02-29. Why would you want to use such an old system with a recent PHP version? Previous Comments: ------------------------------------------------------------------------ [2019-08-03 10:20:52] ogre5000 at gmail dot com Here is the result of this command: root@SERVERNAME:/opt/php/php-7.3.7# sapi/cli/php run-tests.php -P ext/standard/tests/strings ===================================================================== PHP : /opt/php/php-7.3.7/sapi/cli/php PHP_SAPI : cli PHP_VERSION : 7.3.7 ZEND_VERSION: 3.3.7 PHP_OS : Linux - Linux SERVERNAME 2.6.39.1-cobalt #2 Sun Oct 28 13:06:59 CET 2012 i686 INI actual : /opt/php/php-7.3.7 More .INIs : --------------------------------------------------------------------- PHP : /opt/php/php-7.3.7/sapi/phpdbg/phpdbg PHP_SAPI : phpdbg PHP_VERSION : 7.3.7 ZEND_VERSION: 3.3.7 PHP_OS : Linux - Linux SERVERNAME 2.6.39.1-cobalt #2 Sun Oct 28 13:06:59 CET 2012 i686 INI actual : /opt/php/php-7.3.7 More .INIs : --------------------------------------------------------------------- CWD : /opt/php/php-7.3.7 Extra dirs : VALGRIND : Not used ===================================================================== Running selected tests. Ungültiger Maschinenbefehlests/strings/004.phpt] ------------------------------------------------------------------------ [2019-07-29 10:14:02] nikic@php.net Can you run sapi/cli/php run-tests.php -P ext/standard/tests/strings and report the results? Preferably not on 7.3.0, as early 7.3 versions have known issues that could have caused this. ------------------------------------------------------------------------ [2019-07-28 10:18:03] ogre5000 at gmail dot com Description: ------------ I install PHP on Debian GNU/Linux 6.0 (Kernel 2.6.39.1) by configure command as submitted below. This works well for all versions (eg. php-5.6.40, php-7.2.20) until php-7.3.0 (and all versions above 7,3,0, eg. 7.3.7), which gives the result as below: "make: *** [ext/phar/phar.phar] Ungültiger Maschinenbefehl", instead of "Build complete. Don't forget to run 'make test'." Test script: --------------- rm config.cache make clean ./configure -prefix=/usr/local/php/latestversion \ --with-libxml-dir=/usr/ \ -with-zlib-dir=/usr/ \ --with-mysqli \ --with-png-dir=/usr/ \ --with-jpeg-dir=/usr/ \ --with-curl=/usr/local \ -enable-soap \ -enable-sockets \ -enable-mbstring \ --with-gd \ --with-freetype-dir \ --with-mhash=/usr/ \ --enable-exif \ --enable-intl \ --with-openssl=/usr/local \ --with-apxs2=/usr/local/apache2/bin/apxs make Expected result: ---------------- /bin/bash /opt/php/php-7.2.20/libtool --silent --preserve-dup-deps --mode=link /opt/php/php-7.2.20/meta_ccld -export-dynamic -I/usr/include -g -O2 -fvisibility=hidden -pthread -DZTS -DZEND_SIGNALS ................................ -lcrypt -lxml2 -lxml2 -lxml2 -lcrypt -o sapi/cgi/php-cgi Generating phar.php Generating phar.phar PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled. pharcommand.inc directorygraphiterator.inc clicommand.inc directorytreeiterator.inc invertedregexiterator.inc phar.inc Build complete. Don't forget to run 'make test' Actual result: -------------- /bin/bash /opt/php/php-7.3.0/libtool --silent --preserve-dup-deps --mode=link cc -export-dynamic -I/usr/include -g -O2 -fvisibility=hidden -pthread -DZTS -DZEND_SIGNALS ................................ -lcrypt -lxml2 -lxml2 -lxml2 -lcrypt -o sapi/cgi/php-cgi Generating phar.php Generating phar.phar PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled. make: *** [ext/phar/phar.phar] Ungültiger Maschinenbefehl ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78339&edit=1

« previous php.bugs (#227448) next »