From owner-freebsd-ports@freebsd.org Fri May 21 14:31:57 2021 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 37AB5634205 for ; Fri, 21 May 2021 14:31:57 +0000 (UTC) (envelope-from dan@langille.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fmpvw0pqPz3ngC for ; Fri, 21 May 2021 14:31:55 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C4D885C00BE for ; Fri, 21 May 2021 10:31:55 -0400 (EDT) Received: from imap36 ([10.202.2.86]) by compute6.internal (MEProxy); Fri, 21 May 2021 10:31:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type:content-transfer-encoding; s=fm1; bh=WtcJA VqLLz8nnw22dPPPKRBfidjpoWZvP6ZaoUSDeg8=; b=djrSDYsZLVkZRHM8L6ya4 Ar8XF0LcvWfUqb8EngWQzed/2SgveZnt6J9cnr2UeFjsALw7b4hOUUkgOvoRVvih keGkyNPPOmOlyzHEGhcaUpFQChZ1A3rqooloWFTB+KKIPQx4QCYT0aKu+KYXTPZU o9LK3Ipsrg+GddjHYaCfYLBCzBx6SXaz71RejizVdiyJ7gnDxh73IvitX6Fd1lwh /gkGAc7DI73kAD3RIOkBDYMtW841K8hfKdo0CGch50qWW6zkC1/2+CJ9jAVG617E 40YKEnOmv4sjVDajNo2RzSWy+yWfrK/N3qwm2EWseAdtXq3pvP7Vhy5wTlUzzVXZ A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=WtcJAVqLLz8nnw22dPPPKRBfidjpoWZvP6ZaoUSDe g8=; b=mNenNDATTvQQx3yBzL8YWANEWqlACiwoUT0siYQxihSBlG93bP/iHRAzC 4aUsB7zwvw1nxHAvCPvXG1WSmaSZ26j9cgm2Znee2KO+ArP0WwAGvST9YhqORVfG jduo4HMrt+Y/Ac02YeYEU+ypr3J1dZ1NWlAh8AvsFxRY/pSnuboHuWJbyLhyVze2 SjUKCPoqiMSdkyukVPJp445Ri5QeWLiO/y8X4bmc/4SmslY9H/irxtYdjG17m2kl VgazmVd+eUni63bal5soDe8SPAWialECtCz01wuf+Wzz+OP3OD0LngZm7Lkw6v3V fifxnUProyL8phOhw74GuDV/JS19g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdejfedgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtgfesth hqredtreerjeenucfhrhhomhepfdffrghnucfnrghnghhilhhlvgdfuceouggrnheslhgr nhhgihhllhgvrdhorhhgqeenucggtffrrghtthgvrhhnpedtieevkeekffeulefhfeehhf eigeevleeiteefuedthfeludffhedukeelfefhleenucffohhmrghinhepuhhnihigrght hhhomhgvrdhorhhgpdhfrhgvvggsshgurdhorhhgpdhsrghnthhoshdqfihrihhghhhtrd hnvghtnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhep uggrnheslhgrnhhgihhllhgvrdhorhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7E48910E008C; Fri, 21 May 2021 10:31:55 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-448-gae190416c7-fm-20210505.004-gae190416 Mime-Version: 1.0 Message-Id: <5038436c-d29e-4a1d-ad83-22545229c56d@www.fastmail.com> In-Reply-To: <807f12d5-e4ea-4cfb-958a-cd7d6a10bbff@www.fastmail.com> References: <0c8fc81e-e45b-2d9b-8005-ef5c504aa275@gmx.net> <448a5d09-ec17-43b8-17ba-6536e4f70cfd@FreeBSD.org> <27430757-7722-016c-9aab-0ffe5a035366@gmx.net> <756eb112-2db9-5c29-45f3-4b84955d9953@FreeBSD.org> <610fa374-37ad-4e3c-91c5-d42abf2eaccf@wright.net.ph> <807f12d5-e4ea-4cfb-958a-cd7d6a10bbff@www.fastmail.com> Date: Fri, 21 May 2021 10:31:35 -0400 From: "Dan Langille" To: freebsd-ports Subject: Re: Problem building py-cryptography Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Fmpvw0pqPz3ngC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm1 header.b=djrSDYsZ; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=mNenNDAT; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-3.09 / 15.00]; XM_UA_NO_VERSION(0.01)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29:c]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm1,messagingengine.com:s=fm2]; FREEFALL_USER(0.00)[dan]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RWL_MAILSPIKE_VERYGOOD(0.00)[66.111.4.29:from]; MID_RHS_WWW(0.50)[]; MAILMAN_DEST(0.00)[freebsd-ports] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2021 14:31:57 -0000 On Fri, May 21, 2021, at 10:29 AM, Dan Langille wrote: > On Thu, May 20, 2021, at 7:18 PM, Simon Wright wrote: > > Thanks Kubs, I'm travelling at the moment and will check further whe= n I'm=20 > > back home. The original build log was with libressl and ccache. I'll= =20 > > repeat without both and attach a new build log. >=20 > FYI, I have build failures here today, based on FreeBSD 11.4. Builds=20= > fine on 12.2 though. >=20 > https://services.unixathome.org/poudriere/data/114R-dvl/2021-05-21_13h= 56m56s/logs/errors/py38-cryptography-2.9.2.log >=20 > =3D=3D=3D> FAILED Applying FreeBSD patch-Fix-build-with-LibreSSL-3.3.= 2-5988 > =3D=3D=3D> FAILED to apply cleanly FreeBSD patch(es) =20 > patch-Fix-build-with-LibreSSL-3.3.2-5988 >=20 > For me, on 11.4, fixed with: >=20 > rm py-cryptography/files/patch-Fix-build-with-LibreSSL-3.3.2-5988 >=20 > With that file removed, 12.2 does not build. Correction. It builds on 12.2. I was wrong, sorry. >=20 >=20 > hope this helps. >=20 > >=20 > > Apologies for the top post. > >=20 > > Regards, > >=20 > > Simon. > >=20 > > 20 May 2021 13:50:54 Kubilay Kocak : > >=20 > > > On 20/05/2021 2:17 pm, Simon Wright wrote: > > >> On 20/05/2021 12:00 pm, Kubilay Kocak wrote: > > >>> On 20/05/2021 1:21 pm, Simon Wright wrote: > > >>>> Hi all, > > >>>> > > >>>> I've been unable to build security/py-cryptography for about 10= days > > >>>> now. The build in Poudriere under 12.2 and 13.0 fail with a > > >>>> "Bad_C++_code" error. > > >>>> > > >>>> I tried removing the libressl dependency but that made no=20 > > >>>> difference. Is > > >>>> anyone else seeing this and can anyone point me in the right=20= > > >>>> direction > > >>>> to get this fixed please? > > >>>> > > >>>> Below is my make.conf, list of poudriere-built ports and the fu= ll > > >>>> poudriere log for py-cryptography > > >>>> > > >>> > > >>> Hi Simon, > > >>> > > >>> Is the issue reproducible without ccache? > > >>> > > >>> Also, make.conf still shows: > > >>> > > >>> DEFAULT_VERSIONS+=3Dssl=3Dlibressl > > >>> > > >> Thanks Kubs. When I tested I removed libressl, tried the build ag= ain=20 > > >> and > > >> it failed so I replaced libressl after the test. > > >> Removing ccache (and with libressl) made no difference - still th= e=20 > > >> same > > >> error. I then removed the libressl dependency and I reran the bui= ld -=20 > > >> no > > >> ccache and no libressl - the build still failed, same error messa= ge. > > >> Since no-one else has reported this I suppose it should be someth= ing=20 > > >> in > > >> my environment . . . . But what? :) > > > > > > While the build error *with libressl* is known, matching that repo= rted=20 > > > in: > > > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255241 > > > > > > Failing to build without libressl is unexpected. > > > > > > Jump into the poudriere jail to confirm (or not) its libressl that= 's=20 > > > being installed and used.=C2=A0 Could be: > > > > > > =C2=A0 - Custom WRKDIRPREFIX? > > > =C2=A0 - An overriding jail or set (-z) specific poudriere foo-mak= e.conf? > > > > > > Note, the OP build log contains: > > > > > > [pkg.home.santos-wright.net] |=C2=A0=C2=A0 |=C2=A0=C2=A0 `-- Insta= lling libressl-3.3.3... > > > [pkg.home.santos-wright.net] |=C2=A0=C2=A0 |=C2=A0=C2=A0 `-- Extra= cting libressl-3.3.3: > > > > > > With defaults, base openssl will be used, and you wont see libress= l as=20 > > > a dependency in the build. > > > > > > [1] build/temp.freebsd-13.0-RELEASE-amd64-3.8/_openssl.c:2172:19:=20= > > > error: > > > expected identifier or '(' > > > static const long SSL_OP_NO_DTLSv1 =3D 0; > > > > > >> Regards, > > >> Simon. > > >> > > >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > >>>> > > >>>> make.conf > > >>>> > > >>>> WRKDIRPREFIX=3D/usr/tmp > > >>>> OPTIONS_SET=3DGECKO CUPS > > >>>> NOI4B=3D1 > > >>>> OPTIONS_SET+=3DNO-X11 > > >>>> CUPS_OVERWRITE_BASE=3DYES > > >>>> WITH_VIM_OPTIONS=3Dyes > > >>>> DEFAULT_VERSIONS+=3Dssl=3Dlibressl bdb=3D5 > > >>>> VALID_CATEGORIES+=3Dlocal > > >>>> SVN=3Dsvnlite > > >>>> > > >>>> > > >>>> Poudriere ports list: > > >>>> > > >>>> devel/git@lite > > >>>> dns/bind916 > > >>>> emulators/open-vm-tools@nox11 > > >>>> ftp/curl > > >>>> graphics/cairo > > >>>> local/vmserver-baseline > > >>>> mail/postfix > > >>>> print/hplip > > >>>> sysutils/facter > > >>>> sysutils/puppet6 > > >>>> sysutils/rsyslog8 > > >>>> sysutils/rubygem-puppetserver-ca > > >>>> www/apt-cacher-ng > > >>>> www/mod_log_sql > > >>>> > > >>>> > > > _______________________________________________ > > > freebsd-ports@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > > To unsubscribe, send any mail to=20 > > > "freebsd-ports-unsubscribe@freebsd.org" > > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.= org" > >=20 >=20 >=20 > --=20 > Dan Langille > dan@langille.org > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.or= g" >=20 --=20 Dan Langille dan@langille.org