From owner-freebsd-ports@FreeBSD.ORG Tue Nov 8 01:46:57 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD72816A41F for ; Tue, 8 Nov 2005 01:46:57 +0000 (GMT) (envelope-from ian_leroux@fastmail.fm) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 246B943D46 for ; Tue, 8 Nov 2005 01:46:56 +0000 (GMT) (envelope-from ian_leroux@fastmail.fm) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 8A7A1CDA61E; Mon, 7 Nov 2005 20:46:54 -0500 (EST) Received: from frontend2.messagingengine.com ([10.202.2.151]) by frontend1.internal (MEProxy); Mon, 07 Nov 2005 20:46:54 -0500 X-Sasl-enc: TbhFelo0MqtwSYCyJILfT+sWnsbHZsaDP9JalocqSezk 1131414413 Received: from schtroumpf.dyndns.org (TANG-THREE-FORTY-THREE.MIT.EDU [18.251.6.88]) by frontend2.messagingengine.com (Postfix) with ESMTP id 31D835703B5; Mon, 7 Nov 2005 20:46:53 -0500 (EST) Date: Mon, 7 Nov 2005 20:46:46 -0500 From: "Ian D. Leroux" To: "Michael C. Shultz" Message-ID: <20051108014646.GA64271@schtroumpf.homeunix.net> References: <20051106221047.GC36095@schtroumpf.homeunix.net> <200511061942.38190.ringworm01@gmail.com> <20051107115415.GA27639@schtroumpf.homeunix.net> <200511070736.08800.ringworm01@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200511070736.08800.ringworm01@gmail.com> User-Agent: Mutt/1.5.11 Cc: freebsd-ports@freebsd.org Subject: portmanager leaf reporting 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: Tue, 08 Nov 2005 01:46:57 -0000 (Subject line changed to reflect new contents) On Mon, Nov 07, 2005 at 07:36:08AM -0800, Michael C. Shultz wrote: > On Monday 07 November 2005 03:54, Ian D. Leroux wrote: > > Come to think of it, I seem to recall having the feeling that > > portmanager -slid wasn't showing all the leaves (i.e. was considering > > some things necessary that weren't). I dismissed it at the time, but > > if it was real then this could just be a special case of that separate > > problem. I've got an old script that I used to do the equivalent of > > portmanager -sl back before I'd heard of portmanager, so I'll see if I > > can reproduce and document the situation. > > [...] > I'll post the patch to FreeBSD then. I'm setting up java on this machine to > see to the reporting problem, might as well get that fixed now too. More info on the (possibly unrelated) leaves issue: My baseline for comparison is the output of my old pkg_leaves.sh script, which basically just checks for the existence of a non-empty /var/db/pkg//+REQUIRED_BY file. This gives the same results as pkg_info -R for every case I've tried, including several among the cases presented below. If I run portmanager -slid and remove from the script output all those packages that portmanager offers me for deletion, I am left with the following (i.e. files that I think should be leaves but which portmanager doesn't): apache-ant-1.6.5_1 automake-1.4.6_2 automake-1.5_2,1 automake-1.9.6 bison-1.75_2,1 bison-devel-1.875d coreutils-5.2.1 gcc-ooo-3.4.1_2 gpac-libgpac-0.4.0 help2man-1.36.2 intltool-0.34.1 libdts-0.0.2 libtool-1.3.5_2 libtool-1.5.20 nasm-0.98.39,1 p5-Archive-Zip-1.16 p5-XML-Writer-0.600 p5-type1inst-0.6.1_2 patch-2.5.4 rpm2cpio-1.2_2 unzip-5.52_2 xanim-2.92.0 zip-2.3_2 These are all build-time dependencies of other packages I have installed. If, on the other hand, I look at the output of portmanager -sl, the opposite problem occurs: a bunch of non-leaf ports are listed. I haven't yet sorted through the list to get a full listing of the offending packages, but some examples are boehm-gc+threaded+redirect (needed by w3m-m17n-img) win32-codecs (needed by mplayer) pdflib (needed by gnuplot) ... Hope this helps, Ian D. Leroux