Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2003 16:29:23 +0100
From:      Claude Buisson <cbuisson@nerim.net>
To:        ports@FreeBSD.org
Subject:   bad handling of dependencies in Mk/bsd.port.mk since 1.441
Message-ID:  <3E75E9D3.784EB309@nerim.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E75E9D3.784EB309>