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 aarch64 --nodeps /builddir/build/SPECS/freeze.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-90878-59124/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/freeze.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/freeze-2.5.0-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/freeze.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-90878-59124/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/freeze.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oM26o1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf freeze-2.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/freeze-2.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd freeze-2.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /builddir/build/SOURCES/Freeze_license_email.txt . Patch #0 (freeze-2.5.patch): + echo 'Patch #0 (freeze-2.5.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .Makefile --fuzz=0 patching file Makefile.in Patch #1 (freeze-2.5.0-printf.patch): + echo 'Patch #1 (freeze-2.5.0-printf.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .printf --fuzz=0 patching file freeze.c patching file statist.c Patch #2 (freeze-2.5.0-deffile.patch): + echo 'Patch #2 (freeze-2.5.0-deffile.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .deffile --fuzz=0 patching file freeze.1 patching file README + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bPQRz0 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 freeze-2.5.0 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 + CC='gcc -std=gnu89' + chmod u+x configure + '[' '-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 + mv ./configure.backup ./configure + /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=aarch64-opencloudos-linux-gnu --host=aarch64-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 checking how to run the C preprocessor checking for unaligned access checking integer size checking for 64K segments checking for long file names checking for directory library header checking for dirent.h checking for closedir return value checking for sys/stdtypes.h checking for rindex checking for setlinebuf checking for install checking for freeze to derive installation directory prefix creating config.status creating Makefile creating config.h + /usr/bin/make -O -j8 V=1 VERBOSE=1 '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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Dputc=putc' gcc -std=gnu89 -O -c -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Dputc=putc -DDEFFILE=\"/usr/lib/freeze.cnf\" bitio.c gcc -std=gnu89 -O -c -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Dputc=putc -DDEFFILE=\"/usr/lib/freeze.cnf\" debug.c gcc -std=gnu89 -O -c -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Dputc=putc -DDEFFILE=\"/usr/lib/freeze.cnf\" default.c default.c: In function 'defread': default.c:40:25: warning: type defaults to 'int' in declaration of 'sz_patt' [-Wimplicit-int] 40 | register sz_patt; | ^~~~~~~ default.c:47:19: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 47 | sz_patt = strlen(pattern); | ^~~~~~ default.c:3:1: note: include '' or provide a declaration of 'strlen' 2 | #include +++ |+#include 3 | default.c:47:19: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 47 | sz_patt = strlen(pattern); | ^~~~~~ default.c:47:19: note: include '' or provide a declaration of 'strlen' default.c:55:22: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 55 | if (!strncmp(pattern, defline, sz_patt)) | ^~~~~~~ default.c:55:22: note: include '' or provide a declaration of 'strncmp' default.c:55:48: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 55 | if (!strncmp(pattern, defline, sz_patt)) | ^~~~~~~ : note: built-in 'strncmp' declared here gcc -std=gnu89 -O -c -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Dputc=putc -DDEFFILE=\"/usr/lib/freeze.cnf\" lz.c gcc -std=gnu89 -O -c -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Dputc=putc -DDEFFILE=\"/usr/lib/freeze.cnf\" showhuf.c showhuf.c: In function 'main': showhuf.c:43:13: warning: implicit declaration of function 'read_header'; did you mean 'write_header'? [-Wimplicit-function-declaration] 43 | if (read_header() == EOF) | ^~~~~~~~~~~ | write_header gcc -std=gnu89 -O -c -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Dputc=putc -DDEFFILE=\"/usr/lib/freeze.cnf\" decode.c decode.c: In function 'melt2': decode.c:14:12: warning: implicit declaration of function 'read_header'; did you mean 'write_header'? [-Wimplicit-function-declaration] 14 | if(read_header() == EOF) | ^~~~~~~~~~~ | write_header gcc -std=gnu89 -O -c -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Dputc=putc -DDEFFILE=\"/usr/lib/freeze.cnf\" encode.c gcc -std=gnu89 -O -c -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Dputc=putc -DDEFFILE=\"/usr/lib/freeze.cnf\" freeze.c freeze.c:198:1: warning: return type of 'main' is not 'int' [-Wmain] 198 | main(argc, argv) | ^~~~ freeze.c: In function 'main': freeze.c:214:11: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 214 | char *malloc(); | ^~~~~~ freeze.c:5:1: note: 'malloc' is declared in header '' 4 | #include "patchlev.h" +++ |+#include 5 | freeze.c:263:22: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] 263 | if (argc == 1 && isatty(0)) { | ^~~~~~ freeze.c:265:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 265 | exit(0); | ^~~~ freeze.c:265:7: note: include '' or provide a declaration of 'exit' freeze.c:265:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] freeze.c:265:7: note: include '' or provide a declaration of 'exit' freeze.c:276:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 276 | if (!strcmp(cp, "unfreeze") || !strcmp(cp, "melt")) { | ^~~~~~ freeze.c:5:1: note: include '' or provide a declaration of 'strcmp' 4 | #include "patchlev.h" +++ |+#include 5 | freeze.c:298:12: warning: implicit declaration of function 'defopen'; did you mean 'fopen'? [-Wimplicit-function-declaration] 298 | (void) defopen(deffile); | ^~~~~~~ | fopen freeze.c:385:11: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 385 | exit(1); | ^~~~ freeze.c:385:11: note: include '' or provide a declaration of 'exit' freeze.c:472:31: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 472 | if (strcmp(*fileptr + strlen(*fileptr) - 2, ".F") != 0) { | ^~~~~~ freeze.c:472:31: note: include '' or provide a declaration of 'strlen' freeze.c:472:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] freeze.c:472:31: note: include '' or provide a declaration of 'strlen' freeze.c:474:18: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 474 | (void) strcpy(tempname, *fileptr); | ^~~~~~ freeze.c:474:18: note: include '' or provide a declaration of 'strcpy' freeze.c:474:18: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] freeze.c:474:18: note: include '' or provide a declaration of 'strcpy' freeze.c:475:18: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 475 | (void) strcat(tempname, ".F"); | ^~~~~~ freeze.c:475:18: note: include '' or provide a declaration of 'strcat' freeze.c:475:18: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] freeze.c:475:18: note: include '' or provide a declaration of 'strcat' freeze.c:482:13: warning: implicit declaration of function 'checkstat' [-Wimplicit-function-declaration] 482 | if (checkstat(*fileptr)) | ^~~~~~~~~ freeze.c:520:16: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 520 | (void) strcpy(ofname, *fileptr); | ^~~~~~ freeze.c:520:16: note: include '' or provide a declaration of 'strcpy' freeze.c:535:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 535 | if (strcmp(*fileptr + strlen(*fileptr) - 2, ".F") == 0) { | ^~~~~~ freeze.c:535:31: note: include '' or provide a declaration of 'strlen' freeze.c:558:16: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 558 | (void) strcpy(ofname, *fileptr); | ^~~~~~ freeze.c:558:16: note: include '' or provide a declaration of 'strcpy' freeze.c:599:16: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 599 | (void) strcat(ofname, ".F"); | ^~~~~~ freeze.c:599:16: note: include '' or provide a declaration of 'strcat' freeze.c:610:15: warning: implicit declaration of function 'foreground' [-Wimplicit-function-declaration] 610 | if (foreground()) { | ^~~~~~~~~~ freeze.c:615:20: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 615 | (void) read(2, response, 2); | ^~~~ | fread freeze.c:689:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 689 | exit(1); | ^~~~ freeze.c:689:7: note: include '' or provide a declaration of 'exit' freeze.c:733:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 733 | exit(1); | ^~~~ freeze.c:733:9: note: include '' or provide a declaration of 'exit' freeze.c:746:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 746 | exit(exit_stat); | ^~~~ freeze.c:746:3: note: include '' or provide a declaration of 'exit' freeze.c: In function 'writeerr': freeze.c:804:12: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 804 | (void) unlink(ofname); | ^~~~~~ freeze.c:806:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 806 | exit(1); | ^~~~ freeze.c:806:3: note: include '' or provide a declaration of 'exit' freeze.c: In function 'copystat': freeze.c:859:12: warning: implicit declaration of function 'chown' [-Wimplicit-function-declaration] 859 | (void) chown(ofname, (int) statbuf.st_uid, (int) statbuf.st_gid); | ^~~~~ freeze.c: In function 'onintr': freeze.c:966:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 966 | exit(1); | ^~~~ freeze.c:966:3: note: include '' or provide a declaration of 'exit' freeze.c: In function 'oops': freeze.c:975:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 975 | exit(1); | ^~~~ freeze.c:975:3: note: include '' or provide a declaration of 'exit' freeze.c: In function 'version': freeze.c:1007:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1007 | exit(0); | ^~~~ freeze.c:1007:3: note: include '' or provide a declaration of 'exit' freeze.c: In function 'tune_table': freeze.c:1028:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1028 | exit(1); | ^~~~ freeze.c:1028:7: note: include '' or provide a declaration of 'exit' freeze.c:1034:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1034 | exit(1); | ^~~~ freeze.c:1034:7: note: include '' or provide a declaration of 'exit' freeze.c:1042:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1041 | sscanf(++t, "%d %d %d %d %d %d %d %d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1042 | v, v + 1, v + 2, v + 3, v + 4, v + 5, v + 6, v + 7) != 8 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1043 | sscanf(t, "%d,%d,%d,%d,%d,%d,%d,%d", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1044 | v, v + 1, v + 2, v + 3, v + 4, v + 5, v + 6, v + 7) != 8)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ freeze.c:1047:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1047 | exit(1); | ^~~~ freeze.c:1047:5: note: include '' or provide a declaration of 'exit' gcc -std=gnu89 -O -c -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Dputc=putc -DDEFFILE=\"/usr/lib/freeze.cnf\" statist.c statist.c: In function 'main': statist.c:47:17: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 47 | exit(0); | ^~~~ statist.c:3:1: note: include '' or provide a declaration of 'exit' 2 | #include "lz.h" +++ |+#include 3 | statist.c:47:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 47 | exit(0); | ^~~~ statist.c:47:17: note: include '' or provide a declaration of 'exit' statist.c: In function 'isqrt': statist.c:66:7: warning: unused variable 'digit' [-Wunused-variable] 66 | int digit = 0; | ^~~~~ statist.c: In function 'giveres': statist.c:108:21: warning: implicit declaration of function 'findmin' [-Wimplicit-function-declaration] 108 | j = findmin(i); | ^~~~~~~ statist.c:172:13: warning: value computed is not used [-Wunused-value] 172 | sum || sum++; | ^~ statist.c:179:24: warning: type defaults to 'int' in declaration of 'pcs' [-Wimplicit-int] 179 | static pcs[] = { 999, 995, 990, 970, 950, 900, 800, 700, 500 }; | ^~~ gcc -std=gnu89 -O -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o showhuf showhuf.o gcc -std=gnu89 -O -c -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Dputc=putc -DDEFFILE=\"/usr/lib/freeze.cnf\" huf.c huf.c: In function 'DecodePosition': huf.c:283:25: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 283 | register i, j; | ^ huf.c:283:28: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] 283 | register i, j; | ^ huf.c:292:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 292 | j = (code[i] << 7) | (i << d_len[i]) & 0x7F; | ~~~~~~~~~~~~~~~~^~~~~~ huf.c: In function 'init': huf.c:343:17: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 343 | exit(1); | ^~~~ huf.c:4:1: note: include '' or provide a declaration of 'exit' 3 | #include "bitio.h" +++ |+#include 4 | huf.c:343:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 343 | exit(1); | ^~~~ huf.c:343:17: note: include '' or provide a declaration of 'exit' gcc -std=gnu89 -O -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o statist statist.o lz.o gcc -std=gnu89 -O -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o freeze bitio.o debug.o decode.o default.o encode.o freeze.o huf.o lz.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.h64VqG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64 + cd freeze-2.5.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64 'INSTALL=/usr/bin/install -p' DEST=/builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin MANDEST=/builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1/ 'INSTALL_PROGRAM=install -D -p -m 0755' 'INSTALL_DATA=install -D -p -m 0644' install -D -p -m 0755 freeze /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin/freeze ln -fs /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin/freeze /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin/melt ln -fs /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin/freeze /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin/unfreeze ln -fs /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin/freeze /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin/fcat install -D -p -m 0755 statist /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin/statist install -D -p -m 0644 ./freeze.1 /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1//freeze.1 ln -fs /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1//freeze.1 /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1//melt.1 ln -fs /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1//freeze.1 /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1//unfreeze.1 ln -fs /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1//freeze.1 /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1//fcat.1 install -D -p -m 0644 ./statist.1 /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1//statist.1 + for bin in fcat melt unfreeze + ln -fs freeze /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin/fcat + rm -f /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1/fcat.1 + ln -fs freeze.1.gz /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1/fcat.1.gz + for bin in fcat melt unfreeze + ln -fs freeze /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin/melt + rm -f /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1/melt.1 + ln -fs freeze.1.gz /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1/melt.1.gz + for bin in fcat melt unfreeze + ln -fs freeze /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin/unfreeze + rm -f /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1/unfreeze.1 + ln -fs freeze.1.gz /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/man/man1/unfreeze.1.gz + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.5.0-1.oc9 --unique-debug-suffix -2.5.0-1.oc9.aarch64 --unique-debug-src-base freeze-2.5.0-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/freeze-2.5.0 extracting debug info from /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin/freeze extracting debug info from /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/bin/statist 129 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 Processing files: freeze-2.5.0-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KAdfvL + umask 022 + cd /builddir/build/BUILD + cd freeze-2.5.0 + DOCDIR=/builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/doc/freeze + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/doc/freeze + cp -pr MANIFEST /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/doc/freeze + cp -pr README /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/doc/freeze + cp -pr Freeze_license_email.txt /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64/usr/share/doc/freeze + RPM_EC=0 ++ jobs -p + exit 0 Provides: freeze = 2.5.0-1.oc9 freeze(aarch-64) = 2.5.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: freeze-debugsource-2.5.0-1.oc9.aarch64 Provides: freeze-debugsource = 2.5.0-1.oc9 freeze-debugsource(aarch-64) = 2.5.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: freeze-debuginfo-2.5.0-1.oc9.aarch64 Provides: debuginfo(build-id) = 065cdc71a77caf7b47a8df66492a676a42d1adc2 debuginfo(build-id) = 54d04a79bd63dc715dfef326577315fd9ce43115 freeze-debuginfo = 2.5.0-1.oc9 freeze-debuginfo(aarch-64) = 2.5.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: freeze-debugsource(aarch-64) = 2.5.0-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/freeze-2.5.0-1.oc9.aarch64 Wrote: /builddir/build/RPMS/freeze-debugsource-2.5.0-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/freeze-debuginfo-2.5.0-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/freeze-2.5.0-1.oc9.aarch64.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0