Permalink
Commits on Nov 10, 2013
  1. Merge pull request #9 from evangoer/make_docs

    Enable clean(er) documentation builds
    jaybuff committed Nov 10, 2013
Commits on Oct 30, 2013
  1. Remove yahoo-isms

    evangoer committed Oct 30, 2013
  2. Resolve Sphinx warnings

    evangoer committed Oct 30, 2013
Commits on Oct 18, 2013
  1. Merge pull request #8 from n0bl3/master

    Fixed build for Travis CI
    committed Oct 18, 2013
  2. Merge branch 'devel'

    Conflicts:
    	BUILD.DEBIAN
    roman-verchikov committed Oct 18, 2013
  3. Drop even more output

    roman-verchikov committed Oct 18, 2013
  4. Fix unit test for HttpClient

    The latest test from gearbox/t/core/HttpClient.t.cc failed due to a
    different comment generated by libcurl for cookiejar file. Added
    function which removes all the comments before checking for test
    result.
    
    Added fucntion may need to be moved to gearbox/core/unit.[h,cc]
    roman-verchikov committed with Oct 17, 2013
  5. Fix make check build

    make check on Ubuntu 13.04 with boost library 1.49 failed with
    
    /bin/bash ./libtool --tag=CXX   --mode=link g++ -Icommon -Itools
    -Ideps/libtap++-0.01
    -DTESTDIR='"/home/vagrant/gearbox/plugins/status/t/sql"' -g -fpermissive
    -o plugins/status/t/sql/status.t
    plugins/status/t/sql/plugins_status_t_sql_status_t-status.t.o
    deps/libtap++-0.01/libtap++.la gearbox/job/libgearbox_job.la
    gearbox/core/libgearbox_core.la gearbox/store/libgearbox_store.la
    libtool: link: g++ -Icommon -Itools -Ideps/libtap++-0.01
    -DTESTDIR=\"/home/vagrant/gearbox/plugins/status/t/sql\" -g -fpermissive
    -o plugins/status/t/sql/.libs/status.t
    plugins/status/t/sql/plugins_status_t_sql_status_t-status.t.o
    deps/libtap++-0.01/.libs/libtap++.so gearbox/job/.libs/libgearbox_job.so
    -L/usr/lib -lgearman -lboost_graph_parallel
    gearbox/core/.libs/libgearbox_core.so
    gearbox/store/.libs/libgearbox_store.so -lsoci_core
    /home/vagrant/gearbox/gearbox/core/.libs/libgearbox_core.so -lyajl
    /usr/lib/x86_64-linux-gnu/libcurl.so -lboost_filesystem -llog4cxx
    -lboost_regex-mt -lcrypto -luuid -lboost_iostreams-mt -Wl,-rpath
    -Wl,/dev/null
    /usr/bin/ld:
    plugins/status/t/sql/plugins_status_t_sql_status_t-status.t.o: undefined
    reference to symbol '_ZN5boost6system15system_categoryEv'
    /usr/bin/ld: note: '_ZN5boost6system15system_categoryEv' is defined in
    DSO /usr/lib/libboost_system.so.1.49.0 so try adding it to the linker
    command line
    /usr/lib/libboost_system.so.1.49.0: could not read symbols: Invalid
    operation
    collect2: error: ld returned 1 exit status
    make[1]: *** [plugins/status/t/sql/status.t] Error 1
    make[1]: Leaving directory `/home/vagrant/gearbox'
    make: *** [check-am] Error 2
    
    Added -lboost_system to fix the issue.
    roman-verchikov committed with Oct 17, 2013
  6. Fixed build

    roman-verchikov committed Oct 17, 2013
Commits on Oct 17, 2013
  1. Fix unit test for HttpClient

    The latest test from gearbox/t/core/HttpClient.t.cc failed due to a
    different comment generated by libcurl for cookiejar file. Added
    function which removes all the comments before checking for test
    result.
    
    Added fucntion may need to be moved to gearbox/core/unit.[h,cc]
    roman-verchikov committed Oct 17, 2013
  2. Fix make check build

    make check on Ubuntu 13.04 with boost library 1.49 failed with
    
    /bin/bash ./libtool --tag=CXX   --mode=link g++ -Icommon -Itools
    -Ideps/libtap++-0.01
    -DTESTDIR='"/home/vagrant/gearbox/plugins/status/t/sql"' -g -fpermissive
    -o plugins/status/t/sql/status.t
    plugins/status/t/sql/plugins_status_t_sql_status_t-status.t.o
    deps/libtap++-0.01/libtap++.la gearbox/job/libgearbox_job.la
    gearbox/core/libgearbox_core.la gearbox/store/libgearbox_store.la
    libtool: link: g++ -Icommon -Itools -Ideps/libtap++-0.01
    -DTESTDIR=\"/home/vagrant/gearbox/plugins/status/t/sql\" -g -fpermissive
    -o plugins/status/t/sql/.libs/status.t
    plugins/status/t/sql/plugins_status_t_sql_status_t-status.t.o
    deps/libtap++-0.01/.libs/libtap++.so gearbox/job/.libs/libgearbox_job.so
    -L/usr/lib -lgearman -lboost_graph_parallel
    gearbox/core/.libs/libgearbox_core.so
    gearbox/store/.libs/libgearbox_store.so -lsoci_core
    /home/vagrant/gearbox/gearbox/core/.libs/libgearbox_core.so -lyajl
    /usr/lib/x86_64-linux-gnu/libcurl.so -lboost_filesystem -llog4cxx
    -lboost_regex-mt -lcrypto -luuid -lboost_iostreams-mt -Wl,-rpath
    -Wl,/dev/null
    /usr/bin/ld:
    plugins/status/t/sql/plugins_status_t_sql_status_t-status.t.o: undefined
    reference to symbol '_ZN5boost6system15system_categoryEv'
    /usr/bin/ld: note: '_ZN5boost6system15system_categoryEv' is defined in
    DSO /usr/lib/libboost_system.so.1.49.0 so try adding it to the linker
    command line
    /usr/lib/libboost_system.so.1.49.0: could not read symbols: Invalid
    operation
    collect2: error: ld returned 1 exit status
    make[1]: *** [plugins/status/t/sql/status.t] Error 1
    make[1]: Leaving directory `/home/vagrant/gearbox'
    make: *** [check-am] Error 2
    
    Added -lboost_system to fix the issue.
    roman-verchikov committed Oct 17, 2013
Commits on Oct 16, 2013
  1. Merge pull request #6 from n0bl3/master

    Fix build for boost library from Ubuntu 13.04 repo
    committed Oct 16, 2013
  2. Fix build for boost library from Ubuntu 13.04 repo

    Building gearbox for Ubuntu 13.04 failed with linker error:
    
    vagrant@vagrant gearbox$ make
    make  all-am
    make[1]: Entering directory `/home/vagrant/gearbox'
    /bin/bash ./libtool --tag=CXX   --mode=link g++  -g -fpermissive
    -L/usr/lib -lboost_program_options  -o workers/gearbox/workerGearbox
    workers/gearbox/workerGearboxMain.o gearbox/core/libgearbox_core.la
    gearbox/store/libgearbox_store.la workers/gearbox/libworker_gearbox.la
    libtool: link: g++ -g -fpermissive -o
    workers/gearbox/.libs/workerGearbox workers/gearbox/workerGearboxMain.o
    -L/usr/lib -lboost_program_options gearbox/core/.libs/libgearbox_core.so
    gearbox/store/.libs/libgearbox_store.so
    workers/gearbox/.libs/libworker_gearbox.so
    /home/vagrant/gearbox/gearbox/worker/.libs/libgearbox_worker.so
    /home/vagrant/gearbox/gearbox/store/.libs/libgearbox_store.so
    -lsoci_core /home/vagrant/gearbox/gearbox/job/.libs/libgearbox_job.so
    -lgearman -lboost_graph_parallel
    /home/vagrant/gearbox/gearbox/core/.libs/libgearbox_core.so -lyajl
    /usr/lib/x86_64-linux-gnu/libcurl.so -lboost_filesystem -llog4cxx
    -lboost_regex -lcrypto -luuid -lboost_iostreams
    /usr/bin/ld: workers/gearbox/workerGearboxMain.o: undefined reference to
    symbol '_ZN5boost6system15system_categoryEv'
    /usr/bin/ld: note: '_ZN5boost6system15system_categoryEv' is defined in
    DSO /usr/lib/libboost_system.so.1.53.0 so try adding it to the linker
    command line
    /usr/lib/libboost_system.so.1.53.0: could not read symbols: Invalid
    operation
    collect2: error: ld returned 1 exit status
    make[1]: *** [workers/gearbox/workerGearbox] Error 1
    make[1]: Leaving directory `/home/vagrant/gearbox'
    make: *** [all] Error 2
    
    Had to add -lboost_system explicitly to fix given error.
    roman-verchikov committed Oct 16, 2013
Commits on Oct 11, 2013
  1. Merge pull request #4 from jaybuff/build-plugins

    build sql status plugin
    committed Oct 11, 2013
Commits on Oct 4, 2013
  1. build sql status plugin

    had to modify common/stub/GET.hh to support newer version of boost
    by removing no_check arg to bfs::path constructor
    
    removed references to UNITPREFIX since automake puts everything in
    .libs.  Previous Makefiles (which were internal to Yahoo and never
    released) built both 64 and 32 bit.
    
    removed references to scoreboard which was not open sourced.
    
    made plugin/status/t/sql/status.t chdir to its basedir because
    tests run from toplevel now and status.t has conf files that
    reference relative directories.
    
    I had to make the super typedef in StatusImplV1 public.  Otherwise
    I would get this compiler error:
        typedef class Gearbox::StatusImplV1 Gearbox::SQLStatusImpl::super'
        is private within this context
    
    This worked at one point before it was open sourced.  The theory is that
    we were using an old compiler which didn't complain about that.  It
    probably should have been private in the first place.
    jaybuff committed Oct 3, 2013
Commits on Oct 2, 2013
  1. Merge pull request #3 from jaybuff/build-workers-and-apache

    Build workers and apache
    committed Oct 2, 2013
  2. build apache module mod_gearbox

    I had to update mod_gearbox.cc to undefine some PACKAGE_*
    that conflicted.  It looks like this is caused by apache's
    ap_config_auto.h and gearbox's config.h both defining them
    
    I imported m4/ax_with_apxs.m4 that I found from
    https://github.com/timfel/mod_auth_openid/ that looks to be
    originally copied from modpython's source.
    
    I'm not sure if I need the apr-1-config stuff.  It may be
    unnecessary.
    jaybuff committed Oct 2, 2013
Commits on Sep 27, 2013
  1. build test workers

    jaybuff committed Sep 27, 2013
  2. build gearbox workers and run their tests

    Modified Makefile.am to compile the delayDaemon and workerGearbox
    
    The tests in workers/t/gearbox assumed they were being executed from
    the same directory they lived in.  This was true when they were compiled
    using recursive make.  Since they reference config files which reference
    relative directories, I just did a chdir at the beginning of test.
    
    I made small changes to valid-schemas.t to be compatible with the newer
    version of boost filesystem that's in boost >= 1.49.
    jaybuff committed Sep 27, 2013