How to remove Python3 and dependent ports?

Chris H bsd-lists at bsdforge.com
Sun May 31 00:25:24 UTC 2015


On Sat, 30 May 2015 17:16:44 -0700 "Chris H" <bsd-lists at bsdforge.com> wrote

> 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
Apologies; seems I neglected to provide some important info:

FreeBSD i386.dev 10.1-STABLE FreeBSD 10.1-STABLE #0 r283617:
Wed May 27 20:27:48 PDT 2015
root at i386.dev:/usr/obj/usr/src/sys/I386  i386

Path: /usr/ports
Working Copy Root Path: /usr/ports
URL: svn://svn.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 387621
Node Kind: directory
Schedule: normal
Last Changed Author: bdrewery
Last Changed Rev: 387621
Last Changed Date: 2015-05-27 08:17:56 -0700 (Wed, 27 May 2015)

> 
> --
> 
> 
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://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