D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/festival-2.5-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.I4tv9e Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YQC5Nh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/festival-2.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/festival-2.5-build + rm -rf festival + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/festival-2.5.0-release.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd festival + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/speech_tools-2.5.0-release.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/festdoc-1.4.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-1.4.1-fsstnd.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-2.4-nitech-american.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival_buildroot.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-2.1-speechtools-linklibswithotherlibs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-1.96-speechtools-ohjeezcxxisnotgcc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-1.96-speechtools-shared-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-1.96-findspeechtools.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-1.96-main-shared-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-2.1-bettersonamehack.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-finnish.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-1.96-etcsiteinit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-2.1-mga-alsa-near-rates.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-2.4-mga-hts-multidef.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-2.5-mga-test-status.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/festival-configure-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm festdoc-1.4.2/speech_tools/doc/index_html.jade + rm festdoc-1.4.2/speech_tools/doc/examples_gen/error_example_section.sgml + rm festdoc-1.4.2/speech_tools/doc/tex_stuff.jade + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oBxkWh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/festival-2.5-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd festival + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ pwd + export LD_LIBRARY_PATH=:/home/pterjan/rpmbuild/BUILD/festival-2.5-build/festival/speech_tools/lib + LD_LIBRARY_PATH=:/home/pterjan/rpmbuild/BUILD/festival-2.5-build/festival/speech_tools/lib + cd speech_tools + autoreconf -fi autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:35: warning: The macro 'AC_CANONICAL_SYSTEM' is obsolete. configure.in:35: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:35: the top level configure.in:53: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:53: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:53: the top level configure.in:59: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:59: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:59: the top level configure.in:65: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:65: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:65: the top level configure.in:71: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:71: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:71: the top level configure.in:77: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:77: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:77: the top level configure.in:91: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:91: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:91: the top level configure.in:96: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:96: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:96: the top level configure.in:101: warning: AC_OUTPUT should be used without arguments. configure.in:101: You should run autoupdate. configure.in:101: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for tputs in -lncurses... yes checking for alsa/asoundlib.h... yes configure: creating ./config.status config.status: creating config/config configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make 'GCC_SYSTEM_OPTIONS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC' Check system type Remake modincludes.inc NATIVE_AUDIO ok EDITLINE config/modules/editline.mak SIOD siod/siod.mak WAGON stats/wagon/wagon.mak SCFG grammar/scfg/scfg.mak WFST grammar/wfst/wfst.mak OLS stats/ols.mak RXP rxp/rxp.mak LINUX16_AUDIO config/modules/linux16_audio.mak Making in directory ./siod ... making dependencies -- siodeditline.c el_complete.c editline.c el_sys_unix.c slib.cc slib_core.cc slib_doc.cc slib_file.cc slib_format.cc slib_list.cc slib_math.cc slib_sys.cc slib_server.cc slib_str.cc slib_xtr.cc slib_repl.cc slib_python.cc io.cc trace.cc siod.cc siod_est.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include slib.cc slib.cc: In function 'void init_storage(int)': slib.cc:889:18: warning: storing the address of local variable 'stack_start' in 'stack_start_ptr' [-Wdangling-pointer=] 889 | stack_start_ptr = &stack_start; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ slib.cc:888:7: note: 'stack_start' declared here 888 | LISP stack_start; | ^~~~~~~~~~~ slib.cc:124:7: note: 'stack_start_ptr' declared here 124 | LISP *stack_start_ptr; | ^~~~~~~~~~~~~~~ slib.cc:890:18: warning: storing the address of local variable 'stack_start' in 'stack_limit_ptr' [-Wdangling-pointer=] 890 | stack_limit_ptr = STACK_LIMIT(stack_start_ptr,stack_size); slib.cc:888:7: note: 'stack_start' declared here 888 | LISP stack_start; | ^~~~~~~~~~~ slib.cc:184:7: note: 'stack_limit_ptr' declared here 184 | char *stack_limit_ptr = NULL; | ^~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include slib_core.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include slib_doc.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include slib_file.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include slib_format.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include slib_list.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include slib_math.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include slib_sys.cc slib_sys.cc: In function 'obj* lsystem(LISP)': slib_sys.cc:37:17: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | (void)system(get_c_string(name)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ slib_sys.cc: In function 'obj* lchdir(LISP, LISP)': slib_sys.cc:58:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | chdir(home); | ~~~~~^~~~~~ slib_sys.cc:63:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | chdir(get_c_string(leval(car(args),env))); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include slib_server.cc slib_server.cc: In function 'obj* siod_send_lisp_to_client(LISP)': slib_server.cc:43:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | write(siod_server_socket,"LP\n",3); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slib_server.cc: In function 'void sock_acknowledge_error()': slib_server.cc:61:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | write(siod_server_socket,"ER\n",3); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slib_server.cc: In function 'void acknowledge_sock_print(LISP)': slib_server.cc:73:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | write(siod_server_socket,"OK\n",3); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include slib_str.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include slib_xtr.cc slib_xtr.cc: In function 'obj* fast_read(LISP)': slib_xtr.cc:462:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 462 | fread(&tmp->storage_as.flonum.data, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 463 | sizeof(tmp->storage_as.flonum.data), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 464 | 1, | ~~ 465 | f); | ~~ slib_xtr.cc:471:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 471 | fread(tkbuffer,len,1,f); | ~~~~~^~~~~~~~~~~~~~~~~~ slib_xtr.cc: In function 'long int get_long(FILE*)': slib_xtr.cc:345:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 345 | fread(&i,sizeof(long),1,f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ slib_xtr.cc: In function 'obj* array_fast_read(int, LISP)': slib_xtr.cc:523:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 523 | fread(ptr->storage_as.string.data,len,1,f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slib_xtr.cc:533:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 533 | fread(ptr->storage_as.double_array.data,sizeof(double),len,f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slib_xtr.cc:543:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 543 | fread(ptr->storage_as.long_array.data,sizeof(long),len,f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include slib_repl.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include slib_python.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include io.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include trace.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include -DINSTANTIATE_TEMPLATES siod.cc g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fno-implicit-templates -fopenmp -DOMP_WAGON=1 -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include -DINSTANTIATE_TEMPLATES siod_est.cc gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include siodeditline.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include el_complete.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -O3 -fPIC -Wall -DSUPPORT_EDITLINE -I../include editline.c editline.c:227:18: error: conflicting types for 'getenv'; have 'char *(void)' 227 | extern char *getenv(); | ^~~~~~ In file included from editline.h:69, from editline.c:55: /usr/include/stdlib.h:773:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ editline.c: In function 'TTYinfo': editline.c:375:17: error: too many arguments to function 'getenv'; expected 0, have 1 375 | if ((term = getenv("TERM")) == NULL) | ^~~~~~ ~~~~~~ editline.c:227:18: note: declared here 227 | extern char *getenv(); | ^~~~~~ editline.c:377:9: error: too many arguments to function 'tgetent'; expected 0, have 2 377 | if (tgetent(buff, term) < 0) { | ^~~~~~~ ~~~~ editline.c:229:17: note: declared here 229 | extern int tgetent(); | ^~~~~~~ editline.c:382:26: error: too many arguments to function 'tgetstr'; expected 0, have 2 382 | backspace = (ECHAR *)tgetstr("le", &bp); | ^~~~~~~ ~~~~ editline.c:228:18: note: declared here 228 | extern char *tgetstr(); | ^~~~~~~ editline.c:383:23: error: too many arguments to function 'tgetstr'; expected 0, have 2 383 | upline = (ECHAR *)tgetstr("up", &bp); | ^~~~~~~ ~~~~ editline.c:228:18: note: declared here 228 | extern char *tgetstr(); | ^~~~~~~ editline.c:384:24: error: too many arguments to function 'tgetstr'; expected 0, have 2 384 | clrpage = (ECHAR *)tgetstr("cl", &bp); | ^~~~~~~ ~~~~ editline.c:228:18: note: declared here 228 | extern char *tgetstr(); | ^~~~~~~ editline.c:385:25: error: too many arguments to function 'tgetstr'; expected 0, have 2 385 | nextline = (ECHAR *)tgetstr("nl", &bp); | ^~~~~~~ ~~~~ editline.c:228:18: note: declared here 228 | extern char *tgetstr(); | ^~~~~~~ editline.c:394:24: error: too many arguments to function 'tgetstr'; expected 0, have 2 394 | bol = (ECHAR *)tgetstr("cr", &bp); | ^~~~~~~ ~~~~ editline.c:228:18: note: declared here 228 | extern char *tgetstr(); | ^~~~~~~ editline.c:403:27: error: too many arguments to function 'tgetstr'; expected 0, have 2 403 | move_right = (ECHAR *)tgetstr("nd", &bp); | ^~~~~~~ ~~~~ editline.c:228:18: note: declared here 228 | extern char *tgetstr(); | ^~~~~~~ editline.c:406:16: error: too many arguments to function 'tgetnum'; expected 0, have 1 406 | TTYwidth = tgetnum("co"); | ^~~~~~~ ~~~~ editline.c:230:17: note: declared here 230 | extern int tgetnum(); | ^~~~~~~ editline.c:407:15: error: too many arguments to function 'tgetnum'; expected 0, have 1 407 | TTYrows = tgetnum("li"); | ^~~~~~~ ~~~~ editline.c:230:17: note: declared here 230 | extern int tgetnum(); | ^~~~~~~ editline.c: In function 'search_hist': editline.c:835:15: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(const char *, const char *, size_t)' {aka 'int (*)(const char *, const char *, long unsigned int)'} [-Wincompatible-pointer-types] 835 | match = strncmp; | ^ In file included from editline.h:70: /usr/include/string.h:159:12: note: 'strncmp' declared here 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ^~~~~~~ editline.c:839:15: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(char *, char *, int)' [-Wincompatible-pointer-types] 839 | match = substrcmp; | ^ editline.c:801:12: note: 'substrcmp' declared here 801 | STATIC int substrcmp(char *text, char *pat, int len) | ^~~~~~~~~ editline.c:845:14: error: too many arguments to function 'match'; expected 0, have 3 845 | if ((*match)((char *)H.Lines[H.Pos], pat, len) == 0) | ~^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ editline.c: In function 'add_history': editline.c:1385:1: warning: old-style function definition [-Wold-style-definition] 1385 | add_history(p) | ^~~~~~~~~~~ editline.c: In function 'TTYflush': editline.c:241:19: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 241 | (void)write(1, Screen, ScreenCount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [../config/rules/c.mak:63: editline.o] Error 1 make: *** [config/rules/targets.mak:57: siod] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.oBxkWh (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.oBxkWh (%build) I: [iurt_root_command] ERROR: chroot