First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 34783
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bob Smart <Bob.Smart@csiro.au>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
uw-imap-2002e-r2.ebuild modified ebuild text/plain Bob Smart 2003-11-30 16:24 0000 3.09 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 34783 depends on: Show dependency tree
Bug 34783 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-11-30 16:21 0000
Need to add EXTRAAUTHENTICATORS=gss to make line

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




I attach an ebuild.

------- Comment #1 From Bob Smart 2003-11-30 16:24:25 0000 -------
Created an attachment (id=21521) [edit]
modified ebuild

I haven't put in a "depends" clause.

------- Comment #2 From Andrej Kacian (RETIRED) 2004-09-03 02:39:05 0000 -------
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

------- Comment #3 From Andrej Kacian (RETIRED) 2004-09-03 02:39:05 0000 -------
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: Prerušená 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. 

------- Comment #4 From Robin Johnson 2004-09-03 02:44:09 0000 -------
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

------- Comment #5 From Robin Johnson 2004-09-03 02:44:09 0000 -------
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).

------- Comment #6 From Andrej Kacian (RETIRED) 2004-09-03 02:50:49 0000 -------
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.

------- Comment #7 From Andrej Kacian (RETIRED) 2004-09-03 03:51:08 0000 -------
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.

------- Comment #8 From Andrej Kacian (RETIRED) 2004-09-03 04:07:54 0000 -------
Ebuild committed to CVS as -r4, with "kerberos? ( virtual/krb5)" dependency.
Thanks a lot.

------- Comment #9 From Andrej Kacian (RETIRED) 2004-09-03 04:10:04 0000 -------
Gah, I typoed on that depend line. It's "kerberos? ( virtual/krb5 )" in ebuild
(missing space before closing parenthesis). Sorry.

First Last Prev Next    No search results available      Search page      Enter new bug