Skip site navigation (1)Skip section navigation (2)
Date:      20 Nov 2004 05:36:36 -0000
From:      Andrew Reilly <andrew@areilly.bpc-users.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/74147: portupgrade dies, "Generating INDEX.tmp"
Message-ID:  <20041120053636.45113.qmail@areilly.bpc-users.org>
Resent-Message-ID: <200411200540.iAK5eIUB010121@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         74147
>Category:       ports
>Synopsis:       portupgrade dies, "Generating INDEX.tmp"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 20 05:40:17 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Reilly
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD gurney.reilly.home 4.10-STABLE FreeBSD 4.10-STABLE #2: Sat Nov 20 13:54:38 EST 2004 root@gurney.reilly.home:/usr/var/tmp/obj/usr/src/sys/GURNEY i386



>Description:
	CVSupped RELENG_4 and ports-all last night.  Today: rebuilt world
	and kernel, and installed both, no problems.  Started
	portupgrade -a (with $PORTUPGRADE flags -yrRbl /tmp/portupgrade.log)
	and that terminated with the following error log:

--->  Session started at: Sat, 20 Nov 2004 15:49:25 +1100
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 506 packages found (-1 +1) (...). done]
Updating the ports index ... Generating INDEX.tmp - please wait.."/usr/ports/Mk/bsd.gnome.mk", line 8: Malformed conditional (${_USE_GNOME_ALL:Mgtk12}=="")
"/usr/ports/Mk/bsd.gnome.mk", line 8: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 4930: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 4930: Need an operator
make: fatal errors encountered -- cannot continue
===> chinese/xemacs21 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!
index generation error
--->  Session ended at: Sat, 20 Nov 2004 15:55:42 +1100 (consumed 00:06:16)
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:482:in `open_db': database file error (PortsDB::DBError)
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:634:in `port'
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:822:in `all_depends_list'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!'
        from /usr/local/sbin/portupgrade:674:in `main'
        from /usr/local/sbin/portupgrade:207:in `initialize'
        from /usr/local/sbin/portupgrade:207:in `new'
        from /usr/local/sbin/portupgrade:207:in `main'
        from /usr/local/sbin/portupgrade:1845

>How-To-Repeat:
	just do portupgrade -a on my system
>Fix:

	I've nuked the bulk of my /etc/make.conf file, and it
	seems to be proceeding OK.  It's certainly managed to
	run for longer than it was before.  The deleted lines
	include (accumulated over many years):

FETCH_BEFORE_ARGS=-p
USA_RESIDENT=NO
HAVE_MOTIF=yes
MOTIF_STATIC=yes
MAKE_IDEA=YES
#MAKE_KERBEROS4=yes
MAKE_KERBEROS5=yes
MAKE_RSAINTL=YES
PORTSSUPFILE=/usr/share/examples/cvsup/ports-gurney
PRINTERDEVICE=ps
SUPFILE=/usr/share/examples/cvsup/stable-gurney
SUPHOST=cvsup3.au.FreeBSD.org
XFREE86_VERSION=4
GNOME_DESKTOP_VERSION=2
ISPELL_BRITISH=yes
ASPELL_EN=yes
WITHOUT_PILOT=yes
WANT_GTK=yes
WITH_GTK2=yes
WITH_ASPELL=yes
WITH_AUDIOFILE=yes
WITH_BSD_JDK=TRUE
WITH_COMPFACE=yes
WITH_FAM=yes
WITH_FULL_MOZILLA=yes
WITH_GIMP=yes
WITH_GIF_LZW_COMPRESSION=yes
WITH_GPGME=yes
WITH_ISPELL=yes
WITH_LAME=yes
WITH_LZW=yes
WITH_MIKMOD=yes
WITH_MMX=yes
WITH_MPG123=yes
WITH_OPTIMIZED_CFLAGS=yes
WITH_OPT_PPRO=yes
WITH_PIXBUF=yes
WITH_PYECASOUND=yes
WITH_TTF_BYTECODE_ENABLED=YES
WITH_VORBIS=yes
WITH_QT=yes
>Release-Note:
>Audit-Trail:
>Unformatted:



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