From owner-freebsd-ports@FreeBSD.ORG Tue Aug 5 03:15:23 2014 Return-Path: Delivered-To: ports@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 23ECE4AD for ; Tue, 5 Aug 2014 03:15:23 +0000 (UTC) Received: from fire.magemana.nl (magemana.nl [IPv6:2a01:7c8:aaae:25e::1]) by mx1.freebsd.org (Postfix) with ESMTP id DB7B0226B for ; Tue, 5 Aug 2014 03:15:22 +0000 (UTC) Received: by fire.magemana.nl (Postfix, from userid 1003) id 452634ABE67; Tue, 5 Aug 2014 05:15:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by fire.magemana.nl (Postfix) with ESMTP id 3C0F14ABE5A; Tue, 5 Aug 2014 05:15:20 +0200 (CEST) Date: Tue, 5 Aug 2014 05:15:20 +0200 (CEST) From: Melvyn Sopacua To: Matthew Pounsett Subject: Re: WANT_PHP_WEB is just a synonym for WANT_PHP_CGI in automated build environments In-Reply-To: <53C30028-5EC5-41AC-A841-6DF28892DA22@conundrum.com> Message-ID: References: <53C30028-5EC5-41AC-A841-6DF28892DA22@conundrum.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 03:15:23 -0000 Hi Matthew, On Mon, 4 Aug 2014, Matthew Pounsett wrote: > As far as I can tell, the only way you get an installed version of PHP > without either the CGI or FPM options set is to install mod_php5. > That makes installing mod_php5 a prerequisite to making mod_php5 a > dependency to any port that uses WANT_PHP_WEB. Now we're finally getting to the issue, let's cut the noise: - automated builds are not a factor. The bug is with the dependencies. - WANT_PHP_CGI is not a factor. The bug is that mod_php5 is not in the loop. So, let's see what happens: 1. databases/phpmyadmin has WANT_PHP_WEB set 2. On a clean environment I want to install that port and expect apache and mod_php5 built for me. 3. Because I don't want fpm or cgi, I unset the options for the lang/php5 options dialog. Expected result: phpMyAdmin depends on apache and mod_php5 among others. Result: # pkg query -F /var/packages/test/All/phpMyAdmin-4.2.7.txz %do lang/php5 archivers/php5-bz2 textproc/php5-ctype security/php5-filter devel/php5-json converters/php5-mbstring security/php5-mcrypt databases/php5-mysqli security/php5-openssl www/php5-session archivers/php5-zlib # pkg query -F /var/packages/test/All/php5-5.4.30.txz %do textproc/libxml2 devel/pcre # pkg info -lF /var/packages/test/All/php5-5.4.30.txz|grep bin/ /usr/local/bin/php /usr/local/bin/php-config /usr/local/bin/phpize So, there is no php-cgi or fpm, but www/mod_php5 is not in phpMyAdmin's dependencies, which means WANT_PHP_WEB is not satisfied, yet no errors are generated. Filed as: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192388 -- Melvyn