Date: Sat, 27 Mar 2004 14:55:36 +0100 From: Alex Kiesel <alex.kiesel@document-root.de> To: ale@freebsd.org Cc: ports@freebsd.org Subject: No detection of build failure Message-ID: <1080395736.576.19.camel@boost.home.ahk>
next in thread | raw e-mail | index | archive | help
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 <evp.h> ===> 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 <format:bdb1_btree> 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 <format:bdb1_btree> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1080395736.576.19.camel>