Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2017 23:09:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221498] mail/isync: fix build with LibreSSL
Message-ID:  <bug-221498-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221498

            Bug ID: 221498
           Summary: mail/isync: fix build with LibreSSL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ehaupt@FreeBSD.org
          Reporter: pkubaj@anongoth.pl
             Flags: maintainer-feedback?(ehaupt@FreeBSD.org)
          Assignee: ehaupt@FreeBSD.org

Created attachment 185376
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185376&action=
=3Dedit
patch

Without the attached patch, I get the error during build:
cc  -O2 -pipe  -fstack-protector -fno-strict-aliasing -pipe -W -Wall -Wshad=
ow
-Wstrict-prototypes  -pedantic -Wno-overlength-strings  -L/usr/local/lib/db5
-Wl,-rpath,/usr/local/lib -fstack-protector -L/usr/local/lib -L/usr/local/l=
ib
-o mbsync main.o sync.o config.o  util.o socket.o driver.o  drv_imap.o
drv_maildir.o -ldb -lssl -lcrypto  -lsasl2 -lz=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
socket.o: In function `socket_start_tls':=20=20=20=20=20=20=20=20=20=20=20
socket.c:(.text+0xc6): undefined reference to `X509_STORE_get0_objects'=20=
=20=20=20=20=20=20=20=20
socket.o: In function `start_tls_p2':=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20
socket.c:(.text+0x273): undefined reference to `X509_OBJECT_get0_X509'=20=
=20=20=20=20=20=20=20=20=20
cc: error: linker command failed with exit code 1 (use -v to see invocation=
)=20=20=20=20
*** Error code 1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20


With the attached patch, build passes (also on Poudriere).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221498-13>