Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Dec 2016 10:16:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215093] net/ntp fails to build on FreeBSD11.0Stable and libressl
Message-ID:  <bug-215093-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
             Flags: maintainer-feedback?(cy@FreeBSD.org)
          Assignee: cy@FreeBSD.org

Unfortunately there is not a lot to add.  FreeBSD 11.0S=20
#uname -aKU
FreeBSD b2.hs 11.0-STABLE FreeBSD 11.0-STABLE #0 r309522M: Sun Dec  4 22:35=
:36
AEDT 2016    root@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 s=
ame
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=3DCC    --mode=3Dlink /usr/local/libexec/ccache/cc
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow=
=20=20
-Wstrict-prototypes -O2 -pipe -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -g0 -ggdb0
-DSTRIP_FBSDID -UNDEBUG -UDEBUGGING -UDEBUG -march=3Dcore2 -mtune=3Dcore2  =
-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-sect=
ions
-Wall -Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow
-Winit-self -Wstrict-overflow -Wstrict-prototypes -O2 -pipe -DOPENSSL_NO_SS=
L2
-DOPENSSL_NO_SSL3 -g0 -ggdb0 -DSTRIP_FBSDID -UNDEBUG -UDEBUGGING -UEBUGGING
-UDEBUG -march=3Dcore2 -mtune=3Dcore2 -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

--=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-215093-13>