GitHub
09/02/2021, 11:47 AMuname -a
Linux hp11 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 115715 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
• Docker Version: docker --version
Docker version 20.10.8, build 3967b7d
• If you're using an alternative container service, please also include this information.
• OpenLane Tag in use: python3 ./dependencies/get_tag.py
in the main OpenLane directory. 2021.09.02_03.15.28
Reproduction Material
https://github.com/The-OpenROAD-Project/OpenLane scroll down to Dockerless Install Please see LOCAL_INSTALL.md. is missing
Expected behavior
Please see LOCAL_INSTALL.md. respective file to be added
https://github.com/efabless/OpenLane/blob/master/LOCAL_INSTALL.md have the steps but got struck with below error:
'make_all' finished successfully (0.004s)
Waf: Entering directory `/tmp/pip-build-g_5ghxgj/pyinstaller/bootloader/build/debug'
[ 1/15] Compiling src/pyi_python.c
[ 2/15] Compiling src/pyi_global.c
[ 3/15] Compiling src/pyi_archive.c
[ 4/15] Compiling src/pyi_win32_utils.c
[ 5/15] Compiling src/pyi_path.c
[ 6/15] Compiling src/pyi_exception_dialog.c
../../src/pyi_archive.c: In function ‘_pyi_find_cookie_offset’:
../../src/pyi_archive.c4179: error: ‘for’ loop initial declarations are only allowed in C99 mode
for (size_t i = chunk_size - MAGIC_SIZE + 1; i > 0; i--) {
^
../../src/pyi_archive.c4179: note: use option -std=c99 or -std=gnu99 to compile your code
Waf: Leaving directory `/tmp/pip-build-g_5ghxgj/pyinstaller/bootloader/build/debug'
Build failed
-> task in 'OBJECTS' failed with exit status 1 (run with -v to display more information)
ERROR: Failed compiling the bootloader. Please compile manually and rerun setup.py
----------------------------------------
Command "/bin/python3 -u -c "import setuptools, tokenize;*file*='/tmp/pip-build-g_5ghxgj/pyinstaller/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-8b7y4ph1-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-g_5ghxgj/pyinstaller/
Traceback (most recent call last):
File "install.py", line 386, in
main()
File "install.py", line 382, in main
run_installer()
File "install.py", line 157, in run_installer
root=pip_action == "system"
File "install.py", line 101, in sh
raise e
File "install.py", line 95, in sh
subprocess.run(args, check=True, stderr=subprocess.PIPE if root == "retry" else None, **kwargs)
File "/usr/lib64/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['python3', '-m', 'pip', 'install', '-r', '/home/vijayan/OPEN_LANE_FLOW/OL_FLOW_LINSTAL/OpenLane/dependencies/python/compile_time.txt', '-r', '/home/vijayan/OPEN_LANE_FLOW/OL_FLOW_LINSTAL/OpenLane/dependencies/python/run_time.txt']' returned non-zero exit status 1.
How to resolve this issue?
The-OpenROAD-Project/OpenLane