Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-179

dpkg-buildpackage fail

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ubuntu 9.04/x86_64, libboost1.35

    Description

      for a few weeks (2009-7-9 was the last time i successfully build),
      dpkg-buildpackage -d fail to build.
      scons -c; scons works just fine.

      Is there something I missed?

      output is like following.
      (too long to paste here. i attached full output.)

      1. dpkg-buildpackage -d

        scons: done reading SConscript files.
        scons: Building targets ...
        g++ -o shell/dbshell.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -O3 -D_SCONS -DUSE_ASIO_OFF -DXP_UNIX -DOLDJS -DUSE_ASIO_OFF -DXP_UNIX -DOLDJS -DUSE_READLINE -I. shell/dbshell.cpp
        g++ -o shell/utils.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -O3 -D_SCONS -DUSE_ASIO_OFF -DXP_UNIX -DOLDJS -DUSE_ASIO_OFF -DXP_UNIX -DOLDJS -DUSE_READLINE -I. shell/utils.cpp
        g++ -o mongo -fPIC -pthread shell/dbshell.o shell/utils.o -L/usr/lib64 -L/lib64 -L. -lmongoclient -lpthread -lstdc++ -lboost_thread-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_system-mt -ljs -lboost_thread-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_system-mt -ljs -lreadline -lncurses -lrt
        /usr/lib64/libmongoclient.a(jsobj.o): In function `boost::detail::thread::lock_ops<boost::mutex>::lock(boost::mutex&)':
        /usr/include/boost/thread/detail/lock.hpp:38: undefined reference to `boost::mutex::do_lock()'
        /usr/lib64/libmongoclient.a(jsobj.o): In function `boost::detail::thread::lock_ops<boost::mutex>::unlock(boost::mutex&)':
        /usr/include/boost/thread/detail/lock.hpp:50: undefined reference to `boost::mutex::do_unlock()'
        /usr/include/boost/thread/detail/lock.hpp:50: undefined reference to `boost::mutex::do_unlock()'
        /usr/lib64/libmongoclient.a(json.o): In function `boost::thread_specific_ptr<boost::weak_ptr<boost::spirit::impl::grammar_helper<boost::spirit::grammar<mongo::JsonGrammar, boost::spirit::parser_context<boost::spirit::nil_t> >, mongo::JsonGrammar, boost::spirit::scanner<char const*, boost::spirit::scanner_policies<boost::spirit::skipper_iteration_policy<boost::spirit::iteration_policy>, boost::spirit::match_policy, boost::spirit::action_policy> > > > >::get() const':
        /usr/include/boost/thread/tss.hpp:89: undefined reference to `boost::detail::tss::get() const'

        collect2: ld returned 1 exit status
        scons: *** [mongo] Error 1
        scons: building terminated because of errors.
        make: *** [install] Error 2
        dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            tomoja tomoharu fujita
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: