Skip to content

Instantly share code, notes, and snippets.

@Benabik
Created August 20, 2011 21:24
Show Gist options
  • Save Benabik/1159684 to your computer and use it in GitHub Desktop.
Save Benabik/1159684 to your computer and use it in GitHub Desktop.
Error building nom
rakudo$ ./Make
========== CONFIGURE ==========
Verifying installation ...
Using /usr/local/bin/nqp (version 2011.06-164-gbabcf34).
Creating Makefile ...
Cleaning up ...
You can now use 'make' to build Rakudo.
After that, 'make test' will run some tests and
'make install' will install Rakudo.
========== BUILD ==========
perl /usr/local/lib/parrot/3.7.0-devel/tools/build/pmc2c.pl --no-lines --dump --include src/pmc --include /usr/local/src/parrot/3.7.0-devel --include /usr/local/src/parrot/3.7.0-devel/pmc src/pmc/perl6lexinfo.pmc src/pmc/perl6lexpad.pmc
perl /usr/local/lib/parrot/3.7.0-devel/tools/build/pmc2c.pl --no-lines --c --include src/pmc --include /usr/local/src/parrot/3.7.0-devel --include /usr/local/src/parrot/3.7.0-devel/pmc src/pmc/perl6lexinfo.pmc src/pmc/perl6lexpad.pmc
perl /usr/local/lib/parrot/3.7.0-devel/tools/build/pmc2c.pl --no-lines --library perl6_group --c src/pmc/perl6lexinfo.pmc src/pmc/perl6lexpad.pmc
llvm-gcc-4.2 -c -o perl6_group.o -Isrc/pmc -I/usr/local/include/parrot/3.7.0-devel -I/usr/local/include/parrot/3.7.0-devel/pmc "-DPARROT_GC_VALIDATE" -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DDISABLE_GC_DEBUG=1 -DNDEBUG -I /usr/local/Cellar/icu4c/4.4.1/include -falign-functions=16 -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes -fvisibility=hidden perl6_group.c
cd src/pmc && llvm-gcc-4.2 -c -I/usr/local/include/parrot/3.7.0-devel -I/usr/local/include/parrot/3.7.0-devel/pmc "-DPARROT_GC_VALIDATE" -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DDISABLE_GC_DEBUG=1 -DNDEBUG -I /usr/local/Cellar/icu4c/4.4.1/include -falign-functions=16 -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes -fvisibility=hidden *.c
perl6lexpad.c: In function ‘Parrot_Perl6LexPad_set_pointer_orig’:
perl6lexpad.c:618: warning: request for implicit conversion from ‘void *’ to ‘const struct PMC *’ not permitted in C++
c++ -o src/pmc/perl6_group.bundle perl6_group.o src/pmc/*.o -fstack-protector -L/usr/local/lib -L"/Users/brian/dev/parrot/parrot/blib/lib" -undefined dynamic_lookup -bundle -lm -lutil -lreadline -L/usr/local/Cellar/icu4c/4.4.1/lib -licuio
perl -MExtUtils::Command -e cp src/pmc/perl6_group.bundle dynext
perl -MExtUtils::Command -e chmod 755 dynext/perl6_group.bundle
cd src/ops && /usr/local/bin/ops2c C --dynamic perl6.ops
# Parsing perl6.ops...
# Parsed perl6.ops in 12.130 seconds; found 174 ops.
# Ops parsed in 12.144 seconds.
cd src/ops && llvm-gcc-4.2 -c -o perl6_ops.o -I/usr/local/include/parrot/3.7.0-devel -I/usr/local/include/parrot/3.7.0-devel/pmc "-DPARROT_GC_VALIDATE" -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DDISABLE_GC_DEBUG=1 -DNDEBUG -I /usr/local/Cellar/icu4c/4.4.1/include -falign-functions=16 -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes -fvisibility=hidden perl6_ops.c
cd src/binder && llvm-gcc-4.2 -c -o bind.o -I../../src/pmc -I/usr/local/include/parrot/3.7.0-devel -I/usr/local/include/parrot/3.7.0-devel/pmc "-DPARROT_GC_VALIDATE" -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DDISABLE_GC_DEBUG=1 -DNDEBUG -I /usr/local/Cellar/icu4c/4.4.1/include -falign-functions=16 -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes -fvisibility=hidden bind.c
cd src/binder && llvm-gcc-4.2 -c -o multidispatch.o -I../../src/pmc -I/usr/local/include/parrot/3.7.0-devel -I/usr/local/include/parrot/3.7.0-devel/pmc "-DPARROT_GC_VALIDATE" -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DDISABLE_GC_DEBUG=1 -DNDEBUG -I /usr/local/Cellar/icu4c/4.4.1/include -falign-functions=16 -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes -fvisibility=hidden multidispatch.c
cd src/binder && llvm-gcc-4.2 -c -o container.o -I../../src/pmc -I/usr/local/include/parrot/3.7.0-devel -I/usr/local/include/parrot/3.7.0-devel/pmc "-DPARROT_GC_VALIDATE" -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DDISABLE_GC_DEBUG=1 -DNDEBUG -I /usr/local/Cellar/icu4c/4.4.1/include -falign-functions=16 -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes -fvisibility=hidden container.c
cd src/binder && llvm-gcc-4.2 -c -o types.o -I../../src/pmc -I/usr/local/include/parrot/3.7.0-devel -I/usr/local/include/parrot/3.7.0-devel/pmc "-DPARROT_GC_VALIDATE" -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DDISABLE_GC_DEBUG=1 -DNDEBUG -I /usr/local/Cellar/icu4c/4.4.1/include -falign-functions=16 -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes -fvisibility=hidden types.c
cd src/ops && c++ -o perl6_ops.bundle perl6_ops.o ../binder/bind.o ../binder/multidispatch.o ../binder/container.o ../binder/types.o -fstack-protector -L/usr/local/lib -L"/Users/brian/dev/parrot/parrot/blib/lib" -undefined dynamic_lookup -bundle -lm -lutil -lreadline -L/usr/local/Cellar/icu4c/4.4.1/lib -licuio
perl -MExtUtils::Command -e cp src/ops/perl6_ops.bundle dynext
perl -MExtUtils::Command -e chmod 755 dynext/perl6_ops.bundle
/usr/local/bin/nqp --target=pir --output=src/gen/perl6-moduleloader.pir --encoding=utf8 \
src/Perl6/ModuleLoader.pm
/usr/local/bin/parrot -o blib/Perl6/ModuleLoader.pbc src/gen/perl6-moduleloader.pir
/usr/local/bin/nqp --vmlibs=perl6_group,perl6_ops --target=pir --output=src/gen/perl6-symboltable.pir --encoding=utf8 \
src/Perl6/SymbolTable.pm
/usr/local/bin/parrot -o blib/Perl6/SymbolTable.pbc src/gen/perl6-symboltable.pir
/usr/local/bin/nqp --target=pir --output=src/gen/perl6-grammar.pir --encoding=utf8 \
src/Perl6/Grammar.pm
/usr/local/bin/parrot -o blib/Perl6/Grammar.pbc src/gen/perl6-grammar.pir
Lossy conversion to single byte encoding
make: *** [blib/Perl6/Grammar.pbc] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment