Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Oct 2004 14:45:53 +1000
From:      "Steve Monkhouse" <steve.monkhouse@ethertech.com.au>
To:        <freebsd-ports@freebsd.org>
Subject:   portupgrade problem - multiple failures.. 
Message-ID:  <1A286F8CC8921E4BAA977125C0363FE00133CC@ethertec-1ve54m.office.local>

next in thread | raw e-mail | index | archive | help
Ok.. Im running FreeBSD 4.8-STABLE and all has been working perfectly up
until yesterday when I decided to do a portupgrade.. 

The machine must have locked up at some stage and dropped my
connection.. I could not reattach to it, so had to reboot.. 

Now a simple pkg_version -v gives :

root@server:/usr/ports# pkg_version -v |more
pkg_info: can't find package 'gd-2.0.25,1' installed or in a file!
pkg_info: can't find package 'jpgraph-1.16' installed or in a file!
pkg_info: can't find package 'mrtg-2.10.14,1' installed or in a file!
pkg_info: can't find package 'p5-Chart-PNGgraph-1.21_2' installed or in
a file!
pkg_info: can't find package 'p5-GD-2.15' installed or in a file!
pkg_info: can't find package 'p5-GD-Graph-1.43' installed or in a file!
pkg_info: can't find package 'p5-GD-TextUtil-0.86' installed or in a
file!
pkg_info: can't find package 'php4-gd-4.3.8_2' installed or in a file!
pkg_info: can't find package 'png-1.2.5_7' installed or in a file!
cat: /usr/ports/INDEX: No such file or directory
XFree86-libraries-4.3.0_7           <   needs updating (port has
4.4.0_1)
apache+mod_ssl-1.3.31+2.8.19        =   up-to-date with port
arts++-1.1.a8_2,1                   =   up-to-date with port
autoconf-2.53_1                     <   needs updating (port has 2.53_3)
--snip--

and of course all the packages have now ceased to work at all.. 

so.. I did a cvsup for ports and src. No problems, then.. 

root@server:/usr/ports# make index
Generating INDEX - please wait..test: <: unexpected operator
"Makefile", line 44: warning: String comparison operator should be
either == or !=
"Makefile", line 44: Malformed conditional (${OSVERSION} < 490000 ||
(${OSVERSION} >= 500000 && ${OSVERSION} < 502001))
"Makefile", line 44: Missing dependency operator
"Makefile", line 46: if-less endif
"Makefile", line 46: Need an operator
make: fatal errors encountered -- cannot continue
===> x11/nvidia-driver failed
*** Error code 1
1 error

********************************************************************
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@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.


Anyone got any ideas to point me in the right direction ??

Thank you.. 
Steve




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