Created attachment 458706 [details] net-misc/ntp-4.2.8_p9:20170104-111946.log Initial openssl-1.1.0 patches are already in ntp-4.2.8p9, but it still fails when openssl is built with --api=1.1.0 (like we do). It is not fixed in upstream master either.[1] 0: http://bugs.ntp.org/show_bug.cgi?id=3095 1: http://bk1.ntp.org/ntp-stable/libntp/ssl_init.c?PAGE=history libtool: link: x86_64-pc-linux-gnu-gcc -ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow -Wno-strict-prototypes -O0 -g -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o sntp sntp.o version.o -pthread -Wl,--gc-sections -pthread libsntp.a ./libopts/.libs/libopts.a -levent_pthreads -levent_core ../libntp/libntp.a -lcap -lm -lssl -lcrypto -pthread ../libntp/libntp.a(ssl_init.o): In function `ssl_init': /var/tmp/portage/net-misc/ntp-4.2.8_p9/work/ntp-4.2.8p9/libntp/ssl_init.c:32: undefined reference to `ERR_load_crypto_strings' /var/tmp/portage/net-misc/ntp-4.2.8_p9/work/ntp-4.2.8p9/libntp/ssl_init.c:33: undefined reference to `OpenSSL_add_all_algorithms' ../libntp/libntp.a(ssl_init.o): In function `atexit_ssl_cleanup': /var/tmp/portage/net-misc/ntp-4.2.8_p9/work/ntp-4.2.8p9/libntp/ssl_init.c:47: undefined reference to `EVP_cleanup' /var/tmp/portage/net-misc/ntp-4.2.8_p9/work/ntp-4.2.8p9/libntp/ssl_init.c:48: undefined reference to `ERR_free_strings' collect2: error: ld returned 1 exit status make[4]: *** [Makefile:896: sntp] Error 1 make[4]: Leaving directory '/var/tmp/portage/net-misc/ntp-4.2.8_p9/work/ntp-4.2.8p9/sntp' make[3]: *** [Makefile:1057: all-recursive] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-misc/ntp-4.2.8_p9/work/ntp-4.2.8p9/sntp' make[2]: *** [Makefile:685: all] Error 2 make[2]: Leaving directory '/var/tmp/portage/net-misc/ntp-4.2.8_p9/work/ntp-4.2.8p9/sntp' make[1]: *** [Makefile:667: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/ntp-4.2.8_p9/work/ntp-4.2.8p9' make: *** [Makefile:599: all] Error 2 * ERROR: net-misc/ntp-4.2.8_p9::gentoo failed (compile phase): * emake failed
Created attachment 458774 [details, diff] 0001-Enhance-openssl-1.1.0-compatibility.patch I have submitted this patch upstream.[0] 0: http://bugs.ntp.org/show_bug.cgi?id=3363
Created attachment 458864 [details, diff] 0001-Enhance-openssl-1.1.0-compatibility.patch v2 Revised version of patch sent to upstream.
Fixed in >=net-misc/ntp-4.2.8_p10