Need to add EXTRAAUTHENTICATORS=gss to make line Reproducible: Always Steps to Reproduce: 1. 2. 3. I attach an ebuild.
Created attachment 21521 [details] modified ebuild I haven't put in a "depends" clause.
You forgot to add kerberos to IUSE, but after doing that, emerge with it in USE flags breaks like this: echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib -lssl -lcrypto >> LDFLAGS cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make lnx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from auths.c:1, from env_unix.c:137, from osdep.c:41: kerb_mit.c:22:35: gssapi/gssapi_generic.h: Adres
You forgot to add kerberos to IUSE, but after doing that, emerge with it in USE flags breaks like this: echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib -lssl -lcrypto >> LDFLAGS cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make lnx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from auths.c:1, from env_unix.c:137, from osdep.c:41: kerb_mit.c:22:35: gssapi/gssapi_generic.h: Adresár alebo súbor neexistuje kerb_mit.c:23:32: gssapi/gssapi_krb5.h: Adresár alebo súbor neexistuje In file included from auths.c:1, from env_unix.c:137, from osdep.c:41: kerb_mit.c:27: error: syntax error before "error" kerb_mit.c: In function `kerberos_server_valid': kerb_mit.c:36: error: `krb5_context' undeclared (first use in this function) kerb_mit.c:36: error: (Each undeclared identifier is reported only once kerb_mit.c:36: error: for each function it appears in.) kerb_mit.c:36: error: syntax error before "ctx" kerb_mit.c:37: error: `krb5_keytab' undeclared (first use in this function) kerb_mit.c:38: error: `krb5_kt_cursor' undeclared (first use in this function) kerb_mit.c:41: error: `ctx' undeclared (first use in this function) kerb_mit.c:43: error: `kt' undeclared (first use in this function) kerb_mit.c:45: error: `csr' undeclared (first use in this function) kerb_mit.c: At top level: kerb_mit.c:58: error: syntax error before "error" kerb_mit.c: In function `kerberos_try_kinit': kerb_mit.c:61: error: `error' undeclared (first use in this function) kerb_mit.c:62: error: `KRB5_FCC_NOFILE' undeclared (first use in this function) kerb_mit.c:63: error: `KRB5_CC_NOTFOUND' undeclared (first use in this function) kerb_mit.c:64: error: `host' undeclared (first use in this function) kerb_mit.c: In function `kerberos_login': kerb_mit.c:81: error: `krb5_context' undeclared (first use in this function) kerb_mit.c:81: error: syntax error before "ctx" kerb_mit.c:82: error: `krb5_principal' undeclared (first use in this function) kerb_mit.c:86: error: `ctx' undeclared (first use in this function) kerb_mit.c:88: error: `prnc' undeclared (first use in this function) In file included from auths.c:2, from env_unix.c:137, from osdep.c:41: auth_gss.c: In function `auth_gssapi_valid': auth_gss.c:53: error: `OM_uint32' undeclared (first use in this function) auth_gss.c:53: error: syntax error before "smn" auth_gss.c:54: error: `gss_buffer_desc' undeclared (first use in this function) auth_gss.c:55: error: `gss_name_t' undeclared (first use in this function) auth_gss.c:59: error: `buf' undeclared (first use in this function) auth_gss.c:61: error: `smn' undeclared (first use in this function) auth_gss.c:61: error: `gss_nt_service_name' undeclared (first use in this function) auth_gss.c:61: error: `name' undeclared (first use in this function) auth_gss.c:62: error: `GSS_S_COMPLETE' undeclared (first use in this function) auth_gss.c: In function `auth_gssapi_client': auth_gss.c:85: error: `OM_uint32' undeclared (first use in this function) auth_gss.c:85: error: syntax error before "smj" auth_gss.c:87: error: `gss_ctx_id_t' undeclared (first use in this function) auth_gss.c:88: error: `gss_buffer_desc' undeclared (first use in this function) auth_gss.c:91: error: `gss_qop_t' undeclared (first use in this function) auth_gss.c:91: error: syntax error before "qop" auth_gss.c:92: error: `gss_name_t' undeclared (first use in this function) auth_gss.c:97: error: `chal' undeclared (first use in this function) auth_gss.c:105: error: `buf' undeclared (first use in this function) auth_gss.c:108: error: `smn' undeclared (first use in this function) auth_gss.c:108: error: `gss_nt_service_name' undeclared (first use in this function) auth_gss.c:108: error: `crname' undeclared (first use in this function) auth_gss.c:109: error: `GSS_S_COMPLETE' undeclared (first use in this function) auth_gss.c:114: error: `smj' undeclared (first use in this function) auth_gss.c:114: error: `GSS_C_NO_CREDENTIAL' undeclared (first use in this function) auth_gss.c:114: error: `ctx' undeclared (first use in this function) auth_gss.c:115: error: `GSS_C_MUTUAL_FLAG' undeclared (first use in this function) auth_gss.c:115: error: `GSS_C_REPLAY_FLAG' undeclared (first use in this function) auth_gss.c:116: error: `GSS_C_NO_CHANNEL_BINDINGS' undeclared (first use in this function) auth_gss.c:116: error: `GSS_C_NO_BUFFER' undeclared (first use in this function) auth_gss.c:117: error: `resp' undeclared (first use in this function) auth_gss.c:120: error: `GSS_S_CONTINUE_NEEDED' undeclared (first use in this function) auth_gss.c:130: error: `GSS_C_NO_OID' undeclared (first use in this function) auth_gss.c:147: error: `qop' undeclared (first use in this function) auth_gss.c:170: error: `GSS_S_CREDENTIALS_EXPIRED' undeclared (first use in this function) auth_gss.c:177: error: `GSS_S_FAILURE' undeclared (first use in this function) auth_gss.c:180: error: `dsmj' undeclared (first use in this function) auth_gss.c:180: error: `dsmn' undeclared (first use in this function) auth_gss.c:180: error: `GSS_C_MECH_CODE' undeclared (first use in this function) auth_gss.c:181: error: `mctx' undeclared (first use in this function) auth_gss.c:192: error: `GSS_C_GSS_CODE' undeclared (first use in this function) auth_gss.c: In function `auth_gssapi_server': auth_gss.c:233: error: `OM_uint32' undeclared (first use in this function) auth_gss.c:233: error: syntax error before "smj" auth_gss.c:235: error: `gss_name_t' undeclared (first use in this function) auth_gss.c:236: error: `gss_OID' undeclared (first use in this function) auth_gss.c:237: error: `gss_buffer_desc' undeclared (first use in this function) auth_gss.c:238: error: `gss_cred_id_t' undeclared (first use in this function) auth_gss.c:239: error: `gss_ctx_id_t' undeclared (first use in this function) auth_gss.c:240: error: `gss_qop_t' undeclared (first use in this function) auth_gss.c:244: error: `buf' undeclared (first use in this function) auth_gss.c:246: error: `smn' undeclared (first use in this function) auth_gss.c:246: error: `gss_nt_service_name' undeclared (first use in this function) auth_gss.c:246: error: `crname' undeclared (first use in this function) auth_gss.c:247: error: `GSS_S_COMPLETE' undeclared (first use in this function) auth_gss.c:248: error: `smj' undeclared (first use in this function) auth_gss.c:248: error: `GSS_C_ACCEPT' undeclared (first use in this function) auth_gss.c:248: error: `crd' undeclared (first use in this function) auth_gss.c:250: error: `resp' undeclared (first use in this function) auth_gss.c:252: error: `ctx' undeclared (first use in this function) auth_gss.c:253: error: `GSS_C_NO_CHANNEL_BINDINGS' undeclared (first use in this function) auth_gss.c:253: error: `name' undeclared (first use in this function) auth_gss.c:253: error: `mech' undeclared (first use in this function) auth_gss.c:254: error: `chal' undeclared (first use in this function) auth_gss.c:254: error: `flags' undeclared (first use in this function) auth_gss.c:259: error: `GSS_S_CONTINUE_NEEDED' undeclared (first use in this function) auth_gss.c:276: error: `qop' undeclared (first use in this function) auth_gss.c:302: error: `GSS_C_NO_CONTEXT' undeclared (first use in this function) auth_gss.c:309: error: `dsmn' undeclared (first use in this function) auth_gss.c:311: error: `GSS_S_FAILURE' undeclared (first use in this function) auth_gss.c:312: error: `dsmj' undeclared (first use in this function) auth_gss.c:312: error: `GSS_C_GSS_CODE' undeclared (first use in this function) auth_gss.c:313: error: `GSS_C_NO_OID' undeclared (first use in this function) auth_gss.c:313: error: `mctx' undeclared (first use in this function) auth_gss.c:321: error: `GSS_C_MECH_CODE' undeclared (first use in this function) make[3]: *** [osdep.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/uw-imap-2002e-r4/work/imap-2002e/c-client' make[2]: *** [lnp] Error 2 make[2]: Leaving directory `/var/tmp/portage/uw-imap-2002e-r4/work/imap-2002e/c-client' make[1]: *** [OSTYPE] Error 2 make[1]: Leaving directory `/var/tmp/portage/uw-imap-2002e-r4/work/imap-2002e' make: *** [lnp] Error 2 yes: tandardný výstup: Preruená rúra yes: chyba pri zápise !!! ERROR: net-mail/uw-imap-2002e-r4 failed. !!! Function src_compile, Line 58, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
Ticho: Which kerberos package are you using? The two are designed to be compatiable, but unfortuntely aren't :-(. if you are using one of them, try with the other. I'm also not sure what this error is: "Adres
Ticho: Which kerberos package are you using? The two are designed to be compatiable, but unfortuntely aren't :-(. if you are using one of them, try with the other. I'm also not sure what this error is: "Adresár alebo súbor neexistuje", the english version of it might shed some more light (unset LANG).
Ah sorry - here are de-localized output excerpts: kerb_mit.c:22:35: gssapi/gssapi_generic.h: No such file or directory kerb_mit.c:23:32: gssapi/gssapi_krb5.h: No such file or directory ... make[1]: *** [OSTYPE] Error 2 make[1]: Leaving directory `/var/tmp/portage/uw-imap-2002e-r4/work/imap-2002e' make: *** [lnp] Error 2 yes: standard output: Broken pipe yes: write error Looks like I do have _any_ kerberos package installed. I'll try to emerge this with both.
Ok, uw-imap compiles and runs with both mit-krb5 and heimdal. I'll be adding this in portage soon if there are no objections.
Ebuild committed to CVS as -r4, with "kerberos? ( virtual/krb5)" dependency. Thanks a lot.
Gah, I typoed on that depend line. It's "kerberos? ( virtual/krb5 )" in ebuild (missing space before closing parenthesis). Sorry.