dealing with java opened SSL errors

Christopher Jones jonesc at hep.phy.cam.ac.uk
Sun Nov 4 11:53:18 UTC 2018


Hi All,

I am trying to update a couple of ports, bazel and py-tensorflow, that require recent Java JDKs (10+) to build using macports provided openjdk ports.

I am running into the issue below

ERROR: /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_python_py-tensorflow/py36-tensorflow/work/tensorflow-1.11.0/tensorflow/contrib/specs/BUILD:12:1: no such package '@six_archive//': java.io.IOException: Error downloading [https://mirror.bazel.build/pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz, https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz] to /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_python_py-tensorflow/py36-tensorflow/work/2a63a80994b2caa0df6e7bb7e2acb780/external/six_archive/six-1.10.0.tar.gz: All mirrors are down: [sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target] and referenced by '//tensorflow/contrib/specs:specs'
ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted: no such package '@six_archive//': java.io.IOException: Error downloading [https://mirror.bazel.build/pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz, https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz] to /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_python_py-tensorflow/py36-tensorflow/work/2a63a80994b2caa0df6e7bb7e2acb780/external/six_archive/six-1.10.0.tar.gz: All mirrors are down: [sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]

which appears to be that discussed in

https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html <https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html>

I am unsure how best to proceed, not being that familiar with java. Is this something other ports have run into ?

any advice gratefully received.

cheers Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20181104/6b198e5e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20181104/6b198e5e/attachment.bin>


More information about the macports-dev mailing list