Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Language-Prolog-Yaswi.spec'], chrootPath='/var/lib/mock/f29-build-17489-8360/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Language-Prolog-Yaswi.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} 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-Language-Prolog-Yaswi-0.21-40.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Language-Prolog-Yaswi.spec'], chrootPath='/var/lib/mock/f29-build-17489-8360/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Language-Prolog-Yaswi.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QnGymS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Language-Prolog-Yaswi-0.21 + /usr/bin/gzip -dc /builddir/build/SOURCES/Language-Prolog-Yaswi-0.21.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Language-Prolog-Yaswi-0.21 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Language-Prolog-Yaswi-0.21-Adjust-list-parsing-to-SWI-Prolog-7.patch):' Patch #0 (Language-Prolog-Yaswi-0.21-Adjust-list-parsing-to-SWI-Prolog-7.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Low/swi2perl.c + echo 'Patch #1 (Language-Prolog-Yaswi-0.21-Convert-documentation-to-UTF-8.patch):' Patch #1 (Language-Prolog-Yaswi-0.21-Convert-documentation-to-UTF-8.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file README + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WVCUdd + umask 022 + cd /builddir/build/BUILD + cd Language-Prolog-Yaswi-0.21 + PL=/usr/bin/swipl + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 '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' Checking if your kit is complete... Looks good retrieving SWI-Prolog configuration: running '/usr/bin/swipl -dump-runtime-variables' PLBASE: /usr/lib64/swipl-7.6.4 PLARCH: riscv64-linux PLLIBS: PLLIB: -lswipl PLCFLAGS: -pthread -fPIC -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 PLLDFLAGS: -rdynamic -Wl,--enable-new-dtags -pthread -Wl,-rpath=/usr/lib64/swipl-7.6.4/lib/riscv64-linux PLSOEXT: so PLSOPATH: LD_LIBRARY_PATH PLVERSION: 70604 PLSHARED: yes PLTHREADS: yes checking thread support in Perl and SWI-Prolog: thread support enabled creating plconfig.c Generating a Unix-style Makefile Writing Makefile for Language::Prolog::Yaswi + make -j4 make[1]: Entering directory '/builddir/build/BUILD/Language-Prolog-Yaswi-0.21/Low' Running Mkbootstrap for Low () "/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Low.xs > Low.xsc cp pl.pl blib/lib/Language/Prolog/pl.pl cp Yaswi.pm blib/lib/Language/Prolog/Yaswi.pm gcc -c -I. -I/usr/lib64/swipl-7.6.4/include -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 -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=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" callback.c chmod 644 "Low.bs" gcc -c -I. -I/usr/lib64/swipl-7.6.4/include -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 -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=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" callperl.c cp Low.pm ../blib/lib/Language/Prolog/Yaswi/Low.pm gcc -c -I. -I/usr/lib64/swipl-7.6.4/include -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 -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=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" hook.c mv Low.xsc Low.c gcc -c -I. -I/usr/lib64/swipl-7.6.4/include -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 -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=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" perl2swi.c BUILDSTDERR: callperl.c: In function 'push_args': BUILDSTDERR: callperl.c:118:6: warning: ignoring return value of 'PL_unify_term', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: PL_unify_term(e, BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: PL_FUNCTOR_CHARS, "type_error", 2, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: PL_CHARS, "list", BUILDSTDERR: ~~~~~~~~~~~~~~~~~ BUILDSTDERR: PL_TERM, args); BUILDSTDERR: ~~~~~~~~~~~~~~ BUILDSTDERR: callperl.c: In function 'check_error_and_pop_results': BUILDSTDERR: callperl.c:76:2: warning: ignoring return value of 'PL_unify_term', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: PL_unify_term(e, BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: PL_FUNCTOR_CHARS, "perl_exception", 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: PL_TERM, pe); BUILDSTDERR: ~~~~~~~~~~~~ BUILDSTDERR: callperl.c:84:2: warning: ignoring return value of 'PL_unify_term', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: PL_unify_term(e, BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: PL_FUNCTOR_CHARS, "perl_exception", 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: PL_CHARS, "open_query"); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from perl2swi.c:12: BUILDSTDERR: hook.h:5:8: warning: type defaults to 'int' in declaration of 'hook_set' [-Wimplicit-int] BUILDSTDERR: extern hook_set; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5251, BUILDSTDERR: from perl2swi.c:3: BUILDSTDERR: perl2swi.c: In function 'pl_unify_perl_list': BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: warning: unused variable 'sp' [-Wunused-variable] BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: note: in definition of macro 'dSP' BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: perl2swi.c: In function 'pl_unify_perl_functor': BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: warning: unused variable 'sp' [-Wunused-variable] BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: note: in definition of macro 'dSP' BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: perl2swi.c: In function 'lookup_ref': BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: warning: unused variable 'sp' [-Wunused-variable] BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: note: in definition of macro 'dSP' BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: In file included from hook.c:13: BUILDSTDERR: hook.h:5:8: warning: type defaults to 'int' in declaration of 'hook_set' [-Wimplicit-int] BUILDSTDERR: extern hook_set; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5251, BUILDSTDERR: from hook.c:3: BUILDSTDERR: hook.c: In function 'my_agc_hook': BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: warning: unused variable 'sp' [-Wunused-variable] BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: note: in definition of macro 'dSP' BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ gcc -c -I. -I/usr/lib64/swipl-7.6.4/include -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 -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=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" swi2perl.c gcc -c -I. -I/usr/lib64/swipl-7.6.4/include -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 -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=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" plconfig.c gcc -c -I. -I/usr/lib64/swipl-7.6.4/include -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 -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=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" argv.c gcc -c -I. -I/usr/lib64/swipl-7.6.4/include -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 -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=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" query.c gcc -c -I. -I/usr/lib64/swipl-7.6.4/include -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 -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=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" vars.c BUILDSTDERR: swi2perl.c: In function 'newSVatom': BUILDSTDERR: swi2perl.c:128:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (v = PL_atom_nchars(a, &len)) { BUILDSTDERR: ^ BUILDSTDERR: swi2perl.c:136:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (w = PL_atom_wchars(a, &len)) { BUILDSTDERR: ^ BUILDSTDERR: swi2perl.c: In function 'swi2perl': BUILDSTDERR: swi2perl.c:26:2: warning: ignoring return value of 'PL_get_long', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: PL_get_long(t, &v); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: swi2perl.c:31:2: warning: ignoring return value of 'PL_get_float', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: PL_get_float(t, &v); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: swi2perl.c:53:13: warning: ignoring return value of 'PL_get_list', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: PL_get_list(t, head, tail); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: swi2perl.c:70:13: warning: ignoring return value of 'PL_get_name_arity', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: PL_get_name_arity(t, &atom, &arity); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: swi2perl.c:85:21: warning: ignoring return value of 'PL_get_arg', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: PL_get_arg(i, t, arg); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: swi2perl.c: In function 'raise_atom_expected': BUILDSTDERR: swi2perl.c:177:5: warning: ignoring return value of 'PL_unify_term', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: PL_unify_term(e, BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: PL_FUNCTOR_CHARS, "type_error", 2, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: PL_CHARS, "atom", BUILDSTDERR: ~~~~~~~~~~~~~~~~~ BUILDSTDERR: PL_TERM, nonatom); BUILDSTDERR: ~~~~~~~~~~~~~~~~~ gcc -c -I. -I/usr/lib64/swipl-7.6.4/include -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 -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=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" context.c gcc -c -I. -I/usr/lib64/swipl-7.6.4/include -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 -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=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" engines.c BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5310, BUILDSTDERR: from swi2perl.c:3: BUILDSTDERR: swi2perl.c: In function 'swi2perl': BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:525:19: warning: 'cell' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: #define newRV(a) Perl_newRV(aTHX_ a) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: swi2perl.c:97:6: note: 'cell' was declared here BUILDSTDERR: SV *cell; BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5310, BUILDSTDERR: from swi2perl.c:3: BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:63:23: warning: 'tail' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: #define av_push(a,b) Perl_av_push(aTHX_ a,b) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: swi2perl.c:43:22: note: 'tail' was declared here BUILDSTDERR: term_t head, tail; BUILDSTDERR: ^~~~ BUILDSTDERR: vars.c: In function 'get_cells': BUILDSTDERR: vars.c:20:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (av=GvAV(c_cells)) return av; BUILDSTDERR: ^~ BUILDSTDERR: vars.c: In function 'get_vars': BUILDSTDERR: vars.c:26:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (av=GvAV(c_vars)) return av; BUILDSTDERR: ^~ BUILDSTDERR: vars.c: In function 'get_cache': BUILDSTDERR: vars.c:32:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (hv=GvHV(c_cache)) return hv; BUILDSTDERR: ^~ gcc -c -I. -I/usr/lib64/swipl-7.6.4/include -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 -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=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" opaque.c "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Low.bs ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.bs 644 gcc -c -I. -I/usr/lib64/swipl-7.6.4/include -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 -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=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib64/perl5/CORE" Low.c BUILDSTDERR: engines.c: In function 'check_prolog': BUILDSTDERR: engines.c:22:6: warning: implicit declaration of function 'push_frame'; did you mean 'push_scope'? [-Wimplicit-function-declaration] BUILDSTDERR: push_frame(aTHX_ aMY_CXT); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: push_scope BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5251, BUILDSTDERR: from opaque.c:2: BUILDSTDERR: opaque.c: In function 'perl_opaque_acquire': BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: warning: unused variable 'sp' [-Wunused-variable] BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: note: in definition of macro 'dSP' BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: opaque.c: In function 'perl_opaque_release': BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: warning: unused variable 'sp' [-Wunused-variable] BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: note: in definition of macro 'dSP' BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: opaque.c: In function 'perl_opaque_write': BUILDSTDERR: opaque.c:41:12: warning: unused variable 'l' [-Wunused-variable] BUILDSTDERR: STRLEN l; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5251, BUILDSTDERR: from opaque.c:2: BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: warning: unused variable 'sp' [-Wunused-variable] BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: note: in definition of macro 'dSP' BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: opaque.c: In function 'pl_unify_perl_opaque': BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: warning: unused variable 'sp' [-Wunused-variable] BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: /usr/lib64/perl5/CORE/pp.h:81:19: note: in definition of macro 'dSP' BUILDSTDERR: #define dSP SV **sp = PL_stack_sp BUILDSTDERR: ^~ BUILDSTDERR: Low.c: In function 'XS_Language__Prolog__Yaswi__Low_CLONE': BUILDSTDERR: Low.c:191:7: warning: unused variable 'klass' [-Wunused-variable] BUILDSTDERR: SV * klass = ST(0) BUILDSTDERR: ^~~~~ BUILDSTDERR: Low.xs: In function 'XS_Language__Prolog__Yaswi__Low_nextsolution': BUILDSTDERR: Low.xs:185:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (e=PL_exception(SvIV(c_qid))) { BUILDSTDERR: ^ BUILDSTDERR: Low.c: In function 'XS_Language__Prolog__Yaswi__Low_openquery': BUILDSTDERR: Low.xs:140:3: warning: ignoring return value of 'PL_unify_arg', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: PL_unify_arg(i+1, q, arg0+i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so gcc -lpthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong -rdynamic -Wl,--enable-new-dtags -pthread -Wl,-rpath=/usr/lib64/swipl-7.6.4/lib/riscv64-linux Low.o callback.o callperl.o hook.o perl2swi.o swi2perl.o plconfig.o argv.o query.o vars.o context.o engines.o opaque.o -o ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so \ -L/usr/lib64/swipl-7.6.4/lib/riscv64-linux/ -lswipl -lperl \ chmod 755 ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.so Manifying 1 pod document make[1]: Leaving directory '/builddir/build/BUILD/Language-Prolog-Yaswi-0.21/Low' Manifying 2 pod documents + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zXtUOi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64 + cd Language-Prolog-Yaswi-0.21 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64 make[1]: Entering directory '/builddir/build/BUILD/Language-Prolog-Yaswi-0.21/Low' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Low.bs ../blib/arch/auto/Language/Prolog/Yaswi/Low/Low.bs 644 Manifying 1 pod document make[1]: Leaving directory '/builddir/build/BUILD/Language-Prolog-Yaswi-0.21/Low' Manifying 2 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Language/Prolog/Yaswi/Low/Low.so Installing /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr/lib64/perl5/vendor_perl/Language/Prolog/pl.pl Installing /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr/lib64/perl5/vendor_perl/Language/Prolog/Yaswi.pm Installing /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr/lib64/perl5/vendor_perl/Language/Prolog/Yaswi/Low.pm Installing /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr/share/man/man3/Language::Prolog::Yaswi::Low.3pm Installing /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr/share/man/man3/Language::Prolog::Yaswi.3pm Installing /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr/share/man/man3/Language::Prolog::pl.3pm + find /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.21-40.fc29 --unique-debug-suffix -0.21-40.fc29.riscv64 --unique-debug-src-base perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Language-Prolog-Yaswi-0.21 extracting debug info from /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Language/Prolog/Yaswi/Low/Low.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 109 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.L9WZEv Processing files: perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JE3ck0 + umask 022 + cd /builddir/build/BUILD + cd Language-Prolog-Yaswi-0.21 + DOCDIR=/builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr/share/doc/perl-Language-Prolog-Yaswi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr/share/doc/perl-Language-Prolog-Yaswi + cp -pr Changes /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr/share/doc/perl-Language-Prolog-Yaswi + cp -pr README /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr/share/doc/perl-Language-Prolog-Yaswi + cp -pr samples /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64/usr/share/doc/perl-Language-Prolog-Yaswi + exit 0 Provides: perl(Language::Prolog::Yaswi) = 0.21 perl(Language::Prolog::Yaswi::HASH) perl(Language::Prolog::Yaswi::Low) = 0.21 perl-Language-Prolog-Yaswi = 0.21-40.fc29 perl-Language-Prolog-Yaswi(riscv-64) = 0.21-40.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libperl.so.5.28()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libswipl.so.7.6()(64bit) perl(Carp) perl(DynaLoader) perl(Exporter) perl(File::Temp) perl(Language::Prolog::Types) perl(Language::Prolog::Types::Converter) perl(Language::Prolog::Yaswi) perl(Language::Prolog::Yaswi::Low) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-Language-Prolog-Yaswi-debugsource-0.21-40.fc29.riscv64 Provides: perl-Language-Prolog-Yaswi-debugsource = 0.21-40.fc29 perl-Language-Prolog-Yaswi-debugsource(riscv-64) = 0.21-40.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Language-Prolog-Yaswi-debuginfo-0.21-40.fc29.riscv64 Provides: debuginfo(build-id) = d99cd4e9fcd981a7355e5f63e316357a06d3d905 perl-Language-Prolog-Yaswi-debuginfo = 0.21-40.fc29 perl-Language-Prolog-Yaswi-debuginfo(riscv-64) = 0.21-40.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Language-Prolog-Yaswi-debugsource(riscv-64) = 0.21-40.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64 Wrote: /builddir/build/RPMS/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Language-Prolog-Yaswi-debugsource-0.21-40.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Language-Prolog-Yaswi-debuginfo-0.21-40.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KN3cSG + umask 022 + cd /builddir/build/BUILD + cd Language-Prolog-Yaswi-0.21 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Language-Prolog-Yaswi-0.21-40.fc29.riscv64 + exit 0 Child return code was: 0