From owner-freebsd-ports@freebsd.org Fri Feb 28 15:24:10 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AFC36265085 for ; Fri, 28 Feb 2020 15:24:10 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48TYGy0J3vz4QV1 for ; Fri, 28 Feb 2020 15:24:10 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: by mailman.nyi.freebsd.org (Postfix) id A2B88265084; Fri, 28 Feb 2020 15:24:09 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A2033265083 for ; Fri, 28 Feb 2020 15:24:09 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48TYGw08wVz4QQ4 for ; Fri, 28 Feb 2020 15:24:07 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 01SFOFQl005862 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 28 Feb 2020 07:24:21 -0800 (PST) (envelope-from portmaster@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 Cc: "ports@freebsd.org" In-Reply-To: <87a893b1-d898-fe34-5d1f-203713a0be18@digiware.nl> From: Chris Reply-To: portmaster@BSDforge.com To: Willem Jan Withagen Subject: Re: About protocols in openssl Date: Fri, 28 Feb 2020 07:24:21 -0800 Message-Id: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48TYGw08wVz4QQ4 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of portmaster@BSDforge.com has no SPF policy when checking 24.113.41.81) smtp.mailfrom=portmaster@BSDforge.com X-Spamd-Result: default: False [-1.11 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; HAS_REPLYTO(0.00)[portmaster@BSDforge.com]; IP_SCORE(-0.30)[ip: (-0.56), ipnet: 24.113.0.0/16(-0.28), asn: 11404(-0.62), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[BSDforge.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.72)[-0.721,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2020 15:24:10 -0000 On Fri, 28 Feb 2020 09:59:21 +0100 Willem Jan Withagen wjw@digiware=2Enl said > On 28-2-2020 01:32, Marcin Cieslak wrote: > > On Thu, 27 Feb 2020, Willem Jan Withagen wrote: > > > >> > > /home/jenkins/workspace/ceph-master/src/pybind/mgr/=2Etox/py3/lib/python3= =2E7/site-packages/cryptography/hazmat/bindings/_openssl=2Eabi3=2Eso: > >=20 > >> Undefined symbol "SSLv3_client_method" > > > > This looks to me that you are trying to build ceph in the virtualenv=20 > > which probably > > pulls required python packages on its own=2E > > > > Can you make it to depend and use the existing=20 > > security/py-cryptography port? > > > > I don't know how exactly the ceph port is supposed to work but it=20 > > seems to > > require virtualenv for its inner workings=2E You might want to force > > virtual env to use FreeBSD-provided libraries with --system-site-packag= es > > but AFAIK it will no longer download anything, i=2Ee=2E all dependencies > > need to packaged=2E > > > Interesting, since virtualenv/tox is used during testing with Continuous= =20 > Integration=2E > And there is where I need the stuff, the port/package comes without the= =20 > testing stuff=2E > People that want to develop stuff for Ceph really should use what is in= =20 > the Git repo=2E >=20 > > I have just ran "make test" in my ports tree to test py-cryptography > > and got 1 error (TestECDSACertificate=2Etest_load_ecdsa_no_named_curve) > > but nothing related to SSLv3_client_method being not there=2E > I guess that is because the ports one does not require SSLv3, and is not= =20 > complaining about missing it=2E > Like you said, very likely virtualenv has pulled its own stuff, and that= =20 > will require SSLv3 > Which is no longer available by default=C2=A0 in openSSL in ports=2E >=20 > I'll try and see if I can get away with --system-site-packages, and=20 > loading tons op packages=2E I feel your pain=2E I was working on a port I maintain 2 days ago, where configure *insisted* that SSL wasn't available=2E It was driving me mad=2E As all the while I assumed that it was the way I had crafted the Makefile, or that the ports system had recently changed something=2E As a result I acquired a far more intimate knowledge regarding how SSL is used in ports(7= )=2E Worst of it was; in the end, it turned out to be that configure was searching for a symbol in the openssl library I was using, that had been removed (renamed) between 1=2E1=2E1 && 1=2E1=2E1d=2E Sorry for the long preface=2E But I mention it all because in doing it I'm pretty sure I know how you can get away with what you're after (using the last version that allowed what you need)=2E I need to get in front of my builder box, and grab the logs=2E So I can give you the magic incantation for your Makefile=2E I'll probably get a lot of grief for saying all this=2E So I'll share those details off list=2E So as not to give instructions on how to subvert the ports system=2E ;) HTH --Chris FreeBSD 14=2E0-FUTURE #0=2E000 cray256 >=20 > --WjW > _______________________________________________ > freebsd-ports@freebsd=2Eorg mailing list > https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd=2Eorg"