From owner-freebsd-ports@FreeBSD.ORG Sun May 31 00:15:00 2015 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF576B9 for ; Sun, 31 May 2015 00:15:00 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C35951006 for ; Sun, 31 May 2015 00:15:00 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id t4V0Gcnk064213 for ; Sat, 30 May 2015 17:16:44 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) To: "FreeBSD ports" From: "Chris H" Subject: How to remove Python3 and dependent ports? Date: Sat, 30 May 2015 17:16:44 -0700 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <5128a12c70cb4dbd09abbec37d951156@ultimatedns.net> Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2015 00:15:01 -0000 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 --