+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/sdcv.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 warning: bogus date in %changelog: Thu Jan 12 2011 Pavel Zhukov - 0.4.2-4 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MhbMdg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sdcv-0.4.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/sdcv-0.4.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sdcv-0.4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (sdcv-allignment.patch):' Patch #1 (sdcv-allignment.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/lib/lib.cpp + echo 'Patch #2 (sdcv-c++.patch):' Patch #2 (sdcv-c++.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/readline.cpp patching file src/libwrapper.cpp patching file src/utils.cpp patching file src/lib/lib.cpp Hunk #1 succeeded at 517 (offset 4 lines). + echo 'Patch #3 (sdcv-cs.po.patch):' Patch #3 (sdcv-cs.po.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file po/LINGUAS patching file po/cs.po + echo 'Patch #5 (sdcv-fix-tests.patch):' Patch #5 (sdcv-fix-tests.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/t_datadir patching file tests/t_list patching file tests/t_utf8input + echo 'Patch #6 (sdcv-format.patch):' Patch #6 (sdcv-format.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/libwrapper.cpp + echo 'Patch #7 (sdcv-gettext.patch):' Patch #7 (sdcv-gettext.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac + echo 'Patch #8 (sdcv-locales.patch):' Patch #8 (sdcv-locales.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file po/ru.po patching file po/sdcv.pot patching file po/sk.po patching file po/uk.po patching file po/zh_CN.po patching file po/zh_TW.po patching file src/libwrapper.cpp + echo 'Patch #9 (sdcv-manpage.patch):' Patch #9 (sdcv-manpage.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doc/uk/sdcv.1 patching file doc/sdcv.1 + echo 'Patch #10 (sdcv-sk.po.patch):' Patch #10 (sdcv-sk.po.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file po/sk.po + echo 'Patch #11 (sdcv-use-env-home.patch):' Patch #11 (sdcv-use-env-home.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/sdcv.cpp + echo 'Patch #12 (sdcv-zlib-return-value.patch):' Patch #12 (sdcv-zlib-return-value.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/lib/lib.cpp + echo 'Patch #13 (sdcv-arm64.patch):' Patch #13 (sdcv-arm64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config.guess patching file config.sub + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4yNCFs + umask 022 + cd /builddir/build/BUILD + cd sdcv-0.4.2 + autopoint --force Copying file ABOUT-NLS Copying file config.rpath Copying file m4/codeset.m4 Copying file m4/gettext.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/iconv.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intlmacosx.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes_h.m4 Copying file m4/lcmessage.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/printf-posix.m4 Copying file m4/progtest.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template + autoreconf -i configure.ac:36: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/readline.m4:13: SDCV_CHECK_READLINE is expanded from... configure.ac:36: the top level configure.ac:36: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/readline.m4:13: SDCV_CHECK_READLINE is expanded from... configure.ac:36: the top level configure.ac:36: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/readline.m4:13: SDCV_CHECK_READLINE is expanded from... configure.ac:36: the top level configure.ac:36: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/readline.m4:13: SDCV_CHECK_READLINE is expanded from... configure.ac:36: the top level configure.ac:36: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/readline.m4:13: SDCV_CHECK_READLINE is expanded from... configure.ac:36: the top level configure.ac:24: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged. configure.ac:24: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:24: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. configure.ac:13: installing './compile' src/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/lib/Makefile.am:10: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tests/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') parallel-tests: installing './test-driver' + 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 --with-readline checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/sdcv-0.4.2/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/sdcv-0.4.2/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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 for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E 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 we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking whether make sets $(MAKE)... (cached) yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 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 for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for zlibVersion in -lz... yes checking whether readline via "-lreadline" is present and sane... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for SDCV... yes checking for LIB_STARDICT... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating m4/Makefile config.status: creating src/lib/Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating doc/uk/Makefile config.status: creating po/Makefile.in config.status: creating tests/Makefile config.status: creating tests/stardict-test_dict-2.4.2/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile Type "make" to compile. + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/sdcv-0.4.2' Making all in m4 make[2]: Entering directory '/builddir/build/BUILD/sdcv-0.4.2/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/sdcv-0.4.2/m4' Making all in src make[2]: Entering directory '/builddir/build/BUILD/sdcv-0.4.2/src' Making all in lib make[3]: Entering directory '/builddir/build/BUILD/sdcv-0.4.2/src/lib' g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 lib.o lib.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 dictziplib.o dictziplib.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 distance.o distance.cpp In file included from lib.cpp:17:0: lib.h:36:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr dictdzfile; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lib.h:6, from lib.cpp:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from lib.cpp:17:0: lib.h:76:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr idx_file; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lib.h:6, from lib.cpp:17: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ lib.cpp: In member function 'bool Dict::LookupWithRule(GPatternSpec*, glong*, int)': lib.cpp:893:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(guint32 i=0; i >&, guint32, guint32, gchar*)': lib.cpp:334:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(origin_data, idxitem_size, 1, dictfile); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib.cpp: In member function 'const gchar* offset_index::read_first_on_page_key(glong)': lib.cpp:520:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(wordentry_buf, std::min(sizeof(wordentry_buf), (size_t)page_size), 1, idxfile); //TODO: check returned values, deal with word entry that strlen>255. ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib.cpp: In member function 'gulong offset_index::load_page(glong)': lib.cpp:653:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&page_data[0], 1, page_data.size(), idxfile); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libstardict.a ar cru libstardict.a lib.o dictziplib.o distance.o ranlib libstardict.a make[3]: Leaving directory '/builddir/build/BUILD/sdcv-0.4.2/src/lib' make[3]: Entering directory '/builddir/build/BUILD/sdcv-0.4.2/src' g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.. -Ilib -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 sdcv.o sdcv.cpp gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.. -Ilib -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 getopt.o getopt.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.. -Ilib -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 getopt1.o getopt1.c g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.. -Ilib -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 libwrapper.o libwrapper.cpp g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.. -Ilib -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.o readline.cpp g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I.. -Ilib -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 utils.o utils.cpp In file included from /usr/include/bits/getopt_posix.h:27:0, from /usr/include/unistd.h:869, from /usr/include/zconf.h:475, from /usr/include/zlib.h:34, from lib/dictziplib.hpp:6, from lib/lib.h:10, from libwrapper.hpp:8, from sdcv.cpp:38: /usr/include/bits/getopt_core.h:91:12: error: declaration of 'int getopt(int, char* const*, const char*) throw ()' has a different exception specifier extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) ^~~~~~ In file included from sdcv.cpp:33:0: ./getopt.h:144:12: note: from previous declaration 'int getopt(int, char* const*, const char*)' extern int getopt (int __argc, char *const *__argv, const char *__shortopts); ^~~~~~ In file included from libwrapper.hpp:8:0, from sdcv.cpp:38: lib/lib.h:36:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr dictdzfile; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from sdcv.cpp:36: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from libwrapper.hpp:8:0, from sdcv.cpp:38: lib/lib.h:76:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr idx_file; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from sdcv.cpp:36: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ sdcv.cpp: In function 'int main(int, char**)': sdcv.cpp:202:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr io(create_readline_object()); ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from sdcv.cpp:36: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from libwrapper.hpp:8:0, from libwrapper.cpp:31: lib/lib.h:36:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr dictdzfile; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lib/lib.h:6, from libwrapper.hpp:8, from libwrapper.cpp:31: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from libwrapper.hpp:8:0, from libwrapper.cpp:31: lib/lib.h:76:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr idx_file; ^~~~~~~~ In file included from /usr/include/c++/7/memory:80:0, from lib/lib.h:6, from libwrapper.hpp:8, from libwrapper.cpp:31: /usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ make[3]: *** [Makefile:474: sdcv.o] Error 1 make[3]: *** Waiting for unfinished jobs.... libwrapper.cpp: In member function 'bool Library::process_phrase(const char*, read_line&, bool)': libwrapper.cpp:341:66: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector::size_type {aka long unsigned int}' [-Wformat=] printf(_("Found %d items, similar to %s.\n"), res_list.size(), ~~~~~~~~~~~~~~~ utf8_output ? str : utf8_to_locale_ign_err(str).c_str()); ^ libwrapper.cpp:348:67: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=] utf8_output ? res_list[i].def.c_str() : loc_def.c_str()); ^ libwrapper.cpp:368:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector::size_type {aka long unsigned int}' [-Wformat=] res_list.size()-1); ~~~~~~~~~~~~~~~~~^ libwrapper.cpp:373:77: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector::size_type {aka long unsigned int}' [-Wformat=] res_list.size(), utf8_output ? str : utf8_to_locale_ign_err(str).c_str()); ~~~~~~~~~~~~~~~ ^ make[3]: Leaving directory '/builddir/build/BUILD/sdcv-0.4.2/src' make[2]: *** [Makefile:490: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/sdcv-0.4.2/src' make[1]: *** [Makefile:402: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/sdcv-0.4.2' make: *** [Makefile:343: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.4yNCFs (%build) RPM build errors: bogus date in %changelog: Thu Jan 12 2011 Pavel Zhukov - 0.4.2-4 Bad exit status from /var/tmp/rpm-tmp.4yNCFs (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff