evenstore 3.5.0 on ubuntu

installing from source, I end up with the following error…

vagrant@precise64:~/EventStore-oss-v3.5.0$ bash -x ./scripts/build-js1/build-js1-linux.sh werror=no

  • make x64.release werror=no
    make[1]: Entering directory /home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/out' make[1]: Nothing to be done for all’.
    make[1]: Leaving directory `/home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/out’
  • popd
  • local outputDir=/home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/…/…/src/libs/x64/ubuntu-12.04
  • [[ -d /home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/…/…/src/libs/x64/ubuntu-12.04 ]]
  • pushd /home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/…/…/src/EventStore.Projections.v8Integration/
  • local outputObj=/home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/…/…/src/libs/x64/ubuntu-12.04/libjs1.so
  • g++ -I ‘/home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/include *.cpp’ -o /home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/…/…/src/libs/x64/ubuntu-12.04/libjs1.so -fPIC -shared -std=c++0x -lstdc++ -Wl,–start-group ‘/home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/out/x64.release/obj.target/tools/gyp/libv8_{base.x64,nosnapshot.x64}.a’ ‘/home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/out/x64.release/obj.target/third_party/icu/libicu{i18n,uc,data}.a’ -Wl,–end-group -lrt -lpthread
    g++: error: /home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/out/x64.release/obj.target/tools/gyp/libv8_{base.x64,nosnapshot.x64}.a: No such file or directory
    g++: error: /home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/out/x64.release/obj.target/third_party/icu/libicu{i18n,uc,data}.a: No such file or directory

    vagrant@precise64:~/EventStore-oss-v3.5.0$

Although if I try to see if those files exists, they do :

vagrant@precise64:~/EventStore-oss-v3.5.0$ ls -la /home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/out/x64.release/obj.target/tools/gyp/libv8_{base.x64,nosnapshot.x64}.a
-rw-rw-r-- 1 vagrant vagrant 1162178 Mar 1 13:24 /home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/out/x64.release/obj.target/tools/gyp/libv8_base.x64.a
-rw-rw-r-- 1 vagrant vagrant 3580 Mar 1 13:25 /home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/out/x64.release/obj.target/tools/gyp/libv8_nosnapshot.x64.a

vagrant@precise64:~/EventStore-oss-v3.5.0$ ls -la /home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/out/x64.release/obj.target/third_party/icu/libicu{i18n,uc,data}.a
-rw-rw-r-- 1 vagrant vagrant 338 Mar 1 13:29 /home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/out/x64.release/obj.target/third_party/icu/libicudata.a
-rw-rw-r-- 1 vagrant vagrant 314000 Mar 1 13:27 /home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/out/x64.release/obj.target/third_party/icu/libicui18n.a
-rw-rw-r-- 1 vagrant vagrant 147746 Mar 1 13:29 /home/vagrant/EventStore-oss-v3.5.0/scripts/build-js1/v8/out/x64.release/obj.target/third_party/icu/libicuuc.a

Is there anything obvious to do I am missing … ?

platform specific quirk whereby filename expansion has different semantic in script and in command line ?

Why are you trying to build js1? It is included as a binary and takes
forever (and a large dependency chain) to build.

My ultimate goal is to deploy it on NixOS to have reproducible builds and deploy environment.

I imagined having a reference build on ubuntu would be easier to debug the NixOs potential roadblock.