Date: Sat, 22 Sep 2018 17:29:48 +0300 From: Matthew Seaman <matthew@FreeBSD.org> To: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: python ports -- setuptools requiring the pbr module and failing on denied network access? Message-ID: <82eb980e-f1a7-b840-2f3a-378ad1166257@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --yf9V1oTItnZOoDSdM02i9MxYLCbnmMnCH Content-Type: multipart/mixed; boundary="6i577mUJmKuu7N7HIG6hrmfvLUblTqEvE"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: FreeBSD Ports ML <freebsd-ports@freebsd.org> Message-ID: <82eb980e-f1a7-b840-2f3a-378ad1166257@FreeBSD.org> Subject: python ports -- setuptools requiring the pbr module and failing on denied network access? --6i577mUJmKuu7N7HIG6hrmfvLUblTqEvE Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable So, I've been working on porting molecule (https://pypi.org/project/molecule/), and I have a port that /almost/ works. I can compile and run molecule from my shell prompt using the port. Everything seems fine. Except when I try and build the port inside poudriere. It seems that python setuptools is requiring the pbr module at some particularly early stage, and, well, it's not pretty: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<pha= se: configure >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> py27-molecule-2.18.1 depends on package: py27-setuptools>0 -= found =3D=3D=3D> py27-molecule-2.18.1 depends on file: /usr/local/bin/python2= =2E7 - found =3D=3D=3D> py27-molecule-2.18.1 depends on file: /usr/local/bin/ccache = - found =3D=3D=3D> Configuring for py27-molecule-2.18.1 Download error on https://pypi.org/simple/pbr/: [Errno 65] No route to host -- Some packages may not be found! Couldn't find index page for 'pbr' (maybe misspelled?) Download error on https://pypi.org/simple/: [Errno 65] No route to host -- Some packages may not be found! No local packages or working download links found for pbr Traceback (most recent call last): File "<string>", line 1, in <module> File "setup.py", line 26, in <module> setup_requires=3D['pbr'] File "/usr/local/lib/python2.7/site-packages/setuptools/__init__.py", line 130, in setup _install_setup_requires(attrs) File "/usr/local/lib/python2.7/site-packages/setuptools/__init__.py", line 125, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "/usr/local/lib/python2.7/site-packages/setuptools/dist.py", line 514, in fetch_build_eggs replace_conflicting=3DTrue, File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 773, in resolve replace_conflicting=3Dreplace_conflicting File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1056, in best_match return self.obtain(req, installer) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1068, in obtain return installer(requirement) File "/usr/local/lib/python2.7/site-packages/setuptools/dist.py", line 581, in fetch_build_egg return cmd.easy_install(req) File "/usr/local/lib/python2.7/site-packages/setuptools/command/easy_install.p= y", line 670, in easy_install raise DistutilsError(msg) distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr') *** Error code 1 So setuptools apparently tries to go to the net and download pbr, which poudriere of course denies. Adding the devel/py-pbr port as any of a PATCH_, BUILD_ or RUN_DEPENDS doesn't help. Any clues gratefully received. Cheers, Matthew --6i577mUJmKuu7N7HIG6hrmfvLUblTqEvE-- --yf9V1oTItnZOoDSdM02i9MxYLCbnmMnCH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlumUdxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5Oey3BAAqn3z9zXP+uW7d5xO3PffcyfZqs6PuXNcdYbwdsRZKXD3WZuIEuuEtmmh QtVt3uw+EuRE5z2Ql9y0Bjfh2xtb4iThxiwEidXyXmtnGy6U4MHCJIT7pBCR3LIe a2MMstjBuVhV/nJmOSJbJ6xtgPNlv9bG3x+NWAAIc0EIHmfut3nn7wguU/grzMgV hQ81j5eBcZiYNO63b4g8JJ00RJpSJEGOkw9vyoRylwXHrMSUM+xoZ7IhQQyRzg3j xht9aQJqIicVaVF3Wz3G+2En8lSoaQdKgej6xx530hfGhR7fn0PEiWgO5veQ7Qwm 49SVNGcJ9HaUI76DsuGunv7o8MdhuRcJ7hmshS+hvu/+YhHyaUotb71nnsHnP7dG 8k31tJpGf4Yd3JzF3vt86Pe8Du9lMv+TpNlfMR2c/ThmOGSBBRH4XO/L4UQtW44s L3JOiOsO5NEhOQBVZ1m6EEMD83hX8ficGMEI+ljjPF6z+VUd1yNCnt3xuGTtuhij uzp7rZwnJOCpMvLgG8BKNJ7UepIu5E1FIMPEqCRP0CCRag2gegzB682nfDImWZew YVW3vHpc0oKV3cMQ9P0Eb7xt8X5Hic1XkqrDUdSTkzqF2kaRDyrGI/0wMhD4QBI9 yxgcq3+nY0vEK6UfO82nVMyyQklHMLpfOnB2mSEpvDg7LgCm3bk= =+cIc -----END PGP SIGNATURE----- --yf9V1oTItnZOoDSdM02i9MxYLCbnmMnCH--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82eb980e-f1a7-b840-2f3a-378ad1166257>