[Pkg-javascript-devel] Bug#1004478: emscripten: attempts internet communication during build

Gianfranco Costamagna locutusofborg at debian.org
Fri Jan 28 12:21:15 GMT 2022


Source: emscripten
Version: 3.1.1~dfsg+~1.39.6-5
Severity: serious

Hello, some tests are trying to reach googleapis

test_global_inits (test_other.other) ... skipped 'relies on fastcomp EXIT_RUNTIME=0 optimization not implemented/disabled'
ports:INFO: retrieving port: giflib from https://storage.googleapis.com/webassembly/emscripten-ports/giflib-5.2.1.tar.gz
test_headless (test_other.other) ... ok (1.28s)
Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
     conn = connection.create_connection(
   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, in create_connection
     for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
   File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
     httplib_response = self._make_request(
   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 382, in _make_request
     self._validate_conn(conn)
   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1012, in _validate_conn
     conn.connect()
   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 353, in connect
     conn = self._new_conn()
   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in _new_conn
     raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb43b5b75b0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
     resp = conn.urlopen(
   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
     retries = retries.increment(
   File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 574, in increment
     raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='storage.googleapis.com', port=443): Max retries exceeded with url: /webassembly/emscripten-ports/giflib-5.2.1.tar.gz (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb43b5b75b0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
   File "/<<BUILDDIR>>/emscripten-3.1.1~dfsg+~1.39.6/emcc.py", line 3912, in <module>
     sys.exit(main(sys.argv))
   File "/<<BUILDDIR>>/emscripten-3.1.1~dfsg+~1.39.6/emcc.py", line 3905, in main
     ret = run(args)
   File "/<<BUILDDIR>>/emscripten-3.1.1~dfsg+~1.39.6/emcc.py", line 1117, in run
     linker_inputs = phase_compile_inputs(options, state, newargs, input_files)
   File "/usr/lib/python3.10/contextlib.py", line 79, in inner
     return func(*args, **kwds)
   File "/<<BUILDDIR>>/emscripten-3.1.1~dfsg+~1.39.6/emcc.py", line 2609, in phase_compile_inputs
     compile_source_file(i, input_file)
   File "/<<BUILDDIR>>/emscripten-3.1.1~dfsg+~1.39.6/emcc.py", line 2589, in compile_source_file
     cmd = get_clang_command(input_file)
   File "/<<BUILDDIR>>/emscripten-3.1.1~dfsg+~1.39.6/emcc.py", line 2530, in get_clang_command
     return get_compiler(src_file) + get_cflags(state.orig_args) + compile_args + [src_file]
   File "/<<BUILDDIR>>/emscripten-3.1.1~dfsg+~1.39.6/emcc.py", line 905, in get_cflags
     ports.add_cflags(cflags, settings)
   File "/<<BUILDDIR>>/emscripten-3.1.1~dfsg+~1.39.6/tools/ports/__init__.py", line 364, in add_cflags
     port.get(Ports, settings, shared)
   File "/<<BUILDDIR>>/emscripten-3.1.1~dfsg+~1.39.6/tools/ports/giflib.py", line 19, in get
     ports.fetch_project('giflib', f'https://storage.googleapis.com/webassembly/emscripten-ports/giflib-{VERSION}.tar.gz', f'giflib-{VERSION}', sha512hash=HASH)
   File "/<<BUILDDIR>>/emscripten-3.1.1~dfsg+~1.39.6/tools/ports/__init__.py", line 258, in fetch_project
     retrieve()
   File "/<<BUILDDIR>>/emscripten-3.1.1~dfsg+~1.39.6/tools/ports/__init__.py", line 213, in retrieve
     response = requests.get(url)
   File "/usr/lib/python3/dist-packages/requests/api.py", line 76, in get
     return request('get', url, params=params, **kwargs)
   File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
     return session.request(method=method, url=url, **kwargs)
   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
     resp = self.send(prep, **send_kwargs)
   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
     r = adapter.send(request, **kwargs)
   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
     raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='storage.googleapis.com', port=443): Max retries exceeded with url: /webassembly/emscripten-ports/giflib-5.2.1.tar.gz (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb43b5b75b0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
test_giflib (test_other.other) ... FAIL


I think we should disable them.

G.



More information about the Pkg-javascript-devel mailing list