NetBSD Problem Report #53222

From tsutsui@ceres.dti.ne.jp  Sat Apr 28 14:01:44 2018
Return-Path: <tsutsui@ceres.dti.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2581E7A18B
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 28 Apr 2018 14:01:44 +0000 (UTC)
Message-Id: <201804281401.w3SE1ZYh005781@ceres.dti.ne.jp>
Date: Sat, 28 Apr 2018 23:01:35 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: lang/php71 build fails on NetBSD/i386 8.0_RC1
X-Send-Pr-Version: 3.95

>Number:         53222
>Category:       pkg
>Synopsis:       lang/php71 build fails on NetBSD/i386 8.0_RC1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 28 14:05:00 +0000 2018
>Closed-Date:    Thu Aug 23 22:20:20 +0000 2018
>Last-Modified:  Thu Aug 23 22:20:20 +0000 2018
>Originator:     Izumi Tsutsui
>Release:        NetBSD 8.0_RC1 + pkgsrc-2018Q1
>Organization:
>Environment:
System: NetBSD optiplex 8.0_RC1 NetBSD 8.0_RC1 (GENERIC.201804191727Z) i386
Architecture: i386
Machine: i386
>Description:
lang/php71 build fails on NetBSD/i386 8.0_RC1.
It seems built php binary dumps core.

---

=> Bootstrap dependency digest>=20010302: found digest-20160304
=> Checksum SHA1 OK for php-7.1.16.tar.bz2
=> Checksum RMD160 OK for php-7.1.16.tar.bz2
=> Checksum SHA512 OK for php-7.1.16.tar.bz2
===> Installing dependencies for php-7.1.16

 :

/php-7.1.16/ext/date/lib -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/TSRM -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/Zend  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include  -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -DZEND_SIGNALS   -c /s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/sapi/phpdbg/phpdbg_eol.c -o sapi/phpdbg/phpdbg_eol.lo 
/bin/sh /s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/libtool --silent --preserve-dup-deps --mode=compile gcc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Isapi/phpdbg/ -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/sapi/phpdbg/ -DPHP_ATOM_INC -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/include -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/main -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16 -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/ext/date/lib -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/TSRM -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/Zend  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include  -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -DZEND_SIGNALS   -c /s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/sapi/phpdbg/phpdbg_out.c -o sapi/phpdbg/phpdbg_out.lo 
/bin/sh /s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/libtool --silent --preserve-dup-deps --mode=link gcc -export-dynamic -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -DZEND_SIGNALS   -L/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -R /usr/pkg/lib ext/date/php_date.lo ext/date/lib/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo ext/date/lib/parse_tz.lo ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.lo ext/date/lib/parse_iso_intervals.lo ext/date/lib/interval.lo ext/libxml/libxml.lo ext/openssl/openssl.lo ext/openssl/xp_ssl.lo ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_ucd.lo ext/pcre/pcrelib/pcre_compile.lo ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo ext/pcre/pcrelib/pcre_maketables.lo ext/pcre/pcrelib/pcre_newline.lo ext/pcre/pcrelib/pcre_ord2utf8!
 .lo ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/pcrelib/pcre_jit_compile.lo ext/pcre/php_pcre.lo ext/sqlite3/sqlite3.lo ext/sqlite3/libsqlite/sqlite3.lo ext/ctype/ctype.lo ext/dom/php_dom.lo ext/dom/attr.lo ext/dom/document.lo ext/dom/domerrorhandler.lo ext/dom/domstringlist.lo ext/dom/domexception.lo ext/dom/namelist.lo ext/dom/processinginstruction.lo ext/dom/cdatasection.lo ext/dom/documentfragment.lo ext/dom/domimplementation.lo ext/dom/element.lo ext/dom/node.lo ext/dom/string_extend.lo ext/dom/characterdata.lo ext/dom/documenttype.lo ext/dom/domimplementationlist.lo ext/dom/entity.lo ext/dom/nodelist.lo ext/dom/text.lo ext/dom/comment.lo ext/dom/domconfiguration.lo ext/dom/domimplementationsource.lo ext/dom/entityreference.lo ext/dom/notation.lo ext/dom/xpath.lo ext/dom/dom_iterators.lo ext/dom/typeinfo.lo e!
 xt/dom/domerror.lo ext/dom/domlocator.lo ext/dom/namednodemap.!
 lo ext/dom/userdatahandler.lo ext/fileinfo/fileinfo.lo ext/fileinfo/libmagic/apprentice.lo ext/fileinfo/libmagic/apptype.lo ext/fileinfo/libmagic/ascmagic.lo ext/fileinfo/libmagic/cdf.lo ext/fileinfo/libmagic/cdf_time.lo ext/fileinfo/libmagic/compress.lo ext/fileinfo/libmagic/encoding.lo ext/fileinfo/libmagic/fsmagic.lo ext/fileinfo/libmagic/funcs.lo ext/fileinfo/libmagic/is_tar.lo ext/fileinfo/libmagic/magic.lo ext/fileinfo/libmagic/print.lo ext/fileinfo/libmagic/readcdf.lo ext/fileinfo/libmagic/softmagic.lo ext/filter/filter.lo ext/filter/sanitizing_filters.lo ext/filter/logical_filters.lo ext/filter/callback_filter.lo ext/hash/hash.lo ext/hash/hash_md.lo ext/hash/hash_sha.lo ext/hash/hash_ripemd.lo ext/hash/hash_haval.lo ext/hash/hash_tiger.lo ext/hash/hash_gost.lo ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo ext/hash/hash_adler32.lo ext/hash/hash_crc32.lo ext/hash/hash_fnv.lo ext/hash/hash_joaat.lo ext/hash/hash_sha3.lo ext/phar/util.lo ext/phar/tar.lo ext/phar/zi!
 p.lo ext/phar/stream.lo ext/phar/func_interceptors.lo ext/phar/dirstream.lo ext/phar/phar.lo ext/phar/phar_object.lo ext/phar/phar_path_check.lo ext/readline/readline.lo ext/readline/readline_cli.lo ext/reflection/php_reflection.lo ext/session/mod_user_class.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo ext/simplexml/simplexml.lo ext/simplexml/sxe.lo ext/spl/php_spl.lo ext/spl/spl_functions.lo ext/spl/spl_engine.lo ext/spl/spl_iterators.lo ext/spl/spl_array.lo ext/spl/spl_directory.lo ext/spl/spl_exceptions.lo ext/spl/spl_observer.lo ext/spl/spl_dllist.lo ext/spl/spl_heap.lo ext/spl/spl_fixedarray.lo ext/standard/crypt_freesec.lo ext/standard/crypt_blowfish.lo ext/standard/crypt_sha512.lo ext/standard/crypt_sha256.lo ext/standard/php_crypt_r.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/stan!
 dard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/st!
 andard/dn!
 s.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/mt_rand.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo ext/standard/var.lo ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/sta!
 ndard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/sha1.lo ext/standard/user_filters.lo ext/standard/uuencode.lo ext/standard/filters.lo ext/standard/proc_open.lo ext/standard/streamsfuncs.lo ext/standard/http.lo ext/standard/password.lo ext/standard/random.lo ext/tokenizer/tokenizer.lo ext/tokenizer/tokenizer_data.lo ext/xml/xml.lo ext/xml/compat.lo ext/xmlreader/php_xmlreader.lo ext/xmlwriter/php_xmlwriter.lo ext/mysqlnd/mysqlnd_connection.lo ext/mysqlnd/mysqlnd_alloc.lo ext/mysqlnd/mysqlnd_charset.lo ext/mysqlnd/mysqlnd_wireprotocol.lo ext/mysqlnd/mysqlnd_loaddata.lo ext/mysqlnd/mysqlnd_reverse_api.lo ext/mysqlnd/mysqlnd_vio.lo ext/mysqlnd/mysqlnd_protocol_frame_codec.lo ext/mysqlnd/mysqlnd_statistics.lo ext/mysqlnd/mysqlnd_driver.lo ext/mysqlnd/mysqlnd_ext_plugin.lo ext/mysqlnd/mysqlnd_auth.lo ext/mysqlnd/mysqlnd_result.lo ext/mysqlnd/mysqlnd_result_meta.lo ext/mysqlnd/mysqlnd_debug.lo ext/mysqlnd/mysqlnd_commands.lo !
 ext/mysqlnd/mysqlnd_block_alloc.lo ext/mysqlnd/mysqlnd_read_bu!
 ffer.lo e!
 xt/mysqlnd/mysqlnd_plugin.lo ext/mysqlnd/php_mysqlnd.lo ext/mysqlnd/mysqlnd_ps.lo ext/mysqlnd/mysqlnd_ps_codec.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/network.lo main/php_open_temporary_file.lo main/output.lo main/getopt.lo main/streams/streams.lo main/streams/cast.lo main/streams/memory.lo main/streams/filter.lo main/streams/plain_wrapper.lo main/streams/userspace.lo main/streams/transports.lo main/streams/xp_socket.lo main/streams/mmap.lo main/streams/glob_wrapper.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dtrace.lo Zend/zend_execu!
 te_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_vm_opcodes.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_sort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_gc.lo Zend/zend_closures.lo Zend/zend_float.lo Zend/zend_string.lo Zend/zend_signal.lo Zend/zend_generators.lo Zend/zend_virtual_cwd.lo Zend/zend_ast.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_inheritance.lo Zend/zend_smart_str.lo Zend/zend_execute.lo main/internal_functions_cli.lo sapi/phpdbg/phpdbg.lo sapi/phpdbg/phpdbg_parser.lo sapi/phpdbg/phpdbg_lexer.lo sapi/phpdbg/phpdbg_prompt.!
 lo sapi/phpdbg/phpdbg_help.lo sapi/phpdbg/phpdbg_break.lo sapi!
 /phpdbg/p!
 hpdbg_print.lo sapi/phpdbg/phpdbg_bp.lo sapi/phpdbg/phpdbg_opcode.lo sapi/phpdbg/phpdbg_list.lo sapi/phpdbg/phpdbg_utils.lo sapi/phpdbg/phpdbg_info.lo sapi/phpdbg/phpdbg_cmd.lo sapi/phpdbg/phpdbg_set.lo sapi/phpdbg/phpdbg_frame.lo sapi/phpdbg/phpdbg_watch.lo sapi/phpdbg/phpdbg_btree.lo sapi/phpdbg/phpdbg_sigsafe.lo sapi/phpdbg/phpdbg_wait.lo sapi/phpdbg/phpdbg_io.lo sapi/phpdbg/phpdbg_eol.lo sapi/phpdbg/phpdbg_out.lo -lcrypt -lcrypto -lssl -lcrypto -lcrypt -lreadline -ltermcap -lcrypto -lssl -lcrypto -lrt -lm -lxml2 -lz -llzma -lm -lxml2 -lz -llzma -lm -lxml2 -lz -llzma -lm -lcrypt -lxml2 -lz -llzma -lm -lxml2 -lz -llzma -lm -lxml2 -lz -llzma -lm -lcrypt   -o sapi/phpdbg/phpdbg
/bin/sh /s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/libtool --silent --preserve-dup-deps --mode=compile gcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Imain/ -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/main/ -DPHP_ATOM_INC -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/include -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/main -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16 -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/ext/date/lib -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/TSRM -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/Zend  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include  -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -DZEND_SIGNALS   -c /s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/main/fastcgi.c -o main/fastcgi.lo 
/bin/sh /s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/libtool --silent --preserve-dup-deps --mode=compile gcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Isapi/cgi/ -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/sapi/cgi/ -DPHP_ATOM_INC -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/include -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/main -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16 -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/ext/date/lib -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/TSRM -I/s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/Zend  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include  -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -DZEND_SIGNALS   -c /s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/sapi/cgi/cgi_main.c -o sapi/cgi/cgi_main.lo 
/bin/sh /s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/libtool --silent --preserve-dup-deps --mode=link gcc -export-dynamic -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -DZEND_SIGNALS   -L/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -R /usr/pkg/lib ext/date/php_date.lo ext/date/lib/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo ext/date/lib/parse_tz.lo ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.lo ext/date/lib/parse_iso_intervals.lo ext/date/lib/interval.lo ext/libxml/libxml.lo ext/openssl/openssl.lo ext/openssl/xp_ssl.lo ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_ucd.lo ext/pcre/pcrelib/pcre_compile.lo ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo ext/pcre/pcrelib/pcre_maketables.lo ext/pcre/pcrelib/pcre_newline.lo ext/pcre/pcrelib/pcre_ord2utf8!
 .lo ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/pcrelib/pcre_jit_compile.lo ext/pcre/php_pcre.lo ext/sqlite3/sqlite3.lo ext/sqlite3/libsqlite/sqlite3.lo ext/ctype/ctype.lo ext/dom/php_dom.lo ext/dom/attr.lo ext/dom/document.lo ext/dom/domerrorhandler.lo ext/dom/domstringlist.lo ext/dom/domexception.lo ext/dom/namelist.lo ext/dom/processinginstruction.lo ext/dom/cdatasection.lo ext/dom/documentfragment.lo ext/dom/domimplementation.lo ext/dom/element.lo ext/dom/node.lo ext/dom/string_extend.lo ext/dom/characterdata.lo ext/dom/documenttype.lo ext/dom/domimplementationlist.lo ext/dom/entity.lo ext/dom/nodelist.lo ext/dom/text.lo ext/dom/comment.lo ext/dom/domconfiguration.lo ext/dom/domimplementationsource.lo ext/dom/entityreference.lo ext/dom/notation.lo ext/dom/xpath.lo ext/dom/dom_iterators.lo ext/dom/typeinfo.lo e!
 xt/dom/domerror.lo ext/dom/domlocator.lo ext/dom/namednodemap.!
 lo ext/dom/userdatahandler.lo ext/fileinfo/fileinfo.lo ext/fileinfo/libmagic/apprentice.lo ext/fileinfo/libmagic/apptype.lo ext/fileinfo/libmagic/ascmagic.lo ext/fileinfo/libmagic/cdf.lo ext/fileinfo/libmagic/cdf_time.lo ext/fileinfo/libmagic/compress.lo ext/fileinfo/libmagic/encoding.lo ext/fileinfo/libmagic/fsmagic.lo ext/fileinfo/libmagic/funcs.lo ext/fileinfo/libmagic/is_tar.lo ext/fileinfo/libmagic/magic.lo ext/fileinfo/libmagic/print.lo ext/fileinfo/libmagic/readcdf.lo ext/fileinfo/libmagic/softmagic.lo ext/filter/filter.lo ext/filter/sanitizing_filters.lo ext/filter/logical_filters.lo ext/filter/callback_filter.lo ext/hash/hash.lo ext/hash/hash_md.lo ext/hash/hash_sha.lo ext/hash/hash_ripemd.lo ext/hash/hash_haval.lo ext/hash/hash_tiger.lo ext/hash/hash_gost.lo ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo ext/hash/hash_adler32.lo ext/hash/hash_crc32.lo ext/hash/hash_fnv.lo ext/hash/hash_joaat.lo ext/hash/hash_sha3.lo ext/phar/util.lo ext/phar/tar.lo ext/phar/zi!
 p.lo ext/phar/stream.lo ext/phar/func_interceptors.lo ext/phar/dirstream.lo ext/phar/phar.lo ext/phar/phar_object.lo ext/phar/phar_path_check.lo ext/readline/readline.lo ext/readline/readline_cli.lo ext/reflection/php_reflection.lo ext/session/mod_user_class.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo ext/simplexml/simplexml.lo ext/simplexml/sxe.lo ext/spl/php_spl.lo ext/spl/spl_functions.lo ext/spl/spl_engine.lo ext/spl/spl_iterators.lo ext/spl/spl_array.lo ext/spl/spl_directory.lo ext/spl/spl_exceptions.lo ext/spl/spl_observer.lo ext/spl/spl_dllist.lo ext/spl/spl_heap.lo ext/spl/spl_fixedarray.lo ext/standard/crypt_freesec.lo ext/standard/crypt_blowfish.lo ext/standard/crypt_sha512.lo ext/standard/crypt_sha256.lo ext/standard/php_crypt_r.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/stan!
 dard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/st!
 andard/dn!
 s.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/mt_rand.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo ext/standard/var.lo ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/sta!
 ndard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/sha1.lo ext/standard/user_filters.lo ext/standard/uuencode.lo ext/standard/filters.lo ext/standard/proc_open.lo ext/standard/streamsfuncs.lo ext/standard/http.lo ext/standard/password.lo ext/standard/random.lo ext/tokenizer/tokenizer.lo ext/tokenizer/tokenizer_data.lo ext/xml/xml.lo ext/xml/compat.lo ext/xmlreader/php_xmlreader.lo ext/xmlwriter/php_xmlwriter.lo ext/mysqlnd/mysqlnd_connection.lo ext/mysqlnd/mysqlnd_alloc.lo ext/mysqlnd/mysqlnd_charset.lo ext/mysqlnd/mysqlnd_wireprotocol.lo ext/mysqlnd/mysqlnd_loaddata.lo ext/mysqlnd/mysqlnd_reverse_api.lo ext/mysqlnd/mysqlnd_vio.lo ext/mysqlnd/mysqlnd_protocol_frame_codec.lo ext/mysqlnd/mysqlnd_statistics.lo ext/mysqlnd/mysqlnd_driver.lo ext/mysqlnd/mysqlnd_ext_plugin.lo ext/mysqlnd/mysqlnd_auth.lo ext/mysqlnd/mysqlnd_result.lo ext/mysqlnd/mysqlnd_result_meta.lo ext/mysqlnd/mysqlnd_debug.lo ext/mysqlnd/mysqlnd_commands.lo !
 ext/mysqlnd/mysqlnd_block_alloc.lo ext/mysqlnd/mysqlnd_read_bu!
 ffer.lo e!
 xt/mysqlnd/mysqlnd_plugin.lo ext/mysqlnd/php_mysqlnd.lo ext/mysqlnd/mysqlnd_ps.lo ext/mysqlnd/mysqlnd_ps_codec.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/network.lo main/php_open_temporary_file.lo main/output.lo main/getopt.lo main/streams/streams.lo main/streams/cast.lo main/streams/memory.lo main/streams/filter.lo main/streams/plain_wrapper.lo main/streams/userspace.lo main/streams/transports.lo main/streams/xp_socket.lo main/streams/mmap.lo main/streams/glob_wrapper.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dtrace.lo Zend/zend_execu!
 te_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_vm_opcodes.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_sort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_gc.lo Zend/zend_closures.lo Zend/zend_float.lo Zend/zend_string.lo Zend/zend_signal.lo Zend/zend_generators.lo Zend/zend_virtual_cwd.lo Zend/zend_ast.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_inheritance.lo Zend/zend_smart_str.lo Zend/zend_execute.lo main/internal_functions_cli.lo main/fastcgi.lo sapi/cgi/cgi_main.lo -lcrypt -lcrypto -lssl -lcrypto -lcrypt -lreadline -ltermcap -lcrypt!
 o -lssl -lcrypto -lrt -lm -lxml2 -lz -llzma -lm -lxml2 -lz -ll!
 zma -lm -!
 lxml2 -lz -llzma -lm -lcrypt -lxml2 -lz -llzma -lm -lxml2 -lz -llzma -lm -lxml2 -lz -llzma -lm -lcrypt  -o sapi/cgi/php-cgi
Generating phar.php
[1]   Segmentation fault (core dumped) $(...) -n -d "op...
Makefile:368: recipe for target 'ext/phar/phar.php' failed
gmake: *** [ext/phar/phar.php] Error 139
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/lang/php71
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/php71

---

gdb backtrace with generated php.core is here:

---
# gdb /s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/sapi/cli/php /s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/php.core
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486--netbsdelf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /s/obj.i386/pkgsrc/lang/php71/work.i386/php-7.1.16/sapi/cli/php...(no debugging symbols found)...done.
[New process 1]
Core was generated by `php'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x083d5a5c in ZEND_UNSET_DIM_SPEC_CV_CONST_HANDLER ()
(gdb) bt
#0  0x083d5a5c in ZEND_UNSET_DIM_SPEC_CV_CONST_HANDLER ()
#1  0x0839b171 in execute_ex ()
#2  0x083ead3c in zend_execute ()
#3  0x0835880d in zend_execute_scripts ()
#4  0x082f754f in php_execute_script ()
#5  0x083ecf05 in do_cli ()
#6  0x083fbda7 in main ()
(gdb) 

---

Note builds on NetBSD/i386 7.1.2 and NetBSD/amd64 8.0_RC1 work fine.

>How-To-Repeat:
checkout pkgsrc-2018Q1 on NetBSD/i386 8.0_RC1
cd pkgsrc/lang/php71
make package

>Fix:
N/A
(build with -O by hacks.mk might help?)

>Release-Note:

>Audit-Trail:
From: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53222: lang/php71 build fails on NetBSD/i386 8.0_RC1
Date: Sun, 3 Jun 2018 22:24:20 +0000

 Need this patch again, most likely.

 https://bugs.php.net/bug.php?id=74527

 Feel free to drop GCC_REQD in Makefile.php after seeing if it works.

State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 06 Jun 2018 23:24:49 +0000
State-Changed-Why:
Try the patch (sent to upstream)


From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: coypu@sdf.org, tsutsui@ceres.dti.ne.jp
Subject: Re: pkg/53222: lang/php71 build fails on NetBSD/i386 8.0_RC1
Date: Wed, 11 Jul 2018 01:44:15 +0900

 >  Need this patch again, most likely.
 >  
 >  https://bugs.php.net/bug.php?id=74527

 This patch (disabling global registers for i386) works around.

 >  Feel free to drop GCC_REQD in Makefile.php after seeing if it works.

 Note this happens on NetBSD/i386 8.0_RC[12] which has gcc 5.5.0.

 ---
 Izumi Tsutsui

From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53222 CVS commit: pkgsrc/lang
Date: Mon, 16 Jul 2018 10:58:50 +0000

 Module Name:	pkgsrc
 Committed By:	maya
 Date:		Mon Jul 16 10:58:50 UTC 2018

 Modified Files:
 	pkgsrc/lang/php70: Makefile Makefile.php
 	pkgsrc/lang/php71: Makefile Makefile.php
 	pkgsrc/lang/php72: Makefile Makefile.php

 Log Message:
 php*: disable global regs on i386.
 Fixes PR pkg/53222 that resurfaced

 Remove the previous workaround to add GCC_REQD, which isn't sufficient
 any more, possibly due to enabling ssp/fortify?

 XXX bumping PKGREVISION might not be sufficient, for the same reason the
 GCC_REQD had to be moved to Makefile.php, it affects modules too.


 To generate a diff of this commit:
 cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/php70/Makefile
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/php70/Makefile.php
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/php71/Makefile
 cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/php71/Makefile.php
 cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/php72/Makefile
 cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/php72/Makefile.php

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: feedback->needs-pullups
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 16 Jul 2018 11:12:18 +0000
State-Changed-Why:
this works. the remaining part is to pullup the fixes.


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53222 CVS commit: [pkgsrc-2018Q2] pkgsrc/lang
Date: Fri, 17 Aug 2018 16:04:01 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Fri Aug 17 16:04:01 UTC 2018

 Modified Files:
 	pkgsrc/lang/php [pkgsrc-2018Q2]: phpversion.mk
 	pkgsrc/lang/php71 [pkgsrc-2018Q2]: Makefile Makefile.php distinfo
 Added Files:
 	pkgsrc/lang/php71/patches [pkgsrc-2018Q2]: patch-disable-filter-url

 Log Message:
 Pullup ticket #5797 - requested by taca
 lang/php71: security fix

 Revisions pulled up:
 - lang/php/phpversion.mk                                        1.222
 - lang/php71/Makefile                                           1.14-1.15
 - lang/php71/Makefile.php                                       1.7-1.8
 - lang/php71/distinfo                                           1.39-1.40
 - lang/php71/patches/patch-disable-filter-url                   1.1

 ---
    Module Name:	pkgsrc
    Committed By:	maya
    Date:		Mon Jul 16 10:58:50 UTC 2018

    Modified Files:
    	pkgsrc/lang/php70: Makefile Makefile.php
    	pkgsrc/lang/php71: Makefile Makefile.php
    	pkgsrc/lang/php72: Makefile Makefile.php

    Log Message:
    php*: disable global regs on i386.
    Fixes PR pkg/53222 that resurfaced

    Remove the previous workaround to add GCC_REQD, which isn't sufficient
    any more, possibly due to enabling ssp/fortify?

    XXX bumping PKGREVISION might not be sufficient, for the same reason the
    GCC_REQD had to be moved to Makefile.php, it affects modules too.

 ---
    Module Name:	pkgsrc
    Committed By:	manu
    Date:		Wed Jul 18 07:33:12 UTC 2018

    Modified Files:
    	pkgsrc/lang/php56: Makefile.php distinfo
    	pkgsrc/lang/php70: Makefile.php distinfo
    	pkgsrc/lang/php71: Makefile.php distinfo
    	pkgsrc/lang/php72: Makefile.php distinfo
    Added Files:
    	pkgsrc/lang/php56/patches: patch-disable-filter-url
    	pkgsrc/lang/php70/patches: patch-disable-filter-url
    	pkgsrc/lang/php71/patches: patch-disable-filter-url
    	pkgsrc/lang/php72/patches: patch-disable-filter-url

    Log Message:
    Add pkgsrc build option disable-filter-url to disable php://filter URL

    php://filter URL is a feature documented here:
    http://php.net/manual/en/wrappers.php.php

    Unfortunately, it allows remote control of include() behavior
    beyond what many developpers expected, enabling easy dump of
    PHP source files. The administrator may want to disable the
    feature for security sake, and this option makes that possible.

 ---
    Module Name:	pkgsrc
    Committed By:	taca
    Date:		Fri Jul 20 13:23:47 UTC 2018

    Modified Files:
    	pkgsrc/lang/php: phpversion.mk
    	pkgsrc/lang/php71: Makefile distinfo

    Log Message:
    lang/php71: update to 7.1.20

    19 Jul 2018, PHP 7.1.20

    - Core:
      . Fixed bug #76534 (PHP hangs on 'illegal string offset on string references
        with an error handler). (Laruence)
      . Fixed bug #76502 (Chain of mixed exceptions and errors does not serialize
        properly). (Nikita)

    - Date:
      . Fixed bug #76462 (Undefined property: DateInterval::$f). (Anatol)

    - exif:
      . Fixed bug #76423 (Int Overflow lead to Heap OverFlow in
        exif_thumbnail_extract of exif.c). (Stas)
     . Fixed bug #76557 (heap-buffer-overflow (READ of size 48) while reading exif
        data). (Stas)

    - FPM:
      . Fixed bug #73342 (Vulnerability in php-fpm by changing stdin to
        non-blocking). (Nikita)

    - GMP:
      . Fixed bug #74670 (Integer Underflow when unserializing GMP and possible
        other classes). (Nikita)

    - intl:
      . Fixed bug #76556 (get_debug_info handler for BreakIterator shows wrong
        type). (cmb)

    - mbstring:
      . Fixed bug #76532 (Integer overflow and excessive memory usage
        in mb_strimwidth). (MarcusSchwarz)

    - PGSQL:
      . Fixed bug #76548 (pg_fetch_result did not fetch the next row). (Anatol)

    - phpdbg:
      . Fix arginfo wrt. optional/required parameters. (cmb)

    - Reflection:
      . Fixed bug #76536 (PHP crashes with core dump when throwing exception in
        error handler). (Laruence)
      . Fixed bug #75231 (ReflectionProperty#getValue() incorrectly works with
        inherited classes). (Nikita)

    - Standard:
      . Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys).
        (Laruence)
      . Fixed bug #71848 (getimagesize with $imageinfo returns false). (cmb)

    - Win32:
      . Fixed bug #76459 (windows linkinfo lacks openbasedir check). (Anatol)


 To generate a diff of this commit:
 cvs rdiff -u -r1.221 -r1.221.2.1 pkgsrc/lang/php/phpversion.mk
 cvs rdiff -u -r1.13 -r1.13.6.1 pkgsrc/lang/php71/Makefile
 cvs rdiff -u -r1.6 -r1.6.10.1 pkgsrc/lang/php71/Makefile.php
 cvs rdiff -u -r1.38 -r1.38.2.1 pkgsrc/lang/php71/distinfo
 cvs rdiff -u -r0 -r1.1.2.2 pkgsrc/lang/php71/patches/patch-disable-filter-url

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53222 CVS commit: [pkgsrc-2018Q2] pkgsrc/lang
Date: Fri, 17 Aug 2018 16:08:38 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Fri Aug 17 16:08:38 UTC 2018

 Modified Files:
 	pkgsrc/lang/php [pkgsrc-2018Q2]: phpversion.mk
 	pkgsrc/lang/php72 [pkgsrc-2018Q2]: Makefile Makefile.php distinfo
 Added Files:
 	pkgsrc/lang/php72/patches [pkgsrc-2018Q2]: patch-disable-filter-url

 Log Message:
 Pullup ticket #5798 - requested by taca
 lang/php72: security fix

 Revisions pulled up:
 - lang/php/phpversion.mk                                        1.223
 - lang/php72/Makefile                                           1.9-1.12
 - lang/php72/Makefile.php                                       1.5-1.6
 - lang/php72/distinfo                                           1.27-1.28
 - lang/php72/patches/patch-disable-filter-url                   1.1

 ---
    Module Name:	pkgsrc
    Committed By:	maya
    Date:		Mon Jul 16 10:58:50 UTC 2018

    Modified Files:
    	pkgsrc/lang/php70: Makefile Makefile.php
    	pkgsrc/lang/php71: Makefile Makefile.php
    	pkgsrc/lang/php72: Makefile Makefile.php

    Log Message:
    php*: disable global regs on i386.
    Fixes PR pkg/53222 that resurfaced

    Remove the previous workaround to add GCC_REQD, which isn't sufficient
    any more, possibly due to enabling ssp/fortify?

    XXX bumping PKGREVISION might not be sufficient, for the same reason the
    GCC_REQD had to be moved to Makefile.php, it affects modules too.

 ---
    Module Name:	pkgsrc
    Committed By:	manu
    Date:		Wed Jul 18 07:33:12 UTC 2018

    Modified Files:
    	pkgsrc/lang/php56: Makefile.php distinfo
    	pkgsrc/lang/php70: Makefile.php distinfo
    	pkgsrc/lang/php71: Makefile.php distinfo
    	pkgsrc/lang/php72: Makefile.php distinfo
    Added Files:
    	pkgsrc/lang/php56/patches: patch-disable-filter-url
    	pkgsrc/lang/php70/patches: patch-disable-filter-url
    	pkgsrc/lang/php71/patches: patch-disable-filter-url
    	pkgsrc/lang/php72/patches: patch-disable-filter-url

    Log Message:
    Add pkgsrc build option disable-filter-url to disable php://filter URL

    php://filter URL is a feature documented here:
    http://php.net/manual/en/wrappers.php.php

    Unfortunately, it allows remote control of include() behavior
    beyond what many developpers expected, enabling easy dump of
    PHP source files. The administrator may want to disable the
    feature for security sake, and this option makes that possible.

 ---
    Module Name:	pkgsrc
    Committed By:	ryoon
    Date:		Fri Jul 20 03:34:33 UTC 2018

    Modified Files:
    	pkgsrc/lang/php72: Makefile

    Log Message:
    Recursive revbump from textproc/icu-62.1

 ---
    Module Name:	pkgsrc
    Committed By:	taca
    Date:		Fri Jul 20 13:25:26 UTC 2018

    Modified Files:
    	pkgsrc/lang/php: phpversion.mk
    	pkgsrc/lang/php72: Makefile distinfo

    Log Message:
    lang/php72: update to 7.2.8

    19 Jul 2018, PHP 7.2.8

    - Core:
      . Fixed bug #76534 (PHP hangs on 'illegal string offset on string references
        with an error handler). (Laruence)
      . Fixed bug #76520 (Object creation leaks memory when executed over HTTP).
        (Nikita)
      . Fixed bug #76502 (Chain of mixed exceptions and errors does not serialize
        properly). (Nikita)

    - Date:
      . Fixed bug #76462 (Undefined property: DateInterval::$f). (Anatol)

    - EXIF:
      . Fixed bug #76409 (heap use after free in _php_stream_free). (cmb)
      . Fixed bug #76423 (Int Overflow lead to Heap OverFlow in
        exif_thumbnail_extract of exif.c). (Stas)
      . Fixed bug #76557 (heap-buffer-overflow (READ of size 48) while reading exif
        data). (Stas)

    - FPM:
      . Fixed bug #73342 (Vulnerability in php-fpm by changing stdin to
        non-blocking). (Nikita)

    - GMP:
      . Fixed bug #74670 (Integer Underflow when unserializing GMP and possible
        other classes). (Nikita)

    - intl:
      . Fixed bug #76556 (get_debug_info handler for BreakIterator shows wrong
        type). (cmb)

    - mbstring:
      . Fixed bug #76532 (Integer overflow and excessive memory usage
        in mb_strimwidth). (MarcusSchwarz)

    - Opcache:
      . Fixed bug #76477 (Opcache causes empty return value).
        (Nikita, Laruence)

    - PGSQL:
      . Fixed bug #76548 (pg_fetch_result did not fetch the next row). (Anatol)

    - phpdbg:
      . Fix arginfo wrt. optional/required parameters. (cmb)

    - Reflection:
      . Fixed bug #76536 (PHP crashes with core dump when throwing exception in
        error handler). (Laruence)
      . Fixed bug #75231 (ReflectionProperty#getValue() incorrectly works with
        inherited classes). (Nikita)

    - Standard:
      . Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys).
        (Laruence)
      . Fixed bug #71848 (getimagesize with $imageinfo returns false). (cmb)

    - Win32:
      . Fixed bug #76459 (windows linkinfo lacks openbasedir check). (Anatol)

    - ZIP:
      . Fixed bug #76461 (OPSYS_Z_CPM defined instead of OPSYS_CPM).
        (Dennis Birkholz, Remi)

 ---
    Module Name:	pkgsrc
    Committed By:	taca
    Date:		Fri Jul 20 13:29:51 UTC 2018

    Modified Files:
    	pkgsrc/lang/php72: Makefile

    Log Message:
    lang/php72: reset PKGREVISION

    Reset PKGREVISION along with update to 7.2.8.


 To generate a diff of this commit:
 cvs rdiff -u -r1.221.2.1 -r1.221.2.2 pkgsrc/lang/php/phpversion.mk
 cvs rdiff -u -r1.8 -r1.8.2.1 pkgsrc/lang/php72/Makefile
 cvs rdiff -u -r1.4 -r1.4.4.1 pkgsrc/lang/php72/Makefile.php
 cvs rdiff -u -r1.26 -r1.26.2.1 pkgsrc/lang/php72/distinfo
 cvs rdiff -u -r0 -r1.1.2.2 pkgsrc/lang/php72/patches/patch-disable-filter-url

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53222 CVS commit: [pkgsrc-2018Q2] pkgsrc/lang
Date: Fri, 17 Aug 2018 17:37:22 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Fri Aug 17 17:37:22 UTC 2018

 Modified Files:
 	pkgsrc/lang/php [pkgsrc-2018Q2]: phpversion.mk
 	pkgsrc/lang/php70 [pkgsrc-2018Q2]: Makefile Makefile.php distinfo
 Added Files:
 	pkgsrc/lang/php70/patches [pkgsrc-2018Q2]: patch-disable-filter-url

 Log Message:
 Pullup ticket #5799 - requested by taca
 lang/php70: security fix

 Revisions pulled up:
 - lang/php/phpversion.mk                                        1.224
 - lang/php70/Makefile                                           1.11-1.12
 - lang/php70/Makefile.php                                       1.8-1.9
 - lang/php70/distinfo                                           1.46-1.47
 - lang/php70/patches/patch-disable-filter-url                   1.1

 ---
    Module Name:	pkgsrc
    Committed By:	maya
    Date:		Mon Jul 16 10:58:50 UTC 2018

    Modified Files:
    	pkgsrc/lang/php70: Makefile Makefile.php
    	pkgsrc/lang/php71: Makefile Makefile.php
    	pkgsrc/lang/php72: Makefile Makefile.php

    Log Message:
    php*: disable global regs on i386.
    Fixes PR pkg/53222 that resurfaced

    Remove the previous workaround to add GCC_REQD, which isn't sufficient
    any more, possibly due to enabling ssp/fortify?

    XXX bumping PKGREVISION might not be sufficient, for the same reason the
    GCC_REQD had to be moved to Makefile.php, it affects modules too.

 ---
    Module Name:	pkgsrc
    Committed By:	manu
    Date:		Wed Jul 18 07:33:12 UTC 2018

    Modified Files:
    	pkgsrc/lang/php56: Makefile.php distinfo
    	pkgsrc/lang/php70: Makefile.php distinfo
    	pkgsrc/lang/php71: Makefile.php distinfo
    	pkgsrc/lang/php72: Makefile.php distinfo
    Added Files:
    	pkgsrc/lang/php56/patches: patch-disable-filter-url
    	pkgsrc/lang/php70/patches: patch-disable-filter-url
    	pkgsrc/lang/php71/patches: patch-disable-filter-url
    	pkgsrc/lang/php72/patches: patch-disable-filter-url

    Log Message:
    Add pkgsrc build option disable-filter-url to disable php://filter URL

    php://filter URL is a feature documented here:
    http://php.net/manual/en/wrappers.php.php

    Unfortunately, it allows remote control of include() behavior
    beyond what many developpers expected, enabling easy dump of
    PHP source files. The administrator may want to disable the
    feature for security sake, and this option makes that possible.

 ---
    Module Name:	pkgsrc
    Committed By:	taca
    Date:		Fri Jul 20 13:27:28 UTC 2018

    Modified Files:
    	pkgsrc/lang/php: phpversion.mk
    	pkgsrc/lang/php70: Makefile distinfo

    Log Message:
    lang/php70: update to 7.0.31

    19 Jul 2018 PHP 7.0.31

    - Exif:
      . Fixed bug #76423 (Int Overflow lead to Heap OverFlow in
        exif_thumbnail_extract of exif.c). (Stas)
      . Fixed bug #76557 (heap-buffer-overflow (READ of size 48) while reading exif
        data). (Stas)

    - Win32:
      . Fixed bug #76459 (windows linkinfo lacks openbasedir check). (Anatol)


 To generate a diff of this commit:
 cvs rdiff -u -r1.221.2.2 -r1.221.2.3 pkgsrc/lang/php/phpversion.mk
 cvs rdiff -u -r1.10 -r1.10.6.1 pkgsrc/lang/php70/Makefile
 cvs rdiff -u -r1.7 -r1.7.10.1 pkgsrc/lang/php70/Makefile.php
 cvs rdiff -u -r1.45 -r1.45.2.1 pkgsrc/lang/php70/distinfo
 cvs rdiff -u -r0 -r1.1.2.2 pkgsrc/lang/php70/patches/patch-disable-filter-url

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: needs-pullups->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Thu, 23 Aug 2018 22:20:20 +0000
State-Changed-Why:
Pulled up, thanks for the bug report and to taca for filing the pullup.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.