[Bug 217793] mail/cyrus-imapd30: build fails with libressl: libcyrus_imap.so: undefined reference to 'DH_set0_pqg'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 14 23:46:38 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217793

            Bug ID: 217793
           Summary: mail/cyrus-imapd30: build fails with libressl:
                    libcyrus_imap.so: undefined reference to 'DH_set0_pqg'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ume at FreeBSD.org
          Reporter: Mark.Martinec at ijs.si
             Flags: maintainer-feedback?(ume at FreeBSD.org)
          Assignee: ume at FreeBSD.org

Created attachment 180834
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180834&action=edit
full build log (xz compressed)

mail/cyrus-imapd30 fails to build (using poudriere under FreeBSD 11.0),
apparently due to building with libressl. The full log is attached,
the excerpt from the log is here:

  libtool: link: cc -DPIC -fPIC -O2 -pipe ... -Wl,/usr/local/lib
  imap/.libs/libcyrus_imap.so: undefined reference to `DH_set0_pqg'
  cc: error: linker command failed with exit code 1 (use -v to see invocation)
  gmake[3]: *** [Makefile:3817: imap/imapd] Error 1


The OpenSSL docs state that DH_get0_pqg was added in 1.1.0:
  https://www.openssl.org/docs/man1.1.0/crypto/DH_get0_pqg.html

(and is apparently missing in libressl-2.4.5 from ports).


(Note that mail/cyrus-imapd25 builds and works with libressl just fine.)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list