From owner-freebsd-ports@freebsd.org Thu May 20 23:19:02 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 285D164B229 for ; Thu, 20 May 2021 23:19:02 +0000 (UTC) (envelope-from simon@wright.net.ph) Received: from dormouse.elm.relay.mailchannels.net (dormouse.elm.relay.mailchannels.net [23.83.212.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FmQfX2GvFz3vv5; Thu, 20 May 2021 23:18:59 +0000 (UTC) (envelope-from simon@wright.net.ph) X-Sender-Id: iconceptglobal|x-authuser|simon@wright.net.ph Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 502BB5A6C2C; Thu, 20 May 2021 23:18:57 +0000 (UTC) Received: from sapphire.zoom.ph (100-105-161-139.trex.outbound.svc.cluster.local [100.105.161.139]) (Authenticated sender: iconceptglobal) by relay.mailchannels.net (Postfix) with ESMTPA id 900055A6B39; Thu, 20 May 2021 23:18:55 +0000 (UTC) X-Sender-Id: iconceptglobal|x-authuser|simon@wright.net.ph Received: from sapphire.zoom.ph (sapphire.zoom.ph [23.111.143.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.105.161.139 (trex/6.2.1); Thu, 20 May 2021 23:18:56 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: iconceptglobal|x-authuser|simon@wright.net.ph X-MailChannels-Auth-Id: iconceptglobal X-Decisive-Supply: 4e6e4bc75b7646a0_1621552736424_1134348108 X-MC-Loop-Signature: 1621552736423:3650519751 X-MC-Ingress-Time: 1621552736423 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=wright.net.ph; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Subject:References:In-Reply-To:Message-ID:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=XCn4MsKaUbDZaNCuj+pogT5AsqNvTXwaGcdEmJmV/9o=; b=CSELygQ/u+uL/+hST6GRtKmEEX AHRjWsVW/6iN/OnEyddMboyCQaWyPLQb2r4okX6UV4RTzm9Eff+yPiB7GFmfenjVrQfe8ay0ZVvo8 0ynVJn3srFvwX5q3slmx5UjHdjNoi6FgVSa13ynmaEs9Hu0qi44ZdrB26q/xnHBNSS/HnmFtKnNH5 TgwDEOGSGFQIuP3xXhk9J1dbQSDr11oOumWIIzdWlQD+D35WShRKG0KdpKqLRL+MUdMOMALrs/PPa 3MiRDpmpiGAwLcxItZejMopkd4eSOwLaS2xrdpaCdMCnqypxlrKTM6S1xq7HAnZvBE7XG7rTLoOQ6 RmCL69sg==; Received: from [180.190.169.194] (port=13380 helo=dummy.faircode.eu) by sapphire.zoom.ph with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1ljrwQ-007O4m-Tv; Fri, 21 May 2021 07:18:54 +0800 Date: Fri, 21 May 2021 07:18:40 +0800 (GMT+08:00) From: Simon Wright To: Kubilay Kocak Cc: freebsd-ports@freebsd.org Message-ID: <610fa374-37ad-4e3c-91c5-d42abf2eaccf@wright.net.ph> In-Reply-To: <756eb112-2db9-5c29-45f3-4b84955d9953@FreeBSD.org> 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> Subject: Re: Problem building py-cryptography MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Correlation-ID: <610fa374-37ad-4e3c-91c5-d42abf2eaccf@wright.net.ph> X-AuthUser: simon@wright.net.ph X-Rspamd-Queue-Id: 4FmQfX2GvFz3vv5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=wright.net.ph header.s=default header.b=CSELygQ/; dmarc=none; spf=pass (mx1.freebsd.org: domain of simon@wright.net.ph designates 23.83.212.50 as permitted sender) smtp.mailfrom=simon@wright.net.ph X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:23.83.208.0/20]; RWL_MAILSPIKE_GOOD(0.00)[23.83.212.50:from]; DKIM_TRACE(0.00)[wright.net.ph:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[23.83.212.50:from]; ASN(0.00)[asn:36483, ipnet:23.83.208.0/21, country:CA]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[180.190.169.194:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[5]; FREEFALL_USER(0.00)[simon]; FROM_HAS_DN(0.00)[]; R_DKIM_ALLOW(-0.20)[wright.net.ph:s=default]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[wright.net.ph]; SPAMHAUS_ZRD(0.00)[23.83.212.50:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[23.83.212.50:from]; MAILMAN_DEST(0.00)[freebsd-ports] X-Mailman-Approved-At: Fri, 21 May 2021 05:26:03 +0000 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: Thu, 20 May 2021 23:19:02 -0000 Thanks Kubs, I'm travelling at the moment and will check further when 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. Apologies for the top post. Regards, Simon. 20 May 2021 13:50:54 Kubilay Kocak : > 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 full >>>> 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 again=20 >> and >> it failed so I replaced libressl after the test. >> Removing ccache (and with libressl) made no difference - still the=20 >> same >> error. I then removed the libressl dependency and I reran the build -=20 >> no >> ccache and no libressl - the build still failed, same error message. >> Since no-one else has reported this I suppose it should be something=20 >> in >> my environment . . . . But what? :) > > While the build error *with libressl* is known, matching that reported=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-make.conf? > > Note, the OP build log contains: > > [pkg.home.santos-wright.net] |=C2=A0=C2=A0 |=C2=A0=C2=A0 `-- Installing l= ibressl-3.3.3... > [pkg.home.santos-wright.net] |=C2=A0=C2=A0 |=C2=A0=C2=A0 `-- Extracting l= ibressl-3.3.3: > > With defaults, base openssl will be used, and you wont see libressl 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"