Mac OS Mojave: “brew install --HEAD valgrind” fails. Suggested online solutions do not work












1















When attempting



brew install --HEAD valgrind


I get this error:




==> Deleted Formulae apache-arrow cputhrottle liblastfm ruby@1.8 apache-arrow-glib hyper percona-server@5.6



valgrind: This formula either does not compile or function as expected
on macOS versions newer than High Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.
Moes-MacBook-Pro:~ moesanjaq$ brew install --HEAD valgrind
==> Cloning https://sourceware.org/git/valgrind.git Updating /Users/moesanjaq/Library/Caches/Homebrew/valgrind--git fatal: dumb
http transport does not support shallow capabilities Error: An
exception occurred within a child process: DownloadError: Failed to
download resource "valgrind" Failure while executing; git fetch
origin --unshallow
exited with 128. Here's the output: fatal: dumb
http transport does not support shallow capabilities




When attempting



brew install valgrind


I get a much shorter error message




valgrind: This formula either does not compile or function as expected
on macOS versions newer than High Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.




I attempted following this article:
https://www.gungorbudak.com/blog/2018/04/28/how-to-install-valgrind-on-macos-high-sierra/



After making the changes the head section of



 brew edit valgrind


looks like




head do



url "git://sourceware.org/git/valgrind.git"

depends_on "autoconf" => :build

depends_on "automake" => :build

depends_on "libtool" => :build


end




Now when attempting



brew install --HEAD valgrind


I get to the build step and then this error:




=> Checking out branch master Already on 'master' Your branch is up to date with 'origin/master'. HEAD is now at e911f75 Fix
callgrind_annotate Use of uninitialized value in numeric gt (>)
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/valgrind/HEAD-e911f75 --enable-only64 Last 15 lines from /Users/moesanjaq/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.0) 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.2.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




When attempting



brew install valgrind


I get the same error as previous:




valgrind: This formula either does not compile or function as expected
on macOS versions newer than High Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.




Am I doomed to find my leaks manually when developing on Mac OS Mojave?










share|improve this question























  • Valgrind says they have some upstream issue they can't fix right now

    – Ethan Z
    2 days ago
















1















When attempting



brew install --HEAD valgrind


I get this error:




==> Deleted Formulae apache-arrow cputhrottle liblastfm ruby@1.8 apache-arrow-glib hyper percona-server@5.6



valgrind: This formula either does not compile or function as expected
on macOS versions newer than High Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.
Moes-MacBook-Pro:~ moesanjaq$ brew install --HEAD valgrind
==> Cloning https://sourceware.org/git/valgrind.git Updating /Users/moesanjaq/Library/Caches/Homebrew/valgrind--git fatal: dumb
http transport does not support shallow capabilities Error: An
exception occurred within a child process: DownloadError: Failed to
download resource "valgrind" Failure while executing; git fetch
origin --unshallow
exited with 128. Here's the output: fatal: dumb
http transport does not support shallow capabilities




When attempting



brew install valgrind


I get a much shorter error message




valgrind: This formula either does not compile or function as expected
on macOS versions newer than High Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.




I attempted following this article:
https://www.gungorbudak.com/blog/2018/04/28/how-to-install-valgrind-on-macos-high-sierra/



After making the changes the head section of



 brew edit valgrind


looks like




head do



url "git://sourceware.org/git/valgrind.git"

depends_on "autoconf" => :build

depends_on "automake" => :build

depends_on "libtool" => :build


end




Now when attempting



brew install --HEAD valgrind


I get to the build step and then this error:




=> Checking out branch master Already on 'master' Your branch is up to date with 'origin/master'. HEAD is now at e911f75 Fix
callgrind_annotate Use of uninitialized value in numeric gt (>)
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/valgrind/HEAD-e911f75 --enable-only64 Last 15 lines from /Users/moesanjaq/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.0) 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.2.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




When attempting



brew install valgrind


I get the same error as previous:




valgrind: This formula either does not compile or function as expected
on macOS versions newer than High Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.




Am I doomed to find my leaks manually when developing on Mac OS Mojave?










share|improve this question























  • Valgrind says they have some upstream issue they can't fix right now

    – Ethan Z
    2 days ago














1












1








1








When attempting



brew install --HEAD valgrind


I get this error:




==> Deleted Formulae apache-arrow cputhrottle liblastfm ruby@1.8 apache-arrow-glib hyper percona-server@5.6



valgrind: This formula either does not compile or function as expected
on macOS versions newer than High Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.
Moes-MacBook-Pro:~ moesanjaq$ brew install --HEAD valgrind
==> Cloning https://sourceware.org/git/valgrind.git Updating /Users/moesanjaq/Library/Caches/Homebrew/valgrind--git fatal: dumb
http transport does not support shallow capabilities Error: An
exception occurred within a child process: DownloadError: Failed to
download resource "valgrind" Failure while executing; git fetch
origin --unshallow
exited with 128. Here's the output: fatal: dumb
http transport does not support shallow capabilities




When attempting



brew install valgrind


I get a much shorter error message




valgrind: This formula either does not compile or function as expected
on macOS versions newer than High Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.




I attempted following this article:
https://www.gungorbudak.com/blog/2018/04/28/how-to-install-valgrind-on-macos-high-sierra/



After making the changes the head section of



 brew edit valgrind


looks like




head do



url "git://sourceware.org/git/valgrind.git"

depends_on "autoconf" => :build

depends_on "automake" => :build

depends_on "libtool" => :build


end




Now when attempting



brew install --HEAD valgrind


I get to the build step and then this error:




=> Checking out branch master Already on 'master' Your branch is up to date with 'origin/master'. HEAD is now at e911f75 Fix
callgrind_annotate Use of uninitialized value in numeric gt (>)
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/valgrind/HEAD-e911f75 --enable-only64 Last 15 lines from /Users/moesanjaq/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.0) 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.2.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




When attempting



brew install valgrind


I get the same error as previous:




valgrind: This formula either does not compile or function as expected
on macOS versions newer than High Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.




Am I doomed to find my leaks manually when developing on Mac OS Mojave?










share|improve this question














When attempting



brew install --HEAD valgrind


I get this error:




==> Deleted Formulae apache-arrow cputhrottle liblastfm ruby@1.8 apache-arrow-glib hyper percona-server@5.6



valgrind: This formula either does not compile or function as expected
on macOS versions newer than High Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.
Moes-MacBook-Pro:~ moesanjaq$ brew install --HEAD valgrind
==> Cloning https://sourceware.org/git/valgrind.git Updating /Users/moesanjaq/Library/Caches/Homebrew/valgrind--git fatal: dumb
http transport does not support shallow capabilities Error: An
exception occurred within a child process: DownloadError: Failed to
download resource "valgrind" Failure while executing; git fetch
origin --unshallow
exited with 128. Here's the output: fatal: dumb
http transport does not support shallow capabilities




When attempting



brew install valgrind


I get a much shorter error message




valgrind: This formula either does not compile or function as expected
on macOS versions newer than High Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.




I attempted following this article:
https://www.gungorbudak.com/blog/2018/04/28/how-to-install-valgrind-on-macos-high-sierra/



After making the changes the head section of



 brew edit valgrind


looks like




head do



url "git://sourceware.org/git/valgrind.git"

depends_on "autoconf" => :build

depends_on "automake" => :build

depends_on "libtool" => :build


end




Now when attempting



brew install --HEAD valgrind


I get to the build step and then this error:




=> Checking out branch master Already on 'master' Your branch is up to date with 'origin/master'. HEAD is now at e911f75 Fix
callgrind_annotate Use of uninitialized value in numeric gt (>)
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/valgrind/HEAD-e911f75 --enable-only64 Last 15 lines from /Users/moesanjaq/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.0) 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.2.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




When attempting



brew install valgrind


I get the same error as previous:




valgrind: This formula either does not compile or function as expected
on macOS versions newer than High Sierra due to an upstream
incompatibility. Error: An unsatisfied requirement failed this build.




Am I doomed to find my leaks manually when developing on Mac OS Mojave?







macos homebrew memory-leaks macos-mojave valgrind






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 28 at 8:25









Han BonsenHan Bonsen

61




61













  • Valgrind says they have some upstream issue they can't fix right now

    – Ethan Z
    2 days ago



















  • Valgrind says they have some upstream issue they can't fix right now

    – Ethan Z
    2 days ago

















Valgrind says they have some upstream issue they can't fix right now

– Ethan Z
2 days ago





Valgrind says they have some upstream issue they can't fix right now

– Ethan Z
2 days ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399152%2fmac-os-mojave-brew-install-head-valgrind-fails-suggested-online-solutions%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399152%2fmac-os-mojave-brew-install-head-valgrind-fails-suggested-online-solutions%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix