From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 12 15:00:04 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 00308DD4 for ; Tue, 12 Nov 2013 15:00:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D7CB222D8 for ; Tue, 12 Nov 2013 15:00:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rACF038l055084 for ; Tue, 12 Nov 2013 15:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rACF03Rh055083; Tue, 12 Nov 2013 15:00:03 GMT (envelope-from gnats) Resent-Date: Tue, 12 Nov 2013 15:00:03 GMT Resent-Message-Id: <201311121500.rACF03Rh055083@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patrick Powell Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0666FB6D for ; Tue, 12 Nov 2013 14:51:48 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D0B552237 for ; Tue, 12 Nov 2013 14:51:47 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rACEpk9L029207 for ; Tue, 12 Nov 2013 14:51:46 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rACEpk4l029206; Tue, 12 Nov 2013 14:51:46 GMT (envelope-from nobody) Message-Id: <201311121451.rACEpk4l029206@oldred.freebsd.org> Date: Tue, 12 Nov 2013 14:51:46 GMT From: Patrick Powell To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183897: php5 phar and session extension needs hash X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2013 15:00:04 -0000 >Number: 183897 >Category: ports >Synopsis: php5 phar and session extension needs hash >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 12 15:00:03 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Patrick Powell >Release: FreeBSD 8-4, 9-2 >Organization: Astart Technologies >Environment: FreeBSD laptop_84.private 8.4-RELEASE FreeBSD 8.4-RELEASE #0 r251259: Sun Jun 2 21:26:57 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: 10 Nov 2013 did portsnap cd /usr/ports/lang/php5 ; make install cd /usr/ports/lang/php5-extensions selected mysqli, phar make install - install terminated with error: cc -I. -I/usr/ports/archivers/php5-phar/work/php-5.4.21/ext/phar -DPHP_ATOM_INC -I/usr/ports/archivers/php5-phar/work/php-5.4.21/ext/phar/include -I/usr/ports /archivers/php5-phar/work/php-5.4.21/ext/phar/main -I/usr/ports/archivers/php5-phar/work/php-5.4.21/ext/phar -I/usr/local/include/php -I/usr/local/include/php/ main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -I/usr /local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/ php/ext/date/lib -DHAVE_CONFIG_H -pipe -fno-strict-aliasing -O0 -c /usr/ports/archivers/php5-phar/work/php-5.4.21/ext/phar/util.c -fPIC -DPIC -o .libs/util.o In file included from /usr/ports/archivers/php5-phar/work/php-5.4.21/ext/phar/util.c:23: /usr/ports/archivers/php5-phar/work/php-5.4.21/ext/phar/phar_internal.h:70:31: error: ext/hash/php_hash.h: No such file or directory The phar and session extensions need the 'hash' facility/extension. >How-To-Repeat: See above >Fix: edit /usr/ports/lang/php5/Makefile.ext and add --enable-hash to configuration options when building phar or session extension: -- /usr/ports/lang/php5/Makefile.ext 2013-11-12 06:33:07.000000000 -0800 +++ /usr/ports/lang/php5/Makefile.ext.orig 2013-11-12 06:32:28.000000000 -0800 @@ -293,7 +293,6 @@ .if ${PHP_MODNAME} == "phar" CONFIGURE_ARGS+=--enable-phar \ --with-pcre-dir=${LOCALBASE} -CONFIGURE_ARGS+=--enable-hash USE_PHP= hash USE_PHP_BUILD= yes @@ -325,7 +324,6 @@ .if ${PHP_MODNAME} == "session" CONFIGURE_ARGS+=--enable-session -CONFIGURE_ARGS+=--enable-hash .endif .if ${PHP_MODNAME} == "shmop" Patch attached with submission follows: --- /usr/ports/lang/php5/Makefile.ext 2013-11-12 06:33:07.000000000 -0800 +++ /usr/ports/lang/php5/Makefile.ext.orig 2013-11-12 06:32:28.000000000 -0800 @@ -293,7 +293,6 @@ .if ${PHP_MODNAME} == "phar" CONFIGURE_ARGS+=--enable-phar \ --with-pcre-dir=${LOCALBASE} -CONFIGURE_ARGS+=--enable-hash USE_PHP= hash USE_PHP_BUILD= yes @@ -325,7 +324,6 @@ .if ${PHP_MODNAME} == "session" CONFIGURE_ARGS+=--enable-session -CONFIGURE_ARGS+=--enable-hash .endif .if ${PHP_MODNAME} == "shmop" >Release-Note: >Audit-Trail: >Unformatted: