Subject: Re: pkg/12705: pkgsrc/www/mozilla for 0.8.1 fails to build on i388
To: NetBSD Bugs and PR posting List <netbsd-bugs@netbsd.org>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-bugs
Date: 05/05/2001 08:20:11
On Fri, 4 May 2001, Greg A. Woods wrote:

> [ On Saturday, May 5, 2001 at 02:11:52 (+0200), Thomas Klausner wrote: ]
> > Subject: Re: pkg/12705: pkgsrc/www/mozilla for 0.8.1 fails to build on i388 1.5T
> >
> > Your mozilla build (opposite to mine, which work on 1.5S and 1.5U)
> > seems to find a threads library in /usr/pkg, which it shouldn't, if
> > I'm not mistaken.

Yes. I remember now. I had built mozilla from a cvs checkout in the
past with --without-pthreads, because there's no advantage to using
pthreads on a single processor system -- for the user, maybe it's
easier for the developer. Therefore, if we're given the option to use
no-pthreads alternative code, as a rule, we should take it.

> It does indeed find /usr/pkg/lib/libpthread*, and it MUST, at least from
> what I can understand of the package build dependencies.  Mozilla
> requires gtk+, which requires glib, which appears to require pth if
> you're not on SunOS.

That's correct, but on 1.5_BETA it _still_ fails that test! It finally
finished downloading for me last night, so I ran "make configure" this
morning, and found that it's failing the test for pthread_create()
because we didn't tell it where to find the pthread includes, so
there's no definition for pthread_t. Did NetBSD-current grow a
pthread_t? That still wouldn't explain why it builds for wiz on 1.5U.

In any case, I suggest we add "CONFIGURE_ENV+= --without-pthreads" to
the mix. This should build the same way for folks who have managed to
build it already. Agreed?

[I did leave a build running at home, but I'm afraid the partition on
which ${WRKOBJDIR} is only ~500mb, so I half expect to find a "disk
full" when I return.]


Frederick