Subject: Re: building packages for other NetBSD releases
To: None <>
From: Matthias Scheler <>
List: pkgsrc-users
Date: 05/31/2007 12:56:38
On Thu, May 31, 2007 at 12:05:30PM +0200, Jukka Salmi wrote:
> This used to work fine until the newlock2 branch was merged to NetBSD's
> HEAD. Since then, building e.g. the OpenLDAP packages doesn't work
> anymore:

That's because pre newlock2 branch "libpthread" doesn't work with a
NetBSD-current kernel any more. You will need "libpthread" from
NetBSD-curren in the sandbox. Try copying it to e.g. "/usr/local/lib"
and add "/usr/local/lib" to "/etc/" in the sandbox. If you
run "ldd /usr/sbin/named" it should use the "libpthread" in that

> So, what's the "supported" way of building packages for other NetBSD
> releases on a NetBSD system? Or is this considered to be a bug in
> OpenLDAP configure script's thread detection?

I don't think so.

	Kind regards

Matthias Scheler