[MacPorts] #57852: monotone: error: const_cast from 'const real_pcre *' to 'pcre_t *'

MacPorts noreply at macports.org
Sat Jan 5 07:19:09 UTC 2019


#57852: monotone:  error: const_cast from 'const real_pcre *' to 'pcre_t *'
-------------------------------------------------+---------------------
  Reporter:  mojca                               |      Owner:  dbevans
      Type:  defect                              |     Status:  closed
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:  fixed                               |   Keywords:
      Port:  monotone p5-monotone-automatestdio  |
-------------------------------------------------+---------------------

Comment (by kencu):

 Thanks Dave -- that does fix the build.

 However after that, the tests fail for me firstly with a simple missing
 {{{
 #include <iostream>
 }}}
 in `test/unit/tests/merge_3way.cc`
 but then later on with this:
 {{{
 ./run_func_tests
 Running tests...
 warning: [string "testlib.lua"]:1072: bad argument #2 to 'format' (number
 has no integer representation){ echo '#!/bin/sh';
 \
           echo 'export LANG=C';
 \
           echo 'PATH="/opt/local/var/macports/build
 /_opt_macportsofficial_macports-
 ports_devel_monotone/monotone/work/monotone-1.1/.:/opt/local/var/macports/build
 /_opt_macportsofficial_macports-
 ports_devel_monotone/monotone/work/monotone-1.1/./test/bin:$PATH"';
 \
           echo './test/bin/tester "./test/extra-testsuite.lua" "$@"';   \
           echo 'echo $? > ./test/extra.status';
 \
           echo 'exit 0'; } > run_extra_tests && \
         chmod 755 run_extra_tests
 ./run_extra_tests
 Running tests...
 warning: [string "testlib.lua"]:1072: bad argument #2 to 'format' (number
 has no integer
 representation)============================================================
 3 of 4 test suites malfunctioned
 Please report to https://code.monotone.ca/p/monotone/issues/
 make[3]: *** [check-testers] Error 1
 make[2]: *** [check-am] Error 2
 make[1]: *** [check-recursive] Error 1
 make: *** [check] Error 2
 Command failed:  cd "/opt/local/var/macports/build
 /_opt_macportsofficial_macports-
 ports_devel_monotone/monotone/work/monotone-1.1" && /usr/bin/make check
 Exit code: 2
 Error: Failed to test monotone: command execution failed
 }}}

 and that last bunch doesn't look so pretty. A similar error is brought up
 here <https://bugzilla.redhat.com/show_bug.cgi?id=1185790>, and I presume
 in the end it will have something to do with `lua` version
 incompatibilities.

-- 
Ticket URL: <https://trac.macports.org/ticket/57852#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list