[MacRuby-devel] Trunk does not build any more

Robert Schaaf rwschaaf at comcast.net
Sat Aug 29 15:56:30 PDT 2009


Hello Laurent,

I followed the instructions to the letter, using r2427.  All the specs  
pass, but I have a problem with macirb, which aborts on a syntax error.

This is on the newest Mac Mini, 2.26 Mh, with 2 meg running the  
commercial Snow Leopard release.

> Last login: Sat Aug 29 18:41:25 on ttys001
> Minnie:~ rwschaaf$ macruby -v
> MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
> Minnie:~ rwschaaf$ macirb
> irb(main):001:0> 1 = 1
> SyntaxError: (irb):1: syntax error, unexpected '=', expecting $end
> 1 = 1
>    ^
> undefined method `[]' for nil:NilClass (NoMethodError)
> Minnie:~ rwschaaf$
>

Can you reproduce this?

Thanks,

Bob Schaaf



On Aug 29, 2009, at 3:49 PM, Laurent Sansonetti wrote:

> Hi Robert,
>
> If you follow the instructions in the README.rdoc file you should be  
> good. If you need something else let me know.
>
> We will start making binary builds next week.
>
> Laurent
>
> On Aug 29, 2009, at 7:46 AM, Robert Schaaf wrote:
>
>> Hello Laurent,
>>
>> It would be nice if you could post on the blog a step-by-step  
>> description of how to build MacRuby for Snow Leopard.  A little  
>> hand holding would be appreciated, since many of us Mac types  
>> aren't really terminal jockeys.
>>
>> Thanks,
>>
>> Bob Schaaf
>>
>>
>> On Aug 29, 2009, at 4:54 AM, Laurent Sansonetti wrote:
>>
>>> Hi,
>>>
>>> Sorry, it looks like the new GCD module was using a legacy API  
>>> that disappeared in the public version of Snow Leopard.
>>>
>>> I think I fixed the problem in r2427, could you give it a try again?
>>>
>>> Thanks,
>>> Laurent
>>>
>>> On Aug 29, 2009, at 12:38 AM, John-Paul Bader wrote:
>>>
>>>> Hey,
>>>>
>>>> I'm a regular trunk raker ;) After the large (and amazing) change  
>>>> set from the last 24h it isn't building anymore. It stops with  
>>>> this error:
>>>>
>>>>
>>>> /usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 - 
>>>> arch i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall - 
>>>> fexceptions -Wno-parentheses -Wno-deprecated-declarations -Werror  
>>>> -std=c99 -c encoding.c -o encoding.o
>>>> /usr/bin/g++ -I/usr/local/include  -D_DEBUG  -D_GNU_SOURCE - 
>>>> D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3  -fno-common  - 
>>>> Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch  
>>>> x86_64 -Wno-parentheses -Wno-deprecated-declarations -Werror -c  
>>>> main.cpp -o main.o
>>>> /usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 - 
>>>> arch i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall - 
>>>> fexceptions -Wno-parentheses -Wno-deprecated-declarations -Werror  
>>>> -std=c99 -c dln.c -o dln.o
>>>> /usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 - 
>>>> arch i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall - 
>>>> fexceptions -Wno-parentheses -Wno-deprecated-declarations -Werror  
>>>> -std=c99 -c dmyext.c -o dmyext.o
>>>> /usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 - 
>>>> arch i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall - 
>>>> fexceptions -Wno-parentheses -Wno-deprecated-declarations -Werror  
>>>> -std=c99 -c marshal.c -o marshal.o
>>>> /usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 - 
>>>> arch i386 -arch x86_64 -fno-common -pipe -O3 -g -Wall - 
>>>> fexceptions -Wno-parentheses -Wno-deprecated-declarations -Werror  
>>>> -std=c99 -c gcd.c -o gcd.o
>>>> cc1: warnings being treated as errors
>>>> gcd.c: In function ‘rb_source_on_event’:
>>>> gcd.c:469: warning: implicit declaration of function  
>>>> ‘dispatch_source_set_context’
>>>> cc1: warnings being treated as errors
>>>> gcd.c: In function ‘rb_source_on_event’:
>>>> gcd.c:469: warning: implicit declaration of function  
>>>> ‘dispatch_source_set_context’
>>>> lipo: can't open input file: /var/folders/0M/0M4Sm+FaElqW0-8qHhK- 
>>>> BU+++TI/-Tmp-//ccxgHDBi.out (No such file or directory)
>>>> rake aborted!
>>>> Command failed with status (1): [/usr/bin/gcc -I. -I./include -I./ 
>>>> onig -I/u...]
>>>>
>>>> (See full trace by running task with --trace)
>>>> $>
>>>>
>>>>
>>>> Should I even post this here or open a ticket?
>>>>
>>>> Kindest regards, John
>>>>
>>>> _______________________________________________
>>>> MacRuby-devel mailing list
>>>> MacRuby-devel at lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>>
>>> _______________________________________________
>>> MacRuby-devel mailing list
>>> MacRuby-devel at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20090829/4fdd3c4f/attachment.html>


More information about the MacRuby-devel mailing list