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

From: Date: Mon, 29 Jul 2019 10:14:03 +0000
Subject: Bug #78339 [Opn]: make: *** [ext/phar/phar.phar] Ungültiger Maschinenbefehl
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221979@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:         nikic@php.net
 Reported by:        ogre5000 at gmail dot com
 Summary:            make: *** [ext/phar/phar.phar] Ungültiger
                     Maschinenbefehl
 Status:             Open
 Type:               Bug
 Package:            *Compile Issues
 Operating System:   Debian Linux
 PHP Version:        7.3.7
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[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


Thread (5 messages)

« previous php.bugs (#221979) next »