Ticket #1706 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

Parrot fails to build on Mac OS 10.6 Snow Leopard

Reported by: brianherman Owned by:
Priority: normal Milestone:
Component: build Version: 2.5.0
Severity: medium Keywords:
Cc: Language: perl6
Patch status: Platform: mac

Description (last modified by coke) (diff)

Steps to Reproduce the problem: 0. Have a Mac OS 10.6 Snow Leopard Box 1. Download the latest svn repo of parrot 2. Try to compile:

---Error---
gcc-4.2 -I./include -I./include/pmc -g -pipe -fno-common  -I/usr/local/include -pipe -fno-common  -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DDISABLE_GC_DEBUG=1 -DNDEBUG      -Os -falign-functions=16 -fvisibility=hidden -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 -Wbad-function-cast -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 -Isrc -o src/null_config.o -c src/null_config.c
c++ -o miniparrot src/main.o src/null_config.o \
	-L/Users/brianherman/rakudo/parrot/blib/lib -L/Users/brianherman/rakudo/parrot/blib/lib -lparrot  -lm -lutil -lreadline -undefined dynamic_lookup  
./miniparrot -Iruntime/parrot/include config_lib.pir > runtime/parrot/include/config.fpmc
/bin/sh: line 1: 40229 Segmentation fault      ./miniparrot -Iruntime/parrot/include config_lib.pir > runtime/parrot/include/config.fpmc
make: *** [runtime/parrot/include/config.fpmc] Error 139
Command failed (status 512): make install-dev
===SORRY!===
Unable to locate parrot_config

To automatically checkout (svn) and build a copy of parrot r48114,
try re-running Configure.pl with the '--gen-parrot' option.
Or, use the '--parrot-config' option to explicitly specify
the location of parrot_config to be used to build Rakudo Perl.

Change History

Changed 4 years ago by chromatic

On Monday 19 July 2010 at 21:23, Parrot  wrote:

>  Steps to Reproduce the problem:
>  0. Have a Mac OS 10.6 Snow Leopard Box
>  1. Download the latest svn repo of parrot
>  2. Try to compile:

Do you have an older version of Parrot installed somewhere?

Can you get a backtrace from gdb?

-- c

Changed 4 years ago by coke

  • description modified (diff)

(adding in code block to original report so trac formats it properly)

Changed 4 years ago by coke

Looks like you're actually using a language (rakudo perl 6?) to download parrot for you.

Please try to remove the 2 parrot* directories in your rakudo checkout and try to reconfig Rakudo.

There is a known problem with Rakudo's building of parrot - it just does an svn update over the existing checkout, and occasionally that will fail to build.

Changed 4 years ago by jkeenan

  • component changed from none to build
  • summary changed from Parrot to Parrot fails to build on Mac OS 10.6 Snow Leopard

Changed 4 years ago by coke

  • status changed from new to closed
  • resolution set to fixed

Hearing no feedback from the OP, I'm going to assume my diagnosis in comment 3 is correct. (Especially since I'm building regularly on that platform with no problem)

brianherman - if you find that you're still having problems, please reopen this ticket and reply to comment 3.

Thanks for the report!

Note: See TracTickets for help on using tickets.