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/octave-struct.spec'], chrootPath='/var/lib/mock/f30-build-34603-19384/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/octave-struct.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: warning: line 14: Possible unexpanded macro in: Requires: octave(api) = %{octave_api} Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/octave-struct-1.0.15-3.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/octave-struct.spec'], chrootPath='/var/lib/mock/f30-build-34603-19384/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/octave-struct.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 Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hm5S9D + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf octave-struct-1.0.15 + /usr/bin/mkdir -p octave-struct-1.0.15 + cd octave-struct-1.0.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QMm9Mq + umask 022 + cd /builddir/build/BUILD + cd octave-struct-1.0.15 + mkdir -p /builddir/build/BUILD/octave-struct-1.0.15/build + octave -H -q --no-window-system --no-site-file --eval 'pkg build -verbose -nodeps /builddir/build/BUILD/octave-struct-1.0.15/build /builddir/build/SOURCES/struct-1.0.15.tar.gz' checking for mkoctfile... /usr/bin/mkoctfile-4.2.2 --verbose checking for octave-config... /usr/bin/octave-config-4.2.2 checking for a sed that does not truncate output... /usr/bin/sed checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for error_at_line... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h make: Entering directory '/builddir/build/BUILD/octave-struct-1.0.15/build/struct-1.0.15/src' 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-deprecated-declarations" /usr/bin/mkoctfile-4.2.2 --verbose -c error-helpers.cc g++ -c -fPIC -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -pthread -fopenmp -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 -Wno-deprecated-declarations error-helpers.cc -o error-helpers.o 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-deprecated-declarations" /usr/bin/mkoctfile-4.2.2 --verbose fields2cell.cc error-helpers.o 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-deprecated-declarations" /usr/bin/mkoctfile-4.2.2 --verbose fieldempty.cc error-helpers.o 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-deprecated-declarations" /usr/bin/mkoctfile-4.2.2 --verbose structcat.cc error-helpers.o 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-deprecated-declarations" /usr/bin/mkoctfile-4.2.2 --verbose cell2fields.cc error-helpers.o g++ -c -fPIC -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -pthread -fopenmp -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 -Wno-deprecated-declarations cell2fields.cc -o cell2fields.o g++ -c -fPIC -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -pthread -fopenmp -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 -Wno-deprecated-declarations fields2cell.cc -o fields2cell.o g++ -c -fPIC -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -pthread -fopenmp -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 -Wno-deprecated-declarations fieldempty.cc -o fieldempty.o g++ -c -fPIC -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -pthread -fopenmp -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 -Wno-deprecated-declarations structcat.cc -o structcat.o BUILDSTDERR: structcat.cc: In function 'octave_value_list Fstructcat(const octave_value_list&, int)': BUILDSTDERR: structcat.cc:129:31: warning: 'dim' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (dim >= idx_len) idx_len = dim + 1; BUILDSTDERR: ~~~~~~~~^~~~~~~~~ BUILDSTDERR: cell2fields.cc: In function 'octave_value_list Fcell2fields(const octave_value_list&, int)': BUILDSTDERR: cell2fields.cc:79:25: warning: 'dim' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: nr = cdims(dim - 1); BUILDSTDERR: ^ g++ -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -pthread -fopenmp -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 -Wno-deprecated-declarations -shared -Wl,-Bsymbolic -o fieldempty.oct error-helpers.o fieldempty.o -L/usr/lib64/octave/4.2.2 -L/usr/lib64 -loctinterp -loctave -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld g++ -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -pthread -fopenmp -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 -Wno-deprecated-declarations -shared -Wl,-Bsymbolic -o fields2cell.oct error-helpers.o fields2cell.o -L/usr/lib64/octave/4.2.2 -L/usr/lib64 -loctinterp -loctave -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld g++ -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -pthread -fopenmp -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 -Wno-deprecated-declarations -shared -Wl,-Bsymbolic -o structcat.oct error-helpers.o structcat.o -L/usr/lib64/octave/4.2.2 -L/usr/lib64 -loctinterp -loctave -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld g++ -I/usr/include/octave-4.2.2/octave/.. -I/usr/include/octave-4.2.2/octave -pthread -fopenmp -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 -Wno-deprecated-declarations -shared -Wl,-Bsymbolic -o cell2fields.oct error-helpers.o cell2fields.o -L/usr/lib64/octave/4.2.2 -L/usr/lib64 -loctinterp -loctave -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld make: Leaving directory '/builddir/build/BUILD/octave-struct-1.0.15/build/struct-1.0.15/src' + tar xf /builddir/build/SOURCES/struct-1.0.15.tar.gz -C /builddir/build/BUILD/octave-struct-1.0.15/build + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8shfnr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64 + cd octave-struct-1.0.15 + mkdir -p /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/share/octave/packages + mkdir -p /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/lib64/octave/packages + octave -H -q --no-window-system --no-site-file --eval 'pkg("prefix","/builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/share/octave/packages","/builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/lib64/octave/packages");pkg("global_list",fullfile("/builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/share/octave","octave_packages"));pkg("local_list",fullfile("/builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/share/octave","octave_packages"));pkg("install","-nodeps","-verbose","/builddir/build/BUILD/octave-struct-1.0.15/build/struct-1.0.15-riscv64-koji-linux-gnu-api-v51.tar.gz");unlink(pkg("local_list"));unlink(pkg("global_list"));' mkdir (/tmp/oct-h6e04j) untar (/builddir/build/BUILD/octave-struct-1.0.15/build/struct-1.0.15-riscv64-koji-linux-gnu-api-v51.tar.gz, /tmp/oct-h6e04j) copyfile /tmp/oct-h6e04j/struct-1.0.15/src/cell2fields.oct /tmp/oct-h6e04j/struct-1.0.15/src/fieldempty.oct /tmp/oct-h6e04j/struct-1.0.15/src/fields2cell.oct /tmp/oct-h6e04j/struct-1.0.15/src/structcat.oct /tmp/oct-h6e04j/struct-1.0.15/inst/riscv64-koji-linux-gnu-api-v51 For information about changes from previous versions of the struct package, run 'news struct'. + '[' -e /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/share/octave/packages/struct-1.0.15/packinfo/on_uninstall.m ']' + echo 'function on_uninstall (desc)' + echo ' error ('\''Can not uninstall %s installed by the redhat package manager'\'', desc.name);' + echo endfunction Found .metainfo.xml appdata file + '[' -e /builddir/build/BUILD/octave-struct-1.0.15/build/struct-1.0.15/octave-struct.metainfo.xml ']' + echo 'Found .metainfo.xml appdata file' + mkdir -p /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64//usr/share/appdata + cp -p /builddir/build/BUILD/octave-struct-1.0.15/build/struct-1.0.15/octave-struct.metainfo.xml /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64//usr/share/appdata/ + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64//usr/share/appdata/octave-struct.metainfo.xml BUILDSTDERR: /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64//usr/share/appdata/octave-struct.metainfo.xml: GLib-GIO-Message: 00:24:09.177: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. OK + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.15-3.fc30 --unique-debug-suffix -1.0.15-3.fc30.riscv64 --unique-debug-src-base octave-struct-1.0.15-3.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/octave-struct-1.0.15 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/lib64/octave/packages/struct-1.0.15/riscv64-koji-linux-gnu-api-v51/structcat.oct explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/lib64/octave/packages/struct-1.0.15/riscv64-koji-linux-gnu-api-v51/fields2cell.oct explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/lib64/octave/packages/struct-1.0.15/riscv64-koji-linux-gnu-api-v51/cell2fields.oct explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/lib64/octave/packages/struct-1.0.15/riscv64-koji-linux-gnu-api-v51/fieldempty.oct extracting debug info from /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/lib64/octave/packages/struct-1.0.15/riscv64-koji-linux-gnu-api-v51/structcat.oct extracting debug info from /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/lib64/octave/packages/struct-1.0.15/riscv64-koji-linux-gnu-api-v51/fieldempty.oct extracting debug info from /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/lib64/octave/packages/struct-1.0.15/riscv64-koji-linux-gnu-api-v51/cell2fields.oct extracting debug info from /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/lib64/octave/packages/struct-1.0.15/riscv64-koji-linux-gnu-api-v51/fields2cell.oct /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. BUILDSTDERR: 34 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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: octave-struct-1.0.15-3.fc30.riscv64 BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/share/metainfo/octave-struct.metainfo.xml RPM build errors: BUILDSTDERR: File not found: /builddir/build/BUILDROOT/octave-struct-1.0.15-3.fc30.riscv64/usr/share/metainfo/octave-struct.metainfo.xml 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/octave-struct.spec