[Bug 262114] security/nettle boringssl installation problem when installing www/envoy/

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Feb 2022 02:09:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262114

            Bug ID: 262114
           Summary: security/nettle boringssl installation problem when
                    installing www/envoy/
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: ulassayginim@gmail.com
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

In order to install envoy proxy
I need to install nettle,but it gives error because of openssl compability
issue.
envoy needs boringssl and nettle are not designed to work with boringssl as
base ssl.


-o hogweed-benchmark
ld: error: undefined symbol: RSA_blinding_off
>>> referenced by hogweed-benchmark.c:730
>>>               hogweed-benchmark.o:(bench_openssl_rsa_init)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
ld: error: undefined symbol: EVP_bf_ecb
>>> referenced by nettle-openssl.c:305
>>>               nettle-openssl.o:(openssl_bf128_set_encrypt_key)
>>> referenced by nettle-openssl.c:311
>>>               nettle-openssl.o:(openssl_bf128_set_decrypt_key)

ld: error: undefined symbol: EVP_cast5_ecb
>>> referenced by nettle-openssl.c:349
>>>               nettle-openssl.o:(openssl_cast128_set_encrypt_key)
>>> referenced by nettle-openssl.c:355
>>>               nettle-openssl.o:(openssl_cast128_set_decrypt_key)
gmake[3]: *** [Makefile:109: hogweed-benchmark] Error 1
gmake[3]: *** Waiting for unfinished jobs....
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:100: nettle-benchmark] Error 1
gmake[3]: Leaving directory
'/skeleton/portsbuild/skeleton/usr/ports/security/nettle/work/nettle-3.7.3/examples'
gmake[2]: *** [Makefile:49: all] Error 2
gmake[2]: Leaving directory
'/skeleton/portsbuild/skeleton/usr/ports/security/nettle/work/nettle-3.7.3'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /skeleton/usr/ports/security/nettle
*** Error code 1

Stop.
make: stopped in /skeleton/usr/ports/security/nettle

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