Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to load on Windows #529

Open
eustas opened this issue Aug 26, 2021 · 1 comment
Open

Fails to load on Windows #529

eustas opened this issue Aug 26, 2021 · 1 comment

Comments

@eustas
Copy link
Contributor

eustas commented Aug 26, 2021

Tried to run bazel with io_bazel_rules_closure in GitHub Actions Windows-2019 environment and got

ERROR: C:/users/runneradmin/_bazel_runneradmin/h7l7fnou/external/io_bazel_rules_closure/third_party/png/BUILD:7:12: Executing genrule @io_bazel_rules_closure//third_party/png:libpng_k8 [for host] failed: (Exit 2): bash.exe failed: error executing command C:/Program Files/Git/usr/bin/bash.exe -c ... (remaining 1 argument(s) skipped)
tar: ./usr/lib/x86_64-linux-gnu/libpng12.so.0: Cannot create symlink to '/lib/x86_64-linux-gnu/libpng12.so.0': No such file or directory

I suspect that third_party/png:libpng_k8 does not consider it is not in Linux environment.

@eustas
Copy link
Contributor Author

eustas commented Aug 26, 2021

It seems that libpng library is required by phantomjs. However, distribution page (https://phantomjs.org/download) claims that binary is "static" and does not require dependencies (except for linux build).

Anyways, windows binary have to be loaded first. Will report on further investigation when I have spare cycles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant