Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jun 2020 21:06:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247646] security/nettle: build fails when security/openssl is built without RC4 Cipher
Message-ID:  <bug-247646-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 247646
           Summary: security/nettle: build fails when security/openssl is
                    built without RC4 Cipher
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fabian@wenks.ch
                CC: brnrd@freebsd.org, sunpoet@FreeBSD.org
                CC: brnrd@freebsd.org, sunpoet@FreeBSD.org

Running on FreeBSD 11.3-RELEASE-p10.

security/openssl (openssl-1.1.1g,1) is built without the "RC4 (unsafe)" in
"Block Cipher Support".

Build of nettle-3.6 fails with this errors (independent if DOCS and EXAMPLE=
 is
set or not):

cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -ggdb3 -Wall -W -Wno-sign-compare   -Wmissing-prototy=
pes
-Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith
-Wbad-function-cast -Wnested-externs -L.. -fstack-protector-strong=20
nettle-benchmark.o nettle-openssl.o ../getopt.o ../getopt1.o
../nettle-internal.o timing.o -lnettle -lgmp -L/usr/local/lib -lm -lcrypto =
-o
nettle-benchmark
nettle-openssl.o: In function `openssl_arcfour128_set_encrypt_key':
/usr/ports/security/nettle/work/nettle-3.6/examples/nettle-openssl.c:298:
undefined reference to `EVP_rc4'
nettle-openssl.o: In function `openssl_arcfour128_set_decrypt_key':
/usr/ports/security/nettle/work/nettle-3.6/examples/nettle-openssl.c:304:
undefined reference to `EVP_rc4'
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
'/usr/ports/security/nettle/work/nettle-3.6/examples'
gmake[2]: *** [Makefile:47: all] Error 2
gmake[2]: Leaving directory '/usr/ports/security/nettle/work/nettle-3.6'

When security/openssl is built with RC4 enabled in "Block Cipher Support", =
then
nettle can also be build.

--=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-247646-7788>