ab.c: In function ‘main’: ab.c:2518:5: warning: implicit declaration of function ‘SSL_CTX_set_max_proto_version’ [-Wimplicit-function-declaration] SSL_CTX_set_max_proto_version(ssl_ctx, max_prot); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ab.c:2519:5: warning: implicit declaration of function ‘SSL_CTX_set_min_proto_version’ [-Wimplicit-function-declaration] SSL_CTX_set_min_proto_version(ssl_ctx, min_prot); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Created attachment 477288 [details, diff] libressl.patch
Oops. Those are the warnings, not the error. ab.c: In function ‘main’: ab.c:2518:5: warning: implicit declaration of function ‘SSL_CTX_set_max_proto_version’ [-Wimplicit-function-declaration] SSL_CTX_set_max_proto_version(ssl_ctx, max_prot); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ab.c:2519:5: warning: implicit declaration of function ‘SSL_CTX_set_min_proto_version’ [-Wimplicit-function-declaration] SSL_CTX_set_min_proto_version(ssl_ctx, min_prot); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [...snip...] /var/tmp/portage/app-admin/apache-tools-2.4.26/temp/ccK81tY8.ltrans0.ltrans.o: In function `main': /var/tmp/portage/app-admin/apache-tools-2.4.26/work/httpd-2.4.26/support/ab.c:2518: undefined reference to `SSL_CTX_set_max_proto_version' /var/tmp/portage/app-admin/apache-tools-2.4.26/work/httpd-2.4.26/support/ab.c:2519: undefined reference to `SSL_CTX_set_min_proto_version' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:65: ab] Error 1 make[1]: *** Waiting for unfinished jobs....
confirmed at plasma-systemd_libressl_20170609-232249
Created attachment 477460 [details] emerge-info.txt
Created attachment 477462 [details] app-admin:apache-tools-2.4.26:20170620-181920.log
Created attachment 477464 [details] emerge-history.txt
Created attachment 477466 [details] environment
Created attachment 477468 [details] etc.portage.tbz2
Created attachment 477470 [details] logs.tbz2
Created attachment 477472 [details] temp.tbz2
Upstream bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=61184 Note that this is a larger problem with www-servers/apache-2.4.26 in general, not just apache-tools. Since both apache and apache-tools use the same source tarball, the patch for apache will also work for apache-tools. I recommend using the patch on the apache bug tracker instead of mine, and also apply it to =www-servers/apache-2.4.26.
This also happens with USE="-libressl -ssl" (on a libressl system), so it's sprouted an automagic dependency somewhere in this version.
This is not reproducable with 2.4.27 or 2.4.29.
(In reply to Aaron Bauman from comment #13) > This is not reproducable with 2.4.27 or 2.4.29. This is applicable to libressl 2.6.x and 2.7.x builds.
(In reply to Aaron Bauman from comment #14) > (In reply to Aaron Bauman from comment #13) > > This is not reproducable with 2.4.27 or 2.4.29. > > This is applicable to libressl 2.6.x and 2.7.x builds. So let's close this bug.