Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2007 12:04:04 +0100 (CET)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        ports@FreeBSD.org
Subject:   LIB_DEPENDS not really required for build?
Message-ID:  <Pine.LNX.4.64.0702031408170.10525@acrux.dbai.tuwien.ac.at>

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

Gerald



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