From owner-freebsd-questions@FreeBSD.ORG Mon Dec 27 00:28:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BD44106564A for ; Mon, 27 Dec 2010 00:28:32 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id E0F5D8FC1A for ; Mon, 27 Dec 2010 00:28:31 +0000 (UTC) Received: by wwf26 with SMTP id 26so7932331wwf.31 for ; Sun, 26 Dec 2010 16:28:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=8UVUSD8gVUAXCw2+x5cABPdIQRS9VR6uWGKqnvcvrcw=; b=F8FEfrr0bjg4AuNwtHndG2Z8PHnxWACHhXKjA2mm0i8n/nH67EZpLGotYQM+M6gsUQ D3K3Tw83toQvZRd68cBa73cwqCblv9IYfmNtP8y0g9Au/SaZdiFc11JIpDmuVdkTS8I+ D2eoQZX5MzM3dtVxO15Rd1lVfm52ZFbNpuRUU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=iIFdmO1tWShPLVLq7W2kLLqXRTp1iPqSkIFnRBlkA8Wiily1KmVoZ/fyM8me5tVSSR IKQIbq4skamG9IXnXY8VO6/fEchGS00PvBihiM+CaGPMndWcf0M6JfSnW59tH8Iimw/K hlt0tSXTPL6XCPZP7hl2NW1X3rIP0kDqAL6lM= Received: by 10.216.163.11 with SMTP id z11mr12781717wek.36.1293409710750; Sun, 26 Dec 2010 16:28:30 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id c54sm590865wer.6.2010.12.26.16.28.27 (version=SSLv3 cipher=RC4-MD5); Sun, 26 Dec 2010 16:28:29 -0800 (PST) Date: Mon, 27 Dec 2010 00:28:24 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20101227002824.48378be1@gumby.homeunix.com> In-Reply-To: <14212432ba707fc5f9fbc75b56e8e783@flabnapple.net> References: <14212432ba707fc5f9fbc75b56e8e783@flabnapple.net> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Portmaster general questions and problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2010 00:28:32 -0000 On Sun, 26 Dec 2010 11:39:58 -0800 "Ron (Lists)" wrote: > ===> Checking if devel/libltdl already installed > ===> libltdl-2.2.10 is already installed > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of devel/libltdl > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > > Stop in /usr/ports/devel/libltdl. > > ok, so libltdl-2.2.10 is already installed? Why is that an issue? > Why doesn't portmaster just happily skip it since it's already > installed? What am I not understanding here? Or am I using > portmaster wrong? When a port gets built, the ports system looks for and installs any missing dependencies. As several different ports may satisfy a dependency the ports system looks for the functionality, a key executable, library etc, rather than a specific installed package. The error you see can occur when the port thinks it need to install a missing dependency port, but that install fails due to an existing entry in /var/db/pkg. This happens either because the appropriate files are missing or the port is looking for the wrong thing in the first place. It may be due to a mistake by the port maintainer or, more likely, a failure to deal with UPDATING entries correctly.