Hi all,
I'm having trouble installing some pip_libraries on macos. They work fine if I run in a linux docker container.
> cat BUILD
pip_library(
name="absl",
version="0.2.1",
package_name="absl-py"
)
> plz --show_all_output build
Command "/usr/local/opt/python/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/Users/nag024/absl/plz-out/tmp/_absl#wheel._build/build/absl-py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /Users/nag024/absl/plz-out/tmp/_absl#wheel._build/pip-record-i_qch1b5/install-record.txt --single-version-externally-managed --no-compile --home=/Users/nag024/absl/plz-out/tmp/_absl#wheel._build/pip-target-blp818v0" failed with error code 1 in /Users/nag024/absl/plz-out/tmp/_absl#wheel._build/build/absl-py/
09:37:04.144 ERROR: //:_absl#wheel: Build failed: Error building target //:_absl#wheel: exit status 1
Command "/usr/local/opt/python/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/Users/nag024/absl/plz-out/tmp/_absl#wheel._build/build/absl-py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /Users/nag024/absl/plz-out/tmp/_absl#wheel._build/pip-record-i_qch1b5/install-record.txt --single-version-externally-managed --no-compile --home=/Users/nag024/absl/plz-out/tmp/_absl#wheel._build/pip-target-blp818v0" failed with error code 1 in /Users/nag024/absl/plz-out/tmp/_absl#wheel._build/build/absl-py/
: Error building target //:_absl#wheel: exit status 1
Command "/usr/local/opt/python/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/Users/nag024/absl/plz-out/tmp/_absl#wheel._build/build/absl-py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /Users/nag024/absl/plz-out/tmp/_absl#wheel._build/pip-record-i_qch1b5/install-record.txt --single-version-externally-managed --no-compile --home=/Users/nag024/absl/plz-out/tmp/_absl#wheel._build/pip-target-blp818v0" failed with error code 1 in /Users/nag024/absl/plz-out/tmp/_absl#wheel._build/build/absl-py/
09:37:04.144 ERROR: //:_absl#wheel failed:
Error building target //:_absl#wheel: exit status 1
Command "/usr/local/opt/python/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/Users/nag024/absl/plz-out/tmp/_absl#wheel._build/build/absl-py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /Users/nag024/absl/plz-out/tmp/_absl#wheel._build/pip-record-i_qch1b5/install-record.txt --single-version-externally-managed --no-compile --home=/Users/nag024/absl/plz-out/tmp/_absl#wheel._build/pip-target-blp818v0" failed with error code 1 in /Users/nag024/absl/plz-out/tmp/_absl#wheel._build/build/absl-py/
Build stopped after 1.41s. 1 target failed:
//:_absl#wheel
Error building target //:_absl#wheel: exit status 1
Command "/usr/local/opt/python/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/Users/nag024/absl/plz-out/tmp/_absl#wheel._build/build/absl-py/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /Users/nag024/absl/plz-out/tmp/_absl#wheel._build/pip-record-i_qch1b5/install-record.txt --single-version-externally-managed --no-compile --home=/Users/nag024/absl/plz-out/tmp/_absl#wheel._build/pip-target-blp818v0" failed with error code 1 in /Users/nag024/absl/plz-out/tmp/_absl#wheel._build/build/absl-py/
Any ideas here?
Thanks,
Nic