[MacPorts] #48800: gtest: please remove

MacPorts noreply at macports.org
Tue Sep 8 20:59:07 PDT 2015


#48800: gtest: please remove
---------------------------+---------------------
  Reporter:  ryandesign@…  |      Owner:  blair@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  gtest         |
---------------------------+---------------------

Comment (by ryandesign@…):

 The Google Test Makefile contains these comments:

 {{{
 # Disables 'make install' as installing a compiled version of Google
 # Test can lead to undefined behavior due to violation of the
 # One-Definition Rule.
 }}}

 And this line:

 {{{
 echo "'make install' is dangerous and not supported. Instead, see README
 for how to integrate Google Test into your build system."
 }}}

 This seems to make clear that a package manager like MacPorts should not
 include Google Test, nor should any other means be used to install Google
 Test into a public location. Projects should only use private copies of
 Google Test in their build systems for testing.

 The developers of GRPC should be directed to these facts and advised to
 include a copy of Google Test in their project, and not advocate
 installing Google Test into the MacPorts prefix.

-- 
Ticket URL: <https://trac.macports.org/ticket/48800#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list