pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/54958: openssl-1.1.1d fails to make on Solaris 10
>Number: 54958
>Category: pkg
>Synopsis: openssl-1.1.1d fails to make on Solaris 10
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 13 01:50:01 +0000 2020
>Originator: Hiroshi Hakoyama
>Release: pkgsrc current
>Organization:
Nagano University
>Environment:
SunOS ec21 5.10 Generic_147147-26 sun4u sparc SUNW,Sun-Blade-1000
>Description:
${LDCMD:-gcc} -m32 -mcpu=ultrasparc -pthread -O3 -mcpu=ultrasparc3 -mtune=ultrasparc3 -D_FORTIFY_SOURCE=2 -I/usr/include -O3 -mcpu=ultrasparc3 -mtune=ultrasparc3 -L. -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib \
-o apps/openssl apps/asn1pars.o apps/ca.o apps/ciphers.o apps/cms.o apps/crl.o apps/crl2p7.o apps/dgst.o apps/dhparam.o apps/dsa.o apps/dsaparam.o apps/ec.o apps/ecparam.o apps/enc.o apps/engine.o apps/errstr.o apps/gendsa.o apps/genpkey.o apps/genrsa.o apps/nseq.o apps/ocsp.o apps/openssl.o apps/passwd.o apps/pkcs12.o apps/pkcs7.o apps/pkcs8.o apps/pkey.o apps/pkeyparam.o apps/pkeyutl.o apps/prime.o apps/rand.o apps/rehash.o apps/req.o apps/rsa.o apps/rsautl.o apps/s_client.o apps/s_server.o apps/s_time.o apps/sess_id.o apps/smime.o apps/speed.o apps/spkac.o apps/srp.o apps/storeutl.o apps/ts.o apps/verify.o apps/version.o apps/x509.o \
apps/libapps.a -lssl -lcrypto -lsocket -lnsl -ldl -pthread
ld: warning: relocation warning: R_SPARC_COPY: file ./libcrypto.so: symbol PBE2PARAM_it: relocation bound to a symbol with STV_PROTECTED visibility
ld: warning: relocation warning: R_SPARC_COPY: file ./libcrypto.so: symbol PBEPARAM_it: relocation bound to a symbol with STV_PROTECTED visibility
ld: warning: relocation warning: R_SPARC_COPY: file ./libcrypto.so: symbol PBKDF2PARAM_it: relocation bound to a symbol with STV_PROTECTED visibility
ld: warning: relocation warning: R_SPARC_COPY: file ./libcrypto.so: symbol SCRYPT_PARAMS_it: relocation bound to a symbol with STV_PROTECTED visibility
Undefined first referenced
symbol in file
clock_gettime ./libcrypto.so
ld: fatal: symbol referencing errors. No output written to apps/openssl
gmake[1]: *** [apps/openssl] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/security/openssl/work/openssl-1.1.1d'
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake[1]: stopped in /usr/pkgsrc/security/openssl
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/security/openssl
>How-To-Repeat:
# cd /usr/pkgsrc/security/openssl
# bmake
>Fix:
Workaround:
Discussion in https://github.com/openssl/openssl/issues/6333 was helpful.
# Edit makefile. Change pthread to pthreads. Add -lrt
cd /usr/pkgsrc/security/openssl
make configure
cd /work/openssl-1.1.1d
vi Makefile
# gdiff Makefile.orig Makefile
127c127
< CNF_CFLAGS=-m32 -mcpu=ultrasparc -pthread
---
> CNF_CFLAGS=-m32 -mcpu=ultrasparc -pthreads
130c130
< CNF_EX_LIBS=-lsocket -lnsl -ldl -pthread
---
> CNF_EX_LIBS=-lsocket -lnsl -ldl -pthreads -lrt
This might be an upstream issue, but not fixed yet.
Home |
Main Index |
Thread Index |
Old Index