Chromium (& derivatives) and Python 2.7

Ronald Klop ronald-lists at klop.ws
Tue Aug 4 14:32:19 UTC 2020


On Tue, 04 Aug 2020 16:20:01 +0200, Lars Liedtke <liedtke at punkt.de> wrote:

> At least in Ubuntu the mongodb 3.6 package does not depend on python2.
>
>> Package: mongodb-server-core
>> Version: 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5
>> Priority: optional
>> Section: universe/database
>> Source: mongodb
>> Origin: Ubuntu
>> Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
>> Original-Maintainer: Debian MongoDB Maintainers
> <pkg-mongodb-maintainers at lists.alioth.debian.org>
>> Bugs: https://bugs.launchpad.net/ubuntu/+filebug
>> Installed-Size: 77,8 MB
>> Depends: libboost-filesystem1.71.0, libboost-program-options1.71.0,
> libc6 (>= 2.29), libgcc-s1 (>= 3.4), libgoogle-perftools4, libpcrecpp0v5
> (>= 7.7), libsnappy1v5 (>= 1.1.8), libssl1.1 (>= 1.1.0), libstdc++6 (>=
> 9), libstemmer0d (>= 0+svn527), libyaml-cpp0.6 (>= 0.6.2), zlib1g (>=
> 1:1.2.0)
>> Breaks: mongodb-server (<< 1:3.4.14-3ubuntu1)
>> Replaces: mongodb-server (<< 1:3.4.14-3ubuntu1)
>> Homepage: https://www.mongodb.org
>> Download-Size: 21,6 MB
>> APT-Sources: http://de.archive.ubuntu.com/ubuntu focal/universe amd64
> Packages
> [...]
>
> I don't know about build dependencies


It's a build dependency.

Regards,
Ronald.


> Am 28.07.20 um 11:36 schrieb Ronald Klop:
>> 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 <adridg at freebsd.org>
>> Datum: maandag, 27 juli 2020 21:36
>> Aan: freebsd-ports at 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]
>>>
>>>
>>>
>>>
>> _______________________________________________
>> freebsd-ports at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list