Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2003 19:07:11 -0700
From:      paul beard <paulbeard@mac.com>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        FreeBSD User Questions List <freebsd-questions@freebsd.org>
Subject:   Re: orphaned port?
Message-ID:  <3F481DCF.5080706@mac.com>
In-Reply-To: <1061687744.400.3.camel@shumai.marcuscom.com>
References:  <F20F2E13-D5C7-11D7-B340-000393843210@mindspring.com> <3F480D58.1040508@mac.com> <1061687744.400.3.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Excellent. So I'm not crazy (at least no more than usual).

Thanks.

-- 
Paul Beard
<http://paulbeard.no-ip.org/movabletype/>;
whois -h whois.networksolutions.com ha=pb202

Oh, I am a C programmer and I'm okay
	I muck with indices and structs all day
And when it works, I shout hoo-ray
	Oh, I am a C programmer and I'm okay



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F481DCF.5080706>