Further, except (and only to the extent) permitted by applicable law or applicable third-party license, you will not (and have no right to):
work around any technical limitations in the Software that only allow you to use it in certain ways; reverse engineer, decompile or disassemble the Software; remove, minimize, block, or modify any notices of GitHub or its suppliers in the Software; use the Software in any way that is against the law; or share, publish, distribute or lend the Software, provide or make available the Software as a hosted solution (whether on a standalone basis or combined, incorporated or integrated with other software or services) for others to use, or transfer the Software or these Terms to any third party.
GitHub CodeQL can only be used on codebases that are released under an OSI-approved open source license, or to perform academic research. It can’t be used to generate CodeQL databases for or during automated analysis, continuous integration or continuous delivery, whether as part of normal software engineering processes or otherwise. For these uses, contact the sales team.
[2020-03-30 17:45:00] [build] [INFO] [8] Extracted module _lzma in 22ms [2020-03-30 17:45:01] [build] [INFO] [3] Extracted file /usr/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/dsa.py in 765ms [2020-03-30 17:45:01] [build] [INFO] [5] Extracted file /usr/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/ssh.py in 404ms [2020-03-30 17:45:01] [build] [INFO] [1] Extracted file /usr/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/encode_asn1.py in 1572ms [2020-03-30 17:45:01] [build] [ERROR] [1] Failed to extract module _decimal: libmpdec.so.2: cannot open shared object file: No such file or directory [2020-03-30 17:45:01] [build] [TRACEBACK] [1] "semmle/worker.py", line 220, in _extract_loop [2020-03-30 17:45:01] [build] [TRACEBACK] [1] "semmle/extractors/super_extractor.py", line 47, in process [2020-03-30 17:45:01] [build] [TRACEBACK] [1] "semmle/extractors/builtin_extractor.py", line 14, in process [2020-03-30 17:45:01] [build] [INFO] [5] Extracted module _io in 50ms [2020-03-30 17:45:01] [build] [INFO] [8] Extracted file /usr/lib/python3.8/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py in 373ms [2020-03-30 17:45:01] [build] [INFO] [1] Extracted file /usr/lib/python3.8/site-packages/werkzeug/wrappers/cors.py in 85ms [2020-03-30 17:45:01] [build] [INFO] [7] Extracted file /usr/lib/python3.8/argparse.py in 5850ms [2020-03-30 17:45:01] [build] [INFO] [2] Extracted file /usr/lib/python3.8/tarfile.py in 5602ms [2020-03-30 17:45:01] [build] [INFO] [3] Extracted file /usr/lib/python3.8/site-packages/werkzeug/debug/repr.py in 611ms [2020-03-30 17:45:01] [build] [INFO] [4] Extracted file /usr/lib/python3.8/site-packages/jinja2/parser.py in 2626ms [2020-03-30 17:45:03] [build] [ERROR] Process 6 timed out [2020-03-30 17:45:04] [build-err] Traceback (most recent call last): [2020-03-30 17:45:04] [build-err] File "/home/rmb122/repos/codeql/python/tools/index.py", line 19, in <module> [2020-03-30 17:45:04] [build-err] buildtools.index.main() [2020-03-30 17:45:04] [build-err] File "/home/rmb122/repos/codeql/python/tools/python3src.zip/buildtools/index.py", line 110, in main [2020-03-30 17:45:04] [build-err] File "/usr/lib/python3.8/subprocess.py", line 364, in check_call [2020-03-30 17:45:04] [build-err] raise CalledProcessError(retcode, cmd) [2020-03-30 17:45:04] [build-err] subprocess.CalledProcessError: Command '['python3', '-S', '/home/rmb122/repos/codeql/python/tools/python_tracer.py', '-v', '-z', 'all', '-c', '/home/rmb122/temp/codeql/codeql-database/working/trap_cache', '-p', '/usr/lib/python3.8/site-packages', '-R', '/home/rmb122/temp/codeql/flask-example']' returned non-zero exit status 1. [2020-03-30 17:45:04] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/home/rmb122/repos/codeql/python/tools/autobuild.sh]) A fatal error occurred: Exit status 1 from command: [/home/rmb122/repos/codeql/python/tools/autobuild.sh]
问题出在这 Failed to extract module _decimal: libmpdec.so.2: cannot open shared object file: No such file or directory
repl 里面运行一下, 果然也是如此
1 2 3 4 5 6 7 8 9
$ python Python 3.8.2 (default, Feb 26 2020, 22:21:03) [GCC 9.2.1 20200130] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import _decimal Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: libmpdec.so.2: cannot open shared object file: No such file or directory >>>