Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile in OSX - El Capitan v10.11.6 #8

Open
leonj1 opened this issue Sep 26, 2017 · 2 comments
Open

Does not compile in OSX - El Capitan v10.11.6 #8

leonj1 opened this issue Sep 26, 2017 · 2 comments

Comments

@leonj1
Copy link

leonj1 commented Sep 26, 2017

/usr/include/gssapi/gssapi.h:598:1: note: 'gss_release_buffer' has been explicitly marked deprecated here

I'm not sure what I need to do to get this to compile.
Searching around looks like this repo would need to be updated somehow, but I dunno how to fix it.

@Grejeru
Copy link

Grejeru commented Jul 4, 2018

On macOS High Sierra v10.13.5 same problems when trying to compile mokey

cgo-gcc-prolog:223:2: warning: 'krb5_free_context' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/krb5/krb5.h:1457:17: note: 'krb5_free_context' has been explicitly marked deprecated here
/usr/include/krb5/krb5.h:73:53: note: expanded from macro 'KERBEROS_APPLE_DEPRECATED'
cgo-gcc-prolog:240:6: warning: 'krb5_free_keytab_entry_contents' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/krb5/krb5.h:1711:25: note: 'krb5_free_keytab_entry_contents' has been explicitly marked deprecated here
/usr/include/krb5/krb5.h:73:53: note: expanded from macro 'KERBEROS_APPLE_DEPRECATED'
cgo-gcc-prolog:255:2: warning: 'krb5_free_unparsed_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/krb5/krb5.h:1791:25: note: 'krb5_free_unparsed_name' has been explicitly marked deprecated here
/usr/include/krb5/krb5.h:73:53: note: expanded from macro 'KERBEROS_APPLE_DEPRECATED'
cgo-gcc-prolog:271:6: warning: 'krb5_init_context' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/krb5/krb5.h:1453:19: note: 'krb5_init_context' has been explicitly marked deprecated here
/usr/include/krb5/krb5.h:73:53: note: expanded from macro 'KERBEROS_APPLE_DEPRECATED'
cgo-gcc-prolog:290:6: warning: 'krb5_kt_close' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/krb5/krb5.h:1429:57: note: 'krb5_kt_close' has been explicitly marked deprecated here
/usr/include/krb5/krb5.h:73:53: note: expanded from macro 'KERBEROS_APPLE_DEPRECATED'
cgo-gcc-prolog:309:6: warning: 'krb5_kt_default' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/krb5/krb5.h:1708:19: note: 'krb5_kt_default' has been explicitly marked deprecated here
/usr/include/krb5/krb5.h:73:53: note: expanded from macro 'KERBEROS_APPLE_DEPRECATED'
cgo-gcc-prolog:329:6: warning: 'krb5_kt_end_seq_get' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/krb5/krb5.h:1442:31: note: 'krb5_kt_end_seq_get' has been explicitly marked deprecated here
/usr/include/krb5/krb5.h:73:53: note: expanded from macro 'KERBEROS_APPLE_DEPRECATED'
cgo-gcc-prolog:350:6: warning: 'krb5_kt_next_entry' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/krb5/krb5.h:1439:56: note: 'krb5_kt_next_entry' has been explicitly marked deprecated here
/usr/include/krb5/krb5.h:73:53: note: expanded from macro 'KERBEROS_APPLE_DEPRECATED'
cgo-gcc-prolog:370:6: warning: 'krb5_kt_start_seq_get' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/krb5/krb5.h:1436:33: note: 'krb5_kt_start_seq_get' has been explicitly marked deprecated here
/usr/include/krb5/krb5.h:73:53: note: expanded from macro 'KERBEROS_APPLE_DEPRECATED'
cgo-gcc-prolog:390:6: warning: 'krb5_unparse_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/krb5/krb5.h:1564:13: note: 'krb5_unparse_name' has been explicitly marked deprecated here
/usr/include/krb5/krb5.h:73:53: note: expanded from macro 'KERBEROS_APPLE_DEPRECATED'
# github.com/ubccr/mokey/vendor/github.com/ubccr/kerby
vendor/github.com/ubccr/kerby/kerberosgss.c:71:23: warning: 'gss_import_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:590:19: note: 'gss_import_name' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:89:27: warning: 'gss_import_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:590:19: note: 'gss_import_name' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:97:27: warning: 'gss_acquire_cred' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:453:18: note: 'gss_acquire_cred' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:106:27: warning: 'gss_release_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:595:19: note: 'gss_release_name' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:124:20: warning: 'gss_delete_sec_context' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:501:19: note: 'gss_delete_sec_context' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:129:20: warning: 'gss_release_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:595:19: note: 'gss_release_name' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:135:20: warning: 'gss_release_cred' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:458:22: note: 'gss_release_cred' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:170:23: warning: 'gss_init_sec_context' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:474:18: note: 'gss_init_sec_context' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:195:27: warning: 'gss_release_buffer' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:600:19: note: 'gss_release_buffer' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:201:27: warning: 'gss_inquire_context' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:627:12: note: 'gss_inquire_context' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:209:27: warning: 'gss_display_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:582:16: note: 'gss_display_name' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:212:17: warning: 'gss_release_buffer' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:600:19: note: 'gss_release_buffer' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:213:13: warning: 'gss_release_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:595:19: note: 'gss_release_name' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:221:13: warning: 'gss_release_buffer' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:600:19: note: 'gss_release_buffer' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:222:13: warning: 'gss_release_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:595:19: note: 'gss_release_name' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:228:9: warning: 'gss_release_buffer' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:600:19: note: 'gss_release_buffer' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:258:27: warning: 'gss_import_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:590:19: note: 'gss_import_name' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:269:27: warning: 'gss_acquire_cred' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:453:18: note: 'gss_acquire_cred' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:289:27: warning: 'gss_delete_sec_context' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:501:19: note: 'gss_delete_sec_context' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:294:27: warning: 'gss_release_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:595:19: note: 'gss_release_name' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:297:27: warning: 'gss_release_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:595:19: note: 'gss_release_name' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:300:27: warning: 'gss_release_cred' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:458:22: note: 'gss_release_cred' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:303:27: warning: 'gss_release_cred' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:458:22: note: 'gss_release_cred' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:350:23: warning: 'gss_accept_sec_context' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:488:22: note: 'gss_accept_sec_context' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:374:27: warning: 'gss_release_buffer' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:600:19: note: 'gss_release_buffer' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:378:23: warning: 'gss_display_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:582:16: note: 'gss_display_name' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:392:27: warning: 'gss_inquire_context' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:627:12: note: 'gss_inquire_context' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:400:27: warning: 'gss_display_name' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:582:16: note: 'gss_display_name' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:418:9: warning: 'gss_release_buffer' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:600:19: note: 'gss_release_buffer' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:433:20: warning: 'gss_display_status' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:560:19: note: 'gss_display_status' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:445:9: warning: 'gss_release_buffer' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:600:19: note: 'gss_release_buffer' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:447:20: warning: 'gss_display_status' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:560:19: note: 'gss_display_status' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
vendor/github.com/ubccr/kerby/kerberosgss.c:457:13: warning: 'gss_release_buffer' is deprecated: use GSS.framework [-Wdeprecated-declarations]
/usr/include/gssapi/gssapi.h:600:19: note: 'gss_release_buffer' has been explicitly marked deprecated here
/usr/include/gssapi/gssapi.h:56:51: note: expanded from macro 'GSSKRB_APPLE_DEPRECATED'
# github.com/ubccr/mokey/vendor/github.com/ubccr/kerby
vendor/github.com/ubccr/kerby/kerby.go:153: entry.principal undefined (type C.struct_krb5_keytab_entry_st has no field or method principal)```

@czlitony
Copy link

czlitony commented Apr 2, 2019

I have met the same problem, how to handle it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants