pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc NetBSD 2.0H/i386 bulk build results 2004-09-28



On Thu, Sep 30, 2004 at 01:17:00PM +0100, Alistair Crooks wrote:
> 
> 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@localhost"
> | #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.

The error from the "gcc -V" is harmless.  I was thinking of special-casing
"gcc -V" in the wrappers to avoid this error, but just haven't gotten
around to it yet.

        Cheers,

        -- Johnny Lam <jlam%NetBSD.org@localhost>



Home | Main Index | Thread Index | Old Index