From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 9 01:30:00 2014 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 A07C32FB for ; Wed, 9 Apr 2014 01:30:00 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C3501473 for ; Wed, 9 Apr 2014 01:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s391U0xl042411 for ; Wed, 9 Apr 2014 01:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s391U0X3042410; Wed, 9 Apr 2014 01:30:00 GMT (envelope-from gnats) Resent-Date: Wed, 9 Apr 2014 01:30:00 GMT Resent-Message-Id: <201404090130.s391U0X3042410@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, Joel Parker Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 916F5DA1 for ; Wed, 9 Apr 2014 01:26:32 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C62F13E5 for ; Wed, 9 Apr 2014 01:26:32 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s391QVsr015724 for ; Wed, 9 Apr 2014 01:26:31 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s391QVr0015718; Wed, 9 Apr 2014 01:26:31 GMT (envelope-from nobody) Message-Id: <201404090126.s391QVr0015718@cgiserv.freebsd.org> Date: Wed, 9 Apr 2014 01:26:31 GMT From: Joel Parker To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/188386: lang/php5 port fails to configure with cli and cgi disabled X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 01:30:00 -0000 >Number: 188386 >Category: ports >Synopsis: lang/php5 port fails to configure with cli and cgi disabled >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: Wed Apr 09 01:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Joel Parker >Release: 9.2 >Organization: >Environment: FreeBSD windy.fakelag.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: attempting to upgrade ports from old versions. Ports were all last updated on 20131120. Using pkgng, if that matters. Attempted to install mod/www_php5 first, which built, but did not install due to libphp5.so conflict with the lang/php5 package. Ran make clean and make config in both mod/www_php5 and lang/php5 and then tried again. 'make install' in www/mod_php successfully builds, then starts a configure/build for lang/php5. The configure for php5 fails saying "nothing to build". 'bsdx' in #freebsd on freenode suggested enabling cli or cgi in the config for lang/php5 and trying again. I enabled 'cli' and this allowed lang/php5 to successfully configure, and then build. www/mod_php5 then installed as well. My www/mod_php5 config: disabled ap2filter disabled debug disabled dtrace enabled ipv6 disabled mailhed enabled linkthr disabled zts My lang/php5 config: disabled cli disabled cgi disabled fpm disabled embed disabled debug disabled dtrace enabled ipv6 disabled mailhead enabled linkthr disabled zts So, by simply enabling cli in lang/php5, success was found. lang/php5 make install output with cli disabled: [ /usr/ports/lang/php5]# make install ===> License PHP301 accepted by the user ===> Found saved configuration for php5-5.4.27 ===> php5-5.4.27 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php5-5.4.27 for building ===> Extracting for php5-5.4.27 => SHA256 Checksum OK for php-5.4.27.tar.bz2. ===> Patching for php5-5.4.27 ===> Applying FreeBSD patches for php5-5.4.27 ===> php5-5.4.27 depends on file: /usr/local/bin/autoconf-2.69 - found ===> php5-5.4.27 depends on shared library: libpcre.so - found ===> php5-5.4.27 depends on shared library: libxml2.so - found ===> Configuring for php5-5.4.27 configure: loading site script /usr/ports/Templates/config.site checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for a sed that does not truncate output... (cached) sed checking build system type... amd64-portbld-freebsd9.2 checking host system type... amd64-portbld-freebsd9.2 checking target system type... amd64-portbld-freebsd9.2 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... yes checking whether ln -s works... yes checking for system library directory... lib checking whether to enable runpaths... yes checking if compiler supports -R... yes checking for gawk... (cached) /usr/bin/awk checking if /usr/bin/awk is broken... no checking for bison... bison -y checking for bison version... invalid configure: WARNING: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5 2.5.1 2.6 2.6.1 2.6.2 2.6.4 (found: 2.7). checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking whether to enable computed goto gcc extension with re2c... no checking whether to force non-PIC code in shared modules... no checking whether /dev/urandom exists... yes Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking whether to enable Apache charset compatibility option... no checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... no checking for Apache 1.x (hooks) module support via DSO through APXS... no checking for Apache 1.x (hooks) module support... no checking whether to enable Apache charset compatibility option... no checking for Caudium support... no checking for CLI build... no checking for Continuity support... no checking for embedded SAPI library support... no checking for FPM build... no checking for Zeus ISAPI support... no checking for LiteSpeed support... no checking for Milter support... no checking for NSAPI support... no checking for PHTTPD support... no checking for Pi3Web support... no checking whether Roxen module is build using ZTS... no checking for Roxen/Pike support... checking for thttpd... no checking for TUX... no checking for webjames... no checking for CGI build... yes checking for chosen SAPI module... none checking for executable SAPI binaries... none configure: error: Nothing to build. ===> Script "configure" failed unexpectedly. Please report the problem to ale@FreeBSD.org [maintainer] and attach the "/usr/ports/lang/php5/work/php-5.4.27/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** [do-configure] Error code 1 Stop in /usr/ports/lang/php5. *** [install] Error code 1 Stop in /usr/ports/lang/php5. >How-To-Repeat: config ports as follows, and attempt to make install ports. www/mod_php5 config: disabled ap2filter disabled debug disabled dtrace enabled ipv6 disabled mailhed enabled linkthr disabled zts lang/php5 config: disabled cli disabled cgi disabled fpm disabled embed disabled debug disabled dtrace enabled ipv6 disabled mailhead enabled linkthr disabled zts >Fix: enable cli option in lang/php5 >Release-Note: >Audit-Trail: >Unformatted: