Closed aavbsouza closed 3 years ago
@aavbsouza Thanks for submitting the issue. @Ezra-H Could you look into it?
Hi, @aavbsouza. You need to change the library directory of libuv in pygloo/BUILD from lib64
to lib
. So, there are two places you need to modify.
out_lib_dir = "lib64",
to out_lib_dir = "lib",
"libuv_LIBDIR": "$EXT_BUILD_DEPS/libuv/lib64",
to "libuv_LIBDIR": "$EXT_BUILD_DEPS/libuv/lib",
Hello @Ezra-H , thanks for you reply, this workaround solved the issue
The same problem is current CI:
INFO: Found 5 targets...
[0 / 3] [Prepa] Writing script pygloo/gloo_scripts/CMake_script.sh
[4 / 7] CcCmakeMakeRule pygloo/libuv/include; 1s processwrapper-sandbox ... (2 actions running)
[14 / 32] CcCmakeMakeRule pygloo/libuv/include; 3s processwrapper-sandbox
[14 / 32] CcCmakeMakeRule pygloo/libuv/include; 5s processwrapper-sandbox
[14 / 32] CcCmakeMakeRule pygloo/libuv/include; 14s processwrapper-sandbox
[14 / 32] CcCmakeMakeRule pygloo/libuv/include; 36s processwrapper-sandbox
[14 / 32] CcCmakeMakeRule pygloo/libuv/include; 44s processwrapper-sandbox
ERROR: /__w/pygloo/pygloo/pygloo/BUILD:6:15: output 'pygloo/libuv/lib64/libuv_a.a' was not created
ERROR: /__w/pygloo/pygloo/pygloo/BUILD:6:15: CcCmakeMakeRule pygloo/libuv/include failed: not all outputs were created or valid
INFO: Elapsed time: 57.6[24](https://github.com/ray-project/pygloo/runs/5861657429?check_suite_focus=true#step:6:24)s, Critical Path: 45.90s
INFO: 15 processes: 12 internal, 3 processwrapper-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
Traceback (most recent call last):
File "setup.py", line 1[31](https://github.com/ray-project/pygloo/runs/5861657429?check_suite_focus=true#step:6:31), in <module>
setuptools.setup(
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/__init__.py", line 77, in setup
return distutils.core.setup(**attrs)
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/dist.py", line 1196, in run_command
super().run_command(command)
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/command/install.py", line 72, in run
orig.install.run(self)
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/_distutils/command/install.py", line 670, in run
self.run_command('build')
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/dist.py", line 1196, in run_command
super().run_command(command)
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 1[35](https://github.com/ray-project/pygloo/runs/5861657429?check_suite_focus=true#step:6:35), in run
self.run_command(cmd_name)
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/dist.py", line 1196, in run_command
super().run_command(command)
File "/__w/pygloo/pygloo/py3/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
Hello everyone, I am having some issues to compile the library using python 3.9 in a ubuntu 20.0.4 docker environment I could compile the library (only changing the supported python versions) on a fedora host. But inside the container I get this error
On this container environment, outside the bazel build system. I could compile both the hiredis and libuv libraries without any problems.
Thanks