Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/octave-miscellaneous.spec'], chrootPath='/var/lib/mock/f31-build-108658-33845/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False BUILDSTDERR: warning: line 23: Possible unexpanded macro in: Requires: octave(api) = %{octave_api} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/octave-miscellaneous-1.2.1-16.fc31.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/f31-build-108658-33845/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=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5uAdYL + 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 . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XpnvRK + 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' BUILDSTDERR: sample.cc: In function 'octave_value_list Fsample(const octave_value_list&, int)': BUILDSTDERR: sample.cc:126:28: warning: 'double oct_randu()' is deprecated: [4.4]: use 'octave::rand_uniform' instead [-Wdeprecated-declarations] BUILDSTDERR: 126 | S.insert(floor(oct_randu()*n)); // use Octave's uniform RNG BUILDSTDERR: | ^ BUILDSTDERR: In file included from sample.cc:17: BUILDSTDERR: /usr/include/octave-5.1.0/octave/randmtzig.h:155:1: note: declared here BUILDSTDERR: 155 | oct_randu (void) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: sample.cc:126:28: warning: 'double oct_randu()' is deprecated: [4.4]: use 'octave::rand_uniform' instead [-Wdeprecated-declarations] BUILDSTDERR: 126 | S.insert(floor(oct_randu()*n)); // use Octave's uniform RNG BUILDSTDERR: | ^ BUILDSTDERR: In file included from sample.cc:17: BUILDSTDERR: /usr/include/octave-5.1.0/octave/randmtzig.h:155:1: note: declared here BUILDSTDERR: 155 | oct_randu (void) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: partint.cc: In function 'octave_value_list Fpartcnt(const octave_value_list&, int)': BUILDSTDERR: partint.cc:80:36: warning: 'bool octave_value::is_numeric_type() const' is deprecated: [4.4]: use 'isnumeric' instead [-Wdeprecated-declarations] BUILDSTDERR: 80 | if ( ! args(0).is_numeric_type()) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/octave-5.1.0/octave/../octave/ovl.h:36, BUILDSTDERR: from /usr/include/octave-5.1.0/octave/../octave/ov-fcn.h:33, BUILDSTDERR: from /usr/include/octave-5.1.0/octave/../octave/ov-builtin.h:32, BUILDSTDERR: from /usr/include/octave-5.1.0/octave/../octave/defun-int.h:30, BUILDSTDERR: from /usr/include/octave-5.1.0/octave/../octave/defun-dld.h:32, BUILDSTDERR: from /usr/include/octave-5.1.0/octave/../octave/oct.h:32, BUILDSTDERR: from partint.cc:16: BUILDSTDERR: /usr/include/octave-5.1.0/octave/../octave/ov.h:728:8: note: declared here BUILDSTDERR: 728 | bool is_numeric_type (void) const BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: partint.cc: In function 'octave_value_list Fpartint(const octave_value_list&, int)': BUILDSTDERR: partint.cc:184:35: warning: 'bool octave_value::is_numeric_type() const' is deprecated: [4.4]: use 'isnumeric' instead [-Wdeprecated-declarations] BUILDSTDERR: 184 | ! args(0).is_numeric_type() BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/octave-5.1.0/octave/../octave/ovl.h:36, BUILDSTDERR: from /usr/include/octave-5.1.0/octave/../octave/ov-fcn.h:33, BUILDSTDERR: from /usr/include/octave-5.1.0/octave/../octave/ov-builtin.h:32, BUILDSTDERR: from /usr/include/octave-5.1.0/octave/../octave/defun-int.h:30, BUILDSTDERR: from /usr/include/octave-5.1.0/octave/../octave/defun-dld.h:32, BUILDSTDERR: from /usr/include/octave-5.1.0/octave/../octave/oct.h:32, BUILDSTDERR: from partint.cc:16: BUILDSTDERR: /usr/include/octave-5.1.0/octave/../octave/ov.h:728:8: note: declared here BUILDSTDERR: 728 | bool is_numeric_type (void) const BUILDSTDERR: | ^~~~~~~~~~~~~~~ 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-5.1.0 --verbose cell2cell.cc /usr/bin/mkoctfile-5.1.0 --verbose partint.cc /usr/bin/mkoctfile-5.1.0 --verbose sample.cc /usr/bin/mkoctfile-5.1.0 --verbose text_waitbar.cc g++ -c -I/usr/include/suitesparse -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 /tmp/oct-cDjoTp.o g++ -c -I/usr/include/suitesparse -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 /tmp/oct-0TA0Ct.o g++ -c -I/usr/include/suitesparse -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 /tmp/oct-DX5PmA.o g++ -c -I/usr/include/suitesparse -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 /tmp/oct-3GxIxE.o g++ -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o sample.oct /tmp/oct-DX5PmA.o -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld BUILDSTDERR: g++ -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasyn+ tar xf /builddir/build/SOURCES/miscellaneous-1.2.1.tar.gz -C /builddir/build/BUILD/octave-miscellaneous-1.2.1/build + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 chronous-unwind-tables -fstack-clash-protection -shared -Wl,-Bsymbolic -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o partint.oct /tmp/oct-0TA0Ct.o -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld g++ -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o text_waitbar.oct /tmp/oct-3GxIxE.o -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld g++ -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o cell2cell.oct /tmp/oct-cDjoTp.o -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -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' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.da9rJH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64 + cd octave-miscellaneous-1.2.1 + mkdir -p /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/share/octave/packages + mkdir -p /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.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-16.fc31.riscv64/usr/share/octave/packages","/builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/lib64/octave/packages");pkg("global_list",fullfile("/builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/share/octave","octave_packages"));pkg("local_list",fullfile("/builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/share/octave","octave_packages"));pkg("install","-nodeps","-verbose",glob("/builddir/build/BUILD/octave-miscellaneous-1.2.1/build/miscellaneous-1.2.1-*.tar.gz"){1,1});unlink(pkg("local_list"));unlink(pkg("global_list"));' BUILDSTDERR: warning: function /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/publish.m shadows a core library function + '[' -e /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.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-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/asci.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/ascii.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/chebyshevpoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/clip.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/colorboard.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/csv2latex.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/gameoflife.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/hermitepoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/hilbert_curve.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/infoskeleton.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/laguerrepoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/legendrepoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/match.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/normc.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/normr.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/nze.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/peano_curve.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/physical_constant.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/publish.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/read_options.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/reduce.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/rolldices.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/slurp_file.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/solvesudoku.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/textable.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/truncate.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/units.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/z_curve.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/zagzig.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/zigzag.m + dos2unix /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/asci.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/ascii.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/chebyshevpoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/clip.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/colorboard.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/csv2latex.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/gameoflife.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/hermitepoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/hilbert_curve.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/infoskeleton.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/laguerrepoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/legendrepoly.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/match.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/normc.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/normr.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/nze.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/peano_curve.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/physical_constant.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/publish.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/read_options.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/reduce.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/rolldices.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/slurp_file.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/solvesudoku.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/textable.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/truncate.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/units.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/z_curve.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/zagzig.m /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/zigzag.m BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/private/strsplit.m + dos2unix /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64//usr/share/octave/packages/miscellaneous-1.2.1/private/strsplit.m BUILDSTDERR: dos2unix: converting file /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.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-16.fc31.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-16.fc31.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-16.fc31.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/physical_constant.py + /usr/bin/pathfix.py -pni '/usr/bin/python3 -s' /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/share/octave/packages/miscellaneous-1.2.1 BUILDSTDERR: recursedown('/builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/share/octave/packages/miscellaneous-1.2.1') BUILDSTDERR: recursedown('/builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/packinfo') BUILDSTDERR: recursedown('/builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.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-16.fc31 --unique-debug-suffix -1.2.1-16.fc31.riscv64 --unique-debug-src-base octave-miscellaneous-1.2.1-16.fc31.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 mkdir (/tmp/oct-zbkm79) untar (/builddir/build/BUILD/octave-miscellaneous-1.2.1/build/miscellaneous-1.2.1-riscv64-redhat-linux-gnu-api-v53.tar.gz, /tmp/oct-zbkm79) copyfile /tmp/oct-zbkm79/miscellaneous-1.2.1/src/cell2cell.oct /tmp/oct-zbkm79/miscellaneous-1.2.1/src/partint.oct /tmp/oct-zbkm79/miscellaneous-1.2.1/src/sample.oct /tmp/oct-zbkm79/miscellaneous-1.2.1/src/text_waitbar.oct /tmp/oct-zbkm79/miscellaneous-1.2.1/inst/riscv64-redhat-linux-gnu-api-v53 For information about changes from previous versions of the miscellaneous package, run 'news miscellaneous'. Did not find a .metainfo.xml appdata file --- /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/physical_constant.py (original) +++ /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.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]) +');') /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/share/octave/packages/miscellaneous-1.2.1/physical_constant.py: updating explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-redhat-linux-gnu-api-v53/cell2cell.oct explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-redhat-linux-gnu-api-v53/partint.oct BUILDSTDERR: explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/45 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs lib64/octave/packages/miscellaneous-1.2.1/riscv64-redhat-linux-gnu-api-v53/sample.oct explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-redhat-linux-gnu-api-v53/text_waitbar.oct extracting debug info from /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-redhat-linux-gnu-api-v53/sample.oct extracting debug info from /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-redhat-linux-gnu-api-v53/partint.oct extracting debug info from /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-redhat-linux-gnu-api-v53/cell2cell.oct extracting debug info from /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64/usr/lib64/octave/packages/miscellaneous-1.2.1/riscv64-redhat-linux-gnu-api-v53/text_waitbar.oct original debug info size: 5704kB, size after compression: 3600kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. Processing files: octave-miscellaneous-1.2.1-16.fc31.riscv64 BUILDSTDERR: warning: File listed twice: /usr/share/octave/packages/miscellaneous-1.2.1/packinfo/COPYING Provides: octave-miscellaneous = 1.2.1-16.fc31 octave-miscellaneous(riscv-64) = 1.2.1-16.fc31 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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(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) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) rtld(GNU_HASH) Processing files: octave-miscellaneous-debugsource-1.2.1-16.fc31.riscv64 Provides: octave-miscellaneous-debugsource = 1.2.1-16.fc31 octave-miscellaneous-debugsource(riscv-64) = 1.2.1-16.fc31 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-16.fc31.riscv64 Provides: debuginfo(build-id) = 26f5872dcf8f4d43ebd6978b7318976b6d607ac0 debuginfo(build-id) = 6340793f42eeb3a991cbbd58a23dbedd6d7d52e7 debuginfo(build-id) = bbf505aacad49d2ec18e24b1a557379ade5490c8 debuginfo(build-id) = d172b843d4ce7f399105e08060759ef915ce78f4 octave-miscellaneous-debuginfo = 1.2.1-16.fc31 octave-miscellaneous-debuginfo(riscv-64) = 1.2.1-16.fc31 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-16.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64 Wrote: /builddir/build/RPMS/octave-miscellaneous-debugsource-1.2.1-16.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/octave-miscellaneous-1.2.1-16.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/octave-miscellaneous-debuginfo-1.2.1-16.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2azRWI + umask 022 + cd /builddir/build/BUILD + cd octave-miscellaneous-1.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/octave-miscellaneous-1.2.1-16.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0