From owner-freebsd-python@freebsd.org Tue May 21 01:40:09 2019 Return-Path: Delivered-To: freebsd-python@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 93005159A07E for ; Tue, 21 May 2019 01:40:09 +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 240196DE7C for ; Tue, 21 May 2019 01:40:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D8B79159A07C; Tue, 21 May 2019 01:40:08 +0000 (UTC) Delivered-To: python@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 B3CDA159A079 for ; Tue, 21 May 2019 01:40:08 +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 4CBC76DE76 for ; Tue, 21 May 2019 01:40:08 +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 6AEF298AA for ; Tue, 21 May 2019 01:40:07 +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 x4L1e71T052658 for ; Tue, 21 May 2019 01:40:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4L1e7i3052655 for python@FreeBSD.org; Tue, 21 May 2019 01:40:07 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: python@FreeBSD.org Subject: [Bug 237952] mail/notmuch: port still has build dependency python27 (transitive, via devel/talloc) Date: Tue, 21 May 2019 01:40:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: koobs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: koobs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc assigned_to resolution keywords see_also bug_status flagtypes.name Message-ID: In-Reply-To: References: 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-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2019 01:40:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237952 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|mail/notmuch: port still |mail/notmuch: port still |has build dependency |has build dependency |python27 |python27 (transitive, via | |devel/talloc) Assignee|ports-bugs@FreeBSD.org |koobs@FreeBSD.org Resolution|--- |FIXED Keywords|needs-qa | See Also| |https://bugzilla.samba.org/ | |show_bug.cgi?id=3D13504 Status|Open |Closed Flags| |maintainer-feedback?(timur@ | |FreeBSD.org) --- Comment #5 from Kubilay Kocak --- Fixing the exception syntax throughout the bundled waf results in further errors: os.chmod: File "./buildtools/wafsamba/wafsamba.py", line 801 os.chmod(installed_location, 0755) ^ SyntaxError: invalid token and after fixing that: NameError: name 'xrange' is not defined (function removed from Python 3) I stopped my 'quick fix investigation' at this point. Suffice it to say: 1) devel/talloc uses :2.7 because the bundled waf bundled is (very) old, pre-Python 3 support, and only supports 2.x. The options from here are, in no specific order: a) Port/fix the bundled waf script to work with python 3.x b) Ask/get talloc upstream to upgrade their bundled waf version This may already be occurring:=20 https://bugzilla.samba.org/show_bug.cgi?id=3D13504 c) In the meantime, get devel/talloc port to expose a PYTHON option that is disabled by default (might impact other samba ports?). This may be an incomplete solution, and still has a *build* dependency on Python 2.7, but removes the *runtime* requirement for it. d) Investigate/Get notmuch to not use talloc. I don't know if its compulsor= y, or an optional/swappable backend IMO,=20 (a) is too much (and duplicate) work, and has a high QA and maintenance overhead. (b) is worth adding your support to. (c) is worth exploring with samba port maintainer (not as a bug), as a back= up for, and in the meantime to (b) (d) is worth investigating Once we have the answers to (c) and (d), we can consider resolution for this issue. If they bear no fruit, this will likely need to be closed "Not A Bug= ", "Works As Intended" or "Not Accepted" as necessary Either way I'm happy to be the coordindator on resolution for this --=20 You are receiving this mail because: You are on the CC list for the bug.=