Opened 8 years ago

Closed 8 years ago

#52338 closed defect (fixed)

valgrind does not install under Xcode 8 (macOS Sierra)

Reported by: roberthuston@… Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: sierra Cc: elventear (Pepe Barbe), chrstphrchvz (Christopher Chavez)
Port: valgrind

Description (last modified by mf2k (Frank Schima))

After upgrading to macOS Sierra and to Xcode 8, I performed the initial migration operations for MacPorts. When I get to installing valgrind, I get an error that OS 10.12 isn't supported (Darwin 16). Changing the "${os.major} > 15" check to be "${os.major} > 16" in the Portfile allows MacPorts to pull down the valgrind-3.11.0.tar.bz2 file. However, I then get a configuration failure:

  :info:configure checking for a supported version of gcc... no (8.0.0)
  :info:configure configure: error: please use gcc >= 3.0 or clang >= 2.9 or icc >= 13.0

I don't know what to modify in the patch files to get things to work correctly.

Change History (8)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Keywords: valgrind removed
Owner: changed from macports-tickets@… to raimue@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers valgrind), if any.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 8 years ago by raimue (Rainer Müller)

Keywords: sierra added
Status: newassigned

valgrind does not yet support macOS 10.12 Sierra. You will have to wait until it is fixed by the valgrind developers.

Upstream ticket: https://bugs.kde.org/show_bug.cgi?id=365327

I will look into getting valgrind to build with Xcode 8 on OS X 10.11 El Capitan.

comment:4 Changed 8 years ago by elventear (Pepe Barbe)

Cc: elventear@… added

Cc Me!

comment:5 Changed 8 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrischavez@… added

Cc Me!

comment:6 Changed 8 years ago by chrstphrchvz (Christopher Chavez)

valgrind has included "preliminary support" macOS Sierra in the 3.12 branch (svn version r15976). They plan to release valgrind 3.12 on 20 October. See http://valgrind.10908.n7.nabble.com/Valgrind-3-12-0-BETA-is-available-for-testing-td56801.html

I'm not a maintainer, but I may be able to provide a portfile patch for valgrind-devel in the short term.

comment:7 Changed 8 years ago by raimue (Rainer Müller)

Xcode 8 problem was supposed to be solved by r150680.

comment:8 Changed 8 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: assignedclosed

Support for macOS 10.12 Sierra added to valgrind-devel in r153761.

Note: See TracTickets for help on using tickets.