[Bug 215093] net/ntp fails to build on FreeBSD11.0Stable and libressl
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 6 10:16:59 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215093
Bug ID: 215093
Summary: net/ntp fails to build on FreeBSD11.0Stable and
libressl
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: cy at FreeBSD.org
Reporter: dewayne at heuristicsystems.com.au
Flags: maintainer-feedback?(cy at FreeBSD.org)
Assignee: cy at FreeBSD.org
Unfortunately there is not a lot to add. FreeBSD 11.0S
#uname -aKU
FreeBSD b2.hs 11.0-STABLE FreeBSD 11.0-STABLE #0 r309522M: Sun Dec 4 22:35:36
AEDT 2016 root at hathor:/110001/D/K8/hqdev-amd64-smp-vga amd64 1100506
1100506
The following make command triggers a few (obvious) CFLAG additions for
march,mtune, which result in the following undefines. Other jails on the same
platform that share /usr/ports build for i386 using openssl, complete
successfully and operate correctly.
make -C /usr/ports/net/ntp -DMAKE_JOBS_UNSAFE -DUSE_CORE2 package
...
bin/sh ./libtool --tag=CC --mode=link /usr/local/libexec/ccache/cc
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow
-Wstrict-prototypes -O2 -pipe -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -g0 -ggdb0
-DSTRIP_FBSDID -UNDEBUG -UDEBUGGING -UDEBUG -march=core2 -mtune=core2 -isystem
/usr/local/include -fno-strict-aliasing -Wl,-rpath,/usr/local/lib
-L/usr/local/lib -o sntp sntp.o version.o libsntp.a ./libopts/libopts.la
-L/usr/local/lib -pthread -levent_pthreads -levent_core ../libntp/libntp.a
-Wl,--gc-sections -lmd5 -lm -pthread -L/usr/local/lib -lcrypto
libtool: link: /usr/local/libexec/ccache/cc -ffunction-sections -fdata-sections
-Wall -Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow
-Winit-self -Wstrict-overflow -Wstrict-prototypes -O2 -pipe -DOPENSSL_NO_SSL2
-DOPENSSL_NO_SSL3 -g0 -ggdb0 -DSTRIP_FBSDID -UNDEBUG -UDEBUGGING -UEBUGGING
-UDEBUG -march=core2 -mtune=core2 -isystem /usr/local/include
-fno-strict-aliasing -Wl,-rpath -Wl,/usr/local/lib -o sntp sntp.o version.o
-pthread -Wl,--gc-sections -pthread -L/usr/local/lib libsntp.a
./libopts/.libs/libopts.a -levent_pthreads -levent_core ../libntp/libntp.a
-lmd5 -lm -lcrypto -pthread
libsntp.a(crypto.o): In function `make_mac':
crypto.c:(.text.make_mac+0x56): undefined reference to `EVP_MD_CTX_new'
crypto.c:(.text.make_mac+0xae): undefined reference to `EVP_MD_CTX_free'
../libntp/libntp.a(ssl_init.o): In function `keytype_from_text':
ssl_init.c:(.text.keytype_from_text+0x17c): undefined reference to
`EVP_MD_CTX_new'
ssl_init.c:(.text.keytype_from_text+0x1b4): undefined reference to
`EVP_MD_CTX_free'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list