From owner-freebsd-ports@FreeBSD.ORG Sun Feb 4 11:32:47 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF4AD16A407 for ; Sun, 4 Feb 2007 11:32:47 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.freebsd.org (Postfix) with ESMTP id A271113C48E for ; Sun, 4 Feb 2007 11:32:47 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from acrux.dbai.tuwien.ac.at (acrux [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id 3C89713799 for ; Sun, 4 Feb 2007 12:04:02 +0100 (CET) Received: by acrux.dbai.tuwien.ac.at (Postfix, from userid 1203) id 520141A7D2; Sun, 4 Feb 2007 12:04:04 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by acrux.dbai.tuwien.ac.at (Postfix) with ESMTP id 42A371A7D1 for ; Sun, 4 Feb 2007 12:04:04 +0100 (CET) Date: Sun, 4 Feb 2007 12:04:04 +0100 (CET) From: Gerald Pfeifer To: ports@FreeBSD.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Subject: LIB_DEPENDS not really required for build? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2007 11:32:48 -0000 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