Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/units.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-290421-28148/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=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hu3zxt47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hu3zxt47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '24606a3f3c854e30b0a9502078f4dbea', '-D', '/var/lib/mock/dist-ocs23-base-build-290421-28148/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hu3zxt47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/units-2.22-6.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/units.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-290421-28148/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=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hu3zxt47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hu3zxt47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '007d13fcf7e6476a88f092155033a75e', '-D', '/var/lib/mock/dist-ocs23-base-build-290421-28148/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hu3zxt47:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wUA1Sf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf units-2.22 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/units-2.22.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd units-2.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-units-2.22-no-network.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.Tq4B84 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd units-2.22 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-08-05 06:30:06.000000000 +0800 +++ ./configure 2024-09-27 10:27:48.156220577 +0800 @@ -1791,7 +1791,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-opencloudos-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 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 for gcc option to accept ISO C99... 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 thread-safe mkdir -p... /usr/bin/mkdir -p checking for library containing sin... -lm checking for append_history in -lreadline... yes checking whether rl_completion_suppress_append is declared... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for 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 -j32 V=1 VERBOSE=1 sed -e "s@outfile_name = 'currency.units'@outfile_name='/var/lib/units/currency.units'@"\ -e "s@/usr/bin/python@/usr/bin/python3@" \ ./units_cur > units_cur_inst 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.22\" -DPACKAGE_STRING=\"GNU\ units\ 2.22\" -DPACKAGE_BUGREPORT=\"adrianm@gnu.org\" -DPACKAGE_URL=\"http://www.gnu.org/software/units/\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpic -I. -c getopt.c 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.22\" -DPACKAGE_STRING=\"GNU\ units\ 2.22\" -DPACKAGE_BUGREPORT=\"adrianm@gnu.org\" -DPACKAGE_URL=\"http://www.gnu.org/software/units/\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpic -I. -c getopt1.c 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.22\" -DPACKAGE_STRING=\"GNU\ units\ 2.22\" -DPACKAGE_BUGREPORT=\"adrianm@gnu.org\" -DPACKAGE_URL=\"http://www.gnu.org/software/units/\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpic -I. -c parse.tab.c 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.22\" -DPACKAGE_STRING=\"GNU\ units\ 2.22\" -DPACKAGE_BUGREPORT=\"adrianm@gnu.org\" -DPACKAGE_URL=\"http://www.gnu.org/software/units/\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpic -I. -c units.c units.c: In function 'readunits': units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1648:9: note: in expansion of macro 'readerror' 1648 | readerror(errfile, "%s: %s on line %d of '%s'\n", | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1657:11: note: in expansion of macro 'readerror' 1657 | readerror(errfile, VAGUE_ERR); | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1670:13: note: in expansion of macro 'readerror' 1670 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1674:13: note: in expansion of macro 'readerror' 1674 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1678:13: note: in expansion of macro 'readerror' 1678 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1686:15: note: in expansion of macro 'readerror' 1686 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1698:13: note: in expansion of macro 'readerror' 1698 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1708:13: note: in expansion of macro 'readerror' 1708 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1712:13: note: in expansion of macro 'readerror' 1712 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1724:13: note: in expansion of macro 'readerror' 1724 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1733:13: note: in expansion of macro 'readerror' 1733 | readerror(errfile,"%s: nested utf8 not allowed, line %d of '%s'\n", | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1740:13: note: in expansion of macro 'readerror' 1740 | readerror(errfile,"%s: unmatched !endutf8 on line %d of '%s'\n", | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1770:13: note: in expansion of macro 'readerror' 1770 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1774:13: note: in expansion of macro 'readerror' 1774 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1784:13: note: in expansion of macro 'readerror' 1784 | readerror(errfile,VAGUE_ERR); | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1793:13: note: in expansion of macro 'readerror' 1793 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1802:15: note: in expansion of macro 'readerror' 1802 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1824:15: note: in expansion of macro 'readerror' 1824 | readerror(errfile, "%s: file was included at line %d of file '%s'\n", progname,linenum, file); | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1832:11: note: in expansion of macro 'readerror' 1832 | readerror(errfile,VAGUE_ERR); | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1844:11: note: in expansion of macro 'readerror' 1844 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1852:11: note: in expansion of macro 'readerror' 1852 | readerror(errfile, | ^~~~~~~~~ units.c:807:41: warning: value computed is not used [-Wunused-value] 807 | #define readerror (goterr=1) && errfile && fprintf | ^~ units.c:1858:9: note: in expansion of macro 'readerror' 1858 | readerror(errfile, | ^~~~~~~~~ units.c: In function 'checkcwd': units.c:4148:9: warning: unused variable 'p' [-Wunused-variable] 4148 | char *p; | ^ units.c: In function 'printversion': units.c:4768:9: warning: unused variable 'fp' [-Wunused-variable] 4768 | FILE *fp, *histfile; | ^~ units.c: In function 'showfunction': units.c:2863:21: warning: 'not_dimensionless' may be used uninitialized [-Wmaybe-uninitialized] 2863 | if (func->dimen && (not_dimensionless || unit.factor != 1)){ | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:2828:7: note: 'not_dimensionless' was declared here 2828 | int not_dimensionless, i; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from units.c:45: In function 'printf', inlined from 'checkfunc' at units.c:3698:9: /usr/include/bits/stdio2.h:86:10: warning: 'indent' may be used uninitialized [-Wmaybe-uninitialized] 86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c: In function 'checkfunc': units.c:3655:11: note: 'indent' was declared here 3655 | char *indent; | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpic -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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.KjIQOq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64 + cd units-2.22 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64 'INSTALL=/usr/bin/install -p' /usr/bin/mkdir -p /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/man/man1 /usr/bin/install -p -m 644 units.1 /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/man/man1/`echo units|sed 's&^&&'`.1 /usr/bin/mkdir -p /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/info /usr/bin/install -p -m 644 units.info /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/info if test -f /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/info/dir; then \ if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \ install-info --dir-file=/builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/info/dir \ /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/info/units.info; \ else true; fi \ else true; fi /usr/bin/mkdir -p /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/units/ /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/bin /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/var/lib/units/ /usr/bin/install -p -m 644 ./definitions.units /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/units/definitions.units rm -f /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/units/currency.units /usr/bin/install -p -m 644 ./currency.units /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/var/lib/units/currency.units if [ /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/var/lib/units/ != /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/units/ ];then ln -sf /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/var/lib/units/currency.units /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/units/currency.units;fi /usr/bin/install -p -m 644 ./locale_map.txt /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/units/locale_map.txt if test yes = yes; then \ /usr/bin/install -p units_cur_inst /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/bin/`echo units_cur|sed 's&^&&'`;fi if test no = yes; then make install-mks; fi /usr/bin/mkdir -p /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/bin /usr/bin/install -p units /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/bin/`echo units|sed 's&^&&'` + ln -fsv ../../../var/lib/units/currency.units /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/units '/builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/units/currency.units' -> '../../../var/lib/units/currency.units' + gzip /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/info/units.info + ln -s units.1 /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/man/man1/units_cur.1 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.22-6.ocs23 --unique-debug-suffix -2.22-6.ocs23.x86_64 --unique-debug-src-base units-2.22-6.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/units-2.22 extracting debug info from /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/bin/units 589 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.TAUql9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd units-2.22 + /usr/bin/make -O -j32 V=1 VERBOSE=1 check Checking units Units seems to work + RPM_EC=0 ++ jobs -p + exit 0 Processing files: units-2.22-6.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ns5bIj + umask 022 + cd /builddir/build/BUILD + cd units-2.22 + DOCDIR=/builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/doc/units + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/doc/units + cp -pr NEWS /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/doc/units + cp -pr README /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/doc/units + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.skHhNk + umask 022 + cd /builddir/build/BUILD + cd units-2.22 + LICENSEDIR=/builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/licenses/units + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/licenses/units + cp -pr COPYING /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64/usr/share/licenses/units + RPM_EC=0 ++ jobs -p + exit 0 Provides: units = 2.22-6.ocs23 units(x86-64) = 2.22-6.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.23)(64bit) libm.so.6(GLIBC_2.29)(64bit) libreadline.so.8()(64bit) rtld(GNU_HASH) Processing files: units-debugsource-2.22-6.ocs23.x86_64 Provides: units-debugsource = 2.22-6.ocs23 units-debugsource(x86-64) = 2.22-6.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: units-debuginfo-2.22-6.ocs23.x86_64 Provides: debuginfo(build-id) = ce433d7a399a7796fa73da4620679fde0aec779b units-debuginfo = 2.22-6.ocs23 units-debuginfo(x86-64) = 2.22-6.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: units-debugsource(x86-64) = 2.22-6.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/units-2.22-6.ocs23.x86_64 Wrote: /builddir/build/RPMS/units-debugsource-2.22-6.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/units-debuginfo-2.22-6.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/units-2.22-6.ocs23.x86_64.rpm Child return code was: 0