[MacPorts] #45091: Adding HHVM Portfile

MacPorts noreply at macports.org
Sat Sep 20 09:01:51 PDT 2014


#45091: Adding HHVM Portfile
-------------------------------+--------------------------------
  Reporter:  cornelius.howl@…  |      Owner:  macports-tickets@…
      Type:  submission        |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.3.1
Resolution:                    |   Keywords:
      Port:  hhvm              |
-------------------------------+--------------------------------

Comment (by cal@…):

 {{{
 system "install_name_tool -change libjemalloc.1.dylib
 ${prefix}/lib/libjemalloc.1.dylib ${prefix}/bin/hhvm"
 }}}
 in post-destroot changes a file in `${prefix}`. The destroot phase must
 not touch files in `${prefix}` (and actually, sandboxing will prevent it
 from doing so). Please prefix the last argument of the install_name_tool
 call with `${destroot}`.

 I'm pretty sure this will end up mixing `libc++` and `libstdc++` in the
 same process, e.g. coming from mysql55-connector-cpp and gcc. Even if it
 links (for whatever reason), it will crash at runtime with weird runtime
 library errors. If the software can only be compiled with GCC, maybe
 that's a good place to use
 http://stackoverflow.com/questions/22228208/using-g-with-libc?

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


More information about the macports-tickets mailing list