Skip to content

Instantly share code, notes, and snippets.

Created August 12, 2016 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/c9b36a2c63233ab68bc391bb8b96738a to your computer and use it in GitHub Desktop.
Save anonymous/c9b36a2c63233ab68bc391bb8b96738a to your computer and use it in GitHub Desktop.
==> Making package: lnav 0.8.1-1 (2016. aug. 12., péntek, 22:04:14 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found lnav-0.8.1.tar.gz
==> Validating source files with md5sums...
lnav-0.8.1.tar.gz ... Passed
==> Extracting sources...
-> Extracting lnav-0.8.1.tar.gz with bsdtar
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking gprof(4) profiling support... no
checking for ranlib... ranlib
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for bzip2... /usr/bin/bzip2
checking for re2c... no
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of off_t... 8
checking size of size_t... 8
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... no
checking whether tzname is declared... yes
checking for tzname... yes
checking for library containing openpty... -lutil
checking for library containing gzseek... -lz
checking for library containing BZ2_bzopen... -lbz2
checking for library containing dlopen... -ldl
checking for library containing backtrace... none required
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.50.0
checking for libcurl >= version 7.23.0... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
configure: Trying to link with tinfo
checking for library containing cur_term... no
configure: WARNING: libtinfo not found
checking for library containing Gpm_Open... -lgpm
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking sys/ttydefaults.h usability... yes
checking sys/ttydefaults.h presence... yes
checking for sys/ttydefaults.h... yes
configure: compiling with the included version of yajl
checking for NcursesW wide-character library... yes
checking for working ncursesw/curses.h... no
checking for working ncursesw.h... no
checking for working ncurses.h... yes
checking lib pcre... (testing)
checking for pcre_study in -lpcre... yes
checking libpcrecpp... yes
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking lib pcre... -lpcre -lpcrecpp
checking lib readline... checking for library containing readline... -lreadline
checking for library containing history_set_history_state... none required
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking for library containing sqlite3_open... -lsqlite3
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking for SQLite3 library >= 3.6.0... yes
checking for sqlite3_stmt_readonly... yes
checking for sqlite3_value_subtype... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating TESTS_ENVIRONMENT
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
Making all in src
make[1]: Entering directory '/home/sans/build/lnav/src/lnav-0.8.1/src'
make all-am
make[2]: Entering directory '/home/sans/build/lnav/src/lnav-0.8.1/src'
CXX ansi_scrubber.o
CXX bookmarks.o
In file included from /usr/include/c++/6.1.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
from /usr/include/c++/6.1.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
from /usr/include/c++/6.1.1/bits/stl_algobase.h:59,
from /usr/include/c++/6.1.1/vector:60,
from ansi_scrubber.cc:34:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
In file included from /usr/include/c++/6.1.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
from /usr/include/c++/6.1.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
from /usr/include/c++/6.1.1/bits/stl_algobase.h:59,
from /usr/include/c++/6.1.1/bits/stl_tree.h:63,
from /usr/include/c++/6.1.1/map:60,
from bookmarks.hh:35,
from bookmarks.cc:34:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
CXX collation-functions.o
In file included from /usr/include/stdio.h:27:0,
from collation-functions.cc:34:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
CXX command_executor.o
In file included from /usr/include/wordexp.h:21:0,
from command_executor.cc:32:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
In file included from collation-functions.cc:44:0:
log_format.hh:736:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
virtual std::auto_ptr<log_format> specialized(int fmt_lock = -1) = 0;
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from log_format.hh:47,
from collation-functions.cc:44:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from collation-functions.cc:44:0:
log_format.hh:931:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<log_format> specialized(int fmt_lock) {
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from log_format.hh:47,
from collation-functions.cc:44:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from collation-functions.cc:44:0:
log_format.hh:1070:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<yajlpp_parse_context> jlf_parse_context;
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from log_format.hh:47,
from collation-functions.cc:44:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from collation-functions.cc:44:0:
log_format.hh: In member function ‘virtual std::auto_ptr<log_format> external_log_format::specialized(int)’:
log_format.hh:933:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<log_format> retval((log_format *)elf);
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from log_format.hh:47,
from collation-functions.cc:44:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from logfile.hh:48:0,
from textview_curses.hh:42,
from hist_source.hh:44,
from grapher.hh:41,
from lnav.hh:46,
from command_executor.cc:38:
log_format.hh:736:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
virtual std::auto_ptr<log_format> specialized(int fmt_lock = -1) = 0;
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from pcrepp.hh:53,
from yajlpp.hh:45,
from json_ptr.hh:43,
from command_executor.cc:36:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
CXX curl_looper.o
In file included from /usr/include/c++/6.1.1/x86_64-pc-linux-gnu/bits/os_defines.h:39:0,
from /usr/include/c++/6.1.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
from /usr/include/c++/6.1.1/utility:68,
from /usr/include/c++/6.1.1/algorithm:60,
from curl_looper.cc:34:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
In file included from logfile.hh:48:0,
from textview_curses.hh:42,
from hist_source.hh:44,
from grapher.hh:41,
from lnav.hh:46,
from command_executor.cc:38:
log_format.hh:931:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<log_format> specialized(int fmt_lock) {
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from pcrepp.hh:53,
from yajlpp.hh:45,
from json_ptr.hh:43,
from command_executor.cc:36:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from logfile.hh:48:0,
from textview_curses.hh:42,
from hist_source.hh:44,
from grapher.hh:41,
from lnav.hh:46,
from command_executor.cc:38:
log_format.hh:1070:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<yajlpp_parse_context> jlf_parse_context;
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from pcrepp.hh:53,
from yajlpp.hh:45,
from json_ptr.hh:43,
from command_executor.cc:36:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from logfile.hh:48:0,
from textview_curses.hh:42,
from hist_source.hh:44,
from grapher.hh:41,
from lnav.hh:46,
from command_executor.cc:38:
log_format.hh: In member function ‘virtual std::auto_ptr<log_format> external_log_format::specialized(int)’:
log_format.hh:933:14: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<log_format> retval((log_format *)elf);
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from pcrepp.hh:53,
from yajlpp.hh:45,
from json_ptr.hh:43,
from command_executor.cc:36:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from textview_curses.hh:42:0,
from hist_source.hh:44,
from grapher.hh:41,
from lnav.hh:46,
from command_executor.cc:38:
logfile.hh: At global scope:
logfile.hh:399:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<log_format> lf_format;
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from pcrepp.hh:53,
from yajlpp.hh:45,
from json_ptr.hh:43,
from command_executor.cc:36:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from lnav.hh:53:0,
from command_executor.cc:38:
grep_highlighter.hh:40:27: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
grep_highlighter(std::auto_ptr<grep_proc> gp,
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from pcrepp.hh:53,
from yajlpp.hh:45,
from json_ptr.hh:43,
from command_executor.cc:36:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from lnav.hh:53:0,
from command_executor.cc:38:
grep_highlighter.hh:55:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<grep_proc> gh_grep_proc;
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from pcrepp.hh:53,
from yajlpp.hh:45,
from json_ptr.hh:43,
from command_executor.cc:36:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from command_executor.cc:38:0:
lnav.hh:224:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<grep_highlighter> ld_search_child[LNV__MAX];
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from pcrepp.hh:53,
from yajlpp.hh:45,
from json_ptr.hh:43,
from command_executor.cc:36:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from command_executor.cc:38:0:
lnav.hh:245:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<grep_highlighter> ld_grep_child[LG__MAX];
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from pcrepp.hh:53,
from yajlpp.hh:45,
from json_ptr.hh:43,
from command_executor.cc:36:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
curl_looper.cc: In member function ‘void curl_looper::check_for_new_requests()’:
curl_looper.cc:202:58: error: no matching function for call to ‘std::map<Curl_easy*, curl_request*>::find(curl_request*&)’
act_iter = this->cl_handle_to_request.find(cr);
^
In file included from /usr/include/c++/6.1.1/map:61:0,
from curl_looper.hh:35,
from curl_looper.cc:39:
/usr/include/c++/6.1.1/bits/stl_map.h:1079:7: note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) [with _Key = Curl_easy*; _Tp = curl_request*; _Compare = std::less<Curl_easy*>; _Alloc = std::allocator<std::pair<Curl_easy* const, curl_request*> >; std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<Curl_easy* const, curl_request*> >; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = Curl_easy*]
find(const key_type& __x)
^~~~
/usr/include/c++/6.1.1/bits/stl_map.h:1079:7: note: no known conversion for argument 1 from ‘curl_request*’ to ‘Curl_easy* const&’
/usr/include/c++/6.1.1/bits/stl_map.h:1085:2: note: candidate: template<class _Kt> decltype (((std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_find_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::find(const _Kt&) [with _Kt = _Kt; _Key = Curl_easy*; _Tp = curl_request*; _Compare = std::less<Curl_easy*>; _Alloc = std::allocator<std::pair<Curl_easy* const, curl_request*> >]
find(const _Kt& __x) -> decltype(_M_t._M_find_tr(__x))
^~~~
/usr/include/c++/6.1.1/bits/stl_map.h:1085:2: note: template argument deduction/substitution failed:
/usr/include/c++/6.1.1/bits/stl_map.h: In substitution of ‘template<class _Kt> decltype (((std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_find_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::find(const _Kt&) [with _Kt = curl_request*]’:
curl_looper.cc:202:58: required from here
/usr/include/c++/6.1.1/bits/stl_map.h:1085:2: error: no matching function for call to ‘std::_Rb_tree<Curl_easy*, std::pair<Curl_easy* const, curl_request*>, std::_Select1st<std::pair<Curl_easy* const, curl_request*> >, std::less<Curl_easy*>, std::allocator<std::pair<Curl_easy* const, curl_request*> > >::_M_find_tr(curl_request* const&)’
In file included from /usr/include/c++/6.1.1/map:60:0,
from curl_looper.hh:35,
from curl_looper.cc:39:
/usr/include/c++/6.1.1/bits/stl_tree.h:1123:2: note: candidate: template<class _Kt, class _Req> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) [with _Kt = _Kt; _Req = _Req; _Key = Curl_easy*; _Val = std::pair<Curl_easy* const, curl_request*>; _KeyOfValue = std::_Select1st<std::pair<Curl_easy* const, curl_request*> >; _Compare = std::less<Curl_easy*>; _Alloc = std::allocator<std::pair<Curl_easy* const, curl_request*> >]
_M_find_tr(const _Kt& __k)
^~~~~~~~~~
/usr/include/c++/6.1.1/bits/stl_tree.h:1123:2: note: template argument deduction/substitution failed:
/usr/include/c++/6.1.1/bits/stl_tree.h:1120:9: error: no type named ‘type’ in ‘struct std::__has_is_transparent<std::less<Curl_easy*>, curl_request*, void>’
typename _Req =
^~~~~~~~
/usr/include/c++/6.1.1/bits/stl_tree.h:1133:2: note: candidate: template<class _Kt, class _Req> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) const [with _Kt = _Kt; _Req = _Req; _Key = Curl_easy*; _Val = std::pair<Curl_easy* const, curl_request*>; _KeyOfValue = std::_Select1st<std::pair<Curl_easy* const, curl_request*> >; _Compare = std::less<Curl_easy*>; _Alloc = std::allocator<std::pair<Curl_easy* const, curl_request*> >]
_M_find_tr(const _Kt& __k) const
^~~~~~~~~~
/usr/include/c++/6.1.1/bits/stl_tree.h:1133:2: note: template argument deduction/substitution failed:
/usr/include/c++/6.1.1/bits/stl_tree.h:1130:9: error: no type named ‘type’ in ‘struct std::__has_is_transparent<std::less<Curl_easy*>, curl_request*, void>’
typename _Req =
^~~~~~~~
In file included from /usr/include/c++/6.1.1/map:61:0,
from curl_looper.hh:35,
from curl_looper.cc:39:
/usr/include/c++/6.1.1/bits/stl_map.h:1104:7: note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) const [with _Key = Curl_easy*; _Tp = curl_request*; _Compare = std::less<Curl_easy*>; _Alloc = std::allocator<std::pair<Curl_easy* const, curl_request*> >; std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<Curl_easy* const, curl_request*> >; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = Curl_easy*]
find(const key_type& __x) const
^~~~
/usr/include/c++/6.1.1/bits/stl_map.h:1104:7: note: no known conversion for argument 1 from ‘curl_request*’ to ‘Curl_easy* const&’
/usr/include/c++/6.1.1/bits/stl_map.h:1110:2: note: candidate: template<class _Kt> decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_find_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::find(const _Kt&) const [with _Kt = _Kt; _Key = Curl_easy*; _Tp = curl_request*; _Compare = std::less<Curl_easy*>; _Alloc = std::allocator<std::pair<Curl_easy* const, curl_request*> >]
find(const _Kt& __x) const -> decltype(_M_t._M_find_tr(__x))
^~~~
/usr/include/c++/6.1.1/bits/stl_map.h:1110:2: note: template argument deduction/substitution failed:
/usr/include/c++/6.1.1/bits/stl_map.h: In substitution of ‘template<class _Kt> decltype (((const std::map<_Key, _Tp, _Compare, _Alloc>*)this)->std::map<_Key, _Tp, _Compare, _Alloc>::_M_t._M_find_tr(__x)) std::map<_Key, _Tp, _Compare, _Alloc>::find(const _Kt&) const [with _Kt = curl_request*]’:
curl_looper.cc:202:58: required from here
/usr/include/c++/6.1.1/bits/stl_map.h:1110:2: error: no matching function for call to ‘std::_Rb_tree<Curl_easy*, std::pair<Curl_easy* const, curl_request*>, std::_Select1st<std::pair<Curl_easy* const, curl_request*> >, std::less<Curl_easy*>, std::allocator<std::pair<Curl_easy* const, curl_request*> > >::_M_find_tr(curl_request* const&) const’
In file included from /usr/include/c++/6.1.1/map:60:0,
from curl_looper.hh:35,
from curl_looper.cc:39:
/usr/include/c++/6.1.1/bits/stl_tree.h:1123:2: note: candidate: template<class _Kt, class _Req> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) [with _Kt = _Kt; _Req = _Req; _Key = Curl_easy*; _Val = std::pair<Curl_easy* const, curl_request*>; _KeyOfValue = std::_Select1st<std::pair<Curl_easy* const, curl_request*> >; _Compare = std::less<Curl_easy*>; _Alloc = std::allocator<std::pair<Curl_easy* const, curl_request*> >]
_M_find_tr(const _Kt& __k)
^~~~~~~~~~
/usr/include/c++/6.1.1/bits/stl_tree.h:1123:2: note: template argument deduction/substitution failed:
/usr/include/c++/6.1.1/bits/stl_tree.h:1120:9: error: no type named ‘type’ in ‘struct std::__has_is_transparent<std::less<Curl_easy*>, curl_request*, void>’
typename _Req =
^~~~~~~~
/usr/include/c++/6.1.1/bits/stl_tree.h:1133:2: note: candidate: template<class _Kt, class _Req> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_find_tr(const _Kt&) const [with _Kt = _Kt; _Req = _Req; _Key = Curl_easy*; _Val = std::pair<Curl_easy* const, curl_request*>; _KeyOfValue = std::_Select1st<std::pair<Curl_easy* const, curl_request*> >; _Compare = std::less<Curl_easy*>; _Alloc = std::allocator<std::pair<Curl_easy* const, curl_request*> >]
_M_find_tr(const _Kt& __k) const
^~~~~~~~~~
/usr/include/c++/6.1.1/bits/stl_tree.h:1133:2: note: template argument deduction/substitution failed:
/usr/include/c++/6.1.1/bits/stl_tree.h:1130:9: error: no type named ‘type’ in ‘struct std::__has_is_transparent<std::less<Curl_easy*>, curl_request*, void>’
typename _Req =
^~~~~~~~
command_executor.cc: In function ‘void execute_init_commands(std::vector<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > >&)’:
command_executor.cc:477:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
auto_ptr<papertrail_proc> pt(new papertrail_proc(
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from pcrepp.hh:53,
from yajlpp.hh:45,
from json_ptr.hh:43,
from command_executor.cc:36:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
make[2]: *** [Makefile:879: curl_looper.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from lnav.hh:63:0,
from command_executor.cc:38:
papertrail_proc.hh: In constructor ‘papertrail_proc::papertrail_proc(const string&, time_t, time_t)’:
papertrail_proc.hh:107:36: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
this->ptp_api_key);
^
papertrail_proc.hh: In member function ‘void papertrail_proc::set_url()’:
papertrail_proc.hh:146:47: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
this->ptp_quoted_search.in());
^
make[2]: Leaving directory '/home/sans/build/lnav/src/lnav-0.8.1/src'
make[1]: *** [Makefile:625: all] Error 2
make[1]: Leaving directory '/home/sans/build/lnav/src/lnav-0.8.1/src'
make: *** [Makefile:464: all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment