Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==> Extracting sources...
- -> Extracting anki-2.1.49.tar.gz with bsdtar
- ==> Starting prepare()...
- patching file qt/aqt/update.py
- ==> Starting build()...
- Extracting Bazel installation...
- Starting local Bazel server and connecting to it...
- Loading:
- Loading: 0 packages loaded
- Loading: 0 packages loaded
- Loading: 0 packages loaded
- Loading: 0 packages loaded
- Loading: 0 packages loaded
- Loading: 0 packages loaded
- currently loading:
- Analyzing: target //:dist (1 packages loaded, 0 targets configured)
- Analyzing: target //:dist (37 packages loaded, 82 targets configured)
- Analyzing: target //:dist (59 packages loaded, 372 targets configured)
- Analyzing: target //:dist (72 packages loaded, 504 targets configured)
- Analyzing: target //:dist (82 packages loaded, 919 targets configured)
- Analyzing: target //:dist (85 packages loaded, 971 targets configured)
- Analyzing: target //:dist (85 packages loaded, 971 targets configured)
- Analyzing: target //:dist (85 packages loaded, 971 targets configured)
- Analyzing: target //:dist (85 packages loaded, 971 targets configured)
- INFO: Repository pypi__310__regex_2021_4_4 instantiated at:
- /build/anki/src/anki-2.1.49/WORKSPACE:18:16: in <toplevel>
- /build/anki/src/anki-2.1.49/late_deps.bzl:7:16: in setup_late_deps
- /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/py_deps/requirements.bzl:572:16: in pip_install
- Repository rule whl_library defined at:
- /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/defs.bzl:137:30: in <toplevel>
- ERROR: An error occurred during the fetch of repository 'pypi__310__regex_2021_4_4':
- Traceback (most recent call last):
- File "/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/defs.bzl", line 135, column 13, in _whl_impl
- fail("whl_library failed: %s (%s)" % (result.stdout, result.stderr))
- Error in fail: whl_library failed: Ignoring atomicwrites: markers 'sys_platform == "win32"' don't match your environment
- Ignoring colorama: markers 'sys_platform == "win32"' don't match your environment
- Ignoring psutil: markers 'sys_platform == "win32"' don't match your environment
- Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment
- Ignoring winrt: markers 'sys_platform == "win32" and platform_release == "10"' don't match your environment
- Collecting regex==2021.4.4
- Downloading regex-2021.4.4.tar.gz (693 kB)
- Building wheels for collected packages: regex
- Building wheel for regex (setup.py): started
- Building wheel for regex (setup.py): finished with status 'error'
- Running setup.py clean for regex
- Failed to build regex
- Installing collected packages: regex
- Running setup.py install for regex: started
- Running setup.py install for regex: finished with status 'error'
- (/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/third_party/py/pip/_internal/req/req_install.py:891: PipDeprecationWarning: DEPRECATION: Constraints are only allowed to take the form of a package name and a version specifier. Other forms were originally permitted as an accident of the implementation, but were undocumented. The new implementation of the resolver no longer supports these forms. A possible replacement is replacing the constraint with a requirement.. You can find discussion regarding this at https://github.com/pypa/pip/issues/8210.
- deprecated(
- ERROR: Command errored out with exit status 1:
- command: /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/python/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-siomapu5
- cwd: /tmp/pip-install-4vbtkntn/regex/
- Complete output (24 lines):
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.10
- creating build/lib.linux-x86_64-3.10/regex
- copying regex_3/__init__.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/regex.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.10/regex
- running build_ext
- building 'regex._regex' extension
- creating build/temp.linux-x86_64-3.10
- creating build/temp.linux-x86_64-3.10/regex_3
- clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 -fPIC -I/usr/include/python3.10 -c regex_3/_regex.c -o build/temp.linux-x86_64-3.10/regex_3/_regex.o
- regex_3/_regex.c:24886:23: warning: unused function 'contains_repeat' [-Wunused-function]
- Py_LOCAL_INLINE(BOOL) contains_repeat(RE_CODE* code, RE_CODE* end_code) {
- ^
- 1 warning generated.
- clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 -fPIC -I/usr/include/python3.10 -c regex_3/_regex_unicode.c -o build/temp.linux-x86_64-3.10/regex_3/_regex_unicode.o
- gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 build/temp.linux-x86_64-3.10/regex_3/_regex.o build/temp.linux-x86_64-3.10/regex_3/_regex_unicode.o -L/usr/lib -o build/lib.linux-x86_64-3.10/regex/_regex.cpython-310-x86_64-linux-gnu.so
- build/temp.linux-x86_64-3.10/regex_3/_regex.o: file not recognized: file format not recognized
- collect2: error: ld returned 1 exit status
- error: command '/usr/bin/gcc' failed with exit code 1
- ----------------------------------------
- ERROR: Failed building wheel for regex
- ERROR: Command errored out with exit status 1:
- command: /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/python/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' --no-user-cfg install --record /tmp/pip-record-tcue2bxo/install-record.txt --single-version-externally-managed --home /tmp/pip-target-unxxsmon --compile --install-headers /tmp/pip-target-unxxsmon/include/python/regex
- cwd: /tmp/pip-install-4vbtkntn/regex/
- Complete output (24 lines):
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.10
- creating build/lib.linux-x86_64-3.10/regex
- copying regex_3/__init__.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/regex.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.10/regex
- running build_ext
- building 'regex._regex' extension
- creating build/temp.linux-x86_64-3.10
- creating build/temp.linux-x86_64-3.10/regex_3
- clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 -fPIC -I/usr/include/python3.10 -c regex_3/_regex.c -o build/temp.linux-x86_64-3.10/regex_3/_regex.o
- regex_3/_regex.c:24886:23: warning: unused function 'contains_repeat' [-Wunused-function]
- Py_LOCAL_INLINE(BOOL) contains_repeat(RE_CODE* code, RE_CODE* end_code) {
- ^
- 1 warning generated.
- clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 -fPIC -I/usr/include/python3.10 -c regex_3/_regex_unicode.c -o build/temp.linux-x86_64-3.10/regex_3/_regex_unicode.o
- gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 build/temp.linux-x86_64-3.10/regex_3/_regex.o build/temp.linux-x86_64-3.10/regex_3/_regex_unicode.o -L/usr/lib -o build/lib.linux-x86_64-3.10/regex/_regex.cpython-310-x86_64-linux-gnu.so
- build/temp.linux-x86_64-3.10/regex_3/_regex.o: file not recognized: file format not recognized
- collect2: error: ld returned 1 exit status
- error: command '/usr/bin/gcc' failed with exit code 1
- ----------------------------------------
- ERROR: Command errored out with exit status 1: /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/python/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' --no-user-cfg install --record /tmp/pip-record-tcue2bxo/install-record.txt --single-version-externally-managed --home /tmp/pip-target-unxxsmon --compile --install-headers /tmp/pip-target-unxxsmon/include/python/regex Check the logs for full command output.
- Traceback (most recent call last):
- File "/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/src/whl.py", line 262, in <module>
- main()
- File "/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/src/whl.py", line 204, in main
- pkg = install_package(args.package, args.directory, pip_args)
- File "/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/src/whl.py", line 79, in install_package
- dist_info = glob.glob(os.path.join(directory, "*.dist-info"))[0]
- IndexError: list index out of range
- )
- ERROR: Error fetching repository: Traceback (most recent call last):
- File "/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/defs.bzl", line 135, column 13, in _whl_impl
- fail("whl_library failed: %s (%s)" % (result.stdout, result.stderr))
- Error in fail: whl_library failed: Ignoring atomicwrites: markers 'sys_platform == "win32"' don't match your environment
- Ignoring colorama: markers 'sys_platform == "win32"' don't match your environment
- Ignoring psutil: markers 'sys_platform == "win32"' don't match your environment
- Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment
- Ignoring winrt: markers 'sys_platform == "win32" and platform_release == "10"' don't match your environment
- Collecting regex==2021.4.4
- Downloading regex-2021.4.4.tar.gz (693 kB)
- Building wheels for collected packages: regex
- Building wheel for regex (setup.py): started
- Building wheel for regex (setup.py): finished with status 'error'
- Running setup.py clean for regex
- Failed to build regex
- Installing collected packages: regex
- Running setup.py install for regex: started
- Running setup.py install for regex: finished with status 'error'
- (/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/third_party/py/pip/_internal/req/req_install.py:891: PipDeprecationWarning: DEPRECATION: Constraints are only allowed to take the form of a package name and a version specifier. Other forms were originally permitted as an accident of the implementation, but were undocumented. The new implementation of the resolver no longer supports these forms. A possible replacement is replacing the constraint with a requirement.. You can find discussion regarding this at https://github.com/pypa/pip/issues/8210.
- deprecated(
- ERROR: Command errored out with exit status 1:
- command: /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/python/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-siomapu5
- cwd: /tmp/pip-install-4vbtkntn/regex/
- Complete output (24 lines):
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.10
- creating build/lib.linux-x86_64-3.10/regex
- copying regex_3/__init__.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/regex.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.10/regex
- running build_ext
- building 'regex._regex' extension
- creating build/temp.linux-x86_64-3.10
- creating build/temp.linux-x86_64-3.10/regex_3
- clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 -fPIC -I/usr/include/python3.10 -c regex_3/_regex.c -o build/temp.linux-x86_64-3.10/regex_3/_regex.o
- regex_3/_regex.c:24886:23: warning: unused function 'contains_repeat' [-Wunused-function]
- Py_LOCAL_INLINE(BOOL) contains_repeat(RE_CODE* code, RE_CODE* end_code) {
- ^
- 1 warning generated.
- clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 -fPIC -I/usr/include/python3.10 -c regex_3/_regex_unicode.c -o build/temp.linux-x86_64-3.10/regex_3/_regex_unicode.o
- gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 build/temp.linux-x86_64-3.10/regex_3/_regex.o build/temp.linux-x86_64-3.10/regex_3/_regex_unicode.o -L/usr/lib -o build/lib.linux-x86_64-3.10/regex/_regex.cpython-310-x86_64-linux-gnu.so
- build/temp.linux-x86_64-3.10/regex_3/_regex.o: file not recognized: file format not recognized
- collect2: error: ld returned 1 exit status
- error: command '/usr/bin/gcc' failed with exit code 1
- ----------------------------------------
- ERROR: Failed building wheel for regex
- ERROR: Command errored out with exit status 1:
- command: /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/python/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' --no-user-cfg install --record /tmp/pip-record-tcue2bxo/install-record.txt --single-version-externally-managed --home /tmp/pip-target-unxxsmon --compile --install-headers /tmp/pip-target-unxxsmon/include/python/regex
- cwd: /tmp/pip-install-4vbtkntn/regex/
- Complete output (24 lines):
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.10
- creating build/lib.linux-x86_64-3.10/regex
- copying regex_3/__init__.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/regex.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.10/regex
- running build_ext
- building 'regex._regex' extension
- creating build/temp.linux-x86_64-3.10
- creating build/temp.linux-x86_64-3.10/regex_3
- clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 -fPIC -I/usr/include/python3.10 -c regex_3/_regex.c -o build/temp.linux-x86_64-3.10/regex_3/_regex.o
- regex_3/_regex.c:24886:23: warning: unused function 'contains_repeat' [-Wunused-function]
- Py_LOCAL_INLINE(BOOL) contains_repeat(RE_CODE* code, RE_CODE* end_code) {
- ^
- 1 warning generated.
- clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 -fPIC -I/usr/include/python3.10 -c regex_3/_regex_unicode.c -o build/temp.linux-x86_64-3.10/regex_3/_regex_unicode.o
- gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 build/temp.linux-x86_64-3.10/regex_3/_regex.o build/temp.linux-x86_64-3.10/regex_3/_regex_unicode.o -L/usr/lib -o build/lib.linux-x86_64-3.10/regex/_regex.cpython-310-x86_64-linux-gnu.so
- build/temp.linux-x86_64-3.10/regex_3/_regex.o: file not recognized: file format not recognized
- collect2: error: ld returned 1 exit status
- error: command '/usr/bin/gcc' failed with exit code 1
- ----------------------------------------
- ERROR: Command errored out with exit status 1: /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/python/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' --no-user-cfg install --record /tmp/pip-record-tcue2bxo/install-record.txt --single-version-externally-managed --home /tmp/pip-target-unxxsmon --compile --install-headers /tmp/pip-target-unxxsmon/include/python/regex Check the logs for full command output.
- Traceback (most recent call last):
- File "/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/src/whl.py", line 262, in <module>
- main()
- File "/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/src/whl.py", line 204, in main
- pkg = install_package(args.package, args.directory, pip_args)
- File "/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/src/whl.py", line 79, in install_package
- dist_info = glob.glob(os.path.join(directory, "*.dist-info"))[0]
- IndexError: list index out of range
- )
- INFO: Repository rust_linux_x86_64 instantiated at:
- /build/anki/src/anki-2.1.49/WORKSPACE:14:11: in <toplevel>
- /build/anki/src/anki-2.1.49/defs.bzl:21:22: in setup_deps
- /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/rules_rust/rust/repositories.bzl:95:28: in rust_repositories
- /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/rules_rust/rust/repositories.bzl:760:30: in rust_repository_set
- Repository rule rust_toolchain_repository defined at:
- /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/rules_rust/rust/repositories.bzl:640:44: in <toplevel>
- ERROR: /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/pypi__310__black_21_6b0/BUILD:6:11: @pypi__310__black_21_6b0//:pkg depends on @pypi__310__regex_2021_4_4//:pkg in repository @pypi__310__regex_2021_4_4 which failed to fetch. no such package '@pypi__310__regex_2021_4_4//': whl_library failed: Ignoring atomicwrites: markers 'sys_platform == "win32"' don't match your environment
- Ignoring colorama: markers 'sys_platform == "win32"' don't match your environment
- Ignoring psutil: markers 'sys_platform == "win32"' don't match your environment
- Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment
- Ignoring winrt: markers 'sys_platform == "win32" and platform_release == "10"' don't match your environment
- Collecting regex==2021.4.4
- Downloading regex-2021.4.4.tar.gz (693 kB)
- Building wheels for collected packages: regex
- Building wheel for regex (setup.py): started
- Building wheel for regex (setup.py): finished with status 'error'
- Running setup.py clean for regex
- Failed to build regex
- Installing collected packages: regex
- Running setup.py install for regex: started
- Running setup.py install for regex: finished with status 'error'
- (/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/third_party/py/pip/_internal/req/req_install.py:891: PipDeprecationWarning: DEPRECATION: Constraints are only allowed to take the form of a package name and a version specifier. Other forms were originally permitted as an accident of the implementation, but were undocumented. The new implementation of the resolver no longer supports these forms. A possible replacement is replacing the constraint with a requirement.. You can find discussion regarding this at https://github.com/pypa/pip/issues/8210.
- deprecated(
- ERROR: Command errored out with exit status 1:
- command: /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/python/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-siomapu5
- cwd: /tmp/pip-install-4vbtkntn/regex/
- Complete output (24 lines):
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.10
- creating build/lib.linux-x86_64-3.10/regex
- copying regex_3/__init__.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/regex.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.10/regex
- running build_ext
- building 'regex._regex' extension
- creating build/temp.linux-x86_64-3.10
- creating build/temp.linux-x86_64-3.10/regex_3
- clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 -fPIC -I/usr/include/python3.10 -c regex_3/_regex.c -o build/temp.linux-x86_64-3.10/regex_3/_regex.o
- regex_3/_regex.c:24886:23: warning: unused function 'contains_repeat' [-Wunused-function]
- Py_LOCAL_INLINE(BOOL) contains_repeat(RE_CODE* code, RE_CODE* end_code) {
- ^
- 1 warning generated.
- clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 -fPIC -I/usr/include/python3.10 -c regex_3/_regex_unicode.c -o build/temp.linux-x86_64-3.10/regex_3/_regex_unicode.o
- gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 build/temp.linux-x86_64-3.10/regex_3/_regex.o build/temp.linux-x86_64-3.10/regex_3/_regex_unicode.o -L/usr/lib -o build/lib.linux-x86_64-3.10/regex/_regex.cpython-310-x86_64-linux-gnu.so
- build/temp.linux-x86_64-3.10/regex_3/_regex.o: file not recognized: file format not recognized
- collect2: error: ld returned 1 exit status
- error: command '/usr/bin/gcc' failed with exit code 1
- ----------------------------------------
- ERROR: Failed building wheel for regex
- ERROR: Command errored out with exit status 1:
- command: /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/python/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' --no-user-cfg install --record /tmp/pip-record-tcue2bxo/install-record.txt --single-version-externally-managed --home /tmp/pip-target-unxxsmon --compile --install-headers /tmp/pip-target-unxxsmon/include/python/regex
- cwd: /tmp/pip-install-4vbtkntn/regex/
- Complete output (24 lines):
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.10
- creating build/lib.linux-x86_64-3.10/regex
- copying regex_3/__init__.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/regex.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.10/regex
- copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.10/regex
- running build_ext
- building 'regex._regex' extension
- creating build/temp.linux-x86_64-3.10
- creating build/temp.linux-x86_64-3.10/regex_3
- clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 -fPIC -I/usr/include/python3.10 -c regex_3/_regex.c -o build/temp.linux-x86_64-3.10/regex_3/_regex.o
- regex_3/_regex.c:24886:23: warning: unused function 'contains_repeat' [-Wunused-function]
- Py_LOCAL_INLINE(BOOL) contains_repeat(RE_CODE* code, RE_CODE* end_code) {
- ^
- 1 warning generated.
- clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 -fPIC -I/usr/include/python3.10 -c regex_3/_regex_unicode.c -o build/temp.linux-x86_64-3.10/regex_3/_regex_unicode.o
- gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now -march=znver2 -mtune=native -O3 -pipe -fno-plt -fexceptions -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -g0 build/temp.linux-x86_64-3.10/regex_3/_regex.o build/temp.linux-x86_64-3.10/regex_3/_regex_unicode.o -L/usr/lib -o build/lib.linux-x86_64-3.10/regex/_regex.cpython-310-x86_64-linux-gnu.so
- build/temp.linux-x86_64-3.10/regex_3/_regex.o: file not recognized: file format not recognized
- collect2: error: ld returned 1 exit status
- error: command '/usr/bin/gcc' failed with exit code 1
- ----------------------------------------
- ERROR: Command errored out with exit status 1: /build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/python/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4vbtkntn/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' --no-user-cfg install --record /tmp/pip-record-tcue2bxo/install-record.txt --single-version-externally-managed --home /tmp/pip-target-unxxsmon --compile --install-headers /tmp/pip-target-unxxsmon/include/python/regex Check the logs for full command output.
- Traceback (most recent call last):
- File "/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/src/whl.py", line 262, in <module>
- main()
- File "/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/src/whl.py", line 204, in main
- pkg = install_package(args.package, args.directory, pip_args)
- File "/build/.cache/bazel/_bazel_builduser/920f7512af34aee99927d2b09bcce383/external/com_github_ali5h_rules_pip/src/whl.py", line 79, in install_package
- dist_info = glob.glob(os.path.join(directory, "*.dist-info"))[0]
- IndexError: list index out of range
- )
- ERROR: Analysis of target '//:dist' failed; build aborted: Analysis failed
- INFO: Elapsed time: 42.749s
- INFO: 0 processes.
- FAILED: Build did NOT complete successfully (86 packages loaded, 977 targets configured)
- FAILED: Build did NOT complete successfully (86 packages loaded, 977 targets configured)
- ==> ERROR: A failure occurred in build().
- Aborting...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement