I'm trying to compile Thrust from source. I got as far as linking, but then I get the following error:
$ ./scripts/build.py
ninja: Entering directory `out/Release'
[1/1] LINK thrust_shell
FAILED: /usr/bin/clang++ -rpath \$ORIGIN -rdynamic -Wl,--no-keep-memory -o thrust_shell -Wl,--start-group obj/src/app/thrust_shell.main.o obj/libthrust_shell_lib.a obj/vendor/brightray/libbrightray.a -Wl,--end-group -lpthread -ldl -lm -lX11 -lXrandr -lXext -lgconf-2 /home/vagrant/thrust/vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumcontent.so /home/vagrant/thrust/vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumviews.a -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfontconfig -lfreetype -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -ldbus-1 -lX11 -lXrandr -lXext -lgconf-2 -lglib-2.0
obj/src/renderer/visitedlink/thrust_shell_lib.visitedlink_slave.o: In function `base::SharedMemory::Map(unsigned int)':
/home/vagrant/thrust/out/Release/../../vendor/brightray/vendor/download/libchromiumcontent/src/base/memory/shared_memory.h:166: undefined reference to `base::SharedMemory::MapAt(long, unsigned int)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
I don't know enough C++ to diagnose this issue. I tried bisecting, but I have the same problem as far back as v0.7.0, which implies that it's not just a broken commit.
The exact steps to reproduce:
vagrant init ubuntu/trusty32
vagrant up
vagrant ssh
# Now, in the VM:
sudo apt-get update
sudo apt-get install python2.7 git libgtk2.0-dev libnotify-dev libdbus-1-dev libgconf2-dev clang libnss3
sudo ln -s /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0
git clone http://github.com/breach/thrust.git
cd thrust
./scripts/bootstrap.py
./scripts/update.py
./scripts/build.py