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

HEAD dead on Yosemite #44

Closed
DomT4 opened this issue Oct 28, 2014 · 22 comments
Closed

HEAD dead on Yosemite #44

DomT4 opened this issue Oct 28, 2014 · 22 comments

Comments

@DomT4
Copy link

DomT4 commented Oct 28, 2014

Title explains really. The current Github repository does not compile on OS X 10.10.

==> Checking out revision 6ab8f48a8dc62e4d917b599b3d8c8e10f764f839
git checkout-index -a -f --prefix=/private/tmp/neko-S80agF/
==> make os=osx LIB_PREFIX=/usr/local INSTALL_FLAGS=
mkdir bin 2>/dev/null
make: [createbin] Error 1 (ignored)
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o vm/alloc.o -c vm/alloc.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o vm/builtins.o -c vm/builtins.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o vm/callback.o -c vm/callback.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o vm/interp.o -c vm/interp.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o vm/load.o -c vm/load.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o vm/objtable.o -c vm/objtable.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o vm/others.o -c vm/others.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o vm/hash.o -c vm/hash.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o vm/module.o -c vm/module.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o vm/jit_x86.o -c vm/jit_x86.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o vm/threads.o -c vm/threads.c
clang  -o bin/libneko.dylib vm/alloc.o vm/builtins.o vm/callback.o vm/interp.o vm/load.o vm/objtable.o vm/others.o vm/hash.o vm/module.o vm/jit_x86.o vm/threads.o -ldl /usr/local/lib/libgc.a -lm -dynamiclib -single_module -install_name @executable_path/libneko.dylib
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o vm/stats.o -c vm/stats.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o vm/main.o -c vm/main.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o bin/neko vm/stats.o vm/main.o -L/private/tmp/neko-S80agF/bin -lneko
strip bin/neko
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/buffer.o -c libs/std/buffer.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/date.o -c libs/std/date.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/file.o -c libs/std/file.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/init.o -c libs/std/init.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/int32.o -c libs/std/int32.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/math.o -c libs/std/math.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/string.o -c libs/std/string.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/random.o -c libs/std/random.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/serialize.o -c libs/std/serialize.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/socket.o -c libs/std/socket.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/sys.o -c libs/std/sys.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/xml.o -c libs/std/xml.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/module.o -c libs/std/module.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/common/sha1.o -c libs/common/sha1.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/md5.o -c libs/std/md5.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/unicode.o -c libs/std/unicode.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/utf8.o -c libs/std/utf8.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/memory.o -c libs/std/memory.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/misc.o -c libs/std/misc.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/thread.o -c libs/std/thread.c
clang -Wall -O3 -fPIC -fomit-frame-pointer -I vm -D_GNU_SOURCE -I libs/common -L/usr/local/lib -L/usr/local/lib -I/usr/local/include  -o libs/std/process.o -c libs/std/process.c
clang -o bin/std.ndll libs/std/buffer.o libs/std/date.o libs/std/file.o libs/std/init.o libs/std/int32.o libs/std/math.o libs/std/string.o libs/std/random.o libs/std/serialize.o libs/std/socket.o libs/std/sys.o libs/std/xml.o libs/std/module.o libs/common/sha1.o libs/std/md5.o libs/std/unicode.o libs/std/utf8.o libs/std/memory.o libs/std/misc.o libs/std/thread.o libs/std/process.o -bundle -undefined dynamic_lookup -L/private/tmp/neko-S80agF/bin -lneko
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko nekoml -nostd neko/Main.nml nekoml/Main.nml)
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko nekoc -link ../boot/nekoc.n neko/Main)
neko/Main
IO
String
List
Array
Core
Buffer
neko/Printer
neko/Ast
Lexer
LexEngine
Hashtbl
neko/Binast
neko/Compile
Map
neko/Bytecode
neko/Xml
Xml
neko/Console
neko/Parser
neko/Lexer
Reflect
Stack
neko/Linker
neko/Doc
Sys
Args
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko nekoc -link ../boot/nekoml.n nekoml/Main)
nekoml/Main
IO
String
List
Array
Core
Buffer
neko/Printer
neko/Ast
Lexer
LexEngine
Hashtbl
nekoml/Type
neko/Compile
Map
neko/Bytecode
Reflect
nekoml/Neko
nekoml/Typer
nekoml/Ast
nekoml/Match
Set
nekoml/Parser
nekoml/Lexer
neko/Lexer
neko/Parser
neko/Binast
neko/Xml
Xml
Sys
Zip
Stack
Args
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko nekoc tools/install.neko)
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko tools/install -silent )
cp ../boot/nekoc.n ../bin
cp ../boot/nekoml.n ../bin
../bin/neko nekoc tools/test.neko
cp tools/test.n ../bin
../bin/neko nekoc tools/nekoboot.neko
../bin/neko nekoml -nostd -p tools Tools.nml
../bin/neko nekoc -link tools/nekotools.n Tools
Tools
tools/nekoboot
Sys
List
Array
Core
String
Buffer
IO
WebServer
Hashtbl
Lexer
LexEngine
Stack
Reflect
Args
Net
cp tools/nekotools.n ../bin
../bin/neko tools/nekoboot ../bin/nekoc.n
../bin/neko tools/nekoboot ../bin/nekoml.n
../bin/neko tools/nekoboot ../bin/nekotools.n
Compiling zlib...
clang -O3 -fPIC  -c -I../../vm -I/usr/include zlib.c
clang -L/private/tmp/neko-S80agF/src -L/usr/lib -L/usr/lib/mysql -L/usr/local/lib -L/usr/local/lib/mysql -L/opt/local/lib -L/opt/local/lib/mysql -L/opt/local/lib/mysql5/mysql  -o ../../bin/zlib.ndll zlib.o -lz   -bundle -undefined dynamic_lookup -L../../bin -lneko
Compiling sqlite...
clang -O3 -fPIC  -c -I../../vm -I/usr/include sqlite.c
clang -L/private/tmp/neko-S80agF/src -L/usr/lib -L/usr/lib/mysql -L/usr/local/lib -L/usr/local/lib/mysql -L/opt/local/lib -L/opt/local/lib/mysql -L/opt/local/lib/mysql5/mysql  -o ../../bin/sqlite.ndll sqlite.o -lsqlite3   -bundle -undefined dynamic_lookup -L../../bin -lneko
Compiling mod_neko...
Include file httpd.h not found, skipping Apache 1.3.x library compilation
Compiling mod_tora...
Include file httpd.h not found, skipping Apache 1.3.x library compilation
Compiling mod_tora2...
clang -O3 -fPIC -D_LARGEFILE64_SOURCE -I../common -c -I../../vm -I/usr/include/apache2 -I/usr/include/apr-1 ../common/socket.c
clang -O3 -fPIC -D_LARGEFILE64_SOURCE -I../common -c -I../../vm -I/usr/include/apache2 -I/usr/include/apr-1 protocol.c
clang -O3 -fPIC -D_LARGEFILE64_SOURCE -I../common -c -I../../vm -I/usr/include/apache2 -I/usr/include/apr-1 mod_tora.c
clang -L/private/tmp/neko-S80agF/src -L/usr/lib -L/usr/lib/mysql -L/usr/local/lib -L/usr/local/lib/mysql -L/opt/local/lib -L/opt/local/lib/mysql -L/opt/local/lib/mysql5/mysql  -o ../../bin/mod_tora2.ndll socket.o protocol.o mod_tora.o   -bundle -undefined dynamic_lookup -L../../bin
Compiling mod_neko2...
clang -O3 -fPIC -D_LARGEFILE64_SOURCE -c -I../../vm -I/usr/include/apache2 -I/usr/include/apr-1 ../../vm/stats.c
clang -O3 -fPIC -D_LARGEFILE64_SOURCE -c -I../../vm -I/usr/include/apache2 -I/usr/include/apr-1 mod_neko.c
clang -O3 -fPIC -D_LARGEFILE64_SOURCE -c -I../../vm -I/usr/include/apache2 -I/usr/include/apr-1 cgi.c
clang -L/private/tmp/neko-S80agF/src -L/usr/lib -L/usr/lib/mysql -L/usr/local/lib -L/usr/local/lib/mysql -L/opt/local/lib -L/opt/local/lib/mysql -L/opt/local/lib/mysql5/mysql  -o ../../bin/mod_neko2.ndll stats.o mod_neko.o cgi.o   -bundle -undefined dynamic_lookup -L../../bin -lneko
Compiling ui...
clang -O3 -fPIC  -c -I../../vm -I/System/Library/Frameworks/Carbon.framework/Versions/A/Headers/ ui.c
In file included from ui.c:31:
In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:9:
In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h:13:
In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:30:
In file included from /usr/include/xpc/xpc.h:330:
In file included from /usr/include/launch.h:29:
In file included from /usr/include/mach/mach.h:67:
In file included from /usr/include/mach/mach_interface.h:45:
/usr/include/mach/lock_set.h:51:15: error: conflicting types for 'neko_lock_acquire'
kern_return_t lock_acquire
              ^
../../vm/neko.h:370:23: note: expanded from macro 'lock_acquire'
#define lock_acquire            neko_lock_acquire
                                ^
../../vm/neko.h:443:14: note: previous declaration is here
        EXTERN void lock_acquire( mt_lock *l );
                    ^
../../vm/neko.h:370:23: note: expanded from macro 'lock_acquire'
#define lock_acquire            neko_lock_acquire
                                ^
In file included from ui.c:31:
In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:9:
In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h:13:
In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:30:
In file included from /usr/include/xpc/xpc.h:330:
In file included from /usr/include/launch.h:29:
In file included from /usr/include/mach/mach.h:67:
In file included from /usr/include/mach/mach_interface.h:45:
/usr/include/mach/lock_set.h:63:15: error: conflicting types for 'neko_lock_release'
kern_return_t lock_release
              ^
../../vm/neko.h:372:23: note: expanded from macro 'lock_release'
#define lock_release            neko_lock_release
                                ^
../../vm/neko.h:445:14: note: previous declaration is here
        EXTERN void lock_release( mt_lock *l );
                    ^
../../vm/neko.h:372:23: note: expanded from macro 'lock_release'
#define lock_release            neko_lock_release
                                ^
In file included from ui.c:31:
In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:9:
In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h:13:
In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:30:
In file included from /usr/include/xpc/xpc.h:330:
In file included from /usr/include/launch.h:29:
In file included from /usr/include/mach/mach.h:67:
In file included from /usr/include/mach/mach_interface.h:45:
/usr/include/mach/lock_set.h:75:15: error: conflicting types for 'neko_lock_try'
kern_return_t lock_try
              ^
../../vm/neko.h:371:20: note: expanded from macro 'lock_try'
#define lock_try                        neko_lock_try
                                        ^
../../vm/neko.h:444:13: note: previous declaration is here
        EXTERN int lock_try( mt_lock *l );
                   ^
../../vm/neko.h:371:20: note: expanded from macro 'lock_try'
#define lock_try                        neko_lock_try
                                        ^
3 errors generated.
Called from tools/install.neko line 423
Called from tools/install.neko line 384
Uncaught exception - Error 1 : aborted
make: *** [libs] Error 1
@zimbatm
Copy link

zimbatm commented Nov 19, 2014

The same issue appears on release 2.0.0-6ab8f48

@ncannasse
Copy link
Member

Could you confirm it works now ?

@DomT4
Copy link
Author

DomT4 commented Nov 20, 2014

Yup, works now 👍

@eyadsibai
Copy link

still brew install haxe does not work...

@seivan
Copy link

seivan commented Dec 1, 2014

Yeah I get

╰─➤ brew install neko 1 ↵
neko: OS X Mavericks or older is required.
Error: An unsatisfied requirement failed this build.

╰─➤ brew install haxe 1 ↵
neko: OS X Mavericks or older is required.
Error: An unsatisfied requirement failed this build.

@DomT4
Copy link
Author

DomT4 commented Dec 1, 2014

╰─➤ brew install neko 1 ↵
neko: OS X Mavericks or older is required.
Error: An unsatisfied requirement failed this build.

The stable build is dead, on multiple fronts. This is well known. You want brew install neko --HEAD.

Once you've installed the neko --HEAD you should be able to brew install haxe just fine.

@noosxe
Copy link

noosxe commented Dec 8, 2014

Seems like installing neko with --HEAD does not help installing haxe, I get totally the same error.

@marshallbu
Copy link

+1 for same issue even after installing neko at head

@gloomybrain
Copy link

I did

brew install neko --HEAD

and got neko itself installed. But still this command

brew install haxe --HEAD

gives me this output on OS X Yosemite

neko: OS X Mavericks or older is required.
Error: An unsatisfied requirement failed this build.

I think this issue should be opened again

@seivan
Copy link

seivan commented Dec 9, 2014

Same error.

@ncannasse
Copy link
Member

Please report the issue to the maintainer of brew package

@eyadsibai
Copy link

After installing neko:

brew install neko --HEAD

Install Haxe like this:

brew install haxe --without-neko

@seivan
Copy link

seivan commented Dec 9, 2014

@eyadsibai That worked :) thanks!
👍

@marshallbu
Copy link

Thanks for the answer @eyadsibai

@DomT4
Copy link
Author

DomT4 commented Dec 9, 2014

Give me a little bit and I'll take a look at Brew's Haxe tonight.

@eyadsibai
Copy link

you are welcome

@DomT4
Copy link
Author

DomT4 commented Dec 9, 2014

Pushed a less confusing workaround in this PR.

MikeMcQuaid pushed a commit to Homebrew/legacy-homebrew that referenced this issue Dec 10, 2014
Deals with the confusion caused by the MMOSR in Neko upstream in [this
issue](HaxeFoundation/neko#44).

Closes #34838.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
@OliverPereira
Copy link

The above solution from @eyadsibai stopped working so I had to use the following command.

brew install haxe --HEAD --without-neko

@DomT4
Copy link
Author

DomT4 commented Dec 18, 2014

^

brew update && brew install haxe should just work now.

@coverslide
Copy link

@DomT4 just tried it today. No go.

@DomT4
Copy link
Author

DomT4 commented Dec 27, 2014

Apologies, doof on my part. Should have said brew update && brew install haxe --HEAD.

@jmorast
Copy link

jmorast commented Mar 21, 2015

Thanks for following up on this.

This worked for me:

First

brew install neko --HEAD

Then
brew update && brew install haxe --HEAD

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