Date: Sat, 30 May 2015 17:16:44 -0700 From: "Chris H" <bsd-lists@bsdforge.com> To: "FreeBSD ports" <freebsd-ports@FreeBSD.org> Subject: How to remove Python3 and dependent ports? Message-ID: <5128a12c70cb4dbd09abbec37d951156@ultimatedns.net>
next in thread | raw e-mail | index | archive | help
Well, after a 5 day build session, due to a low resource i386 box. I discovered that I get to start the process all over, after performing a fresh install. Problem is that Python3 was introduced before Python2 was EOL'd, and removed from the [ports] tree. Pity Python couldn't be bothered to find a way to work with both versions. To the point; I received the following FATAL error, after an extremely long build session on a meta-port x11/cinnamon: ===> python3-2_3 depends on file: /usr/local/bin/python2.7 - found ===> Generating temporary packing list /bin/ln -sf python2.7 /usr/ports/lang/python3/work/stage/usr/local/bin/python2 /bin/ln -sf 2to3-2.7 /usr/ports/lang/python3/work/stage/usr/local/bin/2to3-2 /bin/ln -sf idle2.7 /usr/ports/lang/python3/work/stage/usr/local/bin/idle2 /bin/ln -sf pydoc2.7 /usr/ports/lang/python3/work/stage/usr/local/bin/pydoc2 /bin/ln -sf python2.7-config /usr/ports/lang/python3/work/stage/usr/local/bin/p ython2-config /bin/ln -sf python-2.7.pc /usr/ports/lang/python3/work/stage/usr/local/libdata/ pkgconfig/python2.pc ====> Compressing man pages (compress-man) ===> Installing for python3-2_3 ===> Checking if python3 already installed ===> Registering installation for python3-2_3 as automatic Installing python3-2_3... pkg-static: python3-2_3 conflicts with python2-2_3 (installs files into the same place). Problematic file: /usr/local/bin/2to3-2 *** Error code 70 Stop. make[4]: stopped in /usr/ports/lang/python3 *** Error code 1 Stop. make[3]: stopped in /usr/ports/x11/gnome-desktop Hmm... seems to me, by the error, that the actual culprit was an effort to THWART this exact error. Job well done! :P So, as it appears to me anyway. I'll need to make a choice; either I'm all in on Python2, or Python3, there's no in-between. So I was hoping that someone might suggest a good way, or an already existing port to remove Python3 and every port that includes the "REQUIRES python:>=3" line in it. So as to end up with a successful build. Thank you for any thoughts, or suggestions. --Chris --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5128a12c70cb4dbd09abbec37d951156>