Failing build #7

Closed
henrikbjorn opened this Issue Aug 21, 2012 · 9 comments

Projects

None yet

3 participants

@henrikbjorn
make 
Scanning dependencies of target darner
Scanning dependencies of target db
Scanning dependencies of target test
[  6%] [ 18%] [ 25%] [ 25%] [ 31%] [ 37%] [ 43%] [ 50%] Building CXX object CMakeFiles/db.dir/bench/db.o
Building CXX object CMakeFiles/test.dir/src/net/request.o
Building CXX object CMakeFiles/darner.dir/src/net/handler.o
Building CXX object CMakeFiles/darner.dir/src/net/request.o
Building CXX object CMakeFiles/darner.dir/src/queue/iqstream.o
Building CXX object CMakeFiles/test.dir/src/queue/iqstream.o
Building CXX object CMakeFiles/darner.dir/src/util/log.o
Building CXX object CMakeFiles/test.dir/src/queue/oqstream.o
[ 56%] [ 62%] Building CXX object CMakeFiles/test.dir/src/queue/queue.o
Building CXX object CMakeFiles/darner.dir/src/queue/oqstream.o
[ 68%] Building CXX object CMakeFiles/darner.dir/src/queue/queue.o
[ 75%] Building CXX object CMakeFiles/test.dir/src/util/log.o
In file included from /tmp/homebrew-darner-0.1.0-67cD/wavii-darner-7f087e5/src/net/handler.cpp:1:
/tmp/homebrew-darner-0.1.0-67cD/wavii-darner-7f087e5/include/darner/net/handler.h:83:19: error: no matching function for call to 'buffer'
         socket_, boost::asio::buffer(msg), boost::bind(&handler::read_request, shared_from_this(), _1, _2));
                  ^~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/asio/buffer.hpp:698:26: note: candidate function not viable: no known conversion from 'const char *' to 'const boost::asio::mutable_buffer' for 1st argument;
inline mutable_buffers_1 buffer(const mutable_buffer& b)
                         ^
/usr/local/include/boost/asio/buffer.hpp:727:24: note: candidate function not viable: no known conversion from 'const char *' to 'const boost::asio::const_buffer' for 1st argument;
inline const_buffers_1 buffer(const const_buffer& b)
                       ^
/usr/local/include/boost/asio/buffer.hpp:779:26: note: candidate template ignored: failed template argument deduction
inline mutable_buffers_1 buffer(PodType (&data)[N])
                         ^
/usr/local/include/boost/asio/buffer.hpp:809:24: note: candidate template ignored: failed template argument deduction
inline const_buffers_1 buffer(const PodType (&data)[N])
                       ^
/usr/local/include/boost/asio/buffer.hpp:910:26: note: candidate template ignored: failed template argument deduction
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data)
                         ^
/usr/local/include/boost/asio/buffer.hpp:941:24: note: candidate template ignored: failed template argument deduction
inline const_buffers_1 buffer(boost::array<const PodType, N>& data)
                       ^
/usr/local/include/boost/asio/buffer.hpp:975:24: note: candidate template ignored: failed template argument deduction
inline const_buffers_1 buffer(const boost::array<PodType, N>& data)
                       ^
/usr/local/include/boost/asio/buffer.hpp:1106:26: note: candidate template ignored: failed template argument deduction
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data)
                         ^
/usr/local/include/boost/asio/buffer.hpp:1155:24: note: candidate template ignored: failed template argument deduction
inline const_buffers_1 buffer(
                       ^
/usr/local/include/boost/asio/buffer.hpp:1202:24: note: candidate template ignored: failed template argument deduction
inline const_buffers_1 buffer(
                       ^
/usr/local/include/boost/asio/buffer.hpp:792:26: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(PodType (&data)[N],
                         ^
/usr/local/include/boost/asio/buffer.hpp:822:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(const PodType (&data)[N],
                       ^
/usr/local/include/boost/asio/buffer.hpp:924:26: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(boost::array<PodType, N>& data,
                         ^
/usr/local/include/boost/asio/buffer.hpp:955:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(boost::array<const PodType, N>& data,
                       ^
/usr/local/include/boost/asio/buffer.hpp:989:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(const boost::array<PodType, N>& data,
                       ^
/usr/local/include/boost/asio/buffer.hpp:1129:26: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(std::vector<PodType, Allocator>& data,
                         ^
/usr/local/include/boost/asio/buffer.hpp:1179:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(
                       ^
/usr/local/include/boost/asio/buffer.hpp:1225:24: note: candidate function template not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(
                       ^
/usr/local/include/boost/asio/buffer.hpp:765:24: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(const void* data,
                       ^
/usr/local/include/boost/asio/buffer.hpp:756:26: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(void* data, std::size_t size_in_bytes)
                         ^
/usr/local/include/boost/asio/buffer.hpp:739:24: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline const_buffers_1 buffer(const const_buffer& b,
                       ^
/usr/local/include/boost/asio/buffer.hpp:710:26: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline mutable_buffers_1 buffer(const mutable_buffer& b,
                         ^
1 error generated.
make[2]: *** [CMakeFiles/darner.dir/src/net/handler.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 81%] Building CXX object CMakeFiles/test.dir/tests/queue.o
[ 87%] Building CXX object CMakeFiles/test.dir/tests/request.o
[ 93%] Building CXX object CMakeFiles/test.dir/tests/main.o
Linking CXX executable db
[ 93%] Built target db
make[1]: *** [CMakeFiles/darner.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable test
[ 93%] Built target test
make: *** [all] Error 2
Error: #<BuildError: Failed executing: make >
@henrikbjorn

If this indeed fixes this issue, can this be tagged as 1.0.1 ? :)

@nova77

Well, perhaps 0.1.1, but only if it gets merged. Let's see what @erikfrey has to say about it.

@henrikbjorn

yeah sorry, meant 0.1.1 :)

@erikfrey

@henrikbjorn thanks, we'll fix this. For reference, can you tell me what version of boost you've installed?

@nova77

I could reproduce it and I have 1.49.

@erikfrey erikfrey closed this in e6a0aa6 Aug 21, 2012
@erikfrey

@henrikbjorn can you confirm HEAD now builds? If so I'll roll a new version.

@henrikbjorn

@erikfrey It builds perfectly :)

@erikfrey

@henrikbjorn great, rolled 0.1.1, thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment