Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-DBD-SQLite.spec'], chrootPath='/var/lib/mock/f30-build-41890-23687/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-DBD-SQLite.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: sh: perl: command not found BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/perl-DBD-SQLite-1.62-1.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-DBD-SQLite.spec'], chrootPath='/var/lib/mock/f30-build-41890-23687/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-DBD-SQLite.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xK9EU0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf DBD-SQLite-1.62 + /usr/bin/gzip -dc /builddir/build/SOURCES/DBD-SQLite-1.62.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd DBD-SQLite-1.62 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (perl-DBD-SQLite-bz543982.patch):' Patch #0 (perl-DBD-SQLite-bz543982.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.PL + echo 'Patch #1 (DBD-SQLite-1.62-Remove-bundled-source-extentions.patch):' Patch #1 (DBD-SQLite-1.62-Remove-bundled-source-extentions.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file README patching file lib/DBD/SQLite.pm Patch #2 (DBD-SQLite-1.60-Unbundle-Test-NoWarnings.patch): + echo 'Patch #2 (DBD-SQLite-1.60-Unbundle-Test-NoWarnings.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.PL Hunk #1 succeeded at 335 (offset 5 lines). Hunk #2 succeeded at 367 (offset 5 lines). patching file t/virtual_table/11_filecontent_fulltext.t + rm sqlite3.c sqlite3.h sqlite3ext.h + sed -i -e '/^sqlite/ d' MANIFEST + rm -rf inc + sed -i -e '/^inc\// d' MANIFEST + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oWELle + umask 022 + cd /builddir/build/BUILD + cd DBD-SQLite-1.62 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 Checking if your kit is complete... Looks good Using DBI 1.642 (for perl 5.028001 on riscv64-linux-thread-multi) installed in /usr/lib64/perl5/vendor_perl/auto/DBI/ Generating a Unix-style Makefile Writing Makefile for DBD::SQLite + make -j4 'OPTIMIZE=-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' Running Mkbootstrap for SQLite () "/usr/bin/perl" -p -e "s/~DRIVER~/SQLite/g" /usr/lib64/perl5/vendor_perl/auto/DBI/Driver.xst > SQLite.xsi gcc -c -I. -I/usr/lib64/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-Bsymbolic -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"1.62\" -DXS_VERSION=\"1.62\" -fPIC "-I/usr/lib64/perl5/CORE" -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS5 -DNDEBUG=1 -DHAVE_USLEEP=1 dbdimp.c "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/DBD-SQLite-1.62/typemap' SQLite.xs > SQLite.xsc chmod 644 "SQLite.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SQLite.bs blib/arch/auto/DBD/SQLite/SQLite.bs 644 cp lib/DBD/SQLite/VirtualTable/PerlData.pm blib/lib/DBD/SQLite/VirtualTable/PerlData.pm cp lib/DBD/SQLite/Fulltext_search.pod blib/lib/DBD/SQLite/Fulltext_search.pod cp lib/DBD/SQLite/Constants.pm blib/lib/DBD/SQLite/Constants.pm cp lib/DBD/SQLite/Cookbook.pod blib/lib/DBD/SQLite/Cookbook.pod cp lib/DBD/SQLite.pm blib/lib/DBD/SQLite.pm cp lib/DBD/SQLite/VirtualTable.pm blib/lib/DBD/SQLite/VirtualTable.pm cp lib/DBD/SQLite/VirtualTable/FileContent.pm blib/lib/DBD/SQLite/VirtualTable/FileContent.pm cp lib/DBD/SQLite/GetInfo.pm blib/lib/DBD/SQLite/GetInfo.pm mv SQLite.xsc SQLite.c gcc -c -I. -I/usr/lib64/perl5/vendor_perl/auto/DBI -D_REENTRANT -D_GNU_SOURCE -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-Bsymbolic -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"1.62\" -DXS_VERSION=\"1.62\" -fPIC "-I/usr/lib64/perl5/CORE" -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS5 -DNDEBUG=1 -DHAVE_USLEEP=1 SQLite.c BUILDSTDERR: dbdimp.c: In function 'sqlite_db_login6': BUILDSTDERR: dbdimp.c:466:48: error: 'SQLITE_DBCONFIG_DEFENSIVE' undeclared (first use in this function); did you mean 'SQLITE_DBCONFIG_LOOKASIDE'? BUILDSTDERR: sqlite3_db_config(imp_dbh->db, SQLITE_DBCONFIG_DEFENSIVE, SvIV(*val), 0); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: SQLITE_DBCONFIG_LOOKASIDE BUILDSTDERR: dbdimp.c:466:48: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: dbdimp.c: In function 'sqlite_db_do_sv': BUILDSTDERR: dbdimp.c:504:9: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5251, BUILDSTDERR: from SQLiteXS.h:11, BUILDSTDERR: from dbdimp.c:6: BUILDSTDERR: dbdimp.c: In function 'sqlite_db_func_dispatcher': BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:145:16: warning: value computed is not used [-Wunused-value] BUILDSTDERR: #define POPs (*sp--) BUILDSTDERR: ~^~~~~~ BUILDSTDERR: dbdimp.c:1684:9: note: in expansion of macro 'POPs' BUILDSTDERR: POPs; BUILDSTDERR: ^~~~ BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:145:16: warning: value computed is not used [-Wunused-value] BUILDSTDERR: #define POPs (*sp--) BUILDSTDERR: ~^~~~~~ BUILDSTDERR: dbdimp.c:1692:13: note: in expansion of macro 'POPs' BUILDSTDERR: POPs; BUILDSTDERR: ^~~~ BUILDSTDERR: dbdimp.c: In function 'sqlite_db_aggr_new_dispatcher': BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:145:16: warning: value computed is not used [-Wunused-value] BUILDSTDERR: #define POPs (*sp--) BUILDSTDERR: ~^~~~~~ BUILDSTDERR: dbdimp.c:1869:9: note: in expansion of macro 'POPs' BUILDSTDERR: POPs; BUILDSTDERR: ^~~~ BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:145:16: warning: value computed is not used [-Wunused-value] BUILDSTDERR: #define POPs (*sp--) BUILDSTDERR: ~^~~~~~ BUILDSTDERR: dbdimp.c:1877:13: note: in expansion of macro 'POPs' BUILDSTDERR: POPs; BUILDSTDERR: ^~~~ BUILDSTDERR: dbdimp.c: In function 'sqlite_db_aggr_step_dispatcher': BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:145:16: warning: value computed is not used [-Wunused-value] BUILDSTDERR: #define POPs (*sp--) BUILDSTDERR: ~^~~~~~ BUILDSTDERR: dbdimp.c:1934:7: note: in expansion of macro 'POPs' BUILDSTDERR: POPs; BUILDSTDERR: ^~~~ BUILDSTDERR: dbdimp.c: In function 'sqlite_db_aggr_finalize_dispatcher': BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:145:16: warning: value computed is not used [-Wunused-value] BUILDSTDERR: #define POPs (*sp--) BUILDSTDERR: ~^~~~~~ BUILDSTDERR: dbdimp.c:1975:13: note: in expansion of macro 'POPs' BUILDSTDERR: POPs; BUILDSTDERR: ^~~~ BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:145:16: warning: value computed is not used [-Wunused-value] BUILDSTDERR: #define POPs (*sp--) BUILDSTDERR: ~^~~~~~ BUILDSTDERR: dbdimp.c:1982:17: note: in expansion of macro 'POPs' BUILDSTDERR: POPs; BUILDSTDERR: ^~~~ BUILDSTDERR: dbdimp.c: In function 'sqlite_db_trace_dispatcher': BUILDSTDERR: dbdimp.c:2462:9: warning: variable 'retval' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int retval = 0; BUILDSTDERR: ^~~~~~ BUILDSTDERR: dbdimp.c: In function 'sqlite_db_profile_dispatcher': BUILDSTDERR: dbdimp.c:2520:9: warning: variable 'retval' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int retval = 0; BUILDSTDERR: ^~~~~~ BUILDSTDERR: dbdimp.c: In function 'sqlite_db_config': BUILDSTDERR: dbdimp.c:2789:14: error: 'SQLITE_DBCONFIG_DEFENSIVE' undeclared (first use in this function); did you mean 'SQLITE_DBCONFIG_LOOKASIDE'? BUILDSTDERR: case SQLITE_DBCONFIG_DEFENSIVE: BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: SQLITE_DBCONFIG_LOOKASIDE BUILDSTDERR: In file included from dbdimp.c:2803: BUILDSTDERR: dbdimp_tokenizer.inc: In function 'perl_tokenizer_Next': BUILDSTDERR: dbdimp_tokenizer.inc:178:12: warning: unused variable 'n_a' [-Wunused-variable] BUILDSTDERR: STRLEN n_a; /* this is required for older perls < 5.8.8 */ BUILDSTDERR: ^~~ BUILDSTDERR: In file included from dbdimp.c:2804: BUILDSTDERR: dbdimp_virtual_table.inc: In function 'sqlite_db_destroy_module_data': BUILDSTDERR: dbdimp_virtual_table.inc:797:9: warning: unused variable 'rc' [-Wunused-variable] BUILDSTDERR: int rc = SQLITE_ERROR; BUILDSTDERR: ^~ BUILDSTDERR: In file included from SQLiteXS.h:17, BUILDSTDERR: from dbdimp.c:6: BUILDSTDERR: At top level: BUILDSTDERR: dbdimp.h:156:1: warning: 'newUTF8SVpvn' defined but not used [-Wunused-function] BUILDSTDERR: newUTF8SVpvn(char *s, STRLEN len) { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: dbdimp.h:146:1: warning: 'newUTF8SVpv' defined but not used [-Wunused-function] BUILDSTDERR: newUTF8SVpv(char *s, STRLEN len) { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: make: *** [Makefile:367: dbdimp.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from SQLiteXS.h:12, BUILDSTDERR: from SQLite.xs:3: BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_last_insert_rowid': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_create_function': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_enable_load_extension': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_load_extension': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_create_aggregate': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_create_collation': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_collation_needed': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_progress_handler': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_profile': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_commit_hook': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_rollback_hook': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_update_hook': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_set_authorizer': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_busy_timeout': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_backup_from_file': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_backup_to_file': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_backup_from_dbh': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_backup_to_dbh': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_table_column_metadata': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_db_filename': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_register_fts3_perl_tokenizer': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_db_status': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_create_module': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_limit': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__db_db_config': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__st_st_status': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite_compile_options': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:177:28: warning: unused variable 'targ' [-Wunused-variable] BUILDSTDERR: #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ BUILDSTDERR: ^~~~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:177:28: note: in definition of macro 'dXSTARG' BUILDSTDERR: #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ BUILDSTDERR: ^~~~ BUILDSTDERR: SQLite.c:937:6: warning: unused variable 'RETVAL' [-Wunused-variable] BUILDSTDERR: int RETVAL; BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from SQLiteXS.h:12, BUILDSTDERR: from SQLite.xs:3: BUILDSTDERR: SQLite.c: In function 'XS_DBD__SQLite__Constants__const_database_connection_configuration_options_3026000_zero': BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: warning: unused variable 'ix' [-Wunused-variable] BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/XSUB.h:185:20: note: in definition of macro 'dXSI32' BUILDSTDERR: #define dXSI32 I32 ix = XSANY.any_i32 BUILDSTDERR: ^~ BUILDSTDERR: In file included from SQLiteXS.h:17, BUILDSTDERR: from SQLite.xs:3: BUILDSTDERR: At top level: BUILDSTDERR: dbdimp.h:156:1: warning: 'newUTF8SVpvn' defined but not used [-Wunused-function] BUILDSTDERR: newUTF8SVpvn(char *s, STRLEN len) { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: dbdimp.h:146:1: warning: 'newUTF8SVpv' defined but not used [-Wunused-function] BUILDSTDERR: newUTF8SVpv(char *s, STRLEN len) { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.oWELle (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.oWELle (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-DBD-SQLite.spec