[MacPorts] #50153: MoarVM: upgrade and fix some issues

MacPorts noreply at macports.org
Mon Dec 28 08:29:41 PST 2015


#50153: MoarVM: upgrade and fix some issues
----------------------+--------------------
  Reporter:  mojca@…  |      Owner:  will@…
      Type:  update   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  MoarVM   |
----------------------+--------------------

Old description:

> * The port needs to be upgraded to the latest Christmas edition.
>   * The port currently installs a number of libraries that it probably
> wasn't supposed to (or at least should install them to a different
> location). We need to find a solution for that (I would like to be able
> to build it against libraries shipped by MacPorts).
>     * https://github.com/MoarVM/MoarVM/issues/320
>     * https://github.com/MoarVM/MoarVM/issues/321
>     * https://github.com/MoarVM/MoarVM/issues/322
>   * Due to that the port should conflict with `libtommath` and others
> (`libuv` doesn't directly conflict, but we get a build failure if it's
> installed for example).
>   * We might want to explore the options for `LuaJIT`
>   * I would like to understand what the comment about `perl` in the
> Portfile means.
>   * It would be nice to enable the test suite with `test.run yes`.
>   * May I co-maintain the port (and also make the port `openmaintainer`)?
>
> Available configurations:
>   * `--has-libtommath`
>   * `--has-sha`
>   * `--has-libuv`
>   * `--has-libatomic_ops`
>   * `--has-dynasm`
>   * `--has-dyncall`
>   * `--has-libffi`
>   * `--no-jit` - Disable JIT compiler, which is enabled by default to
> JIT-compile hot frames.
>   * `--lua=path/to/lua/executable` - Path to a lua executable. (Used
> during the build when JIT is enabled).
>
> Potentially problematic files:
> {{{
>   /opt/local/include/dyncall/dyncall.h
>   /opt/local/include/dyncall/dyncall_alloc.h
>   /opt/local/include/dyncall/dyncall_alloc_wx.h
>   /opt/local/include/dyncall/dyncall_args.h
>   /opt/local/include/dyncall/dyncall_args_arm32_arm.h
>   ...
>   /opt/local/include/dyncall/dynload.h
>   /opt/local/include/dyncall/dynload_alloc.h
>   /opt/local/include/libatomic_ops/atomic_ops.h
>   ...
> /opt/local/include/libatomic_ops/atomic_ops/sysdeps/test_and_set_t_is_char.h
>   /opt/local/include/libatomic_ops/config.h
>   /opt/local/include/libtommath/tommath.h
>   /opt/local/include/libtommath/tommath_class.h
>   /opt/local/include/libtommath/tommath_superclass.h
>   /opt/local/include/libuv/android-ifaddrs.h
>   /opt/local/include/libuv/pthread-fixes.h
>   /opt/local/include/libuv/stdint-msvc2008.h
>   /opt/local/include/libuv/tree.h
>   /opt/local/include/libuv/uv-aix.h
>   ...
>   /opt/local/include/libuv/uv.h
>   /opt/local/include/msinttypes/inttypes.h
>   /opt/local/include/msinttypes/stdint.h
>   /opt/local/include/sha1/sha1.h
>   /opt/local/include/tinymt/tinymt64.h
> }}}

New description:

 * The port needs to be upgraded to the latest Christmas edition.
   * The port currently installs a number of libraries that it probably
 wasn't supposed to (or at least should install them to a different
 location). We need to find a solution for that (I would like to be able to
 build it against libraries shipped by MacPorts).
     * https://github.com/MoarVM/MoarVM/issues/320
     * https://github.com/MoarVM/MoarVM/issues/321
     * https://github.com/MoarVM/MoarVM/issues/322
   * Due to that the port should conflict with `libtommath` and others
 (`libuv` doesn't directly conflict, but we get a build failure if it's
 installed for example).
   * We might want to explore the options for `LuaJIT`
   * I would like to understand what the comment about `perl` in the
 Portfile means.
   * ~~It would be nice to enable the test suite with `test.run yes`.~~
   * May I co-maintain the port (and also make the port `openmaintainer`)?

 Available configurations:
   * `--has-libtommath`
   * `--has-sha`
   * `--has-libuv`
   * `--has-libatomic_ops`
   * `--has-dynasm`
   * `--has-dyncall`
   * `--has-libffi`
   * `--no-jit` - Disable JIT compiler, which is enabled by default to JIT-
 compile hot frames.
   * `--lua=path/to/lua/executable` - Path to a lua executable. (Used
 during the build when JIT is enabled).

 Potentially problematic files:
 {{{
   /opt/local/include/dyncall/dyncall.h
   /opt/local/include/dyncall/dyncall_alloc.h
   /opt/local/include/dyncall/dyncall_alloc_wx.h
   /opt/local/include/dyncall/dyncall_args.h
   /opt/local/include/dyncall/dyncall_args_arm32_arm.h
   ...
   /opt/local/include/dyncall/dynload.h
   /opt/local/include/dyncall/dynload_alloc.h
   /opt/local/include/libatomic_ops/atomic_ops.h
   ...
 /opt/local/include/libatomic_ops/atomic_ops/sysdeps/test_and_set_t_is_char.h
   /opt/local/include/libatomic_ops/config.h
   /opt/local/include/libtommath/tommath.h
   /opt/local/include/libtommath/tommath_class.h
   /opt/local/include/libtommath/tommath_superclass.h
   /opt/local/include/libuv/android-ifaddrs.h
   /opt/local/include/libuv/pthread-fixes.h
   /opt/local/include/libuv/stdint-msvc2008.h
   /opt/local/include/libuv/tree.h
   /opt/local/include/libuv/uv-aix.h
   ...
   /opt/local/include/libuv/uv.h
   /opt/local/include/msinttypes/inttypes.h
   /opt/local/include/msinttypes/stdint.h
   /opt/local/include/sha1/sha1.h
   /opt/local/include/tinymt/tinymt64.h
 }}}

--

Comment (by mojca@…):

 After some discussion on IRC, changes committed in r143944.

 We were asked to help improve the `README` at
 https://github.com/MoarVM/MoarVM/tree/master/ports/macports

 We could potentially keep the ticket open until we figure out what to do
 with conflicting libraries.

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


More information about the macports-tickets mailing list