From owner-freebsd-questions@FreeBSD.ORG Sat Aug 23 19:29:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2119016A4BF for ; Sat, 23 Aug 2003 19:29:25 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id A017743FAF for ; Sat, 23 Aug 2003 19:29:24 -0700 (PDT) (envelope-from paulbeard@mac.com) Received: from mac.com (12-231-115-57.client.attbi.com[12.231.115.57](untrusted sender)) by comcast.net (rwcrmhc12) with SMTP id <2003082402203601400l57sfe>; Sun, 24 Aug 2003 02:20:36 +0000 Message-ID: <3F4820F3.1080702@mac.com> Date: Sat, 23 Aug 2003 19:20:35 -0700 From: paul beard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5a) Gecko/20030731 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD User Questions List References: <3F480D58.1040508@mac.com> <1061687744.400.3.camel@shumai.marcuscom.com> In-Reply-To: <1061687744.400.3.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: orphaned port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2003 02:29:25 -0000 Joe Marcus Clarke wrote: > On Sat, 2003-08-23 at 20:56, paul beard wrote: > >>Michelle wrote: >> >>>On Saturday, August 23, 2003, at 05:03 PM, paul beard wrote: >>> >>> >>>>Michelle wrote: >>>> >>>> >>>>>>That was clear and the start of the jurney. Please update libtool >>>>>>either >>>>>>using portupgrade or do it by hand as you do before. >>>>>> >>>>>>Jens >>>>>> >>>>>> >>>>> >>>>>I still cannot upgrade libtool. I can run make, but when I run make >>>>>install I get the following error: >>>>>===> Installing for libtool-1.3.5_1 >>>>>===> Generating temporary packing list >>>>>===> Checking if devel/libtool13 already installed >>>>>*** Error code 1 >>>>>Stop in /usr/ports/devel/libtool13 >>>>>I tried to run make deinstall and received the following error: >>>>>===> Deinstalling for devel/libtool13 >>>>>*** Error code 1 >>>>>Stop in /usr/ports/devel/libtool13. >>>> >>>> >>>>what happens if you run make -dl install ? >>> >>> >>> >>>I get this output: >>> >>>echo "===> Checking if devel/libtool13 already installed" >>>===> Checking if devel/libtool13 already installed >>>already_installed=`/usr/sbin/pkg_info -q -O devel/libtool13 2> >>>/dev/null`; if [ -n "${already_installed}" ]; then for p in >>>${already_installed}; do prfx=`/usr/sbin/pkg_info -q -p ${p} 2> >>>/dev/null | /usr/bin/head -n 1 | /usr/bin/sed -ne '1s|^@cwd ||p'`; if [ >>>"x/usr/local" = "x${prfx}" ]; then df=`/usr/sbin/pkg_info -q -f ${p} 2> >>>/dev/null | /usr/bin/grep -v "^@" | /usr/bin/comm -12 - >>>/usr/ports/devel/libtool13/work/.PLIST.mktmp`; if [ -n "${df}" ]; then >>> found_package=${p}; break; fi; fi; done; fi; >>>*** Error code 1 >>> >>>Stop in /usr/ports/devel/libtool13. >> >>Well, that's what I have been getting in my recent attempts to use >>portupgrade or make install. make works just fine in the port's >>directory, but make install kicks back the same error. The error >>seems to come from >>/usr/sbin/pkg_info -q -O ${portcategorydir}/${portnamedir} >> >>The man page for pkg_info doesn't show a "-O" argument. >> >>Does anyone know what that -O flag is about? > > > Yes, it's a new option in FreeBSD 4.7's pkg_info. Install the > sysutils/pkg_install port, and you should be good to go. If you're > already running FreeBSD 4.7 or higher, you shouldn't be seeing this > problem if your world is in sync with your kernel. > > The pkg_install port should be installed automatically if you're running > an affected version of FreeBSD, but due to a bug, it was not. This bug > is going to be fixed on the next commit to bsd.port.mk. Until then, > installing pkg_install manually is the thing to do. > One of the problems I had figuring this out for myself was that nothing claimed pkg_info: this command used to return nothing. My first instinct was to reinstall it but I had no idea how to. [/usr/ports/www/p5-libapreq]# pkg_info -W /usr/local/sbin/pkg_info /usr/local/sbin/pkg_info was installed by package pkg_install-20030714 -- Paul Beard whois -h whois.networksolutions.com ha=pb202 Economics, n.: Economics is the study of the value and meaning of J. K. Galbraith ... -- Mike Harding, "The Armchair Anarchist's Almanac"