pkgsrc-Users archive

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

Re: openjdk8 fails to build on netbsd-8

On Wed, 18 Mar 2020 17:49:23 -0400
Greg Troxel <> wrote:

> This doesn't seem to depend on heimdal, but that is newly isntalled.
> Last sucessful build was on November 6.
> In file included from /tmp/work/lang/openjdk8/work/.buildlink/include/krb5/gssapi.h:39:0,
>                  from /tmp/work/lang/openjdk8/work/openjdk-jdk8u-jdk8u242-b07.1/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.h:29,
>                  from /tmp/work/lang/openjdk8/work/openjdk-jdk8u-jdk8u242-b07.1/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c:28:
> /tmp/work/lang/openjdk8/work/.buildlink/include/krb5/gssapi/gssapi.h:93:40: error: conflicting types for 'gss_name_t'
>  typedef struct gss_name_t_desc_struct *gss_name_t;
>                                         ^
> In file included from /tmp/work/lang/openjdk8/work/openjdk-jdk8u-jdk8u242-b07.1/jdk/src/share/native/sun/security/jgss/wrapper/NativeUtil.h:29:0,
>                  from /tmp/work/lang/openjdk8/work/openjdk-jdk8u-jdk8u242-b07.1/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c:27:
> /tmp/work/lang/openjdk8/work/openjdk-jdk8u-jdk8u242-b07.1/jdk/src/share/native/sun/security/jgss/wrapper/gssapi.h:60:16: note: previous declaration of 'gss_name_t' was he\
> re
>  typedef void * gss_name_t;
>                 ^

I remember having this issue while building openjdk8 from pkgsrc on
Linux at my old job. krb5 gets pulled in via cups-base. Back then my
workaround was to rm -rf the krb5 headers from the buildlink directory,
which seemed to work OK. If you want to commit such a fix, that is
fine by me.


Home | Main Index | Thread Index | Old Index