[MacPorts] #38790: e_dbus @1.7.6 needs a dependency on valgrind

MacPorts noreply at macports.org
Mon Dec 23 00:38:44 PST 2013


#38790: e_dbus @1.7.6 needs a dependency on valgrind
----------------------+--------------------------
  Reporter:  egall@…  |      Owner:  ryandesign@…
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.1.3
Resolution:  fixed    |   Keywords:
      Port:  e_dbus   |
----------------------+--------------------------

Comment (by ryandesign@…):

 Replying to [comment:5 ryandesign@…]:
 > These 8 related ports build fine on my systems, without valgrind
 installed.

 These ports and others are being combined into EFL, the Enlightenment
 Foundation Libraries. The EFL 1.8.0-alpha1 README explains what's going on
 with valgrind:

 {{{
 VALGRIND DEPENDENCY:
 ------------------------------------------------------------------------------
 EFL uses the concept of memory pools (mempool) and this will confuse
 valgrind memcheck tool. By using memory pool, the memory is still
 owned by EFL, then valgrind won't alert on memory leaks or use of
 unused memory. EFL will use memcheck.h from valgrind to declare its
 memory pools to valgrind, producing better debugging results.

 However valgrind is only available to limited platforms, making us
 hard to declare it a mandatory requirement. Based on
 --with-profile={dev,debug} valgrind will be used if available or will
 be issued a warning. You can force valgrind with --enable-valgrind, or
 disable it and the warning with --disable-valgrind.

 EFL does NOT link to valgrind libraries. Then there is NO runtime
 dependency on valgrind.
 }}}

 So while that's nice, valgrind is indeed only available to limited
 platforms—last I checked it would only install on Snow Leopard and Lion,
 not earlier versions, not later versions—so we should not make valgrind a
 dependency nor use it opportunistically. I've explicitly disabled valgrind
 support in eina and evas in r115054.

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


More information about the macports-tickets mailing list