From owner-freebsd-ports@freebsd.org Thu May 20 23:19:46 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 4FAE364B129 for ; Thu, 20 May 2021 23:19:46 +0000 (UTC) (envelope-from simon.wright@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FmQgP0CBdz4QxP; Thu, 20 May 2021 23:19:44 +0000 (UTC) (envelope-from simon.wright@gmx.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1621552783; bh=XCn4MsKaUbDZaNCuj+pogT5AsqNvTXwaGcdEmJmV/9o=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject; b=b4UCvn0dolj+XN75I4Noquv04XCK9ZB2EfPFEyl502JJQHPpXKlYM0FE4HPd0/rGs 3l4dpqR1kTTLO42QLV9uxFliHj3oCtXcXeN7WNQTJD4M/I7jP0YMcQlT/h4UjKqjK2 GGMZ/rBswjMJvxwFzdS+8zhJbGQL8bPeHFaZpWTo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [127.0.0.1] ([180.190.169.194]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MBUqF-1lbqXh1kIZ-00D0RJ; Fri, 21 May 2021 01:19:42 +0200 Date: Fri, 21 May 2021 07:19:38 +0800 (GMT+08:00) From: Simon Wright To: Kubilay Kocak Cc: freebsd-ports@freebsd.org Message-ID: <0b60ae5a-5752-4cb3-8aec-bc01ed5ff6c1@gmx.net> 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: <0b60ae5a-5752-4cb3-8aec-bc01ed5ff6c1@gmx.net> X-Provags-ID: V03:K1:WKHJUR05/lTD9NZM9pSZwdKBTZ9XN33uAAg6CnVV5mYv+L3Ocfb I8XkinpSwj2WPY8ydwqVplOmn9DV1R4ryd98cBM7Pk75HBguzvZfcusZ3XdmSAnZ2IJr2qN yyPFy5h1pHpnmhgt/VdYLbPaZbkt6DIOz5kwIyv8iDiELYEKVcGn/C0/eIqkzw0kFrR9vHX pUwHD6NOONb16xJpFQRMA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:gnJMp+bMiJM=:c2GGZuUBeWKc55W2TX+yFi 5UfWZlZqrNZ03gvLN9ZvYW3IgN0idF236kPxF7zY1TYKWK0SdWagqMxiO7WhYXWxKYexex3H0 SshQgKbNGbhQY3tFt7sI+u/kRL784Il3UQ6Cdv+HS4Z0Xfkx5+ZvSMw7B5ICWY+uH/UWQp7re 5dXTgsVrGi0DtpUzJIwMT755RH2RLgGbJuzYdjteuF3kAFOnYC6e1D01QZWPpiBoxmD5nV3pc XgOwGENlc4gCEjpjCmrJVv6oGLTppVJAJrcPQoSK3yrMguAxPi5CDRdIS186PhqNh66+9jLki 6eVNgOpWbC+WkkvOmE3tdMnKiibay4j5AeGgAbctcNuZ19Cnz75vsNN22m++nRYOTTXex2efb 2l/zoMiJmDH5Ujq6aoRwKOjlK2vCiUidlxUF9tiTauTGUycbjqj8hfUHdfSewyZi9ty0XYM5z CGKgiXhfvgo4OBVXTIeBkNGQLbZbMUbgtzdy5DsSvLCJISf1OwOTpvpnw9oR421qBVzvWPFjn pAlHdc3fPZo431LbYo/WJSZOA6qMh+dqjHCKVz5JrvLV6dNqbZbyw+48ER/7ry7quJKX5NaGD 1PGKFmbtqMnRE5L+HdTbDvBGdEtpskULLQFJxx8Q2zDbAtI+a6x+cQzlpvXZ1VVMFdmuhPy2K UeWaJU2A0DG2LQI3fWrWb4LNW5pVY658GV47FjwCrCS8uYYgR+cGc92HeOwXm7e4lZEaiLYld VxfSWhD6vWvM39zpJjdzdX9q40knj6z4XytQ3FAoBda3vP3f4MhfeIQqVLQOecJvY22A2X7Hz bPDAxvbB4fnnE1xOIp2rMS8cCcXPpl4opgyKgNpo3aORHg5/1SEVEGV66w5tXMU66hvm5ahtw 5a1W4f3cce6cFcAVaS06CPmp76O1rOUCLlro0hssxkDgbK0aREdOqCrWmBEJzPYrWpT+WTy7z NMj16gk9imvxOpFQv7J4MBWet7PuS6l88HYZqjLEaYZ/VuKIiXzavDeRzpHcxQedkDCNvMNmk em256lr3EgXflRh/EFTBn7Atf/swSEBg3o2BbiH4H46KdYLNFRpvMGrJdAQnfAVxdagVSR3J6 rNbJH3CGWvisb7dQqr/BBzhY3I1O8r20BvakUIdYBkBAydra5Nybh+UmvqZn407FOfBg8UVjN UCKr1GSilrILpmlzV9Pn7f5+QW9kmBtZdJsaeC1BtVqPaPpAOTh5mZdQVXUct3iC7zo/Q= X-Rspamd-Queue-Id: 4FmQgP0CBdz4QxP X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=b4UCvn0d; dmarc=pass (policy=none) header.from=gmx.net; spf=pass (mx1.freebsd.org: domain of simon.wright@gmx.net designates 212.227.17.22 as permitted sender) smtp.mailfrom=simon.wright@gmx.net X-Spamd-Result: default: False [-3.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmx.net]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; DKIM_TRACE(0.00)[gmx.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmx.net,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.22:from]; FROM_EQ_ENVFROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.17.22:from]; FREEMAIL_ENVFROM(0.00)[gmx.net]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; FAKE_REPLY(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; RECEIVED_SPAMHAUS_PBL(0.00)[180.190.169.194:received]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmx.net:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[212.227.17.22:from:127.0.2.255]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.22:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; 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: Thu, 20 May 2021 23:19:46 -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"