On 2012-02-13 06:42, Jordan K. Hubbard wrote:
> I've noticed that it's been broken for about a week as a result of:
> 
> --- /usr/src/lib/libc/../../include/rpc/rpcb_clnt.h.orig      2012-02-12 
> 22:42:29.000000000 -0800
> +++ /usr/src/lib/libc/../../include/rpc/rpcb_clnt.h   2012-02-12 
> 22:41:27.000000000 -0800
> @@ -66,7 +66,7 @@
>                      const struct netconfig  *, const struct netbuf *);
>  extern bool_t rpcb_unset(const rpcprog_t, const rpcvers_t,
>                        const struct netconfig *);
> -extern rpcblist      *rpcb_getmaps(const struct netconfig *, const char *);
> +extern struct rpcblist       *rpcb_getmaps(const struct netconfig *, const 
> char *);
>  extern enum clnt_stat rpcb_rmtcall(const struct netconfig *,
>                                  const char *, const rpcprog_t,
>                                  const rpcvers_t, const rpcproc_t,
> 
> Easy fix (I don't have a commit bit anymore or I'd just check it in), but it 
> makes me wonder if anyone is building with clang on a regular basis or they'd 
> have caught this one quickly.

I build it very regularly, and there are several buildbots that also
build it continously (though they currently don't spam the mailing
lists).  For me, and the buildbots, head builds just fine with clang,
though.  What was the exact error you got during buildworld?

In any case, it is likely your problem is caused by my recent fixes to
rpcgen, which make it use the C preprocessor built during buildworld,
instead of always using /usr/bin/cpp.

What are your CC, CXX and CPP settings in make.conf?  And can you please
post the file:

  /usr/obj/usr/src/tmp/usr/include/rpc/rpcb_prot.h

which should have been generated by rpcgen during build.  It is probably
missing the line:

  typedef struct rp__list rpcblist; 
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to