Date: Tue, 21 May 2019 21:26:01 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 237952] mail/notmuch: port still has build dependency python27 (transitive, via devel/talloc) Message-ID: <bug-237952-21822-FsmZk8VJu1@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-237952-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-237952-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237952 --- Comment #10 from Timur I. Bakeyev <timur@FreeBSD.org> --- That was interesting reading, thanks :) So, you found most of the answers yourself, so let me summarize the current state of the Samba development and related ports. Samba 4.x up to 4.10 uses highly customized, but old version of WAF. That l= eads to : 1. Hard dependency, at least on a build time, on Python 2.7 exclusively. 2. Inability to use external generic WAF. There is no clean and easy way to use arbitrary Python version and/or exter= nal WAF to build those ports. On a popular demand from embedded systems users I've added "hidden" NO_PYTH= ON flag to the related ports that disables building related Python bindings, w= hich allow you to have packages(on the price of losing AD functionality) without Python 2.7 dependency. Still you'll need it for the build stage. But you fo= und that out yourself. It's also possible to get Python3 bindings in ADDITION to Python2 ones, but that would contaminate your system with the Python 2.7. There is no clean way out of this legacy until Samba 4.10+, which is coming. But that be a complicated process AFAIK, as we'd need to get parallel versi= ons of talloc/tevent/tdb/ldb ports with Python3 only dependency until Samba .49 will be phased out. As for your problem with talloc in particular, there is a new talloc 2.2.1 release, which uses new Python3 dependent WAF(no, it's not compatible with Python2, at least officially). I have it in my tree and the only problem is how to name the port to keep, = at least for this year, parallel versions of the "old" and "new" ports. Advice is welcome how to implement it gracefully. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237952-21822-FsmZk8VJu1>