Opened 6 years ago
Closed 6 years ago
#56849 closed defect (fixed)
py36-netaddr @0.7.19: needs py36-setuptools dependency?
Reported by: | mincebert (Robert Franklin) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.3 |
Keywords: | Cc: | ||
Port: | py-netaddr |
Description
Trying to install py36-netaddr on a clean install on a new Mac. After installing python36, then tried to install with the following and got error:
doraemon:~ rcf$ sudo port install py36-netaddr Password: ---> Computing dependencies for py36-netaddr ---> Fetching archive for py36-netaddr ---> Attempting to fetch py36-netaddr-0.7.19_0.darwin_17.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py36-netaddr ---> Attempting to fetch py36-netaddr-0.7.19_0.darwin_17.noarch.tbz2 from https://packages.macports.org/py36-netaddr ---> Attempting to fetch py36-netaddr-0.7.19_0.darwin_17.noarch.tbz2 from http://lil.fr.packages.macports.org/py36-netaddr ---> Fetching distfiles for py36-netaddr ---> Attempting to fetch netaddr-0.7.19.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/py-netaddr ---> Verifying checksums for py36-netaddr ---> Extracting py36-netaddr ---> Configuring py36-netaddr ---> Building py36-netaddr Error: Failed to build py36-netaddr: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-netaddr/py36-netaddr/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port py36-netaddr failed
... looking in /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-netaddr/py36-netaddr/main.log showed the following error near the bottom:
... :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-netaddr/py36-netaddr/work/netaddr-0.7.19" && /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 setup.py --no-user-cfg build :info:build Traceback (most recent call last): :info:build File "setup.py", line 11, in <module> :info:build from setuptools import setup :info:build ModuleNotFoundError: No module named 'setuptools' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-netaddr/py36-netaddr/work/netaddr-0.7.19" && /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 setup.py --no-user-cfg build :info:build Exit code: 1 ...
... installed py36-setuptools first, and then retried py36-netaddr and installed OK:
doraemon:~ rcf$ sudo port install py36-setuptools ---> Computing dependencies for py36-setuptools ---> Fetching archive for py36-setuptools ---> Attempting to fetch py36-setuptools-39.2.0_0.darwin_17.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py36-setuptools ---> Attempting to fetch py36-setuptools-39.2.0_0.darwin_17.noarch.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py36-setuptools ---> Installing py36-setuptools @39.2.0_0 ---> Activating py36-setuptools @39.2.0_0 ---> Cleaning py36-setuptools ---> Updating database of binaries ---> Updating database of C++ stdlib usage ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found. doraemon:~ rcf$ sudo port install py36-netaddr ---> Computing dependencies for py36-netaddr ---> Building py36-netaddr ---> Staging py36-netaddr into destroot ---> Installing py36-netaddr @0.7.19_0 ---> Activating py36-netaddr @0.7.19_0 ---> Cleaning py36-netaddr ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found.
Looks like py36-setuptools needs to be a dependency of py36-netaddr.
Change History (2)
comment:1 Changed 6 years ago by mf2k (Frank Schima)
Owner: | set to stromnov |
---|---|
Port: | py-netaddr added; py36-netaddr removed |
Status: | new → assigned |
comment:2 Changed 6 years ago by reneeotten <reneeotten@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In the future, please add the port maintainer(s) to Cc (
port info --maintainers py36-netaddr
), if any.