Date: Mon, 7 Nov 2005 20:46:46 -0500 From: "Ian D. Leroux" <ian_leroux@fastmail.fm> To: "Michael C. Shultz" <ringworm01@gmail.com> Cc: freebsd-ports@freebsd.org Subject: portmanager leaf reporting Message-ID: <20051108014646.GA64271@schtroumpf.homeunix.net> In-Reply-To: <200511070736.08800.ringworm01@gmail.com> References: <20051106221047.GC36095@schtroumpf.homeunix.net> <200511061942.38190.ringworm01@gmail.com> <20051107115415.GA27639@schtroumpf.homeunix.net> <200511070736.08800.ringworm01@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
(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/<pkgname>/+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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051108014646.GA64271>