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

Generate release header is freezing on macOS #230

Closed
paulocoutinhox opened this issue Dec 13, 2023 · 3 comments · Fixed by #231
Closed

Generate release header is freezing on macOS #230

paulocoutinhox opened this issue Dec 13, 2023 · 3 comments · Fixed by #231
Assignees

Comments

@paulocoutinhox
Copy link

Hi,

When i try run "" it is freezing or stopping somewhere and nothing happen.

paulo ~/Developer/workspaces/cpp  $ git clone https://github.com/google/jni-bind.git
Cloning into 'jni-bind'...
remote: Enumerating objects: 2983, done.
remote: Counting objects: 100% (684/684), done.
remote: Compressing objects: 100% (226/226), done.
remote: Total 2983 (delta 474), reused 511 (delta 425), pack-reused 2299
Receiving objects: 100% (2983/2983), 1.12 MiB | 1.11 MiB/s, done.
Resolving deltas: 100% (2174/2174), done.
paulo ~/Developer/workspaces/cpp  $ cd jni-bind 
paulo ~/Developer/workspaces/cpp/jni-bind [main] $ ./build_jni_bind_release.sh     <--- it freeze here and do nothing

Im using macOS Ventura with M1.

Thanks.

@jwhpryor
Copy link
Collaborator

Actually, that script is invoked through a genrule and isn't meant to be called directly. It takes arguments and will freeze if none are passed. The behaviour is actually WAII because you don't have any arguments.

Unfortunately, because of a bug in Bazel, it failed to work on the public version. Since I was the only person who releases the project, I just removed it from the public version to make progress.

I took a brief stab at reintroducing it, but it wasn't trivial. I'll take another look. Sorry that it's got the confusing name that it has.

@paulocoutinhox
Copy link
Author

Do you have any script (shell, python, etc) that i can generate the single header file?

@jwhpryor
Copy link
Collaborator

Yes, and in fact, this is the script, it just requires arguments. Typically those arguments are passed in through a genrule.

The freezing behaviour you're seeing is actually WAII. I'll try taking another pass at making the release targets public.

@jwhpryor jwhpryor self-assigned this Dec 17, 2023
copybara-service bot pushed a commit that referenced this issue Dec 17, 2023
This was previously removed from a bug in Bazel which had recursive symlink problems.

To build the release, build `//:gen_jni_bind_release`.

This should resolve #230.

PiperOrigin-RevId: 590802491
copybara-service bot pushed a commit that referenced this issue Dec 17, 2023
This was previously removed from a bug in Bazel which had recursive symlink problems.

To build the release, build `//:gen_jni_bind_release`.

This should resolve #230.

PiperOrigin-RevId: 590802491
copybara-service bot pushed a commit that referenced this issue Dec 18, 2023
This was previously removed from a bug in Bazel which had recursive symlink problems.

To build the release, build `//:gen_jni_bind_release`.

This should resolve #230.

PiperOrigin-RevId: 590802491
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

Successfully merging a pull request may close this issue.

2 participants