Thanks for the bug report.  Would you mind opening an issue in the emsdk
repo?

So far I'm managed to confirm that this does not occur on our CI machines:

```
$ /Users/distiller/project/python/3.7.4_64bit/bin/python3
/Users/distiller/project/upstream/emscripten/embuilder.py build bzip2
--force
embuilder:INFO: building and verifying bzip2
root:INFO: Cache: deleting cached file:
/Users/distiller/project/upstream/emscripten/cache/wasm/libbz2.a
cache:INFO: generating port: libbz2.a... (this will be cached in
"/Users/distiller/project/upstream/emscripten/cache/wasm/libbz2.a" for
subsequent builds)
cache:INFO:  - ok
embuilder:INFO: ...success
```

We need to figure out what is different about your setup that causes this
failure.

cheers,
sam

On Mon, Aug 10, 2020 at 12:12 PM [email protected] <
[email protected]> wrote:

> After updating to v1.40.1 from v1.39.19, I get the error shown below when
> using the emscripten-supplied version of python3. Utilizing my own
> previously installed version of python3 (which has 'requests' installed)
> works fine.
>
> Running 'emcc --clear-ports', as suggested, did not help in this case.
>
> Regards,
>
> Eric
>
> system_libs:INFO: retrieving port: bzip2 from
> https://github.com/emscripten-ports/bzip2/archive/1.0.6.zip
> system_libs:ERROR: a problem occurred when using an emscripten-ports
> library.  try to run `emcc --clear-ports` and then run this command again
> Traceback (most recent call last):
>   File "/Users/eric/emsdk/upstream/emscripten/tools/system_libs.py", line
> 1891, in retrieve
>     import requests
> ModuleNotFoundError: No module named 'requests'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File
> "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/urllib/request.py",
> line 1317, in do_open
>     encode_chunked=req.has_header('Transfer-encoding'))
>   File
> "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/http/client.py", line
> 1244, in request
>     self._send_request(method, url, body, headers, encode_chunked)
>   File
> "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/http/client.py", line
> 1290, in _send_request
>     self.endheaders(body, encode_chunked=encode_chunked)
>   File
> "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/http/client.py", line
> 1239, in endheaders
>     self._send_output(message_body, encode_chunked=encode_chunked)
>   File
> "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/http/client.py", line
> 1026, in _send_output
>     self.send(msg)
>   File
> "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/http/client.py", line
> 966, in send
>     self.connect()
>   File
> "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/http/client.py", line
> 1414, in connect
>     server_hostname=server_hostname)
>   File "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/ssl.py", line
> 423, in wrap_socket
>     session=session
>   File "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/ssl.py", line
> 870, in _create
>     self.do_handshake()
>   File "/Users/eric/emsdk/python/3.7.4_64bit/lib/python3.7/ssl.py", line
> 1139, in do_handshake
>     self._sslobj.do_handshake()
> ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate
> verify failed: unable to get local issuer certificate (_ssl.c:1076)
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/6bf6f70f-6307-4318-abc7-2bda9fbe2e97n%40googlegroups.com
> <https://groups.google.com/d/msgid/emscripten-discuss/6bf6f70f-6307-4318-abc7-2bda9fbe2e97n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2_84FNgqq2yuhBHAsYkMCUeAxZX387i5xxxcvV78bxJww%40mail.gmail.com.

Reply via email to