Bug 151472 - mail/cyrus-imapd23 failed to compile
Summary: mail/cyrus-imapd23 failed to compile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Hajimu UMEMOTO
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-15 10:30 UTC by Andrei Kolu
Modified: 2015-09-11 16:50 UTC (History)
1 user (show)

See Also:


Attachments
disable-gssapi.diff (488 bytes, patch)
2010-11-18 23:14 UTC, Max Campos
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Kolu 2010-10-15 10:30:10 UTC
./lib/libcyrus.a(auth_krb5.o)(.text+0x1b0): In function `mycanonifyid':
: undefined reference to `krb5_init_context'
./lib/libcyrus.a(auth_krb5.o)(.text+0x1ca): In function `mycanonifyid':
: undefined reference to `krb5_parse_name'
./lib/libcyrus.a(auth_krb5.o)(.text+0x1df): In function `mycanonifyid':
: undefined reference to `krb5_get_default_realm'
./lib/libcyrus.a(auth_krb5.o)(.text+0x213): In function `mycanonifyid':
: undefined reference to `krb5_build_principal'
./lib/libcyrus.a(auth_krb5.o)(.text+0x22f): In function `mycanonifyid':
: undefined reference to `krb5_realm_compare'
./lib/libcyrus.a(auth_krb5.o)(.text+0x240): In function `mycanonifyid':
: undefined reference to `krb5_free_principal'
./lib/libcyrus.a(auth_krb5.o)(.text+0x25f): In function `mycanonifyid':
: undefined reference to `krb5_unparse_name'
./lib/libcyrus.a(auth_krb5.o)(.text+0x276): In function `mycanonifyid':
: undefined reference to `krb5_free_principal'
./lib/libcyrus.a(auth_krb5.o)(.text+0x280): In function `mycanonifyid':
: undefined reference to `krb5_free_context'
./lib/libcyrus.a(auth_krb5.o)(.text+0x2a6): In function `mycanonifyid':
: undefined reference to `krb5_free_principal'
./lib/libcyrus.a(auth_krb5.o)(.text+0x2b0): In function `mycanonifyid':
: undefined reference to `krb5_free_context'
./lib/libcyrus.a(auth_krb5.o)(.text+0x2e1): In function `mycanonifyid':
: undefined reference to `krb5_free_principal'
./lib/libcyrus.a(auth_krb5.o)(.text+0x2eb): In function `mycanonifyid':
: undefined reference to `krb5_free_context'
*** Error code 1

Stop in /var/ports/basejail/usr/ports/mail/cyrus-imapd23/work/cyrus-imapd-2.3.16/imap.
*** Error code 1

Stop in /var/ports/basejail/usr/ports/mail/cyrus-imapd23/work/cyrus-imapd-2.3.16.
*** Error code 1

Stop in /basejail/usr/ports/mail/cyrus-imapd23.
*** Error code 1

Stop in /basejail/usr/ports/mail/cyrus-imapd23.

How-To-Repeat: /usr/ports/mail/cyrus-imapd23
make install clean
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-10-18 13:03:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ume

Fix synopsis and assign.
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-10-18 13:47:24 UTC
ume         2010-10-18 12:47:20 UTC

  FreeBSD ports repository

  Modified files:
    mail                 Makefile 
    mail/cyrus-imapd24   Makefile distinfo pkg-descr pkg-plist 
    mail/cyrus-imapd24/files imapd.conf patch-configure 
                             patch-master::Makefile.in 
  Added files:
    mail/cyrus-imapd24/files patch-imap::nntpd.c 
  Removed files:
    mail/cyrus-imapd24/files extra-patch-cmulocal::ucdsnmp.m4 
                             patch-lib::imapurl.c 
  Log:
  Add new 2.4 branch of Cyrus IMAPd after repocopy.
  
  PR:             ports/151472
  Repocopied by:  portmgr (marcus)
  
  Revision  Changes    Path
  1.1040    +1 -0      ports/mail/Makefile
  1.193     +31 -55    ports/mail/cyrus-imapd24/Makefile
  1.55      +3 -9      ports/mail/cyrus-imapd24/distinfo
  1.2       +0 -27     ports/mail/cyrus-imapd24/files/extra-patch-cmulocal::ucdsnmp.m4 (dead)
  1.15      +5 -5      ports/mail/cyrus-imapd24/files/imapd.conf
  1.7       +5 -33     ports/mail/cyrus-imapd24/files/patch-configure
  1.1       +14 -0     ports/mail/cyrus-imapd24/files/patch-imap::nntpd.c (new)
  1.2       +0 -12     ports/mail/cyrus-imapd24/files/patch-lib::imapurl.c (dead)
  1.4       +0 -9      ports/mail/cyrus-imapd24/files/patch-master::Makefile.in
  1.6       +1 -1      ports/mail/cyrus-imapd24/pkg-descr
  1.38      +7 -6      ports/mail/cyrus-imapd24/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Hajimu UMEMOTO freebsd_committer freebsd_triage 2010-10-18 13:50:22 UTC
State Changed
From-To: open->closed

Thank you!  I've committed to update it to 2.4.0.
Comment 4 Hajimu UMEMOTO freebsd_committer freebsd_triage 2010-10-18 16:54:17 UTC
State Changed
From-To: closed->open

Oops, I closed wrong PR.
Comment 5 Max Campos 2010-11-18 21:55:11 UTC
I too am having this problem with FreeBSD 8.1-RELEASE-p1 cyrus-imapd23 =
and cyrus-imapd24. =20

After looking into this quite a bit, it appears that the issue is =
getting Cyrus to work with FreeBSD's GSSAPI implementation; which has a =
history of issues if you look closely at the CVS log/diffs for the =
Makefile.

If you're still stuck and simply want to get unstuck, the easiest way is =
to disable GSSAPI (this is what the cyrus-imapd21 port does):

Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/cvsroot/ports/mail/cyrus-imapd24/Makefile,v
retrieving revision 1.198
diff -u -r1.198 Makefile
--- Makefile    12 Nov 2010 12:50:19 -0000      1.198
+++ Makefile    18 Nov 2010 21:28:42 -0000
@@ -138,7 +138,7 @@
 PLIST_SUB+=3D    LDAP=3D"@comment "
 .endif
=20
-.if !exists(/usr/lib/libkrb5.a)
+.if !exists(/usr/lib/libkrb5.a) || ${OSVERSION} >=3D 800037
 CONFIGURE_ARGS+=3D--disable-gssapi
 .endif

... though given the amount of effort in the past to make Cyrus work =
with FreeBSD's GSSAPI implementation, I suspect this will not be the =
long-term fix.=
Comment 6 Max Campos 2010-11-18 23:14:57 UTC
Resending, but with patch attached.  Hopefully this will make the PR tracker happier.
Comment 7 Carlo Strub freebsd_committer freebsd_triage 2014-09-07 17:56:27 UTC
Is this PR still relevant?
Comment 8 Hajimu UMEMOTO freebsd_committer freebsd_triage 2015-09-11 16:50:12 UTC
I don't have any feedback until now.  So, I close this PR.