Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2016 12:58:31 -0700 (MST)
From:      Robert_Burmeister <robert.burmeister@utoledo.edu>
To:        freebsd-python@freebsd.org
Subject:   Re: [Bug 202982] port install of python3-3_3 conflicts with python2-2_3 (installs into same place)
Message-ID:  <1479844711336-6146789.post@n6.nabble.com>
In-Reply-To: <d522eae5-2282-a036-94ba-28d0738b6ceb@FreeBSD.org>
References:  <bug-202982-21822-wv24FZJJgj@https.bugs.freebsd.org/bugzilla/> <1479475969601-6145721.post@n6.nabble.com> <d522eae5-2282-a036-94ba-28d0738b6ceb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
To clarify:
webkit2-gtk3-2.8.5_7 depends on file: /usr/local/bin/python2.7 - found
webkit2-gtk3-2.8.5_7 depends on executable: python2 - found
iso-codes-3.69 depends on file: /usr/local/bin/python3.5 - found
iso-codes-3.69 depends on executable: python3 - not found

As of 2015-01-11 the default lang/python3 is lang/python34!

So, my attempt to install XFCE4 is trying to pull in 3 versions of python
which the make files are not handling correctly.

I will try adding DEFAULT_VERSIONS+= python3=3.5 in my /etc/make.conf.

relevant build log:
---
/!\ WARNING /!\
needs Python 3.5 at least. But a port depending on this one specified 2.7

===>  License LGPL21 accepted by the user
===>   iso-codes-3.69 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by iso-codes-3.69 for building
===>  Extracting for iso-codes-3.69
=> SHA256 Checksum OK for iso-codes-3.69.tar.xz.
===>  Patching for iso-codes-3.69
===>   iso-codes-3.69 depends on executable: msgfmt - found
===>   iso-codes-3.69 depends on executable: gmake - found
===>   iso-codes-3.69 depends on file: /usr/local/bin/python3.5 - found
===>   iso-codes-3.69 depends on executable: python3 - not found
===>   python3-2_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by python3-2_3 for building
===>  Extracting for python3-2_3
===>  Patching for python3-2_3
===>  Configuring for python3-2_3
===>  Staging for python3-2_3
===>   python3-2_3 depends on file: /usr/local/bin/python2.7 - found
===>   python3-2_3 depends on file: /usr/local/bin/python2.7 - found
===>   Generating temporary packing list
/bin/ln -sf python2.7 
/tmp/usr/ports/lang/python3/work/stage/usr/local/bin/python2
/bin/ln -sf 2to3-2.7 
/tmp/usr/ports/lang/python3/work/stage/usr/local/bin/2to3-2
/bin/ln -sf idle2.7 
/tmp/usr/ports/lang/python3/work/stage/usr/local/bin/idle2
/bin/ln -sf pydoc2.7 
/tmp/usr/ports/lang/python3/work/stage/usr/local/bin/pydoc2
/bin/ln -sf python2.7-config 
/tmp/usr/ports/lang/python3/work/stage/usr/local/bin/python2-config
/bin/ln -sf python-2.7.pc 
/tmp/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[14]: stopped in /usr/ports/lang/python3
*** Error code 1

---

porversion -v | grep "py"
py27-enum34-1.1.6           =  up-to-date with port 
py27-libxml2-2.9.4          =  up-to-date with port 
py27-setuptools27-28.1.0    =  up-to-date with port 
python-2.7_2,2              =  up-to-date with port 
python2-2_3                 =  up-to-date with port 
python27-2.7.12             =  up-to-date with port 
python35-3.5.2              =  up-to-date with port




--
View this message in context: http://freebsd.1045724.x6.nabble.com/Bug-202982-port-install-of-python3-3-3-conflicts-with-python2-2-3-installs-into-same-place-tp6144581p6146789.html
Sent from the freebsd-python mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1479844711336-6146789.post>