From owner-freebsd-ports@FreeBSD.ORG Mon Aug 26 14:55:21 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7AD9B2C7 for ; Mon, 26 Aug 2013 14:55:21 +0000 (UTC) (envelope-from rick-freebsd2013@kiwi-computer.com) Received: from alpha.setfilepointer.com (alpha.setfilepointer.com [69.164.193.174]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4BAFC299E for ; Mon, 26 Aug 2013 14:55:20 +0000 (UTC) Received: (qmail 17420 invoked from network); 26 Aug 2013 14:55:03 -0000 Received: from unknown (HELO home.kiwi-computer.com) (172.23.46.54) by 172.23.46.1 with SMTP; 26 Aug 2013 14:55:03 -0000 Received: by home.kiwi-computer.com (sSMTP sendmail emulation); Mon, 26 Aug 2013 09:55:02 -0500 Date: Mon, 26 Aug 2013 09:55:02 -0500 From: "Rick C. Petty" To: freebsd-ports@freebsd.org Subject: portmaster dependency problems Message-ID: <20130826145502.GA35378@kay.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: rick-freebsd2013@kiwi-computer.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 14:55:21 -0000 Hello. I've been using portmaster successfully (and exclusively) for many years. Previously I built a 9.2-PRERELEASE machine and ports using portmaster-3.17.1 without PKG_NG: portmaster -bwDH --delete-build-only --no-confirm ... Recently I decided to rebuild everything from packages after first removing all the preset options (i.e. removing /var/db/ports/* ) and then (still using portmaster-3.17.1 without PKG_NG): env BATCH=y portmaster -abfwDHP --packages-build \\ --delete-build-only --packages-newer --no-confirm Because the options changed mast of the dependencies are now messed up. For example: # portmaster --check-depends ... ===>>> Checking alacarte-0.13.2_2 ===>>> print/ghostscript9 is listed as a dependency ===>>> but there is no installed version ... # pkg_info -Ix ghostscript ghostscript9-nox11-9.06_4 Ghostscript 9.x PostScript interpreter To fix this specific problem, I have separately tried using: portmaster -o print/ghostscript9 ghostscript and: portmaster -o print/ghostscript9-nox11 ghostscript In both cases, portmaster leaves an empty @pkgdep line in /var/db/pkg/alacarte-0.13.2_2+CONTENTS just before: @comment DEPORIGIN:print/ghostscript9 and never updates the origin to print/ghostscript9-nox11. What am I doing wrong? Or how can I fix these broken dependencies? This used to work fine with older versions of portmsater when the origins shifted around. But now I have a few hundred ports which depend upon (for example) ghostscript so I'd rather not have to manually fix everything. Also, I don't think that running portmaster --check-depends -y would be a good option since that would remove all those broken dependencies and would require me to reinstall those hundreds of ports. Any ideas? Thanks in advance, -- Rick C. Petty KIWI Computer