Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.3.6 Broken on Mac #37

Closed
serialx opened this issue Jul 23, 2013 · 1 comment
Closed

0.3.6 Broken on Mac #37

serialx opened this issue Jul 23, 2013 · 1 comment

Comments

@serialx
Copy link

serialx commented Jul 23, 2013

0.3.6 is broken on mac with the following error:

Installing gem posix-spawn-0.3.6
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/.gitignore
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/COPYING
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/Gemfile
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/HACKING
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/README.md
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/Rakefile
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/TODO
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/bin/posix-spawn-benchmark
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/ext/extconf.rb
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/ext/posix-spawn.c
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/lib/posix-spawn.rb
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/lib/posix/spawn.rb
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/lib/posix/spawn/child.rb
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/lib/posix/spawn/version.rb
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/posix-spawn.gemspec
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/test/test_backtick.rb
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/test/test_child.rb
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/test/test_popen.rb
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/test/test_spawn.rb
/Library/Ruby/Gems/1.8/gems/posix-spawn-0.3.6/test/test_system.rb
Building native extensions.  This could take a while...
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
creating Makefile
make "DESTDIR="
xcrun cc -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0 -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE  -fno-common  -pipe -fno-common  -Wall   -c posix-spawn.c
In file included from posix-spawn.c:14:
In file included from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0/ruby.h:24:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0/config.h:21:9: warning: '_GNU_SOURCE' macro redefined
#define _GNU_SOURCE 1
        ^
posix-spawn.c:3:9: note: previous definition is here
#define _GNU_SOURCE
        ^
1 warning generated.
In file included from posix-spawn.c:14:
In file included from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0/ruby.h:24:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0/config.h:21:9: warning: '_GNU_SOURCE' macro redefined
#define _GNU_SOURCE 1
        ^
posix-spawn.c:3:9: note: previous definition is here
#define _GNU_SOURCE
        ^
1 warning generated.
cc -arch i386 -arch x86_64 -pipe -bundle -undefined dynamic_lookup -o posix_spawn_ext.bundle posix-spawn.o -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64     -lruby  -lpthread -ldl -lobjc
make "DESTDIR=" install
/usr/bin/install -c -m 0755 posix_spawn_ext.bundle ./.gem.20130723-96852-r47vbj
ERROR:  While executing gem ... (NoMethodError)
    undefined method `join' for nil:NilClass
@rtomayko
Copy link
Owner

rtomayko commented Apr 3, 2015

I believe this was fixed some time ago. Sorry to leave this open and stale for so long. Closing ...

@rtomayko rtomayko closed this as completed Apr 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants