From owner-freebsd-ports Mon Mar 17 7:29:30 2003 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 2882137B401 for ; Mon, 17 Mar 2003 07:29:27 -0800 (PST) Received: from mallaury.noc.nerim.net (smtp-102.noc.nerim.net [62.4.17.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id C69A143FAF for ; Mon, 17 Mar 2003 07:29:25 -0800 (PST) (envelope-from cbuisson@nerim.net) Received: from nerim.net (cbuisson.net1.nerim.net [213.41.135.238]) by mallaury.noc.nerim.net (Postfix) with ESMTP id 7E31462F66 for ; Mon, 17 Mar 2003 16:29:22 +0100 (CET) Message-ID: <3E75E9D3.784EB309@nerim.net> Date: Mon, 17 Mar 2003 16:29:23 +0100 From: Claude Buisson X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: ports@FreeBSD.org Subject: bad handling of dependencies in Mk/bsd.port.mk since 1.441 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, Since revision 1.441 of Mk/bsd.port.mk, the handling of dependencies, in particular to devel/libtool seems broken. Trying to build textproc/jade on a system without any port/package installed, I get: ===> Extracting for jade-1.2.1_1 >> Checksum OK for jade-1.2.1.tar.gz. >> Checksum OK for jade_1.2.1-18.diff.gz. ===> Patching for jade-1.2.1_1 ===> Applying distribution patches for jade-1.2.1_1 ===> Applying FreeBSD patches for jade-1.2.1_1 ===> Configuring for jade-1.2.1_1 libtool: not found ===> jade-1.2.1_1 depends on executable: gmake - not found .... gmake is installed, and later on libtool, but later: ===> Returning to build of jade-1.2.1_1 creating cache ./config.cache saving distribution makefiles... checking for gcc... cc checking whether the C compiler (cc -O -pipe -march=pentium ) works... yes checking whether the C compiler (cc -O -pipe -march=pentium ) is a cross-compile r... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking whether ln -s works... yes checking for c++... c++ checking whether the C++ compiler (c++ -O -pipe -march=pentium ) works... yes checking whether the C++ compiler (c++ -O -pipe -march=pentium ) is a cross-com piler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for gm4... no checking for gnum4... no checking for m4... /usr/bin/m4 checking for perl... /usr/bin/perl checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking for limits.h... yes checking for working const... yes checking for inline... inline checking for size_t... yes checking for st_blksize in struct stat... yes checking for sig_atomic_t in signal.h... yes checking support for bool... yes checking for memmove... yes checking for strerror... yes checking for strtoul... yes checking for setlocale... yes checking for gettext in -lintl... no checking for cthread_fork in -lthreads... no checking for ANSI template instantiation... yes checking host system type... i386-portbld-freebsd4.8 checking for ranlib... ranlib checking for ld used by GCC... /usr/libexec/elf/ld checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B /ltconfig: Can't open /ltconfig: No such file or directory configure: error: libtool configure failed ===> Script "configure" failed unexpectedly. Please report the problem to kuriyama@FreeBSD.org [maintainer] and attach the "/usr/ports/textproc/jade/work/jade-1.2.1/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 There is no error if libtool is already installed (before jade) The error can be suppressed by rewriting: _CONFIGURE_SEQ= configure-message patch-libtool build-depends lib-depends \ misc-depends pre-configure pre-configure-script \ do-configure post-configure post-configure-script to handle the build/lib/misc-depends BEFORE the configure-message (and the patch-libtool) Claude Buisson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message