+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/lnav.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BojYtg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lnav-0.8.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/lnav-0.8.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lnav-0.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NHkHgq + umask 022 + cd /builddir/build/BUILD + cd lnav-0.8.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --disable-silent-rules 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... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no 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++... none checking gprof(4) profiling support... no checking for riscv64-redhat-linux-gnu-ranlib... 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 riscv64-redhat-linux-gnu-gcc... 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... none 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... no checking whether libcurl is usable... no configure: Trying to link with tinfo checking for library containing cur_term... -ltinfo configure: Linking with tinfo checking for library containing Gpm_Open... no configure: WARNING: libgpm not found. If build fails later consider installing gpm dev package 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... yes 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 configure: Checking for libgpm dependency checking for mousemask in -lncursesw... 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 + /usr/bin/make -O -j4 Making all in src /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o bookmarks.o bookmarks.cc In file included from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/c++config.h:533, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/bits/stl_tree.h:63, from /usr/include/c++/7/map:60, from bookmarks.hh:35, from bookmarks.cc:34: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ansi_scrubber.o ansi_scrubber.cc In file included from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/c++config.h:533, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from ansi_scrubber.cc:34: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o curl_looper.o curl_looper.cc In file included from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/c++config.h:533, from /usr/include/c++/7/utility:68, from /usr/include/c++/7/algorithm:60, from curl_looper.cc:34: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o collation-functions.o collation-functions.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from collation-functions.cc:34: /usr/include/features.h:184: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 lnav_util.hh:48:0, from log_format.hh:52, from collation-functions.cc:44: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from collation-functions.cc:44:0: log_format.hh: At global scope: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from collation-functions.cc:44: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from collation-functions.cc:44:0: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from collation-functions.cc:44: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from collation-functions.cc:44:0: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from collation-functions.cc:44: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from collation-functions.cc:44:0: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from collation-functions.cc:44: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o environ_vtab.o environ_vtab.cc In file included from /usr/include/assert.h:35:0, from environ_vtab.cc:32: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o extension-functions.o extension-functions.c make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o fs-extension-functions.o fs-extension-functions.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from fs-extension-functions.cc:34: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o db_sub_source.o db_sub_source.cc In file included from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/c++config.h:533, from /usr/include/c++/7/string:38, from db_sub_source.hh:33, from db_sub_source.cc:32: /usr/include/features.h:184: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 grep_proc.hh:58:0, from textview_curses.hh:37, from hist_source.hh:44, from db_sub_source.hh:38, from db_sub_source.cc:32: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ In file included from lnav_util.hh:48:0, from log_format.hh:52, from logfile.hh:47, from textview_curses.hh:42, from hist_source.hh:44, from db_sub_source.hh:38, from db_sub_source.cc:32: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from db_sub_source.hh:38, from db_sub_source.cc:32: log_format.hh: At global scope: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from grep_proc.hh:53, from textview_curses.hh:37, from hist_source.hh:44, from db_sub_source.hh:38, from db_sub_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from db_sub_source.hh:38, from db_sub_source.cc:32: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from grep_proc.hh:53, from textview_curses.hh:37, from hist_source.hh:44, from db_sub_source.hh:38, from db_sub_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from db_sub_source.hh:38, from db_sub_source.cc:32: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from grep_proc.hh:53, from textview_curses.hh:37, from hist_source.hh:44, from db_sub_source.hh:38, from db_sub_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from db_sub_source.hh:38, from db_sub_source.cc:32: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from grep_proc.hh:53, from textview_curses.hh:37, from hist_source.hh:44, from db_sub_source.hh:38, from db_sub_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from textview_curses.hh:42:0, from hist_source.hh:44, from db_sub_source.hh:38, from db_sub_source.cc:32: logfile.hh: At global scope: logfile.hh:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] logfile(std::string filename, auto_fd fd = -1) throw (error); ^~~~~ logfile.hh:302:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (line_buffer::error, logfile::error); ^~~~~ logfile.hh:358:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lf_format; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from grep_proc.hh:53, from textview_curses.hh:37, from hist_source.hh:44, from db_sub_source.hh:38, from db_sub_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o grep_proc.o grep_proc.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from grep_proc.cc:34: /usr/include/features.h:184: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 lnav_util.hh:48:0, from grep_proc.cc:44: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from grep_proc.hh:58:0, from grep_proc.cc:45: line_buffer.hh: At global scope: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o command_executor.o command_executor.cc In file included from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/c++config.h:533, from /usr/include/c++/7/bits/stl_algobase.h:59, from /usr/include/c++/7/vector:60, from command_executor.cc:32: /usr/include/features.h:184: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 grep_proc.hh:58:0, from grapher.hh:40, from lnav.hh:46, from command_executor.cc:35: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ In file included from lnav_util.hh:48:0, from log_format.hh:52, from logfile.hh:47, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from command_executor.cc:35: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from command_executor.cc:35: log_format.hh: At global scope: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from command_executor.cc:35: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from command_executor.cc:35: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from command_executor.cc:35: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from command_executor.cc:35: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from command_executor.cc:35: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from command_executor.cc:35: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from command_executor.cc:35: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template 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:35: logfile.hh: At global scope: logfile.hh:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] logfile(std::string filename, auto_fd fd = -1) throw (error); ^~~~~ logfile.hh:302:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (line_buffer::error, logfile::error); ^~~~~ logfile.hh:358:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lf_format; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from command_executor.cc:35: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from command_executor.cc:35: grep_highlighter.hh:40:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] grep_highlighter(std::auto_ptr gp, ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from command_executor.cc:35: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from command_executor.cc:35: grep_highlighter.hh:55:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr gh_grep_proc; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from command_executor.cc:35: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:64:0, from command_executor.cc:35: relative_time.hh: In member function 'std::__cxx11::string relative_time::to_string()': relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:200:18: this->rt_field[RTF_YEARS], ~~~~~~~~~~~~~~~~~~~~~~~~~ relative_time.hh:213:68: this->rt_is_absolute[RTF_MICROSECONDS] ? 'U' : 'u'); ^ relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 6 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 8 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 10 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 12 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 14 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 16 has type 'int64_t {aka long int}' [-Wformat=] In file included from command_executor.cc:35:0: lnav.hh: At global scope: lnav.hh:215:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_search_child[LNV__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from command_executor.cc:35: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from command_executor.cc:35:0: lnav.hh:235:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_grep_child[LG__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from command_executor.cc:35: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o intern_string.o intern_string.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from intern_string.cc:34: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o json-extension-functions.o json-extension-functions.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from json-extension-functions.cc:34: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o hist_source.o hist_source.cc In file included from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/c++config.h:533, from /usr/include/c++/7/cmath:41, from /usr/include/c++/7/math.h:36, from hist_source.cc:32: /usr/include/features.h:184: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 lnav_util.hh:48:0, from hist_source.cc:37: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from grep_proc.hh:58:0, from textview_curses.hh:37, from hist_source.hh:44, from hist_source.cc:38: line_buffer.hh: At global scope: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from hist_source.cc:38: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from grep_proc.hh:53, from textview_curses.hh:37, from hist_source.hh:44, from hist_source.cc:38: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from hist_source.cc:38: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from grep_proc.hh:53, from textview_curses.hh:37, from hist_source.hh:44, from hist_source.cc:38: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from hist_source.cc:38: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from grep_proc.hh:53, from textview_curses.hh:37, from hist_source.hh:44, from hist_source.cc:38: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from hist_source.cc:38: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from grep_proc.hh:53, from textview_curses.hh:37, from hist_source.hh:44, from hist_source.cc:38: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from textview_curses.hh:42:0, from hist_source.hh:44, from hist_source.cc:38: logfile.hh: At global scope: logfile.hh:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] logfile(std::string filename, auto_fd fd = -1) throw (error); ^~~~~ logfile.hh:302:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (line_buffer::error, logfile::error); ^~~~~ logfile.hh:358:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lf_format; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from grep_proc.hh:53, from textview_curses.hh:37, from hist_source.hh:44, from hist_source.cc:38: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o json_op.o json_op.cc In file included from /usr/include/sys/types.h:25:0, from json_op.hh:35, from json_op.cc:34: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o json_ptr.o json_ptr.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from json_ptr.hh:35, from json_ptr.cc:34: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o field_overlay_source.o field_overlay_source.cc In file included from /usr/include/signal.h:25:0, from lnav.hh:37, from field_overlay_source.cc:32: /usr/include/features.h:184: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 grep_proc.hh:58:0, from grapher.hh:40, from lnav.hh:46, from field_overlay_source.cc:32: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ In file included from lnav_util.hh:48:0, from log_format.hh:52, from logfile.hh:47, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from field_overlay_source.cc:32: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from field_overlay_source.cc:32: log_format.hh: At global scope: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from field_overlay_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from field_overlay_source.cc:32: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from field_overlay_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from field_overlay_source.cc:32: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from field_overlay_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from field_overlay_source.cc:32: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from field_overlay_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template 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 field_overlay_source.cc:32: logfile.hh: At global scope: logfile.hh:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] logfile(std::string filename, auto_fd fd = -1) throw (error); ^~~~~ logfile.hh:302:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (line_buffer::error, logfile::error); ^~~~~ logfile.hh:358:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lf_format; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from field_overlay_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from field_overlay_source.cc:32: grep_highlighter.hh:40:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] grep_highlighter(std::auto_ptr gp, ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from field_overlay_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from field_overlay_source.cc:32: grep_highlighter.hh:55:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr gh_grep_proc; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from field_overlay_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:64:0, from field_overlay_source.cc:32: relative_time.hh: In member function 'std::__cxx11::string relative_time::to_string()': relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:200:18: this->rt_field[RTF_YEARS], ~~~~~~~~~~~~~~~~~~~~~~~~~ relative_time.hh:213:68: this->rt_is_absolute[RTF_MICROSECONDS] ? 'U' : 'u'); ^ relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 6 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 8 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 10 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 12 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 14 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 16 has type 'int64_t {aka long int}' [-Wformat=] In file included from field_overlay_source.cc:32:0: lnav.hh: At global scope: lnav.hh:215:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_search_child[LNV__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from field_overlay_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from field_overlay_source.cc:32:0: lnav.hh:235:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_grep_child[LG__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from field_overlay_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from log_data_helper.hh:42:0, from field_overlay_source.hh:36, from field_overlay_source.cc:34: data_parser.hh: In member function 'void data_parser::pairup(data_parser::schema_id_t*, data_parser::element_list_t&, data_parser::element_list_t&)': data_parser.hh:645:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (blank.e_capture.c_begin < pi.pi_length) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ data_parser.hh:769:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (this->dp_msg_format_begin < pi.pi_length) { ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from field_overlay_source.hh:36:0, from field_overlay_source.cc:34: log_data_helper.hh: At global scope: log_data_helper.hh:189:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ldh_scanner; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from field_overlay_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from field_overlay_source.hh:36:0, from field_overlay_source.cc:34: log_data_helper.hh:190:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ldh_parser; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from field_overlay_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from field_overlay_source.hh:36:0, from field_overlay_source.cc:34: log_data_helper.hh:191:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ldh_namer; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from field_overlay_source.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o line_buffer.o line_buffer.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from line_buffer.cc:34: /usr/include/features.h:184: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 lnav_util.hh:48:0, from line_buffer.cc:46: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from line_buffer.cc:47:0: line_buffer.hh: At global scope: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.cc:142:1: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error) ^~~~~ line_buffer.cc:221:1: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error) ^~~~~ line_buffer.cc:244:1: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error) ^~~~~ line_buffer.cc:311:1: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error) ^~~~~ line_buffer.cc:472:1: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error) ^~~~~ line_buffer.cc:578:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error) ^~~~~ line_buffer.cc:598:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error) ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o listview_curses.o listview_curses.cc In file included from /usr/include/time.h:25:0, from listview_curses.cc:34: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o lnav_config.o lnav_config.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from lnav_config.cc:34: /usr/include/features.h:184: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" ^~~~~~~ lnav_config.cc: In function 'void install_git_format(const char*)': lnav_config.cc:145:18: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(local_path.c_str()); ~~~~~^~~~~~~~~~~~~~~~~~~~ lnav_config.cc: In function 'void install_extra_formats()': lnav_config.cc:184:15: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(pull_cmd); ~~~~~~^~~~~~~~~~ lnav_config.cc:193:15: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(clone_cmd); ~~~~~~^~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o lnav_log.o lnav_log.cc In file included from /usr/include/time.h:25:0, from lnav_log.cc:34: /usr/include/features.h:184: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" ^~~~~~~ lnav_log.cc: In function 'void log_host_info()': lnav_log.cc:183:11: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd(cwd, sizeof(cwd)); ~~~~~~^~~~~~~~~~~~~~~~~~ lnav_log.cc: In function 'void sigabrt(int)': lnav_log.cc:303:18: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(fd, &log_ring.lr_data[log_ring.lr_frag_start], ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log_ring.lr_frag_end - log_ring.lr_frag_start); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lnav_log.cc:306:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(fd, log_ring.lr_data, log_ring.lr_length); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lnav_log.cc:327:18: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(fd, &log_ring.lr_data[log_ring.lr_frag_start], ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log_ring.lr_frag_end - log_ring.lr_frag_start); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lnav_log.cc:330:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(fd, log_ring.lr_data, log_ring.lr_length); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lnav_log.cc:334:16: warning: ignoring return value of 'int symlink(const char*, const char*)', declared with attribute warn_unused_result [-Wunused-result] symlink(crash_path, latest_crash_path); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lnav_log.cc:349:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &response); ~~~~~^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o log_accel.o log_accel.cc In file included from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/c++config.h:533, from /usr/include/c++/7/cmath:41, from /usr/include/c++/7/math.h:36, from log_accel.hh:35, from log_accel.cc:34: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o lnav_util.o lnav_util.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from lnav_util.cc:36: /usr/include/features.h:184: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 lnav_util.hh:48:0, from lnav_util.cc:43: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o hotkeys.o hotkeys.cc In file included from /usr/include/signal.h:25:0, from lnav.hh:37, from hotkeys.cc:32: /usr/include/features.h:184: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 grep_proc.hh:58:0, from grapher.hh:40, from lnav.hh:46, from hotkeys.cc:32: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ In file included from lnav_util.hh:48:0, from log_format.hh:52, from logfile.hh:47, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from hotkeys.cc:32: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from hotkeys.cc:32: log_format.hh: At global scope: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from hotkeys.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from hotkeys.cc:32: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from hotkeys.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from hotkeys.cc:32: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from hotkeys.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from hotkeys.cc:32: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from hotkeys.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template 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 hotkeys.cc:32: logfile.hh: At global scope: logfile.hh:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] logfile(std::string filename, auto_fd fd = -1) throw (error); ^~~~~ logfile.hh:302:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (line_buffer::error, logfile::error); ^~~~~ logfile.hh:358:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lf_format; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from hotkeys.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from hotkeys.cc:32: grep_highlighter.hh:40:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] grep_highlighter(std::auto_ptr gp, ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from hotkeys.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from hotkeys.cc:32: grep_highlighter.hh:55:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr gh_grep_proc; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from hotkeys.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:64:0, from hotkeys.cc:32: relative_time.hh: In member function 'std::__cxx11::string relative_time::to_string()': relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:200:18: this->rt_field[RTF_YEARS], ~~~~~~~~~~~~~~~~~~~~~~~~~ relative_time.hh:213:68: this->rt_is_absolute[RTF_MICROSECONDS] ? 'U' : 'u'); ^ relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 6 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 8 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 10 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 12 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 14 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 16 has type 'int64_t {aka long int}' [-Wformat=] In file included from hotkeys.cc:32:0: lnav.hh: At global scope: lnav.hh:215:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_search_child[LNV__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from hotkeys.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from hotkeys.cc:32:0: lnav.hh:235:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_grep_child[LG__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from hotkeys.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from log_data_helper.hh:42:0, from hotkeys.cc:39: data_parser.hh: In member function 'void data_parser::pairup(data_parser::schema_id_t*, data_parser::element_list_t&, data_parser::element_list_t&)': data_parser.hh:645:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (blank.e_capture.c_begin < pi.pi_length) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ data_parser.hh:769:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (this->dp_msg_format_begin < pi.pi_length) { ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from hotkeys.cc:39:0: log_data_helper.hh: At global scope: log_data_helper.hh:189:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ldh_scanner; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from hotkeys.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from hotkeys.cc:39:0: log_data_helper.hh:190:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ldh_parser; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from hotkeys.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from hotkeys.cc:39:0: log_data_helper.hh:191:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ldh_namer; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from hotkeys.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ hotkeys.cc: In function 'void handle_paging_key(int)': hotkeys.cc:508:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, line_break, strlen(line_break)); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hotkeys.cc:514:26: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, lr.substr(al.get_string()), ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lr.sublen(al.get_string())); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ hotkeys.cc:516:26: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, "\n", 1); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o logfile.o logfile.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from logfile.cc:34: /usr/include/features.h:184: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:46:0, from logfile.cc:47: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ In file included from lnav_util.hh:48:0, from log_format.hh:52, from logfile.hh:47, from logfile.cc:47: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from logfile.hh:47:0, from logfile.cc:47: log_format.hh: At global scope: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from logfile.hh:47, from logfile.cc:47: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from logfile.cc:47: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from logfile.hh:47, from logfile.cc:47: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from logfile.cc:47: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from logfile.hh:47, from logfile.cc:47: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from logfile.cc:47: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from logfile.hh:47, from logfile.cc:47: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.cc:47:0: logfile.hh: At global scope: logfile.hh:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] logfile(std::string filename, auto_fd fd = -1) throw (error); ^~~~~ logfile.hh:302:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (line_buffer::error, logfile::error); ^~~~~ logfile.hh:358:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lf_format; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from logfile.hh:47, from logfile.cc:47: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ logfile.cc:56:1: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error) ^~~~~ logfile.cc: In member function 'void logfile::process_prefix(off_t, shared_buffer_ref&)': logfile.cc:176:21: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr((*iter)->specialized()); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from logfile.hh:47, from logfile.cc:47: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ logfile.cc: At global scope: logfile.cc:236:1: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (line_buffer::error, logfile::error) ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o log_format_loader.o log_format_loader.cc In file included from /usr/include/errno.h:25:0, from log_format_loader.cc:34: /usr/include/features.h:184: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 lnav_util.hh:48:0, from log_format.hh:52, from log_format_loader.cc:43: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from log_format_loader.cc:43:0: log_format.hh: At global scope: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from log_format_loader.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from log_format_loader.cc:43:0: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from log_format_loader.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from log_format_loader.cc:43:0: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from log_format_loader.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from log_format_loader.cc:43:0: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from log_format_loader.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ log_format_loader.cc: In function 'void write_sample_file()': log_format_loader.cc:452:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(sample_fd.get(), ~~~~~^~~~~~~~~~~~~~~~~ default_log_formats_json, ~~~~~~~~~~~~~~~~~~~~~~~~~ strlen(default_log_formats_json)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log_format_loader.cc:464:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(sh_fd.get(), dump_pid_sh, strlen(dump_pid_sh)); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o network-extension-functions.o network-extension-functions.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from network-extension-functions.cc:34: /usr/include/features.h:184: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 network-extension-functions.cc:47:0: auto_mem.hh: In instantiation of 'auto_mem::auto_mem(F) [with F = void (*)(addrinfo*) throw (); T = addrinfo; void (* default_free)(void*) = free]': network-extension-functions.cc:55:46: required from here auto_mem.hh:59:5: warning: mangled name for 'auto_mem::auto_mem(F) [with F = void (*)(addrinfo*) throw (); T = addrinfo; void (* default_free)(void*) = free]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] auto_mem(F free_func) ^~~~~~~~ auto_mem.hh:59:5: warning: mangled name for 'auto_mem::auto_mem(F) [with F = void (*)(addrinfo*) throw (); T = addrinfo; void (* default_free)(void*) = free]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] auto_mem.hh:59:5: warning: mangled name for 'auto_mem::auto_mem(F) [with F = void (*)(addrinfo*) throw (); T = addrinfo; void (* default_free)(void*) = free]' will change in C++17 because the exception specification is part of a function type [-Wnoexcept-type] make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o data_scanner.o data_scanner.cc In file included from /usr/include/arpa/inet.h:21:0, from data_scanner.cc:32: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o log_format.o log_format.cc In file included from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/c++config.h:533, from /usr/include/c++/7/cmath:41, from /usr/include/c++/7/math.h:36, from log_format.cc:32: /usr/include/features.h:184: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 lnav_util.hh:48:0, from log_format.hh:52, from log_format.cc:40: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from log_format.cc:40:0: log_format.hh: At global scope: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from log_format.cc:38: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from log_format.cc:40:0: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from log_format.cc:38: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from log_format.cc:40:0: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from log_format.cc:38: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from log_format.cc:40:0: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from log_format.cc:38: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from grep_proc.hh:58:0, from textview_curses.hh:37, from log_vtab_impl.hh:39, from log_format.cc:41: line_buffer.hh: At global scope: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ In file included from textview_curses.hh:42:0, from log_vtab_impl.hh:39, from log_format.cc:41: logfile.hh:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] logfile(std::string filename, auto_fd fd = -1) throw (error); ^~~~~ logfile.hh:302:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (line_buffer::error, logfile::error); ^~~~~ logfile.hh:358:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lf_format; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from log_format.cc:38: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ log_format.cc: In member function 'virtual bool external_log_format::scan_for_partial(shared_buffer_ref&, size_t&)': log_format.cc:602:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pat->p_timestamp_end == -1 || pat->p_timestamp_end > sbr.length()) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ log_format.cc:608:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return len_out > pat->p_timestamp_end; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from log_format.cc:1613:0: log_format_impls.cc: At global scope: log_format_impls.cc:203:5: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr specialized(int fmt_lock) ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from log_format.cc:38: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from log_format.cc:1613:0: log_format_impls.cc: In member function 'virtual std::auto_ptr generic_log_format::specialized(int)': log_format_impls.cc:205:9: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr retval((log_format *) ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from log_format.cc:38: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o lnav_commands.o lnav_commands.cc In file included from /usr/include/wordexp.h:21:0, from lnav_commands.cc:32: /usr/include/features.h:184: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 grep_proc.hh:58:0, from grapher.hh:40, from lnav.hh:46, from lnav_commands.cc:41: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ In file included from lnav_util.hh:48:0, from log_format.hh:52, from logfile.hh:47, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from lnav_commands.cc:41: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from lnav_commands.cc:41: log_format.hh: At global scope: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from lnav_commands.cc:41: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from lnav_commands.cc:41: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from lnav_commands.cc:41: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template 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 lnav_commands.cc:41: logfile.hh: At global scope: logfile.hh:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] logfile(std::string filename, auto_fd fd = -1) throw (error); ^~~~~ logfile.hh:302:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (line_buffer::error, logfile::error); ^~~~~ logfile.hh:358:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lf_format; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from lnav_commands.cc:41: grep_highlighter.hh:40:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] grep_highlighter(std::auto_ptr gp, ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from lnav_commands.cc:41: grep_highlighter.hh:55:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr gh_grep_proc; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:64:0, from lnav_commands.cc:41: relative_time.hh: In member function 'std::__cxx11::string relative_time::to_string()': relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:200:18: this->rt_field[RTF_YEARS], ~~~~~~~~~~~~~~~~~~~~~~~~~ relative_time.hh:213:68: this->rt_is_absolute[RTF_MICROSECONDS] ? 'U' : 'u'); ^ relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 6 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 8 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 10 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 12 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 14 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 16 has type 'int64_t {aka long int}' [-Wformat=] In file included from lnav_commands.cc:41:0: lnav.hh: At global scope: lnav.hh:215:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_search_child[LNV__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav_commands.cc:41:0: lnav.hh:235:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_grep_child[LG__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from log_data_table.hh:40:0, from lnav_commands.cc:45: data_parser.hh: In member function 'void data_parser::pairup(data_parser::schema_id_t*, data_parser::element_list_t&, data_parser::element_list_t&)': data_parser.hh:645:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (blank.e_capture.c_begin < pi.pi_length) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ data_parser.hh:769:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (this->dp_msg_format_begin < pi.pi_length) { ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from lnav_commands.cc:46:0: log_data_helper.hh: At global scope: log_data_helper.hh:189:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ldh_scanner; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav_commands.cc:46:0: log_data_helper.hh:190:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ldh_parser; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav_commands.cc:46:0: log_data_helper.hh:191:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ldh_namer; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav_commands.cc:53:0: log_search_table.hh: In member function 'virtual void log_search_table::get_columns(std::vector&)': log_search_table.hh:67:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (this->lst_regex.captures().size() == this->lst_regex.get_capture_count()) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lnav_commands.cc: In function 'std::__cxx11::string remaining_args(const string&, const std::vector >&, size_t)': lnav_commands.cc:95:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int lpc = 0; lpc < index; lpc++) { ~~~~^~~~~~~ lnav_commands.cc: In function 'std::__cxx11::string com_graph(std::__cxx11::string, std::vector >&)': lnav_commands.cc:869:13: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr gp(new grep_proc(code, tc)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ lnav_commands.cc:875:13: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ lnav_commands.cc: In function 'std::__cxx11::string com_filter(std::__cxx11::string, std::vector >&)': lnav_commands.cc:963:13: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] auto_ptr pf(new pcre_filter(lt, args[1], fs.next_index(), code)); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from lnav_commands.cc:41: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ lnav_commands.cc: In function 'std::__cxx11::string com_pipe_to(std::__cxx11::string, std::vector >&)': lnav_commands.cc:743:26: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(in_pipe.write_end(), "\n", 1); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lnav_commands.cc:750:26: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(in_pipe.write_end(), "\n", 1); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lnav_commands.cc:759:26: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write(in_pipe.write_end(), "\n", 1); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lnav_commands.cc: In function 'std::__cxx11::string com_shexec(std::__cxx11::string, std::vector >&)': lnav_commands.cc:1984:15: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(cmdline.substr(args[0].size()).c_str()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o papertrail_proc.o papertrail_proc.cc make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o data_parser.o data_parser.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from data_parser.hh:33, from data_parser.cc:32: /usr/include/features.h:184: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 lnav_util.hh:48:0, from data_parser.hh:43, from data_parser.cc:32: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from data_parser.cc:32:0: data_parser.hh: In member function 'void data_parser::pairup(data_parser::schema_id_t*, data_parser::element_list_t&, data_parser::element_list_t&)': data_parser.hh:645:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (blank.e_capture.c_begin < pi.pi_length) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ data_parser.hh:769:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (this->dp_msg_format_begin < pi.pi_length) { ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o ptimec_rt.o ptimec_rt.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from ptimec_rt.cc:33: /usr/include/features.h:184: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 ptimec_rt.cc:38:0: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o logfile_sub_source.o logfile_sub_source.cc In file included from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/c++config.h:533, from /usr/include/c++/7/utility:68, from /usr/include/c++/7/algorithm:60, from logfile_sub_source.cc:32: /usr/include/features.h:184: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 lnav_util.hh:48:0, from logfile_sub_source.cc:35: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from logfile.hh:46:0, from logfile_sub_source.hh:46, from logfile_sub_source.cc:37: line_buffer.hh: At global scope: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ In file included from logfile.hh:47:0, from logfile_sub_source.hh:46, from logfile_sub_source.cc:37: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from logfile.hh:47, from logfile_sub_source.hh:46, from logfile_sub_source.cc:37: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from logfile_sub_source.hh:46, from logfile_sub_source.cc:37: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from logfile.hh:47, from logfile_sub_source.hh:46, from logfile_sub_source.cc:37: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from logfile_sub_source.hh:46, from logfile_sub_source.cc:37: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from logfile.hh:47, from logfile_sub_source.hh:46, from logfile_sub_source.cc:37: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from logfile_sub_source.hh:46, from logfile_sub_source.cc:37: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from logfile.hh:47, from logfile_sub_source.hh:46, from logfile_sub_source.cc:37: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile_sub_source.hh:46:0, from logfile_sub_source.cc:37: logfile.hh: At global scope: logfile.hh:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] logfile(std::string filename, auto_fd fd = -1) throw (error); ^~~~~ logfile.hh:302:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (line_buffer::error, logfile::error); ^~~~~ logfile.hh:358:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lf_format; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from log_format.hh:46, from logfile.hh:47, from logfile_sub_source.hh:46, from logfile_sub_source.cc:37: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o pretty_printer.o pretty_printer.cc In file included from /usr/include/sys/time.h:21:0, from pretty_printer.hh:33, from pretty_printer.cc:32: /usr/include/features.h:184: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 lnav_util.hh:48:0, from pretty_printer.hh:49, from pretty_printer.cc:32: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o readline_highlighters.o readline_highlighters.cc In file included from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/c++config.h:533, from /usr/include/c++/7/cstdlib:41, from /usr/include/c++/7/stdlib.h:36, from /usr/include/pcre.h:90, from pcrepp.hh:43, from readline_highlighters.cc:34: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o readline_curses.o readline_curses.cc In file included from /usr/include/errno.h:25:0, from readline_curses.cc:34: /usr/include/features.h:184: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 lnav_util.hh:48:0, from readline_curses.cc:61: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o relative_time.o relative_time.cc In file included from /usr/include/assert.h:35:0, from relative_time.cc:32: /usr/include/features.h:184: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 lnav_util.hh:48:0, from relative_time.cc:37: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from relative_time.cc:38:0: relative_time.hh: In member function 'std::__cxx11::string relative_time::to_string()': relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:200:18: this->rt_field[RTF_YEARS], ~~~~~~~~~~~~~~~~~~~~~~~~~ relative_time.hh:213:68: this->rt_is_absolute[RTF_MICROSECONDS] ? 'U' : 'u'); ^ relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 6 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 8 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 10 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 12 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 14 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 16 has type 'int64_t {aka long int}' [-Wformat=] relative_time.cc: In member function 'bool relative_time::parse(const char*, size_t, relative_time::parse_error&)': relative_time.cc:182:62: warning: format '%qd' expects argument of type 'long long int*', but argument 3 has type 'int64_t* {aka long int*}' [-Wformat=] if (sscanf(numstr.c_str(), "%qd", &number) != 1) { ~~~~~~~^ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o readline_callbacks.o readline_callbacks.cc In file included from /usr/include/signal.h:25:0, from lnav.hh:37, from readline_callbacks.cc:32: /usr/include/features.h:184: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 grep_proc.hh:58:0, from grapher.hh:40, from lnav.hh:46, from readline_callbacks.cc:32: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ In file included from lnav_util.hh:48:0, from log_format.hh:52, from logfile.hh:47, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from readline_callbacks.cc:32: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from readline_callbacks.cc:32: log_format.hh: At global scope: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_callbacks.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from readline_callbacks.cc:32: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_callbacks.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from readline_callbacks.cc:32: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_callbacks.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from readline_callbacks.cc:32: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_callbacks.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template 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 readline_callbacks.cc:32: logfile.hh: At global scope: logfile.hh:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] logfile(std::string filename, auto_fd fd = -1) throw (error); ^~~~~ logfile.hh:302:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (line_buffer::error, logfile::error); ^~~~~ logfile.hh:358:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lf_format; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_callbacks.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from readline_callbacks.cc:32: grep_highlighter.hh:40:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] grep_highlighter(std::auto_ptr gp, ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_callbacks.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from readline_callbacks.cc:32: grep_highlighter.hh:55:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr gh_grep_proc; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_callbacks.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:64:0, from readline_callbacks.cc:32: relative_time.hh: In member function 'std::__cxx11::string relative_time::to_string()': relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:200:18: this->rt_field[RTF_YEARS], ~~~~~~~~~~~~~~~~~~~~~~~~~ relative_time.hh:213:68: this->rt_is_absolute[RTF_MICROSECONDS] ? 'U' : 'u'); ^ relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 6 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 8 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 10 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 12 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 14 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 16 has type 'int64_t {aka long int}' [-Wformat=] In file included from readline_callbacks.cc:32:0: lnav.hh: At global scope: lnav.hh:215:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_search_child[LNV__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_callbacks.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from readline_callbacks.cc:32:0: lnav.hh:235:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_grep_child[LG__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_callbacks.cc:32: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from log_search_table.hh:41:0, from readline_callbacks.cc:37: data_parser.hh: In member function 'void data_parser::pairup(data_parser::schema_id_t*, data_parser::element_list_t&, data_parser::element_list_t&)': data_parser.hh:645:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (blank.e_capture.c_begin < pi.pi_length) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ data_parser.hh:769:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (this->dp_msg_format_begin < pi.pi_length) { ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from readline_callbacks.cc:37:0: log_search_table.hh: In member function 'virtual void log_search_table::get_columns(std::vector&)': log_search_table.hh:67:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (this->lst_regex.captures().size() == this->lst_regex.get_capture_count()) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o sequence_matcher.o sequence_matcher.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdint.h:26, from /usr/lib64/gcc/riscv64-unknown-linux-gnu/7/include/stdint.h:9, from spookyhash/SpookyV2.h:40, from sequence_matcher.cc:32: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o readline_possibilities.o readline_possibilities.cc In file included from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/c++config.h:533, from /usr/include/c++/7/string:38, from /usr/include/pcrecpp.h:333, from readline_possibilities.cc:32: /usr/include/features.h:184: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 grep_proc.hh:58:0, from grapher.hh:40, from lnav.hh:46, from readline_possibilities.cc:36: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ In file included from lnav_util.hh:48:0, from log_format.hh:52, from logfile.hh:47, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from readline_possibilities.cc:36: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from readline_possibilities.cc:36: log_format.hh: At global scope: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_possibilities.cc:36: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from readline_possibilities.cc:36: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_possibilities.cc:36: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from readline_possibilities.cc:36: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_possibilities.cc:36: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from readline_possibilities.cc:36: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_possibilities.cc:36: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template 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 readline_possibilities.cc:36: logfile.hh: At global scope: logfile.hh:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] logfile(std::string filename, auto_fd fd = -1) throw (error); ^~~~~ logfile.hh:302:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (line_buffer::error, logfile::error); ^~~~~ logfile.hh:358:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lf_format; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_possibilities.cc:36: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from readline_possibilities.cc:36: grep_highlighter.hh:40:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] grep_highlighter(std::auto_ptr gp, ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_possibilities.cc:36: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from readline_possibilities.cc:36: grep_highlighter.hh:55:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr gh_grep_proc; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_possibilities.cc:36: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:64:0, from readline_possibilities.cc:36: relative_time.hh: In member function 'std::__cxx11::string relative_time::to_string()': relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:200:18: this->rt_field[RTF_YEARS], ~~~~~~~~~~~~~~~~~~~~~~~~~ relative_time.hh:213:68: this->rt_is_absolute[RTF_MICROSECONDS] ? 'U' : 'u'); ^ relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 6 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 8 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 10 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 12 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 14 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 16 has type 'int64_t {aka long int}' [-Wformat=] In file included from readline_possibilities.cc:36:0: lnav.hh: At global scope: lnav.hh:215:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_search_child[LNV__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_possibilities.cc:36: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from readline_possibilities.cc:36:0: lnav.hh:235:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_grep_child[LG__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lnav.hh:43, from readline_possibilities.cc:36: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from readline_possibilities.cc:38:0: data_parser.hh: In member function 'void data_parser::pairup(data_parser::schema_id_t*, data_parser::element_list_t&, data_parser::element_list_t&)': data_parser.hh:645:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (blank.e_capture.c_begin < pi.pi_length) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ data_parser.hh:769:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (this->dp_msg_format_begin < pi.pi_length) { ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o sqlite-extension-func.o sqlite-extension-func.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from sqlite-extension-func.c:34: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o shared_buffer.o shared_buffer.cc In file included from /usr/include/execinfo.h:21:0, from shared_buffer.cc:35: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o string-extension-functions.o string-extension-functions.cc In file included from /usr/include/assert.h:35:0, from string-extension-functions.cc:12: /usr/include/features.h:184: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" ^~~~~~~ string-extension-functions.cc: In function 'void regexp_replace(sqlite3_context*, int, sqlite3_value**)': string-extension-functions.cc:144:9: error: 'string' was not declared in this scope string dest(str); ^~~~~~ string-extension-functions.cc:144:9: note: suggested alternatives: In file included from /usr/include/c++/7/string:39:0, from /usr/include/pcrecpp.h:333, from string-extension-functions.cc:16: /usr/include/c++/7/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' typedef basic_string string; ^~~~~~ /usr/include/c++/7/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' /usr/include/c++/7/bits/stringfwd.h:74:33: note: 'std::__cxx11::string' string-extension-functions.cc:145:37: error: 'dest' was not declared in this scope reobj->GlobalReplace(repl, &dest); ^~~~ string-extension-functions.cc:145:37: note: suggested alternative: 'dev_t' reobj->GlobalReplace(repl, &dest); ^~~~ dev_t make[2]: *** [Makefile:863: string-extension-functions.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o data_scanner_re.o data_scanner_re.cc In file included from /usr/include/arpa/inet.h:21:0, from ../../lnav2/src/data_scanner_re.re:32: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o statusview_curses.o statusview_curses.cc In file included from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/7/riscv64-unknown-linux-gnu/bits/c++config.h:533, from /usr/include/c++/7/string:38, from statusview_curses.hh:35, from statusview_curses.cc:34: /usr/include/features.h:184: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" ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[2]: Entering directory '/builddir/build/BUILD/lnav-0.8.0/src' g++ -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -Wall -I/usr/local/include -I/usr/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o session_data.o session_data.cc In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from session_data.cc:34: /usr/include/features.h:184: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 grep_proc.hh:58:0, from grapher.hh:40, from lnav.hh:46, from session_data.cc:45: line_buffer.hh:85:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void set_fd(auto_fd &fd) throw (error); ^~~~~ line_buffer.hh:137:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:140:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:143:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (error); ^~~~~ line_buffer.hh:190:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void resize_buffer(size_t new_max) throw (error); ^~~~~ line_buffer.hh:204:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void ensure_available(off_t start, size_t max_length) throw (error); ^~~~~ line_buffer.hh:214:53: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] bool fill_range(off_t start, size_t max_length) throw (error); ^~~~~ In file included from lnav_util.hh:48:0, from log_format.hh:52, from logfile.hh:47, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from session_data.cc:45: ptimec.hh: In function 'bool ptime_z(exttm*, const char*, off_t&, ssize_t)': ptimec.hh:432:14: warning: variable 'sign' set but not used [-Wunused-but-set-variable] long sign; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:433:14: warning: variable 'hours' set but not used [-Wunused-but-set-variable] long hours; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ ptimec.hh:434:14: warning: variable 'mins' set but not used [-Wunused-but-set-variable] long mins; ^ ptimec.hh:68:5: note: in definition of macro 'PTIME_CONSUME' block \ ^~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from session_data.cc:45: log_format.hh: At global scope: log_format.hh:634:18: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] virtual std::auto_ptr specialized(int fmt_lock = -1) = 0; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from session_data.cc:44: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from session_data.cc:45: log_format.hh:822:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr specialized(int fmt_lock) { ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from session_data.cc:44: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from session_data.cc:45: log_format.hh:939:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr jlf_parse_context; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from session_data.cc:44: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from logfile.hh:47:0, from textview_curses.hh:42, from hist_source.hh:44, from grapher.hh:41, from lnav.hh:46, from session_data.cc:45: log_format.hh: In member function 'virtual std::auto_ptr external_log_format::specialized(int)': log_format.hh:824:14: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr retval((log_format *)elf); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from session_data.cc:44: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template 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 session_data.cc:45: logfile.hh: At global scope: logfile.hh:97:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] logfile(std::string filename, auto_fd fd = -1) throw (error); ^~~~~ logfile.hh:302:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] throw (line_buffer::error, logfile::error); ^~~~~ logfile.hh:358:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr lf_format; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from session_data.cc:44: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from session_data.cc:45: grep_highlighter.hh:40:27: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] grep_highlighter(std::auto_ptr gp, ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from session_data.cc:44: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:53:0, from session_data.cc:45: grep_highlighter.hh:55:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr gh_grep_proc; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from session_data.cc:44: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lnav.hh:64:0, from session_data.cc:45: relative_time.hh: In member function 'std::__cxx11::string relative_time::to_string()': relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:200:18: this->rt_field[RTF_YEARS], ~~~~~~~~~~~~~~~~~~~~~~~~~ relative_time.hh:213:68: this->rt_is_absolute[RTF_MICROSECONDS] ? 'U' : 'u'); ^ relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 6 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 8 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 10 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 12 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 14 has type 'int64_t {aka long int}' [-Wformat=] relative_time.hh:213:68: warning: format '%qd' expects argument of type 'long long int', but argument 16 has type 'int64_t {aka long int}' [-Wformat=] In file included from session_data.cc:45:0: lnav.hh: At global scope: lnav.hh:215:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_search_child[LNV__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from session_data.cc:44: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from session_data.cc:45:0: lnav.hh:235:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr ld_grep_child[LG__MAX]; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from pcrepp.hh:53, from yajlpp.hh:41, from session_data.cc:44: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/lnav-0.8.0/src' make[1]: *** [Makefile:606: all] Error 2 make: *** [Makefile:463: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.NHkHgq (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.NHkHgq (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff