Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/units.spec'], chrootPath='/var/lib/mock/f41-build-833067-157707/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/units.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/units-2.23-3.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/units.spec'], chrootPath='/var/lib/mock/f41-build-833067-157707/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/units.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.IxqJaf + umask 022 + cd /builddir/build/BUILD/units-2.23-build + test -d /builddir/build/BUILD/units-2.23-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/units-2.23-build + /usr/bin/rm -rf /builddir/build/BUILD/units-2.23-build + /usr/bin/mkdir -p /builddir/build/BUILD/units-2.23-build + /usr/bin/mkdir -p /builddir/build/BUILD/units-2.23-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7AFQfU + umask 022 + cd /builddir/build/BUILD/units-2.23-build + cd /builddir/build/BUILD/units-2.23-build + rm -rf units-2.23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/units-2.23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd units-2.23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0100-units-2.22-no-network.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0101-fix-make-less-default-pager.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LpDxOq + umask 022 + cd /builddir/build/BUILD/units-2.23-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd units-2.23 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed detected non-mac os: linux-gnu checking whether C compiler accepts -fpic... yes checking for an ANSI C-conforming const... yes checking for a BSD-compatible install... /usr/bin/install -c checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for library containing sin... -lm checking for append_history in -lreadline... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether rl_completion_suppress_append is declared... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for strchr... yes checking for strspn... yes checking for strtok... yes checking whether TIOCGWINSZ is declared... yes checking for setenv... yes checking for setlocale... yes checking for locale and UTF-8 support... yes checking for isfinite... yes checking for mksinfo... no checking for python3... /usr/bin/python3 configure: creating ./config.status config.status: creating Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j4 V=1 VERBOSE=1 gcc -DUNITSFILE=\"/usr/share/units/definitions.units\" -DLOCALEMAP=\"/usr/share/units/locale_map.txt\" -DREADLINE -DNO_SUPPRESS_APPEND -DHAVE_IOCTL -DSUPPORT_UTF8 -DPACKAGE_NAME=\"GNU\ units\" -DPACKAGE_TARNAME=\"units\" -DPACKAGE_VERSION=\"2.23\" -DPACKAGE_STRING=\"GNU\ units\ 2.23\" -DPACKAGE_BUGREPORT=\"adrianm@gnu.org\" -DPACKAGE_URL=\"https://www.gnu.org/software/units/\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fpic -I. -c getopt.c sed s!@DATAFILE@!/usr/share/units/definitions.units! ./units.man > units.1 gcc -DUNITSFILE=\"/usr/share/units/definitions.units\" -DLOCALEMAP=\"/usr/share/units/locale_map.txt\" -DREADLINE -DNO_SUPPRESS_APPEND -DHAVE_IOCTL -DSUPPORT_UTF8 -DPACKAGE_NAME=\"GNU\ units\" -DPACKAGE_TARNAME=\"units\" -DPACKAGE_VERSION=\"2.23\" -DPACKAGE_STRING=\"GNU\ units\ 2.23\" -DPACKAGE_BUGREPORT=\"adrianm@gnu.org\" -DPACKAGE_URL=\"https://www.gnu.org/software/units/\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fpic -I. -c getopt1.c sed -e "s*output_dir = ''*output_dir='/var/lib/units/'*"\ -e "s@/usr/bin/python@/usr/bin/python3@" \ ./units_cur > units_cur_inst gcc -DUNITSFILE=\"/usr/share/units/definitions.units\" -DLOCALEMAP=\"/usr/share/units/locale_map.txt\" -DREADLINE -DNO_SUPPRESS_APPEND -DHAVE_IOCTL -DSUPPORT_UTF8 -DPACKAGE_NAME=\"GNU\ units\" -DPACKAGE_TARNAME=\"units\" -DPACKAGE_VERSION=\"2.23\" -DPACKAGE_STRING=\"GNU\ units\ 2.23\" -DPACKAGE_BUGREPORT=\"adrianm@gnu.org\" -DPACKAGE_URL=\"https://www.gnu.org/software/units/\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fpic -I. -c parse.tab.c parse.y: In function ‘unitslex’: parse.y:429:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 429 | (length==1 || length==2 && strchr("23456789",inptr[1]))){ | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DUNITSFILE=\"/usr/share/units/definitions.units\" -DLOCALEMAP=\"/usr/share/units/locale_map.txt\" -DREADLINE -DNO_SUPPRESS_APPEND -DHAVE_IOCTL -DSUPPORT_UTF8 -DPACKAGE_NAME=\"GNU\ units\" -DPACKAGE_TARNAME=\"units\" -DPACKAGE_VERSION=\"2.23\" -DPACKAGE_STRING=\"GNU\ units\ 2.23\" -DPACKAGE_BUGREPORT=\"adrianm@gnu.org\" -DPACKAGE_URL=\"https://www.gnu.org/software/units/\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fpic -I. -c units.c units.c: In function ‘readunits’: units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1691:9: note: in expansion of macro ‘readerror’ 1691 | readerror(errfile, "%s: %s on line %d of '%s'\n", | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1700:11: note: in expansion of macro ‘readerror’ 1700 | readerror(errfile, VAGUE_ERR); | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1713:13: note: in expansion of macro ‘readerror’ 1713 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1717:13: note: in expansion of macro ‘readerror’ 1717 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1721:13: note: in expansion of macro ‘readerror’ 1721 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1729:15: note: in expansion of macro ‘readerror’ 1729 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1741:13: note: in expansion of macro ‘readerror’ 1741 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1751:13: note: in expansion of macro ‘readerror’ 1751 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1755:13: note: in expansion of macro ‘readerror’ 1755 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1767:13: note: in expansion of macro ‘readerror’ 1767 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1776:13: note: in expansion of macro ‘readerror’ 1776 | readerror(errfile,"%s: nested utf8 not allowed, line %d of '%s'\n", | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1783:13: note: in expansion of macro ‘readerror’ 1783 | readerror(errfile,"%s: unmatched !endutf8 on line %d of '%s'\n", | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1813:13: note: in expansion of macro ‘readerror’ 1813 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1817:13: note: in expansion of macro ‘readerror’ 1817 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1827:13: note: in expansion of macro ‘readerror’ 1827 | readerror(errfile,VAGUE_ERR); | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1836:13: note: in expansion of macro ‘readerror’ 1836 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1845:15: note: in expansion of macro ‘readerror’ 1845 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1867:15: note: in expansion of macro ‘readerror’ 1867 | readerror(errfile, "%s: file was included at line %d of file '%s'\n", progname,linenum, file); | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1875:11: note: in expansion of macro ‘readerror’ 1875 | readerror(errfile,VAGUE_ERR); | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1887:11: note: in expansion of macro ‘readerror’ 1887 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1895:11: note: in expansion of macro ‘readerror’ 1895 | readerror(errfile, | ^~~~~~~~~ units.c:849:41: warning: value computed is not used [-Wunused-value] 849 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1901:9: note: in expansion of macro ‘readerror’ 1901 | readerror(errfile, | ^~~~~~~~~ units.c: In function ‘buildunitstr’: units.c:2941:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2941 | if (counter > 1) | ^~ units.c:2943:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2943 | if (**ptr) | ^~ units.c:2959:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2959 | if (counter > 1) | ^~ units.c:2961:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2961 | if (**ptr) { | ^~ units.c:2926:21: warning: variable ‘newlen’ set but not used [-Wunused-but-set-variable] 2926 | size_t bufsize, newlen; | ^~~~~~ units.c: In function ‘checkcwd’: units.c:4335:9: warning: unused variable ‘p’ [-Wunused-variable] 4335 | char *p; | ^ units.c: In function ‘printversion’: units.c:4955:9: warning: unused variable ‘fp’ [-Wunused-variable] 4955 | FILE *fp, *histfile; | ^~ units.c: In function ‘showfunction’: units.c:3061:8: warning: ‘not_dimensionless’ may be used uninitialized [-Wmaybe-uninitialized] 3061 | if (not_dimensionless) | ^ units.c:3017:7: note: ‘not_dimensionless’ was declared here 3017 | int not_dimensionless, i; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from units.c:45: In function ‘printf’, inlined from ‘checkfunc’ at units.c:3887:9: /usr/include/bits/stdio2.h:118:10: warning: ‘indent’ may be used uninitialized [-Wmaybe-uninitialized] 118 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c: In function ‘checkfunc’: units.c:3844:11: note: ‘indent’ was declared here 3844 | char *indent; | ^~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fpic -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o units units.o parse.tab.o getopt.o getopt1.o -lreadline -lm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nlAbS1 + umask 022 + cd /builddir/build/BUILD/units-2.23-build + '[' /builddir/build/BUILD/units-2.23-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/units-2.23-build/BUILDROOT ++ dirname /builddir/build/BUILD/units-2.23-build/BUILDROOT + mkdir -p /builddir/build/BUILD/units-2.23-build + mkdir /builddir/build/BUILD/units-2.23-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd units-2.23 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/units-2.23-build/BUILDROOT 'INSTALL=/usr/bin/install -p' /usr/bin/mkdir -p /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/man/man1 /usr/bin/install -p -m 644 units.1 /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/man/man1/`echo units|sed 's&^&&'`.1 /usr/bin/mkdir -p /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/info /usr/bin/install -p -m 644 ./units.info /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/info if test -f /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/info/dir; then \ if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \ install-info --dir-file=/builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/info/dir \ /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/info/units.info; \ else true; fi \ else true; fi /usr/bin/mkdir -p /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/units/ /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/bin /builddir/build/BUILD/units-2.23-build/BUILDROOT/var/lib/units/ /usr/bin/install -p -m 644 ./definitions.units /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/units/definitions.units /usr/bin/install -p -m 644 ./elements.units /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/units/elements.units rm -f /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/units/currency.units /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/units/cpi.units /usr/bin/install -p -m 644 ./currency.units /builddir/build/BUILD/units-2.23-build/BUILDROOT/var/lib/units/currency.units /usr/bin/install -p -m 644 ./cpi.units /builddir/build/BUILD/units-2.23-build/BUILDROOT/var/lib/units/cpi.units if [ /builddir/build/BUILD/units-2.23-build/BUILDROOT/var/lib/units/ != /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/units/ ];then ln -sf /var/lib/units/currency.units /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/units/currency.units;fi if [ /builddir/build/BUILD/units-2.23-build/BUILDROOT/var/lib/units/ != /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/units/ ];then ln -sf /var/lib/units/cpi.units /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/units/cpi.units;fi /usr/bin/install -p -m 644 ./locale_map.txt /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/units/locale_map.txt if test yes = yes; then \ /usr/bin/install -p units_cur_inst /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/bin/`echo units_cur|sed 's&^&&'`;fi if test no = yes; then make install-mks; fi /usr/bin/mkdir -p /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/bin /usr/bin/install -p units /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/bin/`echo units|sed 's&^&&'` + ln -fsv ../../../var/lib/units/currency.units /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/units '/builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/units/currency.units' -> '../../../var/lib/units/currency.units' + gzip /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/info/units.info + ln -s units.1 /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/man/man1/units_cur.1 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.23-3.fc41 --unique-debug-suffix -2.23-3.fc41.riscv64 --unique-debug-src-base units-2.23-3.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/units-2.23-build/units-2.23 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/units-2.23-3.fc41.riscv64 601 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/units-2.23-build/BUILDROOT Scanned 18 directories and 20 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/units-2.23-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.sFlBTo + umask 022 + cd /builddir/build/BUILD/units-2.23-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd units-2.23 + make check Checking units Units seems to work + RPM_EC=0 ++ jobs -p + exit 0 Processing files: units-2.23-3.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XTwYWV + umask 022 + cd /builddir/build/BUILD/units-2.23-build + cd units-2.23 + DOCDIR=/builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/doc/units + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/doc/units + cp -pr /builddir/build/BUILD/units-2.23-build/units-2.23/COPYING /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/doc/units + cp -pr /builddir/build/BUILD/units-2.23-build/units-2.23/NEWS /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/doc/units + cp -pr /builddir/build/BUILD/units-2.23-build/units-2.23/README /builddir/build/BUILD/units-2.23-build/BUILDROOT/usr/share/doc/units + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/share/units/cpi.units -> /var/lib/units/cpi.units Provides: units = 2.23-3.fc41 units(riscv-64) = 2.23-3.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libreadline.so.8()(64bit) rtld(GNU_HASH) Processing files: units-debugsource-2.23-3.fc41.riscv64 Provides: units-debugsource = 2.23-3.fc41 units-debugsource(riscv-64) = 2.23-3.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: units-debuginfo-2.23-3.fc41.riscv64 Provides: debuginfo(build-id) = 9b50e4caea64fe536a612d5c051e2466054e9b0f units-debuginfo = 2.23-3.fc41 units-debuginfo(riscv-64) = 2.23-3.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: units-debugsource(riscv-64) = 2.23-3.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/units-2.23-build/BUILDROOT Wrote: /builddir/build/RPMS/units-debuginfo-2.23-3.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/units-debugsource-2.23-3.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/units-2.23-3.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.gd5zVl + umask 022 + cd /builddir/build/BUILD/units-2.23-build + test -d /builddir/build/BUILD/units-2.23-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/units-2.23-build + rm -rf /builddir/build/BUILD/units-2.23-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: absolute symlink: /usr/share/units/cpi.units -> /var/lib/units/cpi.units Child return code was: 0