Subject: devel/nspr not building
To: None <pkgsrc-users@NetBSD.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: pkgsrc-users
Date: 03/13/2007 10:27:09
Hi!

I'm used to nspr not building in bulk builds, because usually
I could work around it by building it manually. However, I haven't
been able to build it at all for a few weeks now.

It always fails with:
ranlib libnspr4.a
rm -f libnspr4.so
cc -o libnspr4.so  ./prvrsion.o io/./prfdcach.o io/./prmwait.o io/./prmapopt.o io/./priometh.o io/./pripv6.o io/./prlayer.o io/./prlog.o io/./prmmap.o io/./prpolevt.o io/./prprf.o io/./prscanf.o io/./prstdio.o threads/./prcmon.o threads/./prrwlock.o threads/./prtpd.o linking/./prlink.o malloc/./prmem.o md/./prosdep.o memory/./prshm.o memory/./prshma.o memory/./prseg.o misc/./pralarm.o misc/./pratom.o misc/./prcountr.o misc/./prdtoa.o misc/./prenv.o misc/./prerr.o misc/./prerror.o misc/./prerrortable.o misc/./prinit.o misc/./prinrval.o misc/./pripc.o misc/./prlog2.o misc/./prlong.o misc/./prnetdb.o misc/./prolock.o misc/./prrng.o misc/./prsystem.o misc/./prthinfo.o misc/./prtpool.o misc/./prtrace.o misc/./prtime.o malloc/./prmalloc.o pthreads/./ptsynch.o pthreads/./ptio.o pthreads/./ptthread.o pthreads/./ptmisc.o md/unix/./unix.o md/unix/./unix_errors.o md/unix/./uxproces.o md/unix/./uxrng.o md/unix/./uxshm.o md/unix/./uxwrap.o md/unix/./netbsd.o -lpthread
/usr/lib/crt0.o: In function `___start':
: undefined reference to `main'

That's on 4.99.14/amd64 in case it matters, pkgsrc-current from yesterday.

Any ideas and/or solutions?
 Thomas