[Nix-dev] Building v8 on Darwin

Wout Mertens wout.mertens at gmail.com
Thu Feb 18 08:43:14 CET 2016


@copumpkin?

Is there anybody able to build v8 on Darwin (apart from the fact that you
need to turn on allowBroken because its platforms are set to linux)?

I'm getting

================================
...

  ACTION Generating icuuc shim headers.
/private/var/folders/g4/76q469c16sg48h2xcl17lm900000gn/T/nix-build-v8-3.30.33.16.drv-0/v8-3.30.33.16/out/Release/obj/gen/shim_headers/icuuc/target/third_party/icu/source/common/unicode/appendable.h

  LIBTOOL-STATIC
/private/var/folders/g4/76q469c16sg48h2xcl17lm900000gn/T/nix-build-v8-3.30.33.16.drv-0/v8-3.30.33.16/out/Release/libv8_libplatform.a

Traceback (most recent call last):

  File "./gyp-mac-tool", line 511, in <module>

    sys.exit(main(sys.argv[1:]))

  File "./gyp-mac-tool", line 28, in main

    exit_code = executor.Dispatch(args)

  File "./gyp-mac-tool", line 43, in Dispatch

    return getattr(self, method)(*args[1:])

  File "./gyp-mac-tool", line 223, in ExecFilterLibtool

    libtoolout = subprocess.Popen(cmd_list, stderr=subprocess.PIPE)

  File
"/nix/store/6znjvqz144m4077w6qvnj1gl7hglpa5k-python-2.7.11/lib/python2.7/subprocess.py",
line 710, in __init__

    errread, errwrite)

  File
"/nix/store/6znjvqz144m4077w6qvnj1gl7hglpa5k-python-2.7.11/lib/python2.7/subprocess.py",
line 1335, in _execute_child

    raise child_exception

OSError: [Errno 2] No such file or directory

tools/gyp/v8_libplatform.target.mk:209: recipe for target
'/private/var/folders/g4/76q469c16sg48h2xcl17lm900000gn/T/nix-build-v8-3.30.33.16.drv-0/v8-3.30.33.16/out/Release/libv8_libplatform.a'
failed

make: ***
[/private/var/folders/g4/76q469c16sg48h2xcl17lm900000gn/T/nix-build-v8-3.30.33.16.drv-0/v8-3.30.33.16/out/Release/libv8_libplatform.a]
Error 1

================================

So it seems that gyp is trying to run something that doesn't exist to do
the LIBTOOL-STATIC action.

And when rethinkdb tries to build it as part of its private build, it fails
due to the gcc libtools not supporting -static.

Thoughts?


Wout.
-- 

Wout.
(typed on mobile, excuse terseness)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160218/4a0ba7cf/attachment.html 


More information about the nix-dev mailing list