Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Sep 2006 09:25:38 -0400
From:      Ron Tarrant <rtarrant@sympatico.ca>
To:        freebsd-stable@freebsd.org
Subject:   Ports Update: Failed to Generate INDEX 
Message-ID:  <44FD7AD2.5010000@sympatico.ca>

next in thread | raw e-mail | index | archive | help
Hi all,

While trying to update ports for FreeBSD 6.1-STABLE using this command:

/usr/local/sbin/portsdb -Uu

I got the following error (please see below for the process leading up 
to this):

Updating the ports index ... Generating INDEX.tmp - please 
wait.."Makefile", lin
e 33: Could not find 
/usr/ports/japanese/gnomelibs/../../x11/gnomelibs/Makefile
"/usr/ports/Mk/bsd.port.mk", line 1886: Malformed conditional 
(${X_WINDOW_SYSTEM
:L} == xfree86-3)
"/usr/ports/Mk/bsd.port.mk", line 1951: Malformed conditional 
(${PERL_LEVEL} >=
500600)
"/usr/ports/Mk/bsd.port.mk", line 1960: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 2200: Malformed conditional (${PREFIX} 
== ${X1
1BASE_REL} || defined(USE_X_PREFIX))
"/usr/ports/Mk/bsd.port.mk", line 2203: Malformed conditional 
(${X_WINDOW_SYSTEM
:L} == xfree86-3)
"/usr/ports/Mk/bsd.port.mk", line 2208: if-less elif
"/usr/ports/Mk/bsd.port.mk", line 2210: if-less else
"/usr/ports/Mk/bsd.port.mk", line 2212: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 2213: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 2864: Malformed conditional (${PREFIX} 
== /usr
)
"/usr/ports/Mk/bsd.port.mk", line 2866: if-less else
"/usr/ports/Mk/bsd.port.mk", line 2868: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 2956: Malformed conditional (${PREFIX} 
== /usr
)
"/usr/ports/Mk/bsd.port.mk", line 2958: if-less else
"/usr/ports/Mk/bsd.port.mk", line 2960: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 5503: Malformed conditional 
((${PREFIX} != ${L
OCALBASE_REL} && ${PREFIX} != ${X11BASE_REL} && ${PREFIX} != 
${LINUXBASE_REL} &&
 ${PREFIX} != "/usr"))
"/usr/ports/Mk/bsd.port.mk", line 5508: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 5992: if-less endif
make: fatal errors encountered -- cannot continue
===> japanese/gnomelibs 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.
failed to generate INDEX!
portsdb: index generation error


Process:

cd /usr/ports/net/cvsup
make install clean
(reboot)
cp /usr/share/examples/cvsup/ports-supfile /root/

I then edited /root/ports-supfile and added the host:

*default host=cvsup12.FreeBSD.org

At first, I commented out all the ports for languages I don't understand 
such as Russian, Japanese, etc. But I got a similar error, so I 
commented out all the individual ports and uncommented ports-all to do a 
complete job of it. That's when I ran portsdb -Uu and got the above error.

This is my first time doing this, so I'm sure I've missed something 
somewhere.

-Ron T.



-- 
Ron Tarrant
Blog:<A HREF="http://www.writingup.com/blog/phpgtk2">PHP-Gtk2</A>;




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