Subject: Re: pkgsrc NetBSD 2.0H/i386 bulk build results 2004-09-28
To: Thomas Klausner <wiz@NetBSD.org>
From: Alistair Crooks <agc@pkgsrc.org>
List: pkgsrc-bulk
Date: 09/30/2004 13:17:00
On Tue, Sep 28, 2004 at 05:38:39PM +0200, Thomas Klausner wrote:
> On Tue, Sep 28, 2004 at 07:41:25AM +0100, Alistair Crooks wrote:
> > pkgsrc bulk build results
> > NetBSD 2.0H/i386
> > 
> > Summary:
> > 
> >         Build started:                  Sun Sep 26 18:11:45 2004 UTC
> >         Build ended:                    Tue Sep 28 02:47:23 2004 UTC
> 
> Same new problems as in other bulk builds, additionally:
> p5-SDL -- wants to install both perl and perl-threads.
> libspf-alt -- configure complains about broken compiler.

I don't know why p5-SDL is doing what it does.

On investigation into the config.log for libspf-alt, the following looks
distinctly dodgy:

configure:2313: $? = 0
configure:2315: gcc -V </dev/null >&5
gcc: couldn't run `/usr/bin/i386--netbsdelf-gcc--I/usr/obj/pkgsrc/mail/libspf-alt/work.sys1/.buildlink/include': No such file or directory
configure:2318: $? = 1
configure:2341: checking for C compiler default output file name
configure:2344: gcc -O2 -I/usr/include -I/usr/include -L/usr/lib -Wl,-R/usr/lib -lbind -Wl,-R/usr/pkg/lib conftest.c  >&5
ld: cannot find -lbind
configure:2347: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "libspf_alt"
| #define PACKAGE_TARNAME "libspf_alt"
| #define PACKAGE_VERSION "0.4.0"
| #define PACKAGE_STRING "libspf_alt 0.4.0"
| #define PACKAGE_BUGREPORT "wayne@midwestcs.com"
| #define PACKAGE "libspf_alt"
| #define VERSION "0.4.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2385: error: C compiler cannot create executables
See `config.log' for more details.

This seems repeatable, I'll have a further look at why -lbind is being
specified, but the prior invocation of gcc looks iffy from a buildlink
PoV - I can forward logs to anyone who wants them.

Regards,
Alistair