[Bug 276891] databases/redis failed to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 08 Feb 2024 11:40:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276891

            Bug ID: 276891
           Summary: databases/redis failed to build
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yasu@freebsd.org
          Reporter: jekyll530@hotmail.com
          Assignee: yasu@freebsd.org
             Flags: maintainer-feedback?(yasu@freebsd.org)

Created attachment 248254
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248254&action=edit
databases/redis build log

The environment is FreeBSD 13.2-RELEASE-p9 with security/openssl installed.


cc  -lpthread -lm -lexecinfo -Wl,-rpath,/usr/local/lib -fstack-protector-strong
 -pthread  -o redis-server adlist.o quicklist.o ae.o anet.o dict.o server.o
sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o
networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o
t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o
intset.o syncio.o cluster.o crc16.o endianconv.o slowlog.o eval.o bio.o rio.o
rand.o memtest.o syscheck.o crcspeed.o crc64.o bitops.o sentinel.o notify.o
setproctitle.o blocked.o hyperloglog.o latency.o sparkline.o redis-check-rdb.o
redis-check-aof.o geo.o lazyfree.o module.o evict.o expire.o geohash.o
geohash_helper.o childinfo.o defrag.o siphash.o rax.o t_stream.o listpack.o
localtime.o lolwut.o lolwut5.o lolwut6.o acl.o tracking.o socket.o tls.o
sha256.o timeout.o setcpuaffinity.o monotonic.o mt19937-64.o resp_parser.o
call_reply.o script_lua.o script.o functions.o function_lua.o commands.o strl.o
connection.o unix.o logreqres.o ../deps/hiredis/libhiredis.a
../deps/lua/src/liblua.a ../deps/hdr_histogram/libhdrhistogram.a
../deps/fpconv/libfpconv.a -lm ../deps/hiredis/libhiredis_ssl.a
-L/usr/local/lib -lssl -L/usr/local/lib -lcrypto
ld: error: undefined symbol: SSL_get_peer_certificate
>>> referenced by tls.c
>>>               tls.o:(connTLSGetPeerCert)
>>> did you mean: SSL_get0_peer_certificate
>>> defined in: /usr/local/lib/libssl.so
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:408: redis-server] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory '/usr/ports/databases/redis/work/redis-7.2.4/src'
gmake[2]: *** [Makefile:6: all] Error 2
gmake[2]: Leaving directory '/usr/ports/databases/redis/work/redis-7.2.4'
===> 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 /usr/ports/databases/redis
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/redis
root@FreeBSD[/usr/ports/databases/redis]#

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