+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/sqlite2.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.BXr9fC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sqlite-2.8.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/sqlite-2.8.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sqlite-2.8.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -type d -name CVS -print0 + xargs -0 rm -r + echo 'Patch #1 (sqlite-2.8.15.rpath.patch):' Patch #1 (sqlite-2.8.15.rpath.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rpath --fuzz=0 patching file Makefile.in + echo 'Patch #2 (sqlite-2.8.15-makefile.patch):' Patch #2 (sqlite-2.8.15-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in + echo 'Patch #3 (sqlite-2.8.3.test.rh9.patch):' Patch #3 (sqlite-2.8.3.test.rh9.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file test/tester.tcl Hunk #1 succeeded at 56 (offset 13 lines). + echo 'Patch #4 (sqlite-64bit-fixes.patch):' Patch #4 (sqlite-64bit-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/test3.c patching file src/test2.c patching file src/test-util.c patching file src/test-util.h patching file Makefile.in Hunk #1 succeeded at 141 (offset -1 lines). + echo 'Patch #5 (sqlite-2.8.15-arch-double-differences.patch):' Patch #5 (sqlite-2.8.15-arch-double-differences.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file test/format3.test patching file test/misc1.test + echo 'Patch #6 (sqlite-2.8.17-test.patch):' Patch #6 (sqlite-2.8.17-test.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file test/tclsqlite.test + echo 'Patch #7 (sqlite-2.8.17-tcl.patch):' Patch #7 (sqlite-2.8.17-tcl.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac Hunk #1 succeeded at 435 (offset 3 lines). patching file src/tclsqlite.c + echo 'Patch #8 (sqlite-2.8.17-ppc64.patch):' Patch #8 (sqlite-2.8.17-ppc64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/test2.c patching file src/test3.c + echo 'Patch #9 (sqlite-2.8.17-format-security.patch):' Patch #9 (sqlite-2.8.17-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/shell.c + echo 'Patch #10 (sqlite-2.8.17-tcl86.patch):' Patch #10 (sqlite-2.8.17-tcl86.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/md5.c patching file src/tclsqlite.c + sed -i.rpath 's!__VERSION__!2.8.17!g' Makefile.in + sed -i.lib 's!@exec_prefix@/lib!/usr/lib64!g' Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4pdrIA + umask 022 + cd /builddir/build/BUILD + cd sqlite-2.8.17 + 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 -DNDEBUG=1' + 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 -DNDEBUG=1' + 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 + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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 --enable-utf8 --disable-static checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes 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... 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 how to run the C++ preprocessor... g++ -E checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for a BSD-compatible install... /usr/bin/install -c Version set to 2.8.17 checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking switches for the host compiler... -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 -DNDEBUG=1 checking target compiler... gcc checking switches on the target compiler... -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 -DNDEBUG=1 checking target linker... gcc checking switches on the target compiler... checking for riscv64-redhat-linux-gnu-ranlib... ranlib -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 -DNDEBUG=1 checking if host and target compilers are the same... yes checking character encoding... UTF-8 checking whether to support incore databases for attach and open... yes checking whether to support shared library linked as release mode or not... no checking whether to use an in-ram database for temporary tables... no checking if executables have the .exe suffix... unknown checking for sin... no checking for dlopen in -ldl... yes checking for library containing Tcl_Init... -ltcl checking TCL header files... not specified: still searching... checking tcl.h usability... yes checking tcl.h presence... yes checking for tcl.h... yes checking for library containing tgetent... -lncurses checking for readline in -lreadline... yes checking readline header files... not specified: still searching... checking readline.h usability... no checking readline.h presence... no checking for readline.h... no checking for /usr/include/readline.h... no checking for /usr/include/readline/readline.h... yes checking for usleep... yes configure: creating ./config.status config.status: creating Makefile config.status: creating sqlite.pc + make sed -e s/--VERS--/`cat ./VERSION`/ \ -e s/--ENCODING--/UTF8/ \ ./src/sqlite.h.in >sqlite.h echo '#include ' >temp.c echo 'int main(){printf(' >>temp.c echo '"#define SQLITE_PTR_SZ %d",sizeof(char*));' >>temp.c echo 'exit(0);}' >>temp.c gcc -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 -DNDEBUG=1 -o temp temp.c temp.c: In function 'main': temp.c:3:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] "#define SQLITE_PTR_SZ %d",sizeof(char*)); ~^ %ld temp.c:4:1: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0);} ^~~~ temp.c:4:1: warning: incompatible implicit declaration of built-in function 'exit' temp.c:4:1: note: include '' or provide a declaration of 'exit' ./temp >config.h echo >>config.h rm -f temp.c temp echo '/* Automatically generated file. Do not edit */' >opcodes.h grep '^case OP_' ./src/vdbe.c | \ sed -e 's/://' | \ awk '{printf "#define %-30s %3d\n", $2, ++cnt}' >>opcodes.h gcc -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 -DNDEBUG=1 -o lemon ./tool/lemon.c ./tool/lemon.c: In function 'tplt_open': ./tool/lemon.c:2821:7: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] if( access(buf,004)==0 ){ ^~~~~~ ./tool/lemon.c:2713:14: note: previous declaration of 'access' was here extern int access(); ^~~~~~ ./tool/lemon.c: In function 'Parse': ./tool/lemon.c:2052:33: warning: 'ps.lastrule' may be used uninitialized in this function [-Wmaybe-uninitialized] psp->lastrule->next = rp; ~~~~~~~~~~~~~~~~~~~~^~~~ ./tool/lemon.c:2282:17: note: 'ps.lastrule' was declared here struct pstate ps; ^~ ./tool/lemon.c:2414:12: warning: 'ps.firstrule' may be used uninitialized in this function [-Wmaybe-uninitialized] gp->rule = ps.firstrule; ~~~~~~~~~^~~~~~~~~~~~~~ ./tool/lemon.c:2146:27: warning: 'ps.preccounter' may be used uninitialized in this function [-Wmaybe-uninitialized] psp->preccounter++; ~~~~~~~~~~~~~~~~^~ ./tool/lemon.c:2282:17: note: 'ps.preccounter' was declared here struct pstate ps; ^~ ./tool/lemon.c:2215:21: warning: '*((void *)&ps+16104)' may be used uninitialized in this function [-Wmaybe-uninitialized] sp->assoc = psp->declassoc; ~~~~~~~~~~^~~~~~~~~~~~~~~~ ./tool/lemon.c:2282:17: note: '*((void *)&ps+16104)' was declared here struct pstate ps; ^~ ./tool/lemon.c:2233:50: warning: 'ps.decllnslot' may be used uninitialized in this function [-Wmaybe-uninitialized] if( psp->decllnslot ) *psp->decllnslot = psp->tokenlineno; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./tool/lemon.c:2282:17: note: 'ps.decllnslot' was declared here struct pstate ps; ^~ ./tool/lemon.c:2225:13: warning: 'ps.declargslot' may be used uninitialized in this function [-Wmaybe-uninitialized] if( *(psp->declargslot)!=0 ){ ^~~~~~~~~~~~~~~~~~~ ./tool/lemon.c:2282:17: note: 'ps.declargslot' was declared here struct pstate ps; ^~ ./tool/lemon.c:2237:9: warning: 'ps.declkeyword' may be used uninitialized in this function [-Wmaybe-uninitialized] ErrorMsg(psp->filename,psp->tokenlineno, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Illegal argument to %%%s: %s",psp->declkeyword,x); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tool/lemon.c:2282:17: note: 'ps.declkeyword' was declared here struct pstate ps; ^~ ./tool/lemon.c:1963:32: warning: 'ps.prevrule' may be used uninitialized in this function [-Wmaybe-uninitialized] psp->prevrule->precsym = Symbol_new(x); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./tool/lemon.c:2282:17: note: 'ps.prevrule' was declared here struct pstate ps; ^~ ./tool/lemon.c:2066:31: warning: 'ps.nrhs' may be used uninitialized in this function [-Wmaybe-uninitialized] psp->rhs[psp->nrhs] = Symbol_new(x); ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./tool/lemon.c:2282:17: note: 'ps.nrhs' was declared here struct pstate ps; ^~ ./tool/lemon.c:2259:24: warning: 'ps.fallback' may be used uninitialized in this function [-Wmaybe-uninitialized] sp->fallback = psp->fallback; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./tool/lemon.c:2282:17: note: 'ps.fallback' was declared here struct pstate ps; ^~ cp ./tool/lempar.c . cp ./src/parse.y . ./lemon parse.y make: *** [Makefile:263: parse.c] Segmentation fault (core dumped) make: *** Deleting file 'parse.c' error: Bad exit status from /var/tmp/rpm-tmp.4pdrIA (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.4pdrIA (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff