<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>418106</bug_id>
          
          <creation_ts>2020-02-23 20:41:13 +0000</creation_ts>
          <short_desc>configure error: Valgrind not working with Darwin version 18.14.2</short_desc>
          <delta_ts>2020-02-23 20:58:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Developer tools</classification>
          <product>valgrind</product>
          <component>general</component>
          <version>3.15 SVN</version>
          <rep_platform>Homebrew (macOS)</rep_platform>
          <op_sys>macOS</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>399584</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>wtsegars</reporter>
          <assigned_to name="Julian Seward">jseward</assigned_to>
          <cc>tom</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1912498</commentid>
    <comment_count>0</comment_count>
    <who name="">wtsegars</who>
    <bug_when>2020-02-23 20:41:13 +0000</bug_when>
    <thetext>SUMMARY
I tried to install Valgrind on my macOS computer OS10 Mojave using Homebrew. However, when I tried to install it, I got an error thrown back at me in the terminal stating that Valgrind will only work with Darwin versions 10 - 17 but not 18.

STEPS TO REPRODUCE
1. Tried to install Valgrind by running &apos;brew install valgrind&apos; in terminal, but this was returned: &apos;valgrind: This formula either does not compile or function as expected on macOS
versions newer than Sierra due to an upstream incompatibility.&apos;
2. Followed the instructions on this site: https://www.gungorbudak.com/blog/2018/04/28/how-to-install-valgrind-on-macos-high-sierra/
3. Contacted Homebrew with the issue and they told me to contact the developers for Valgrind

OBSERVED RESULT
This is what I got back in the terminal after running &apos;brew install --HEAD valgrind&apos;:
$ brew install --HEAD valgrind
Updating Homebrew...
==&gt; Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==&gt; Updated Formulae
bit

==&gt; Cloning git://sourceware.org/git/valgrind.git
Updating /Users/steelwind/Library/Caches/Homebrew/valgrind--git
==&gt; Checking out branch master
Already on &apos;master&apos;
Your branch is up to date with &apos;origin/master&apos;.
HEAD is now at 6f8920f PPC64, fix for alignment of the rt_sigframe data structure.
==&gt; ./autogen.sh
==&gt; ./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

EXPECTED RESULT
The expected result should successfully install Valgrind on my computer with no problems 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1912502</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Hughes">tom</who>
    <bug_when>2020-02-23 20:58:02 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 399584 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>