From owner-freebsd-ports@freebsd.org Tue Jul 28 09:36:48 2020 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 EEB353A3A59 for ; Tue, 28 Jul 2020 09:36:48 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BGBQR6sKxz48Hc for ; Tue, 28 Jul 2020 09:36:47 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Date: Tue, 28 Jul 2020 11:36:43 +0200 (CEST) From: Ronald Klop To: freebsd-ports@freebsd.org Message-ID: <1615408980.22.1595929003688@localhost> In-Reply-To: <3075560.bT80LyP3VS@beastie.bionicmutton.org> References: <3075560.bT80LyP3VS@beastie.bionicmutton.org> Subject: Re: Chromium (& derivatives) and Python 2.7 MIME-Version: 1.0 X-Mailer: Realworks (518.390.93e44cadc5f) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4BGBQR6sKxz48Hc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 194.109.157.24 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-2.01 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.91)[-0.905]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[klop.ws]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.78)[-0.775]; NEURAL_HAM_SHORT(-0.53)[-0.525]; HAS_X_PRIO_THREE(0.00)[3]; RCVD_IN_DNSWL_NONE(0.00)[194.109.157.24:from]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; MID_RHS_NOT_FQDN(0.50)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[194.109.157.24:from] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2020 09:36:49 -0000 The same problem is going to happen with mongodb36 I presume. It uses python2 to build, but does not need it to run. Would it be possible to remove python2 as a RUN_DEPENDS at the end of 2020, but keep it as a BUILD_DEPENDS in the ports framework? This might save some usefull ports. How are other projects (like Debian, etc.) solving this? Regards, Ronald. Van: Adriaan de Groot Datum: maandag, 27 juli 2020 21:36 Aan: freebsd-ports@freebsd.org Onderwerp: Chromium (& derivatives) and Python 2.7 > > The Chromium build system -- and as a consequence, also QtWebEngine -- still > uses Python 2.7. This is going to be a real problem about six months down the > line, and I have no idea how upstream is going to deal with it. I've heard > there are patches buried deep within the chocolate factory, but not from > reliable sources. > > QtWebEngine is an even specialer case, since it's an LTS and also the last LTS > in the Qt5 series, and I have real doubts about upstream -- The Qt Company -- > being able or willing to deal with Python 2.7 deprecation there. > > Has anyone in FreeBSD tried to port the stuff over? I got about an hour or two > into the porting process (making configure accept Python 3 is easy, but > there's all these wretched code-generating scripts) and hit a brick wall of > templating engines doing sensible Python 2.7 things. > > [ade] > > > >