[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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 14 00:30:05 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226634

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

python=2.7 python2=2.7 python3=3.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 should
be good, my master binary is symlinked to the correct version, it would appear
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 

"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:28:05
+0100
--->  Installing the new version via the port
===>  Installing for py27-setuptools-41.0.1
===>   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=portupgrade
UPGRADE_PORT=py36-setuptools-40.8.0 UPGRADE_PORT_VER=40.8.0 make reinstall
--->  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."

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


More information about the freebsd-python mailing list