NetBSD Problem Report #54958
From www@netbsd.org Thu Feb 13 01:47:38 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 3C5C11A9213
for <gnats-bugs@gnats.NetBSD.org>; Thu, 13 Feb 2020 01:47:38 +0000 (UTC)
Message-Id: <20200213014737.0C0851A9259@mollari.NetBSD.org>
Date: Thu, 13 Feb 2020 01:47:37 +0000 (UTC)
From: hiroshi-hakoyama@nagano.ac.jp
Reply-To: hiroshi-hakoyama@nagano.ac.jp
To: gnats-bugs@NetBSD.org
Subject: openssl-1.1.1d fails to make on Solaris 10
X-Send-Pr-Version: www-1.0
>Number: 54958
>Category: pkg
>Synopsis: openssl-1.1.1d fails to make on Solaris 10
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 13 01:50:01 +0000 2020
>Closed-Date: Fri Jul 26 18:54:27 +0000 2024
>Last-Modified: Fri Jul 26 18:54:27 +0000 2024
>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.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: rillig@NetBSD.org
Responsible-Changed-When: Sat, 15 Feb 2020 14:16:23 +0000
Responsible-Changed-Why:
It's a Solaris issue.
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54958 CVS commit: pkgsrc/security/openssl
Date: Tue, 13 Oct 2020 07:37:29 +0000
Module Name: pkgsrc
Committed By: maya
Date: Tue Oct 13 07:37:29 UTC 2020
Modified Files:
pkgsrc/security/openssl: Makefile
Log Message:
openssl: add -lrt for the benefit of Solaris 10.
PR pkg/55688
PR pkg/54958
To generate a diff of this commit:
cvs rdiff -u -r1.264 -r1.265 pkgsrc/security/openssl/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54958 CVS commit: [pkgsrc-2020Q3] pkgsrc/security/openssl
Date: Fri, 11 Dec 2020 08:50:56 +0000
Module Name: pkgsrc
Committed By: bsiegert
Date: Fri Dec 11 08:50:56 UTC 2020
Modified Files:
pkgsrc/security/openssl [pkgsrc-2020Q3]: Makefile PLIST distinfo
Removed Files:
pkgsrc/security/openssl/patches [pkgsrc-2020Q3]:
patch-Configurations_10-main.conf patch-crypto_rand_rand__unix.c
Log Message:
Pullup ticket #6384 - requested by wiz
security/openssl: security fix
Revisions pulled up:
- security/openssl/Makefile 1.264-1.266
- security/openssl/PLIST 1.7
- security/openssl/distinfo 1.146-1.147
- security/openssl/patches/patch-Configurations_10-main.conf deleted
- security/openssl/patches/patch-crypto_rand_rand__unix.c deleted
---
Module Name: pkgsrc
Committed By: wiz
Date: Wed Sep 30 09:25:31 UTC 2020
Modified Files:
pkgsrc/security/openssl: Makefile PLIST distinfo
Removed Files:
pkgsrc/security/openssl/patches: patch-crypto_rand_rand__unix.c
Log Message:
openssl: update to 1.1.1h.
Major changes between OpenSSL 1.1.1g and OpenSSL 1.1.1h [22 Sep 2020]
o Disallow explicit curve parameters in verifications chains when
X509_V_FLAG_X509_STRICT is used
o Enable 'MinProtocol' and 'MaxProtocol' to configure both TLS and DTLS
contexts
o Oracle Developer Studio will start reporting deprecation warnings
---
Module Name: pkgsrc
Committed By: maya
Date: Tue Oct 13 07:37:29 UTC 2020
Modified Files:
pkgsrc/security/openssl: Makefile
Log Message:
openssl: add -lrt for the benefit of Solaris 10.
PR pkg/55688
PR pkg/54958
---
Module Name: pkgsrc
Committed By: wiz
Date: Tue Dec 8 18:54:17 UTC 2020
Modified Files:
pkgsrc/security/openssl: Makefile distinfo
Removed Files:
pkgsrc/security/openssl/patches: patch-Configurations_10-main.conf
Log Message:
openssl: update to 1.1.1i.
Major changes between OpenSSL 1.1.1h and OpenSSL 1.1.1i [8 Dec 2020]
o Fixed NULL pointer deref in GENERAL_NAME_cmp (CVE-2020-1971)
To generate a diff of this commit:
cvs rdiff -u -r1.263 -r1.263.2.1 pkgsrc/security/openssl/Makefile
cvs rdiff -u -r1.6 -r1.6.2.1 pkgsrc/security/openssl/PLIST
cvs rdiff -u -r1.144.2.1 -r1.144.2.2 pkgsrc/security/openssl/distinfo
cvs rdiff -u -r1.1 -r0 \
pkgsrc/security/openssl/patches/patch-Configurations_10-main.conf \
pkgsrc/security/openssl/patches/patch-crypto_rand_rand__unix.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Fri, 26 Jul 2024 18:54:27 +0000
State-Changed-Why:
Changes were applied years ago, closing.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.