Bug #78339 [NEW]: make: *** [ext/phar/phar.phar] Ungültiger Maschinenbefehl
| From: | ogre5000 at gmail dot com | Date: | Sun, 28 Jul 2019 10:18:03 +0000 |
| Subject: | Bug #78339 [NEW]: make: *** [ext/phar/phar.phar] Ungültiger Maschinenbefehl | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-221953@lists.php.net to get a copy of this message | ||
From: ogre5000 at gmail dot com
Operating system: Debian Linux
PHP version: 7.3.7
Package: *Compile Issues
Bug Type: Bug
Bug description:make: *** [ext/phar/phar.phar] Ungültiger Maschinenbefehl
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 bug report at https://bugs.php.net/bug.php?id=78339&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78339&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78339&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78339&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=78339&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78339&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78339&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78339&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78339&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78339&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78339&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78339&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78339&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78339&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78339&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=78339&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78339&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78339&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78339&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78339&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78339&r=mysqlcfg