[php-maint] Bug#807028: Bug#807028: php7.0-cli: /usr/bin/phar7.0 doesn't run, ends with bad interpreter error
Krzysztof Krzyżaniak
eloy at kofeina.net
Fri Dec 4 14:44:00 UTC 2015
It should but looks like phar is checking file signature:
root at dellta:/srv/repo/egnyte/sddc/envs# phar
PHP Fatal error: Uncaught PharException: phar "/usr/bin/phar.phar7.0"
has a broken signature in /usr/bin/phar.phar7.0:57
Stack trace:
#0 /usr/bin/phar.phar7.0(57): Phar::mapPhar()
#1 {main}
thrown in /usr/bin/phar.phar7.0 on line 57
W dni pią 4 gru, 2015 o 15∶40 użytkownik Ondřej Surý
<ondrej at sury.org> napisał:
> Control: tags -1 +upstream
>
> Hi Krzysztof,
>
> does it work normally when you replace the first line with just:
>
> /usr/bin/php7.0
>
> looks like an upstream bug that uses $(DESTDIR) in replacement.
>
> Cheers,
> Ondrej
>
> On Fri, Dec 4, 2015, at 11:22, Krzysztof Krzyżaniak wrote:
>> Package: php7.0-cli
>> Version: 7.0.0~rc8-3
>> Severity: important
>>
>> eloy at dellta:~$ phar7.0
>> zsh: /usr/bin/phar7.0: bad interpreter:
>> /tmp/buildd/php7.0-7.0.0~rc8/debian/tmp/usr/bin/php7.0: no such
>> file or
>> directory
>>
>>
>> -- Package-specific info:
>> ==== Additional PHP 7.0 information ====
>>
>> ++++ PHP 7.0 SAPI (php7.0query -S): ++++
>>
>> ++++ PHP 7.0 Extensions (php7.0query -M -v): ++++
>>
>> ++++ Configuration files: ++++
>> [PHP]
>> engine = On
>> short_open_tag = Off
>> precision = 14
>> output_buffering = 4096
>> zlib.output_compression = Off
>> implicit_flush = Off
>> unserialize_callback_func =
>> serialize_precision = 17
>> disable_functions =
>> disable_classes =
>> zend.enable_gc = On
>> expose_php = On
>> max_execution_time = 30
>> max_input_time = 60
>> memory_limit = -1
>> error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
>> display_errors = Off
>> display_startup_errors = Off
>> log_errors = On
>> log_errors_max_len = 1024
>> ignore_repeated_errors = Off
>> ignore_repeated_source = Off
>> report_memleaks = On
>> track_errors = Off
>> html_errors = On
>> variables_order = "GPCS"
>> request_order = "GP"
>> register_argc_argv = Off
>> auto_globals_jit = On
>> post_max_size = 8M
>> auto_prepend_file =
>> auto_append_file =
>> default_mimetype = "text/html"
>> default_charset = "UTF-8"
>> doc_root =
>> user_dir =
>> enable_dl = Off
>> file_uploads = On
>> upload_max_filesize = 2M
>> max_file_uploads = 20
>> allow_url_fopen = On
>> allow_url_include = Off
>> default_socket_timeout = 60
>> [CLI Server]
>> cli_server.color = On
>> [Date]
>> [filter]
>> [iconv]
>> [intl]
>> [sqlite]
>> [sqlite3]
>> [Pcre]
>> [Pdo]
>> [Pdo_mysql]
>> pdo_mysql.cache_size = 2000
>> pdo_mysql.default_socket=
>> [Phar]
>> [mail function]
>> SMTP = localhost
>> smtp_port = 25
>> mail.add_x_header = On
>> [SQL]
>> sql.safe_mode = Off
>> [ODBC]
>> odbc.allow_persistent = On
>> odbc.check_persistent = On
>> odbc.max_persistent = -1
>> odbc.max_links = -1
>> odbc.defaultlrl = 4096
>> odbc.defaultbinmode = 1
>> [Interbase]
>> ibase.allow_persistent = 1
>> ibase.max_persistent = -1
>> ibase.max_links = -1
>> ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
>> ibase.dateformat = "%Y-%m-%d"
>> ibase.timeformat = "%H:%M:%S"
>> [MySQLi]
>> mysqli.max_persistent = -1
>> mysqli.allow_persistent = On
>> mysqli.max_links = -1
>> mysqli.cache_size = 2000
>> mysqli.default_port = 3306
>> mysqli.default_socket =
>> mysqli.default_host =
>> mysqli.default_user =
>> mysqli.default_pw =
>> mysqli.reconnect = Off
>> [mysqlnd]
>> mysqlnd.collect_statistics = On
>> mysqlnd.collect_memory_statistics = Off
>> [OCI8]
>> [PostgreSQL]
>> pgsql.allow_persistent = On
>> pgsql.auto_reset_persistent = Off
>> pgsql.max_persistent = -1
>> pgsql.max_links = -1
>> pgsql.ignore_notice = 0
>> pgsql.log_notice = 0
>> [bcmath]
>> bcmath.scale = 0
>> [browscap]
>> [Session]
>> session.save_handler = files
>> session.use_strict_mode = 0
>> session.use_cookies = 1
>> session.use_only_cookies = 1
>> session.name = PHPSESSID
>> session.auto_start = 0
>> session.cookie_lifetime = 0
>> session.cookie_path = /
>> session.cookie_domain =
>> session.cookie_httponly =
>> session.serialize_handler = php
>> session.gc_probability = 0
>> session.gc_divisor = 1000
>> session.gc_maxlifetime = 1440
>> session.referer_check =
>> session.cache_limiter = nocache
>> session.cache_expire = 180
>> session.use_trans_sid = 0
>> session.hash_function = 0
>> session.hash_bits_per_character = 5
>> url_rewriter.tags =
>> "a=href,area=href,frame=src,input=src,form=fakeentry"
>> [Assertion]
>> zend.assertions = -1
>> [COM]
>> [mbstring]
>> [gd]
>> [exif]
>> [Tidy]
>> tidy.clean_output = Off
>> [soap]
>> soap.wsdl_cache_enabled=1
>> soap.wsdl_cache_dir="/tmp"
>> soap.wsdl_cache_ttl=86400
>> soap.wsdl_cache_limit = 5
>> [sysvshm]
>> [ldap]
>> ldap.max_links = -1
>> [mcrypt]
>> [dba]
>> [opcache]
>> [curl]
>> [openssl]
>>
>> **** /etc/php/7.0/cli/conf.d/20-opcache.ini ****
>> zend_extension=opcache.so
>>
>> **** /etc/php/7.0/cli/conf.d/20-json.ini ****
>> extension=json.so
>>
>>
>> -- System Information:
>> Debian Release: stretch/sid
>> APT prefers unstable
>> APT policy: (500, 'unstable'), (1, 'experimental')
>> Architecture: amd64 (x86_64)
>> Foreign Architectures: i386
>>
>> Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
>> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
>> (ignored:
>> LC_ALL set to en_US.UTF-8)
>> Shell: /bin/sh linked to /bin/dash
>> Init: systemd (via /run/systemd/system)
>>
>> Versions of packages php7.0-cli depends on:
>> ii libc6 2.21-3
>> ii libdb5.3 5.3.28-11
>> ii libedit2 3.1-20150325-1+b1
>> ii libenchant1c2a 1.6.0-10.1
>> ii libgmp10 2:6.1.0+dfsg-2
>> ii libltdl7 2.4.2-1.11
>> ii libmagic1 1:5.25-2
>> ii libmcrypt4 2.5.8-3.3
>> ii libqdbm14 1.8.78-6+b1
>> ii libssl1.0.2 1.0.2e-1
>> ii libxml2 2.9.2+zdfsg1-4
>> ii libxslt1.1 1.1.28-2.1
>> ii mime-support 3.59
>> ii php7.0-common 7.0.0~rc8-3
>> ii php7.0-json 7.0.0~rc8-3
>> ii php7.0-opcache 7.0.0~rc8-3
>> ii tzdata 2015g-1
>> ii ucf 3.0031
>> ii zlib1g 1:1.2.8.dfsg-2+b1
>>
>> Versions of packages php7.0-cli recommends:
>> pn php-readline <none>
>>
>> Versions of packages php7.0-cli suggests:
>> pn php-pear <none>
>>
>> Versions of packages php7.0-common depends on:
>> ii php-common 14
>>
>> Versions of packages php7.0-common suggests:
>> pn php-user-cache <none>
>>
>> -- no debconf information
>>
>> _______________________________________________
>> pkg-php-maint mailing list
>> pkg-php-maint at lists.alioth.debian.org
>>
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
>
>
> --
> Ondřej Surý <ondrej at sury.org>
> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20151204/7238b338/attachment.html>
More information about the pkg-php-maint
mailing list