Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2019 00:30:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 226634] devel/py-setuptools: pkg-static: py27-setuptools-38.5.2 conflicts with py36-setuptools-38.5.2 (installs files into the same place). Problematic file: /usr/local/bin/easy_install
Message-ID:  <bug-226634-21822-q8lHQXnX7U@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-226634-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-226634-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226634

--- Comment #14 from Chris Collins <chrysalis@chrysalisnet.org> ---
I have the following set (not recently changed)

python=3D2.7 python2=3D2.7 python3=3D3.6

my easy-install is correctly linked to 2.7 binary

This is whats installed

# pkg info | grep setuptools
py27-setuptools-41.0.1         Python packages installer
py27-setuptools_scm-3.3.3      Setuptools plugin to manage your versions by=
 scm
tags
py36-setuptools-40.8.0         Python packages installer

portupgrade spits this out

--->  Upgrade of devel/py-setuptools started at: Sun, 14 Jul 2019 01:25:26
+0100
--->  Upgrading 'py36-setuptools-40.8.0' to 'py27-setuptools-41.0.1'
(devel/py-setuptools)

which suggests something is broken, based upon Kubilay's explanation I shou=
ld
be good, my master binary is symlinked to the correct version, it would app=
ear
even tho its not the default the 3.6 version is trying to install a binary =
as
the default version ignoring the make.conf variable.

Are we sure its due to a duplicated binary, as I dont get the message about
installing files to same place instead I just get an "error 70".

Also this is spitted out also.

Message from py36-setuptools-40.8.0:

*******************************************************************

  Only /usr/local/bin/easy_install-3.6 script has been installed
  since Python 3.6 is not the default Python version.

*******************************************************************

So in terms of default files, that side of things looks correct.

full error below=20

"The operation will free 4 MiB.
[1/1] Deinstalling py36-setuptools-40.8.0...
[1/1] Deleting files for py36-setuptools-40.8.0: 100%
[Reading data from pkg(8) ... - 608 packages found - done]
--->  Uninstallation of py36-setuptools-40.8.0 ended at: Sun, 14 Jul 2019
01:28:05 +0100 (consumed 00:00:02)
--->  Installation of devel/py-setuptools started at: Sun, 14 Jul 2019 01:2=
8:05
+0100
--->  Installing the new version via the port
=3D=3D=3D>  Installing for py27-setuptools-41.0.1
=3D=3D=3D>   Registering installation for py27-setuptools-41.0.1
*** Error code 70

Stop.
make[1]: stopped in /usr/ports/devel/py-setuptools
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-setuptools
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20190714-37535-1hsm3uv env UPGRADE_TOOL=3Dportupgrade
UPGRADE_PORT=3Dpy36-setuptools-40.8.0 UPGRADE_PORT_VER=3D40.8.0 make reinst=
all
--->  Updating dependency info
--->  Restoring the old version
Installing py36-setuptools-40.8.0...
Extracting py36-setuptools-40.8.0: 100%
Message from py36-setuptools-40.8.0:

*******************************************************************

  Only /usr/local/bin/easy_install-3.6 script has been installed
  since Python 3.6 is not the default Python version.

*******************************************************************
--->  Removing old package'
** Fix the installation problem and try again."

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226634-21822-q8lHQXnX7U>