Skip to content

Instantly share code, notes, and snippets.

@cjfields
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjfields/bd7682e80c679eb1a49c to your computer and use it in GitHub Desktop.
Save cjfields/bd7682e80c679eb1a49c to your computer and use it in GitHub Desktop.
NativeCall build fail on Mac OS X
[cjfields@cjfields-imac panda (master)]$ perl6 -v
This is perl6 version 2014.11-65-gdfcf9fc built on MoarVM version 2014.11-64-g650333f
[cjfields@cjfields-imac panda (master)]$ panda install NativeCall
==> Fetching NativeCall
==> Building NativeCall
Compiling lib/NativeCall.pm6 to mbc
==> Testing NativeCall
t/01-argless.t ......... ok
t/02-simple-args.t ..... ok
t/03-simple-returns.t .. ok
t/04-pointers.c:17:13: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
int x = strcmp("Got passed back the pointer I returned", ptr) == 0;
^
t/04-pointers.c:17:13: note: please include the header <string.h> or explicitly provide a declaration for 'strcmp'
1 warning generated.
t/04-pointers.t ........ ok
t/05-arrays.t .......... ok
t/06-struct.t .......... ok
t/07-writebarrier.t .... ok
moar(87148,0x7fff7cf15310) malloc: *** error for object 0x10adfcde0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
t/08-callbacks.t .......
Failed 3/5 subtests
t/09-nativecast.t ...... ok
t/10-cglobals.t ........ ok
Test Summary Report
-------------------
t/08-callbacks.t (Wstat: 6 Tests: 2 Failed: 0)
Non-zero wait status: 6
Parse errors: Bad plan. You planned 5 tests but ran 2.
Files=10, Tests=95, 6 wallclock secs ( 0.04 usr 0.01 sys + 5.05 cusr 0.74 csys = 5.84 CPU)
Result: FAIL
test stage failed for NativeCall: Tests failed
in method install at lib/Panda.pm:124
in method resolve at lib/Panda.pm:193
in sub MAIN at /Users/cjfields/src/rakudo/install/languages/perl6/site/bin/panda:20
in sub MAIN at /Users/cjfields/src/rakudo/install/languages/perl6/site/bin/panda:18
in block <unit> at /Users/cjfields/src/rakudo/install/languages/perl6/site/bin/panda:69
Failure Summary
----------------
NativeCall
*test stage failed for NativeCall: Tests failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment