Subject: bin/12864: 'make index' in /usr/pkgsrc dumps core
To: None <gnats-bugs@gnats.netbsd.org>
From: None <arto@selonen.org>
List: netbsd-bugs
Date: 05/08/2001 10:47:17
>Number:         12864
>Category:       bin
>Synopsis:       'make index' in /usr/pkgsrc dumps core
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 08 00:47:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Arto Selonen
>Release:        -current from May 6th, 2001
>Organization:
selonen.org
>Environment:
System: NetBSD fw.selonen.org 1.5V NetBSD 1.5V (LONESTAR) #12: Sun May 6 12:48:54 EEST 2001 aselonen@fw.selonen.org:/fs/cvs/src/sys/arch/i386/compile/LONESTAR i386
Architecture: i386
Machine: i386
>Description:
	Both /usr/src and /usr/pkgsrc were grabbed from anoncvs.netbsd.org
	on May 6th. Running 'make index' (as per /usr/pkgsrc/README)
	dumps core:
	fw# pwd
	/fs/cvs/pkgsrc
	fw# time make index
	Generating INDEX - please wait..Bus error - core dumped
	 Done.
	85089.622u 25000.663s 33:11:24.73 92.1% 0+0k 31651+480891io 1024pf+0w

	I also got similar results on earlier pkgsrc snapshots, running
	1.5U from around April 10-12th, but I just assumed my make etc
	were not really in sync with what pkgsrc needed.

	I'm assuming this can be reproduced on a clean system, but
	in case it is a result from something else I've done:
	I have previously run 'make readme' and 'make readme-all' in
	/usr/pkgsrc without any problems. 'make index' used to work
	earlier this year, but I can not give an exact time when things
	changed enough to cause problems. I would guess somewhere
	between february-april.

	Here is my /etc/mk.conf, in case it has something to do with this:
	(comments removed)
LOCALTIME!=		ls -l /etc/localtime | sed -e 's,.*/zoneinfo/,,'
BSDOBJDIR=		/usr/obj/src
MKOBJDIRS=		yes
BSDSRCDIR!=		cd /usr/src ; pwd
BUILD=			1
MANINSTALL=		catinstall
MANZ=			1
SUROOTAUTH=rootauth
.ifndef NOUPDATE
UPDATE=			1
.endif
MKCRYPTO_IDEA=		yes
MKCRYPTO_RC5=		yes
PACKAGES=		/fs/cvs/packages/${OPSYS}/${OS_VERSION}/${MACHINE_ARCH}
DISTDIR=		/usr/pkgsrc/distfiles
DIST_PATH=		/usr/pkgsrc/distfiles
PATCH_FUZZ_FACTOR=	-F0
PKGSRCDIR=		/usr/pkgsrc
WRKOBJDIR=		/usr/obj/pkgsrc
AMANDA_SMB=		1
AMANDA_CONFDIR=		/etc/amanda
AMANDA_USER=		operator
APACHE_PERF_TUNING=	YES
APACHE_SYSCONFDIR=	/etc/httpd
BASH_STATIS=		YES
DEFAULT_IRC_SERVER=	irc.selonen.org
LYNX_SCREEN_LIB=	ncurses
PAPERSIZE=		A4
POSTFIX_PCRE=		YES
POSTFIX_VERP=		YES
PROCMAIL_MAILSPOOLHOME=	.MailBox
TCSH_STATIC=		YES
USE_RSAREF2=		NO
USE_XFACE=		YES
XAW_TYPE=		3d
ZIP_ENCRYPTION=		1
ZSH_STATIC=		YES
IRRD_USE_PGP=		2
KERBEROS=		5
NMH_EDITOR=		prompter
NMH_HASH_BACKUP=	yes
MAILMAN_DIR=		/var/mailman
SAMBA_PRIVATE=		/etc
SAMBA_ETCDIR=		/etc
PASSIVE_FETCH=		1
.if (${MACHINE_ARCH} == "i386" && !exists(/usr/lib/libm386.so))
I387_LIBM=		1
.endif 
OBJECT_FORMAT!=		file /bin/sh | awk '{ print $$2 }'
.if (${OBJECT_FORMAT} != "ELF")
OBJECT_FMT=		a.out
.endif
MKCRYPTO=YES
ACCEPTABLE_LICENSES=no-commercial-use no-profit no-redistribution
FAILOVER_FETCH=yes
MASTER_SORT=.fi .se .no .dk .de .uk .com .org
SMART_MESSAGES=yes
MASTER_SITE_XCONTRIB=ftp://ftp.funet.fi/pub/X11/contrib/
MASTER_SITE_GNU=ftp://ftp.funet.fi/pub/gnu/gnu/
MASTER_SITE_BACKUP=ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/

>How-To-Repeat:
	# cd /usr/pkgsrc
	# make readme
	# make readme-all
	# make index

	those 'make readme' and 'make readme-all' are there just to
	produce a more similar /usr/pkgsrc tree (compared to what I have)

	if the above doesn't produce problems as it has done with me, then
	I'm willing to test and/or provide additional info etc.
>Fix:
	I do not have a fix or a workaround for this.
>Release-Note:
>Audit-Trail:
>Unformatted: