Code Monkey home page Code Monkey logo

vagrant-tokutek-builder's People

Contributors

leifwalsh avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vagrant-tokutek-builder's Issues

Ubuntu repository set to Belgium

When I create the VM using the vagrant script, Ubuntu is setup to download updates from be.archive.ubuntu.com which is the Belgium mirror address.

Obviously it still works, but it's a long way to Belgium from Australia on the internet and it's quite slow!

Not sure if the image determines that on first boot, or if it's hardcoded into the image that is used.

Vagrant Box Too Small

The vagrant box is too small to build tokumx as listed in the /etc/motd file.

This instructions indicate.

To build a TokuMX release, please make sure each repository (ft-index,
mongo, and backup-community) has the right branch or tag checked out. For
example, to build the head of the 1.1 branch, you can do this:

$ (cd ft-index; git checkout releases/tokumx-1.1)
$ (cd backup-community; git checkout releases/tokumx-1.1)
$ (cd mongo; git checkout releases/tokumx-1.1)

Then, just run './build-tokumx.sh'. It'll build everything with the right
optimizations.

The result of doing this is.

objcopy:build/linux2/cc_gcc-4.7/cxx_g++-4.7/release/mongo/stripped/styCg2ky[.debug_info]: No space left on device
objcopy:build/linux2/cc_gcc-4.7/cxx_g++-4.7/release/mongo/stripped/styCg2ky: No
space left on device
scons: *** [build/linux2/cc_gcc-4.7/cxx_g++-4.7/release/mongo/stripped/mongofiles.dbg] Error 1
scons: building terminated because of errors.

vagrant@quantal64:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/quantal64-root 9.1G 8.5G 84M 100% /

The base box should be large enough to accommodate building the software according to the instructions.

Link time error when building with ./build-tokumx.sh

vagrant@quantal64:~$ ./build-tokumx.sh 
~/mongo/opt ~
-- Could NOT find PCAP (missing:  PCAP_LIBRARY) 
-- Building TokuMX Community 1.5.0
-- Package name: tokumx-51b45fc-ft-15c5165-linux-x86_64
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vagrant/mongo/opt
[  0%] Built target murmurhash3
[  3%] Built target pcrecpp
[  5%] Built target boost_filesystem
[  6%] Built target boost_program_options
[  6%] Built target boost_system
[  6%] Built target boost_thread
[  6%] Built target generate_v8_experimental_libraries
[  7%] Built target generate_v8_libraries
[ 22%] Built target v8
[ 22%] Built target HotBackup
[ 23%] Built target build_jemalloc
[ 24%] Built target build_lzma
[ 24%] Built target make_tdb
[ 25%] Built target tokuportability
[ 25%] Built target install_tdb_h
[ 26%] Built target util
[ 27%] Built target util_static
[ 28%] Built target tokuportability_static_conv
[ 28%] Built target tokuportability_static
[ 28%] Built target logformat
[ 28%] Built target generate_log_code
[ 34%] Built target ft
[ 40%] Built target ft_static
[ 40%] Built target ftverify
[ 40%] Built target tdb-recover
[ 40%] Built target tdb_logprint
[ 40%] Built target tokuftdump
[ 41%] Built target locktree
[ 42%] Built target locktree_static
[ 43%] Built target tokudb_static_conv
[ 44%] Built target tokufractaltree
[ 45%] Built target tokufractaltree_static
[ 45%] Built target tokudb_dump
[ 45%] Built target tokudb_gen
[ 46%] Built target tokudb_load
[ 46%] Built target generate_action_types
[ 46%] Built target generate_error_codes
[ 46%] Built target gridfs
[ 46%] Built target stacktrace
[ 47%] Built target base
[ 47%] Built target platform
[ 48%] Built target foundation
[ 48%] Built target md5
[ 48%] Built target stringutils
[ 49%] Built target bson
[ 49%] Built target fail_point
[ 49%] Built target mongohasher
[ 49%] Built target processinfo
[ 50%] Built target mongocommon_client
[ 50%] Built target generate_mongo_cpp
[ 53%] Built target mongocommon_util
[ 54%] Built target mongocommon
[ 54%] Built target defaultversion
[ 54%] Built target notmongodormongos
[ 54%] Built target clientandshell
[ 55%] Built target bson_template_evaluator
[ 56%] Built target scripting
[ 56%] Built target all_mongo_deps
[ 56%] Built target client_parallel
[ 57%] Built target serverauth
[ 58%] Built target authcore
[ 59%] Built target authservercommon
[ 59%] Built target authmongod
[ 59%] Built target server_parameters
[ 59%] Built target index_set
[ 60%] Built target dbcmdline
[ 60%] Built target db_common
[ 60%] Built target systeminfo
[ 61%] Built target coreserver
[ 62%] Built target plugins
[ 70%] Built target coredb
[ 72%] Built target s_base
[ 72%] Built target coreshard
[ 82%] Built target serveronly
[ 83%] Built target mongodandmongos
[ 83%] Built target all_mongod_deps
[ 83%] Built target authmongos
[ 83%] Built target s_upgrade
[ 84%] Built target mongoscore
[ 84%] Built target all_mongos_deps
[ 84%] Built target alltools
[ 85%] Built target all_tool_deps
[ 85%] Built target bsondump
[ 85%] Built target docgenerator
[ 85%] Built target docgen_tool_deps
[ 85%] Built target docgen
[ 85%] Built target loadgen
[ 85%] Built target generate_mongo_server_cpp
[ 86%] Built target mongo
[ 86%] Built target mongo2toku
[ 86%] Built target mongobridge
[ 95%] Built target mongoclient
Linking CXX executable mongod
collect2: error: ld returned 1 exit status
make[2]: *** [src/mongo/mongod] Error 1
make[1]: *** [src/mongo/CMakeFiles/mongod.dir/all] Error 2
make: *** [all] Error 2

Error handling needed for git_get steps

In trying this out for the first time, I ran into issues with the git_get failing.

These steps from the provision.sh:

git_get mongo
git_get backup-community
git_get ft-index
pushd ft-index/third_party
git_get jemalloc
popd
git_get ft-engine

More than once, I had the ft-index get fail, due to github error:

RPC failed; result=52, HTTP code = 0 fatal: The remote end hung up

This seems to be a common error with github. It caused the pushd etc to fail afterwards, obviously because it didn't exist.

At this point I had to kill the whole thing and start over (zzz), or login and continue manually.

Maybe catch these errors and retry? It was pretty confusing when it was happening.

Running out of space on box image

Hi,

I am running into an issue when building using --ssl

the box runs out of space. Can you please extend the size of the disk on the box?

vagrant@quantal64:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/quantal64-root 9.1G 8.5G 124M 99% /
udev 993M 12K 993M 1% /dev
tmpfs 401M 272K 401M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1002M 0 1002M 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 228M 29M 188M 14% /boot
/vagrant 465G 299G 167G 65% /vagrant

---snip---
objcopy --only-keep-debug build/linux2/cc_gcc-4.7/cxx_g++-4.7/release/ssl/mongo/stripped/mongo2toku.dbg
objcopy:build/linux2/cc_gcc-4.7/cxx_g++-4.7/release/ssl/mongo/stripped/stMVGs0P[.debug_info]: No space left on device
objcopy:build/linux2/cc_gcc-4.7/cxx_g++-4.7/release/ssl/mongo/stripped/stMVGs0P: No space left on device
scons: *** [build/linux2/cc_gcc-4.7/cxx_g++-4.7/release/ssl/mongo/stripped/mongo2toku.dbg] Error 1
scons: building terminated because of errors.
---snip---

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.