Portsdb returns error after cvsup - How to Proceed?

Mark Kane mark at mkproductions.org
Wed Sep 28 08:15:40 PDT 2005


Mark Kane wrote:
> Kent Stewart wrote:
> 
>> On Tuesday 27 September 2005 12:33 pm, Mark Kane wrote:
>>
>>> Hi everyone. I CVSupped yesterday to make sure I got the Firefox fix.
>>> My plan was to do the following:
>>>
>>> # cvsup -g -L 2 ports-supfile
>>> # portsdb -Uu
>>> # portversion -l "<"
>>> # portupgrade -arR
>>>
>>> After cvsupping and running portsdb -Uu, I got an error which is at
>>> the end of my email.
>>>
>>> Today I tried a "make index" from /usr/ports/, and that seemed to run
>>> OK. A "portupgrade -arRn" simulated the upgrade process and nothing
>>> seemed to fail, but I want to be safe and not mess anything up as I
>>> am relatively new to portupgrade and don't want a big mess.
>>>
>>> I did the same process that I listed above a couple weeks ago and
>>> everything went fine, so I was surprised to see the error this time.
>>>
>>> I'm not sure how to proceed, so thanks in advance for any
>>> suggestions.
>>
>>
>>
>> portsdb -U was converted to using make index a long time ago. There is 
>> something else going on. Do you have any refuses? In addition, it may 
>> have been fixed by now. Make index was failing on 4.x but that was 
>> fixed on Sunday.
>>
>> Kent
> 
> 
> Thanks for the reply. Nope, no refuses. CVSup was run yesterday 
> afternoon around this time.
> 
> FreeBSD 5.4-RELEASE (amd64)
> 
> -Mark

Well I just tried running CVSup again to see if indeed it was fixed 
since Monday, now I get different errors. Thanks in advance.

amd64# portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please 
wait.."/usr/ports/Mk/bsd.port.mk", line 2890: warning: duplicate script 
for target "checksum" ignored
"/usr/ports/Mk/bsd.python.mk", line 179: warning: String comparison 
operator should be either == or !=
"/usr/ports/Mk/bsd.python.mk", line 179: Malformed conditional 
(!empty(_PYTHON_VERSION_MINIMUM) && (  ${_PYTHON_VERSION} < 
${_PYTHON_VERSION_MINIMUM}))
"/usr/ports/Mk/bsd.python.mk", line 182: warning: String comparison 
operator should be either == or !=
"/usr/ports/Mk/bsd.python.mk", line 182: Malformed conditional 
(!empty(_PYTHON_VERSION_MAXIMUM) && (  ${_PYTHON_VERSION} > 
${_PYTHON_VERSION_MAXIMUM}))
"/usr/ports/Mk/bsd.port.mk", line 1378: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 1378: Need an operator
make: fatal errors encountered -- cannot continue
===> net/py-kenosis-bittorrent failed
*** Error code 1
===> security/p5-Crypt-HCE_SHA failed
*** Error code 1
2 errors

********************************************************************
Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the "ports-all"
collection, and have no "refuse" files.)  If that is the case, then
report the failure to ports at FreeBSD.org together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and WITH/WITHOUT settings).

Note: the latest pre-generated version of INDEX may be fetched
automatically with "make fetchindex".
********************************************************************

*** Error code 1

Stop in /usr/ports.
*** Error code 1

Stop in /usr/ports.
failed to generate INDEX!
portsdb: index generation error

amd64# uname -a
FreeBSD amd64.localhost 5.4-RELEASE FreeBSD 5.4-RELEASE #4: Sun Aug 28 
02:04:13 CDT 2005 
mixx941 at amd64.localhost:/usr/obj/usr/src/sys/AMD643000  amd64

amd64# cat /etc/make.conf
# added by use.perl 2005-09-15 14:33:09
PERL_VER=5.8.7
PERL_VERSION=5.8.7





More information about the freebsd-questions mailing list