Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2007 14:58:55 +0300
From:      "Andrew Pantyukhin" <infofarmer@FreeBSD.org>
To:        "Gerald Pfeifer" <gerald@pfeifer.com>
Cc:        ports@freebsd.org
Subject:   Re: LIB_DEPENDS not really required for build?
Message-ID:  <cb5206420702040358j33ad5a0ev4827852e45497e05@mail.gmail.com>
In-Reply-To: <Pine.LNX.4.64.0702031408170.10525@acrux.dbai.tuwien.ac.at>
References:  <Pine.LNX.4.64.0702031408170.10525@acrux.dbai.tuwien.ac.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/4/07, Gerald Pfeifer <gerald@pfeifer.com> wrote:
> I always relied on LIB_DEPENDS applying both at install time as well as
> build time, and strictly so, but apparently I was confused?
>
>   % cd $PORTSDIR/lang/gcc42 ; make
>   :
>   ===>   gcc-4.2.0_20070131 depends on shared library: gmp.7 - not found
>   ===>    Verifying install for gmp.7 in /home/gerald/ports//math/libgmp4
>      => No directory for gmp.7.  Skipping..
>   ===>   gcc-4.2.0_20070131 depends on shared library: mpfr.1 - not found
>   ===>    Verifying install for mpfr.1 in /home/gerald/ports//math/mpfr
>      => No directory for mpfr.1.  Skipping..
>   ===>   gcc-4.2.0_20070131 depends on shared library: iconv.3 - found
>
> And on it went to build the port, only dying later, at install time,
> wasting two hours. :-(
>
> Ignoring dependencies like this looks very, very bogus to me.
>
> IMnsHO the user explicitly should provide NO_DEPENDS to get this
> behavior, which may lead to build failures, wrong package lists,
> and run-time failures.
>
> Thoughts?

You should take another look at the excerpt you
posted. Looks like portsdir has been redefined.



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