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/octave-miscellaneous.spec'], chrootPath='/var/lib/mock/f30-build-34596-19359/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/octave-miscellaneous.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: warning: line 24: Possible unexpanded macro in: Requires: octave(api) = %{octave_api} Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/octave-miscellaneous-1.2.1-13.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/octave-miscellaneous.spec'], chrootPath='/var/lib/mock/f30-build-34596-19359/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/octave-miscellaneous.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.DQQw8h + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf octave-miscellaneous-1.2.1 + /usr/bin/mkdir -p octave-miscellaneous-1.2.1 + cd octave-miscellaneous-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gA0Qnt + umask 022 + cd /builddir/build/BUILD + cd octave-miscellaneous-1.2.1 + mkdir -p /builddir/build/BUILD/octave-miscellaneous-1.2.1/build + octave -H -q --no-window-system --no-site-file --eval 'pkg build -verbose -nodeps /builddir/build/BUILD/octave-miscellaneous-1.2.1/build /builddir/build/SOURCES/miscellaneous-1.2.1.tar.gz' checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether 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 term.h usability... yes checking term.h presence... yes checking for term.h... yes checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for units... yes make: Entering directory '/builddir/build/BUILD/octave-miscellaneous-1.2.1/build/miscellaneous-1.2.1/src' /usr/bin/mkoctfile-4.2.2 --verbose cell2cell.cc /usr/bin/mkoctfile-4.2.2 --verbose partint.cc /usr/bin/mkoctfile-4.2.2 --verbose sample.cc /usr/bin/mkoctfile-4.2.2 --verbose text_waitbar.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 cell2cell.cc -o cell2cell.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 partint.cc -o partint.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 sample.cc -o sample.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 text_waitbar.cc -o text_waitbar.o 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 -shared -Wl,-Bsymbolic -o sample.oct sample.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 -shared -Wl,-Bsymbolic -o text_waitbar.oct text_waitbar.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 -shared -Wl,-Bsymbolic -o partint.oct partint.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 -shared -Wl,-Bsymbolic -o cell2cell.oct cell2cell.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-miscellaneous-1.2.1/build/miscellaneous-1.2.1/src' + tar xf /builddir/build/SOURCES/miscellaneous-1.2.1.tar.gz -C /builddir/build/BUILD/octave-miscellaneous-1.2.1/build + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HsVsWA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64 + cd octave-miscellaneous-1.2.1 + mkdir -p /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages + mkdir -p /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/lib64/octave/packages + octave -H -q --no-window-system --no-site-file --eval 'pkg("prefix","/builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages","/builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/lib64/octave/packages");pkg("global_list",fullfile("/builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave","octave_packages"));pkg("local_list",fullfile("/builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave","octave_packages"));pkg("install","-nodeps","-verbose","/builddir/build/BUILD/octave-miscellaneous-1.2.1/build/miscellaneous-1.2.1-riscv64-koji-linux-gnu-api-v51.tar.gz");unlink(pkg("local_list"));unlink(pkg("global_list"));' mkdir (/tmp/oct-SPT86e) untar (/builddir/build/BUILD/octave-miscellaneous-1.2.1/build/miscellaneous-1.2.1-riscv64-koji-linux-gnu-api-v51.tar.gz, /tmp/oct-SPT86e) copyfile /tmp/oct-SPT86e/miscellaneous-1.2.1/src/cell2cell.oct /tmp/oct-SPT86e/miscellaneous-1.2.1/src/partint.oct /tmp/oct-SPT86e/miscellaneous-1.2.1/src/sample.oct /tmp/oct-SPT86e/miscellaneous-1.2.1/src/text_waitbar.oct /tmp/oct-SPT86e/miscellaneous-1.2.1/inst/riscv64-koji-linux-gnu-api-v51 BUILDSTDERR: warning: function /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/publish.m shadows a core library function For information about changes from previous versions of the miscellaneous package, run 'news miscellaneous'. Did not find a .metainfo.xml appdata file + '[' -e /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/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 + '[' -e '/builddir/build/BUILD/octave-miscellaneous-1.2.1/build/miscellaneous-1.2.1/*.metainfo.xml' ']' + echo 'Did not find a .metainfo.xml appdata file' + chmod a-x /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/asci.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/ascii.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/chebyshevpoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/clip.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/colorboard.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/csv2latex.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/gameoflife.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/hermitepoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/hilbert_curve.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/infoskeleton.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/laguerrepoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/legendrepoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/match.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/normc.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/normr.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/nze.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/peano_curve.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/physical_constant.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/publish.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/read_options.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/reduce.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/rolldices.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/slurp_file.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/solvesudoku.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/textable.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/truncate.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/units.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/z_curve.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/zagzig.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/zigzag.m + dos2unix /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/asci.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/ascii.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/chebyshevpoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/clip.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/colorboard.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/csv2latex.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/gameoflife.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/hermitepoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/hilbert_curve.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/infoskeleton.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/laguerrepoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/legendrepoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/match.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/normc.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/normr.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/nze.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/peano_curve.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/physical_constant.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/publish.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/read_options.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/reduce.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/rolldices.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/slurp_file.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/solvesudoku.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/textable.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/truncate.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/units.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/z_curve.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/zagzig.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/zigzag.m BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/asci.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/ascii.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/chebyshevpoly.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/clip.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/colorboard.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/csv2latex.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/gameoflife.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/hermitepoly.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/hilbert_curve.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/infoskeleton.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/laguerrepoly.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/legendrepoly.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/match.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/normc.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/normr.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/nze.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/peano_curve.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/physical_constant.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/publish.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/read_options.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/reduce.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/rolldices.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/slurp_file.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/solvesudoku.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/textable.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/truncate.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/units.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/z_curve.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/zagzig.m to Unix format... BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/zigzag.m to Unix format... + chmod a-x /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/private/strsplit.m + dos2unix /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/private/strsplit.m BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/private/strsplit.m to Unix format... + /usr/bin/2to3 --write --nobackups /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages/miscellaneous-1.2.1 BUILDSTDERR: RefactoringTool: Skipping optional fixer: buffer BUILDSTDERR: RefactoringTool: Skipping optional fixer: idioms BUILDSTDERR: RefactoringTool: Skipping optional fixer: set_literal BUILDSTDERR: RefactoringTool: Skipping optional fixer: ws_comma BUILDSTDERR: RefactoringTool: Refactored /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/physical_constant.py BUILDSTDERR: RefactoringTool: Files that were modified: BUILDSTDERR: RefactoringTool: /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/physical_constant.py --- /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/physical_constant.py (original) +++ /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/physical_constant.py (refactored) @@ -25,7 +25,7 @@ import time import sys import os.path -import urllib +import urllib.request, urllib.parse, urllib.error def get_header (): header = [ @@ -88,7 +88,7 @@ length_uncert = 25 # max length of the `uncertainty' column length_unit = 15 # max length of the `unit' column - ascii = urllib.urlopen(url).read().split('\r\n')[ini_skip:] + ascii = urllib.request.urlopen(url).read().split('\r\n')[ini_skip:] table = {} for line in ascii: if not line: continue # skip empty lines (at least the end of file) @@ -106,10 +106,10 @@ ## without information on the conditions. See the old revisions ## adjust value and uncertainty - for old, new in { + for old, new in list({ ' ' : '', # remove spaces '...' : '', # is decimal - }.items(): + }.items()): value = value.replace (old, new) uncert = uncert.replace (old, new) @@ -131,9 +131,9 @@ sys.stdout = open (filepath, "w") for line in get_header(): - print line + print(line) -print ''' +print(''' function [rval, uncert, unit] = physical_constant (arg) persistent unit_data; @@ -162,19 +162,19 @@ error ("No constant with name '%s' found", arg) endif endfunction -''' +''') -print 'function unit_data = get_data' +print('function unit_data = get_data') index = 1 #for name in sorted (table.keys()): for name, values in sorted(table.items()): - print ' unit_data(' + str (index) + ').name = "' + name + '";' - print ' unit_data(' + str (index) + ').value = ' + str (values[0]) + ';' - print ' unit_data(' + str (index) + ').uncertainty = ' + str (values[1]) + ';' - print ' unit_data(' + str (index) + ').units = "' + values[2] + '";' - print '' + print(' unit_data(' + str (index) + ').name = "' + name + '";') + print(' unit_data(' + str (index) + ').value = ' + str (values[0]) + ';') + print(' unit_data(' + str (index) + ').uncertainty = ' + str (values[1]) + ';') + print(' unit_data(' + str (index) + ').units = "' + values[2] + '";') + print('') index += 1 -print 'endfunction' +print('endfunction') for name, values in sorted(table.items()): - print '%!assert(physical_constant("' + name + '"), '+ str (values[0]) +');' + print('%!assert(physical_constant("' + name + '"), '+ str (values[0]) +');') + /usr/bin/pathfix.py -pni '/usr/bin/python3 -s' /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages/miscellaneous-1.2.1 /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/physical_constant.py: updating BUILDSTDERR: recursedown('/builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages/miscellaneous-1.2.1') BUILDSTDERR: recursedown('/builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/packinfo') BUILDSTDERR: recursedown('/builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/private') + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2.1-13.fc30 --unique-debug-suffix -1.2.1-13.fc30.riscv64 --unique-debug-src-base octave-miscellaneous-1.2.1-13.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/octave-miscellaneous-1.2.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-koji-linux-gnu-api-v51/partint.oct explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-koji-linux-gnu-api-v51/sample.oct extracting debug info from /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-koji-linux-gnu-api-v51/partint.oct explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-koji-linux-gnu-api-v51/cell2cell.oct extracting debug info from /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-koji-linux-gnu-api-v51/sample.oct extracting debug info from /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-koji-linux-gnu-api-v51/cell2cell.oct explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-koji-linux-gnu-api-v51/text_waitbar.oct extracting debug info from /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-koji-linux-gnu-api-v51/text_waitbar.oct /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. BUILDSTDERR: 45 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-miscellaneous-1.2.1-13.fc30.riscv64 BUILDSTDERR: warning: File listed twice: /usr/share/octave/packages/miscellaneous-1.2.1/packinfo/COPYING Provides: octave-miscellaneous = 1.2.1-13.fc30 octave-miscellaneous(riscv-64) = 1.2.1-13.fc30 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh octave Requires(preun): /bin/sh Requires(postun): /bin/sh octave Requires: /usr/bin/python3 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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgomp.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) liboctave.so.4()(64bit) liboctinterp.so.4()(64bit) libpthread.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: octave-miscellaneous-debugsource-1.2.1-13.fc30.riscv64 Provides: octave-miscellaneous-debugsource = 1.2.1-13.fc30 octave-miscellaneous-debugsource(riscv-64) = 1.2.1-13.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: octave-miscellaneous-debuginfo-1.2.1-13.fc30.riscv64 Provides: debuginfo(build-id) = 6c44b12b98f3c9455baae24fa7d29a47e8cc04c4 debuginfo(build-id) = 6fab3dc6382b523a209ebbd66fe08b227b3dc47d debuginfo(build-id) = acd2b9ee2bfad0f4e48ef34678d8d01adc8ea2b5 debuginfo(build-id) = b775bef35d95d3c2e3260a3985ff9c079cbd79c0 octave-miscellaneous-debuginfo = 1.2.1-13.fc30 octave-miscellaneous-debuginfo(riscv-64) = 1.2.1-13.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: octave-miscellaneous-debugsource(riscv-64) = 1.2.1-13.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64 Wrote: /builddir/build/RPMS/octave-miscellaneous-1.2.1-13.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/octave-miscellaneous-debugsource-1.2.1-13.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/octave-miscellaneous-debuginfo-1.2.1-13.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jsfUdM + umask 022 + cd /builddir/build/BUILD + cd octave-miscellaneous-1.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-13.fc30.riscv64 + exit 0 Child return code was: 0