From owner-freebsd-ports@FreeBSD.ORG Sat Mar 27 05:55:38 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99D2416A4CE; Sat, 27 Mar 2004 05:55:38 -0800 (PST) Received: from netgecko.info (netgecko.info [217.160.92.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65EAF43D46; Sat, 27 Mar 2004 05:55:38 -0800 (PST) (envelope-from alex.kiesel@document-root.de) Received: from [192.168.2.110] (dsl-082-082-072-210.arcor-ip.net [82.82.72.210]) by netgecko.info (Postfix) with ESMTP id F1DB687F8B; Sat, 27 Mar 2004 15:04:04 +0100 (CET) From: Alex Kiesel To: ale@freebsd.org Content-Type: text/plain Message-Id: <1080395736.576.19.camel@boost.home.ahk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 27 Mar 2004 14:55:36 +0100 Content-Transfer-Encoding: 7bit cc: ports@freebsd.org Subject: No detection of build failure X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2004 13:55:38 -0000 Hi, I just wanted to upgrade lang/php4. I configured WITH_OPENSSL but configure did not find a header file and bailed out: Configuring extensions checking for OpenSSL support... yes checking for pkg-config... /usr/local/bin/pkg-config configure: error: Cannot find OpenSSL's ===> Script "configure" failed unexpectedly. Please report the problem to ale@FreeBSD.org [maintainer] and attach the "/usr/ports/lang/php4/work/php-4.3.5/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. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/lang/php4. *** Error code 1 Stop in /usr/ports/lang/php4. However, the install process continues: ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'php4-4.3.4_5' [preparing module `php4' in /usr/local/etc/apache/httpd.conf] cp /usr/local/etc/apache/httpd.conf /usr/local/etc/apache/httpd.conf.bak cp /usr/local/etc/apache/httpd.conf.new /usr/local/etc/apache/httpd.conf rm /usr/local/etc/apache/httpd.conf.new [Updating the pkgdb in /var/db/pkg ... - 103 packages found (-1 +0) (...) done] ---> Installing the new version via the port [...] Which then again tries to configure the port and fails again. This time the failure is being detected and the old version is restored: ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade10456.2 make reinstall egrep: /var/db/pkg/php4-4.3.4_5/+CONTENTS: No such file or directory ---> Restoring the old version [activating module `php4' in /usr/local/etc/apache/httpd.conf] cp /usr/local/etc/apache/httpd.conf /usr/local/etc/apache/httpd.conf.bak cp /usr/local/etc/apache/httpd.conf.new /usr/local/etc/apache/httpd.conf rm /usr/local/etc/apache/httpd.conf.new ** Fix the installation problem and try again. [Updating the pkgdb in /var/db/pkg ... - 104 packages found (-0 +1) . done] ** The following packages were not installed or upgraded (*:skipped / !:failed) ! lang/php4 (php4-4.3.4_5) (install error) Shouldn't it avoid to install the non-built port? Btw, this is a "FreeBSD php3.de 4.8-RELEASE-p1 FreeBSD 4.8-RELEASE-p1 #0: Tue Aug 5 18:26:52 CEST 2003 root@php3.de:/usr/obj/usr/src/sys/PHP3BSD48 i386" with openssl from the base. Cheers, -Alex