id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 55679,pypy3 @5.10.0: fails to fetch xz source during build and destroot; should not be downloading during build or destroot,ryandesign,danchr,"pypy3 fails to destroot: https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/16885/steps/install-port/logs/stdio {{{ fetching archive https://tukaani.org/xz/xz-5.2.3.tar.gz Traceback (most recent call last): File ""package.py"", line 351, in retval, _ = package(*sys.argv[1:]) File ""package.py"", line 330, in package return create_package(basedir, options, **kwds) File ""package.py"", line 89, in create_package embed_dependencies=options.embed_dependencies, File ""/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_pypy/pypy3/work/pypy3-v5.10.0-src/pypy/tool/build_cffi_imports.py"", line 195, in create_cffi_import_libraries patches=patches) File ""/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_pypy/pypy3/work/pypy3-v5.10.0-src/pypy/tool/build_cffi_imports.py"", line 89, in _build_dependency urlretrieve(url, archive) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 98, in urlretrieve return opener.retrieve(url, filename, reporthook, data) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 245, in retrieve fp = self.open(url, data) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 213, in open return getattr(self, name)(url) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 457, in open_https return self.http_error(url, fp, errcode, errmsg, headers) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 377, in http_error result = method(url, fp, errcode, errmsg, headers) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 641, in http_error_302 data) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 667, in redirect_internal return self.open(newurl) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 213, in open return getattr(self, name)(url) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 457, in open_https return self.http_error(url, fp, errcode, errmsg, headers) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 377, in http_error result = method(url, fp, errcode, errmsg, headers) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 641, in http_error_302 data) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 667, in redirect_internal return self.open(newurl) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 213, in open return getattr(self, name)(url) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 457, in open_https return self.http_error(url, fp, errcode, errmsg, headers) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 377, in http_error result = method(url, fp, errcode, errmsg, headers) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 641, in http_error_302 data) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 667, in redirect_internal return self.open(newurl) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 213, in open return getattr(self, name)(url) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/urllib.py"", line 443, in open_https h.endheaders(data) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/httplib.py"", line 1049, in endheaders self._send_output(message_body) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/httplib.py"", line 893, in _send_output self.send(msg) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/httplib.py"", line 855, in send self.connect() File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/httplib.py"", line 1274, in connect server_hostname=server_hostname) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/ssl.py"", line 352, in wrap_socket _context=self) File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/ssl.py"", line 577, in __init__ self.do_handshake() File ""/opt/local/lib/pypy-bootstrap/lib-python/2.7/ssl.py"", line 806, in do_handshake self._sslobj.do_handshake() IOError: [Errno socket error] [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure }}} Ports should download all needed files during the fetch phase, not later. Though the xz distfile is the one that failed to download, and thus caused the port to fail to install, the port also downloads other files at build time that it should not: {{{ fetching archive http://ftp.gnu.org/gnu/gdbm/gdbm-1.13.tar.gz }}} {{{ fetching archive http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.6.2.tar.gz }}} {{{ fetching archive https://tukaani.org/xz/xz-5.2.3.tar.gz }}} ",defect,closed,Normal,,ports,,fixed,,jmroot ryandesign,pypy3