From owner-freebsd-ports-bugs@freebsd.org Sun Apr 7 21:58:34 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 426ED156CAB3 for ; Sun, 7 Apr 2019 21:58:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CFFD67486C for ; Sun, 7 Apr 2019 21:58:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8E8C9156CAB2; Sun, 7 Apr 2019 21:58:33 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A82C156CAB0 for ; Sun, 7 Apr 2019 21:58:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE23974868 for ; Sun, 7 Apr 2019 21:58:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 38B9F9562 for ; Sun, 7 Apr 2019 21:58:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x37LwWl5088870 for ; Sun, 7 Apr 2019 21:58:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x37LwWSH088868 for ports-bugs@FreeBSD.org; Sun, 7 Apr 2019 21:58:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 237086] irc/znc Build fails with:make[8]: stopped in /usr/ports/devel/py-enum34 Date: Sun, 07 Apr 2019 21:58:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: nightrecon@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Apr 2019 21:58:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237086 Bug ID: 237086 Summary: irc/znc Build fails with:make[8]: stopped in /usr/ports/devel/py-enum34 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: nightrecon@gmail.com CC: bofh@freebsd.org, dbaio@freebsd.org CC: bofh@freebsd.org, dbaio@freebsd.org Created attachment 203455 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203455&action= =3Dedit znc Makefile modification All work here was done in a 12-Release VM clean install: FreeBSD freebsd.test.zip 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC= =20 amd64 Make.conf only contains BATCH=3D yes, ports tree updated prior to each test run, and pkg info to trigger pkg install and verify it's there. Each t= est run was done using a VM snapshot of this base install. I also tried disabling the Python option, then both the Python and Docs option in the znc make config and this made no difference; the python dependencies are being pulled in by other depends. [...] =3D=3D=3D> Registering installation for py27-asn1crypto-0.22.0 as automat= ic Installing py27-asn1crypto-0.22.0... =3D=3D=3D> py27-cryptography-2.6.1 depends on package: py27-asn1crypto>= =3D0.21.0 - found =3D=3D=3D> Returning to build of py27-cryptography-2.6.1 =3D=3D=3D> py27-cryptography-2.6.1 depends on package: py27-cffi>=3D1.8 -= found =3D=3D=3D> py27-cryptography-2.6.1 depends on package: py27-enum34>0 - no= t found =3D=3D=3D> py27-enum34-1.1.6 needs Python 3.3 at most, but 3.6 was specifi= ed. *** Error code 1 Stop. make[8]: stopped in /usr/ports/devel/py-enum34 *** Error code 1 Stop. make[7]: stopped in /usr/ports/security/py-cryptography *** Error code 1 Initially traced to the security/py-cryptography port Makefile here: [...] ${PYTHON_PKGNAMEPREFIX}cffi>=3D1.8:devel/py-cffi@${PY_FLAVOR} \ ${PY_ENUM34} \ ${PY_IPADDRESS} \ [...] Tried replacing the above 2 lines with this: ${PYTHON_PKGNAMEPREFIX}enum34>=3D1.1.6:devel/py-enum34@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ipaddress>=3D1.0.22:net/py-ipaddress@${PY_FLAVOR} \ This makes no difference either way. So I looked at Mk/bsd.default-versions= .mk: [...] # Possible values: 2.7, 3.5, 3.6, 3.7 PYTHON_DEFAULT?=3D 2.7 # Possible values: 2.7 PYTHON2_DEFAULT?=3D 2.7 # Possible values: 3.5, 3.6, 3.7 PYTHON3_DEFAULT?=3D 3.6 [...] As well as Mk/Uses/python.mk and noticed there is no 3.3 in either.=20 Noticed this port in the web search shows a dependency for 2.7 and 3.7 and was confused as to why it would depend on 3.7 at all: py27-enum34-1.1.6 Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7 Same for the following with 2.7 and 3.6 (Was looking for where the 3.6 was coming from in the initial build failure). py27-ipaddress-1.0.22 Port of Python 3.3+ ipaddress module to 2.7 Checked upstream on both for newer release, but these are the current ones.= =20=20=20=20 So back to irc/znc and when I hardcoded: USES=3D compiler:c++11-lib cpe cmake:run iconv pathfix pkgconfig python:3= .5+ to USES=3D compiler:c++11-lib cpe cmake:run iconv pathfix pkgconfig python:2= .7 the problem was gone and znc would now build and install without error. Upo= n=20 further testing it became apparent all that was necessary was this modifica= tion to the irc/znc port Makefile: USES=3D compiler:c++11-lib cpe cmake:run iconv pathfix pkgconfig = python USE_PYTHON=3D flavors The aforementioned changes to the security/py-cryptography make no differen= ce either way. The included diff to the irc/znc Makefile is all that is needed. I am just a user and not a developer or programmer, so this should be exami= ned closely by devs who know the ports build system well (no ripple out to crea= te new problems somewhere else so to speak). I am aware of several other PRs currently being worked that could have interplay. This is my first attempt at a PR, so critique and advice on how I could do = it=20 better are welcome, and notes will be taken. Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.=