Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
[ ] ran brew update and can still reproduce the problem?
[ ] ran brew doctor, fixed all issues and can still reproduce the problem?
[ ] ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?
[ ] if brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?
What you were trying to do (and why)
What happened (include command output)
I got an output from the terminal that stated that Valgrind only works with macOS using Darwin versions 10.x - 17.x.
Command output
$ brew install --HEAD valgrind
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from 5b126ec85 to 3317b0052.
Updated 3 taps (homebrew/core, homebrew/cask and sass/sass).
==> New Formulae
bic gh libfido2
cargo-instruments iblinter
==> Updated Formulae
readline ✔ ed jenkins pgweb
aws-okta ensmallen mahout pulumi
balena-cli exploitdb micronaut renameutils
bazel fastlane minio sass/sass/migrator
bind fetchmail minio-mc skaffold
byobu ffuf mmark sn0int
carrot2 flow monetdb teleport
circleci glooctl ncurses topgrade
crystal-icr helm nifi typescript
detekt helmfile ode weechat
devspace hugo opa yq
==> Cloning git://sourceware.org/git/valgrind.git
Updating /Users/steelwind/Library/Caches/Homebrew/valgrind--git
From git://sourceware.org/git/valgrind
40ab2f1..6f8920f master -> origin/master
==> Checking out branch master
Already on 'master'
Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
(use "git pull" to update your local branch)
HEAD is now at 6f8920f PPC64, fix for alignment of the rt_sigframe data structure.
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/valgrind/HEAD-6f8920f --enable-only64
Last 15 lines from /Users/steelwind/Library/Logs/Homebrew/valgrind/02.configure:
checking for gcc-ar... no
checking for perl... /usr/bin/perl
checking for gdb... /no/gdb/was/found/at/configure/time
checking dependency style of clang... none
checking for diff -u... yes
checking for clang option to accept ISO C99... none needed
checking for a supported version of gcc... ok (Apple LLVM version 10.0.1)
checking build system type... x86_64-pc-darwin
checking host system type... x86_64-pc-darwin
checking for a supported CPU... ok (x86_64)
checking for a 64-bit only build... yes
checking for a 32-bit only build... no
checking for a supported OS... ok (darwin)
checking for the kernel version... unsupported (18.6.0)
configure: error: Valgrind works on Darwin 10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x and 17.x (Mac OS X 10.6/7/8/9/10/11 and macOS 10.12/13)
READ THIS: https://docs.brew.sh/Troubleshooting
What you expected to happen
It was supposed to updated Valgrind so that I can be used on the command line for macOS 10 Mojave.
As you can tell by the title there, that guide isn't for macOS 10.14/Mojave. There's also nothing homebrew can do about this, the best option is to work with the valgrind developers to add support for mojave.
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew gist-logs <formula>
(where<formula>
is the name of the formula that failed) and included the output link?brew gist-logs
didn't work: ranbrew config
andbrew doctor
and included their output with your issue?What you were trying to do (and why)
What happened (include command output)
I got an output from the terminal that stated that Valgrind only works with macOS using Darwin versions 10.x - 17.x.
Command output
What you expected to happen
It was supposed to updated Valgrind so that I can be used on the command line for macOS 10 Mojave.
Step-by-step reproduction instructions (by running
brew install
commands)I followed these instructions here:
https://www.gungorbudak.com/blog/2018/04/28/how-to-install-valgrind-on-macos-high-sierra/