Skip to content
Discussion options

You must be logged in to vote

This is an issue with building gprofng. Homebrew's compiler shim strips out the include path for jni.h because it doesn't like to use system dependencies. Since it doesn't seem like there is an option to disable gprofng's Java profiling feature, please try this as a workaround:

brew tap --force homebrew/core
brew edit binutils  # apply the patch below
HOMEBREW_NO_INSTALL_FROM_API=1 brew install binutils
--- a/Formula/b/binutils.rb
+++ b/Formula/b/binutils.rb
@@ -34,6 +34,7 @@ class Binutils < Formula
     # Workaround https://sourceware.org/bugzilla/show_bug.cgi?id=28909
     touch "gas/doc/.dirstamp", mtime: Time.utc(2022, 1, 1)
     make_args = OS.mac? ? [] : ["MAKEINFO=true"] # for gpr…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by monodera
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Linux
Labels
None yet
2 participants