-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20277/#review40201
-----------------------------------------------------------


Bad patch!

Reviews applied: [20275, 20276, 20277]

Failed command: make -j3 check GTEST_FILTER='' >/dev/null

Error:
 ev.c:1531:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' 
[enabled by default]
ev.c: In function 'evpipe_write':
ev.c:2160:17: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result [-Wunused-result]
ev.c:2172:17: warning: ignoring return value of 'write', declared with 
attribute warn_unused_result [-Wunused-result]
ev.c: In function 'pipecb':
ev.c:2193:16: warning: ignoring return value of 'read', declared with attribute 
warn_unused_result [-Wunused-result]
ev.c:2207:16: warning: ignoring return value of 'read', declared with attribute 
warn_unused_result [-Wunused-result]
In file included from /usr/include/c++/4.6/ext/hash_set:61:0,
                 from src/glog/stl_logging.h:54,
                 from src/stl_logging_unittest.cc:34:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This 
file includes at least one deprecated or antiquated header which may be removed 
without further notice at a future date. Please use a non-deprecated interface 
with equivalent functionality instead. For a listing of replacement headers and 
interfaces, consult the file backward_warning.h. To disable this warning use 
-Wno-deprecated. [-Wcpp]
In file included from src/utilities.h:73:0,
                 from src/googletest.h:38,
                 from src/stl_logging_unittest.cc:48:
src/base/mutex.h:137:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
/usr/include/features.h:166:0: note: this is the location of the previous 
definition
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'indexsidebar.html' under directory 'docs'
zip_safe flag not set; analyzing archive contents...
WARNING: '.' not a valid package name; please use only.-separated package names 
in setup.py
package init file 'src/__init__.py' not found (or not a regular file)
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for 
Ada/C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for 
Ada/C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for 
Ada/C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for 
Ada/C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for 
Ada/C/ObjC but not for C++ [enabled by default]
zip_safe flag not set; analyzing archive contents...
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
In file included from 
../3rdparty/libprocess/3rdparty/stout/include/stout/check.hpp:25:0,
                 from ../3rdparty/libprocess/include/process/internal.hpp:4,
                 from ../3rdparty/libprocess/include/process/future.hpp:21,
                 from tests/repair_tests.cpp:22:
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp: In constructor 
'Option<T>::Option(const U&) [with U = char [13], T = 
hashmap<std::basic_string<char>, std::basic_string<char> >]':
tests/repair_tests.cpp:113:73:   instantiated from here
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: error: no 
matching function for call to 'hashmap<std::basic_string<char>, 
std::basic_string<char> >::hashmap(const char [13])'
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: note: 
candidates are:
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note: 
hashmap<Key, Value>::hashmap() [with Key = std::basic_string<char>, Value = 
std::basic_string<char>]
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note:   
candidate expects 0 arguments, 1 provided
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> >::hashmap(const 
hashmap<std::basic_string<char>, std::basic_string<char> >&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [13]' to 'const 
hashmap<std::basic_string<char>, std::basic_string<char> >&'
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> 
>::hashmap(hashmap<std::basic_string<char>, std::basic_string<char> >&&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [13]' to 
'hashmap<std::basic_string<char>, std::basic_string<char> >&&'
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp: In constructor 
'Option<T>::Option(const U&) [with U = char [9], T = 
hashmap<std::basic_string<char>, std::basic_string<char> >]':
tests/repair_tests.cpp:117:69:   instantiated from here
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: error: no 
matching function for call to 'hashmap<std::basic_string<char>, 
std::basic_string<char> >::hashmap(const char [9])'
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: note: 
candidates are:
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note: 
hashmap<Key, Value>::hashmap() [with Key = std::basic_string<char>, Value = 
std::basic_string<char>]
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note:   
candidate expects 0 arguments, 1 provided
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> >::hashmap(const 
hashmap<std::basic_string<char>, std::basic_string<char> >&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [9]' to 'const 
hashmap<std::basic_string<char>, std::basic_string<char> >&'
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> 
>::hashmap(hashmap<std::basic_string<char>, std::basic_string<char> >&&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [9]' to 
'hashmap<std::basic_string<char>, std::basic_string<char> >&&'
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp: In constructor 
'Option<T>::Option(const U&) [with U = char [10], T = 
hashmap<std::basic_string<char>, std::basic_string<char> >]':
tests/repair_tests.cpp:121:70:   instantiated from here
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: error: no 
matching function for call to 'hashmap<std::basic_string<char>, 
std::basic_string<char> >::hashmap(const char [10])'
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: note: 
candidates are:
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note: 
hashmap<Key, Value>::hashmap() [with Key = std::basic_string<char>, Value = 
std::basic_string<char>]
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note:   
candidate expects 0 arguments, 1 provided
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> >::hashmap(const 
hashmap<std::basic_string<char>, std::basic_string<char> >&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [10]' to 'const 
hashmap<std::basic_string<char>, std::basic_string<char> >&'
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> 
>::hashmap(hashmap<std::basic_string<char>, std::basic_string<char> >&&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [10]' to 
'hashmap<std::basic_string<char>, std::basic_string<char> >&&'
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp: In constructor 
'Option<T>::Option(const U&) [with U = char [18], T = 
hashmap<std::basic_string<char>, std::basic_string<char> >]':
tests/repair_tests.cpp:125:78:   instantiated from here
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: error: no 
matching function for call to 'hashmap<std::basic_string<char>, 
std::basic_string<char> >::hashmap(const char [18])'
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: note: 
candidates are:
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note: 
hashmap<Key, Value>::hashmap() [with Key = std::basic_string<char>, Value = 
std::basic_string<char>]
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note:   
candidate expects 0 arguments, 1 provided
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> >::hashmap(const 
hashmap<std::basic_string<char>, std::basic_string<char> >&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [18]' to 'const 
hashmap<std::basic_string<char>, std::basic_string<char> >&'
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> 
>::hashmap(hashmap<std::basic_string<char>, std::basic_string<char> >&&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [18]' to 
'hashmap<std::basic_string<char>, std::basic_string<char> >&&'
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp: In constructor 
'Option<T>::Option(const U&) [with U = char [27], T = 
hashmap<std::basic_string<char>, std::basic_string<char> >]':
tests/repair_tests.cpp:135:78:   instantiated from here
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: error: no 
matching function for call to 'hashmap<std::basic_string<char>, 
std::basic_string<char> >::hashmap(const char [27])'
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: note: 
candidates are:
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note: 
hashmap<Key, Value>::hashmap() [with Key = std::basic_string<char>, Value = 
std::basic_string<char>]
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note:   
candidate expects 0 arguments, 1 provided
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> >::hashmap(const 
hashmap<std::basic_string<char>, std::basic_string<char> >&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [27]' to 'const 
hashmap<std::basic_string<char>, std::basic_string<char> >&'
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> 
>::hashmap(hashmap<std::basic_string<char>, std::basic_string<char> >&&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [27]' to 
'hashmap<std::basic_string<char>, std::basic_string<char> >&&'
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp: In constructor 
'Option<T>::Option(const U&) [with U = char [29], T = 
hashmap<std::basic_string<char>, std::basic_string<char> >]':
tests/repair_tests.cpp:157:37:   instantiated from here
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: error: no 
matching function for call to 'hashmap<std::basic_string<char>, 
std::basic_string<char> >::hashmap(const char [29])'
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: note: 
candidates are:
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note: 
hashmap<Key, Value>::hashmap() [with Key = std::basic_string<char>, Value = 
std::basic_string<char>]
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note:   
candidate expects 0 arguments, 1 provided
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> >::hashmap(const 
hashmap<std::basic_string<char>, std::basic_string<char> >&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [29]' to 'const 
hashmap<std::basic_string<char>, std::basic_string<char> >&'
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> 
>::hashmap(hashmap<std::basic_string<char>, std::basic_string<char> >&&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [29]' to 
'hashmap<std::basic_string<char>, std::basic_string<char> >&&'
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp: In constructor 
'Option<T>::Option(const U&) [with U = char [31], T = 
hashmap<std::basic_string<char>, std::basic_string<char> >]':
tests/repair_tests.cpp:166:39:   instantiated from here
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: error: no 
matching function for call to 'hashmap<std::basic_string<char>, 
std::basic_string<char> >::hashmap(const char [31])'
../3rdparty/libprocess/3rdparty/stout/include/stout/option.hpp:43:47: note: 
candidates are:
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note: 
hashmap<Key, Value>::hashmap() [with Key = std::basic_string<char>, Value = 
std::basic_string<char>]
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:40:3: note:   
candidate expects 0 arguments, 1 provided
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> >::hashmap(const 
hashmap<std::basic_string<char>, std::basic_string<char> >&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [31]' to 'const 
hashmap<std::basic_string<char>, std::basic_string<char> >&'
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note: 
hashmap<std::basic_string<char>, std::basic_string<char> 
>::hashmap(hashmap<std::basic_string<char>, std::basic_string<char> >&&)
../3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:35:7: note:   
no known conversion for argument 1 from 'const char [31]' to 
'hashmap<std::basic_string<char>, std::basic_string<char> >&&'
make[3]: *** [tests/mesos_tests-repair_tests.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [check-am] Error 2
make[1]: *** [check] Error 2
make: *** [check-recursive] Error 1


- Mesos ReviewBot


On April 12, 2014, 1:54 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20277/
> -----------------------------------------------------------
> 
> (Updated April 12, 2014, 1:54 a.m.)
> 
> 
> Review request for mesos, Ben Mahler, Jie Yu, Kevin Sweeney, and Brian 
> Wickman.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> Enables using the 'libprocess-from' header as an alternative to 'User-Agent'.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/src/encoder.hpp 
> 7f4593b808b2b14e9b178391d3923782e5428c64 
>   3rdparty/libprocess/src/process.cpp 
> 9654c0437edb43cff65dbefdf08dee9e18ef96ab 
>   3rdparty/libprocess/src/tests/process_tests.cpp 
> 9dae9310de89571f599333a8eb7ceeb47ccef54d 
> 
> Diff: https://reviews.apache.org/r/20277/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>

Reply via email to