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/compface.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-90636-59086/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/compface.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 (5 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/compface-1.5.2-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (5 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 /builddir/build/SPECS/compface.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-90636-59086/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 /builddir/build/SPECS/compface.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 (5 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.maUvd1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf compface-1.5.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/compface-1.5.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd compface-1.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (libcompface_1.5.2-4.diff.gz): + echo 'Patch #0 (libcompface_1.5.2-4.diff.gz):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libcompface_1.5.2-4.diff.gz patching file compface.1 patching file compface.3 patching file compface.c patching file compface.h patching file file.c patching file debian/README.debian patching file debian/changelog patching file debian/copyright patching file debian/dirs patching file debian/control patching file debian/rules patching file debian/control.common patching file debian/libcompface1.files patching file debian/libcompfaceg1.files patching file debian/compface.files patching file debian/p patching file debian/shlibs.local patching file debian/libcompface1-altdev.files patching file debian/libcompface1.shlibs patching file debian/libcompfaceg1.shlibs patching file debian/libcompface1.postinst patching file debian/control.old patching file debian/control.libc5 patching file debian/libcompfaceg1.postinst patching file debian/changelog.old patching file debian/semantic.cache patching file debian/libcompfaceg1-dev.files patching file debian/compat patching file Makefile patching file t2.xbm patching file t.xbm patching file semantic.cache patching file t2.pbm patching file t.pbm Patch #1 (compface-1.5.2-stack-smashing.patch): + echo 'Patch #1 (compface-1.5.2-stack-smashing.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .stack-smashing --fuzz=0 patching file file.c Patch #2 (compface-1.5.2-build.patch): + echo 'Patch #2 (compface-1.5.2-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile.in Patch #3 (compface-configure-c99.patch): + echo 'Patch #3 (compface-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure Patch #4 (compface-c99.patch): + echo 'Patch #4 (compface-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cmain.c patching file uncmain.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sxrWyA + 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 compface-1.5.2 + 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 -fPIC' + '[' '-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 --- ./configure.backup 2024-08-05 10:58:20.108368816 +0800 +++ ./configure 2024-08-05 10:58:20.212368796 +0800 @@ -3130,7 +3130,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /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 whether make sets $(MAKE)... yes checking for aarch64-opencloudos-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for aarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking how to run the C preprocessor... gcc -E checking for egrep... 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 errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for strings.h... (cached) yes checking for strerror... yes configure: creating ./config.status config.status: creating Makefile + make -j8 gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRERROR=1 -DHAVE_CONFIG_H -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 -fPIC cmain.c gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRERROR=1 -DHAVE_CONFIG_H -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 -fPIC compface.c gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRERROR=1 -DHAVE_CONFIG_H -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 -fPIC arith.c gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRERROR=1 -DHAVE_CONFIG_H -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 -fPIC file.c gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRERROR=1 -DHAVE_CONFIG_H -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 -fPIC compress.c gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRERROR=1 -DHAVE_CONFIG_H -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 -fPIC gen.c cmain.c: In function 'ReadBuf': cmain.c:157:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 157 | while (len = read(infile, t, FACEBUFLEN - count)) | ^~~ cmain.c: In function 'main': cmain.c:58:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmain.c:80:7: note: in expansion of macro 'ERROR' 80 | ERROR | ^~~~~ cmain.c:58:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmain.c:91:11: note: in expansion of macro 'ERROR' 91 | ERROR | ^~~~~ cmain.c:58:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmain.c:103:11: note: in expansion of macro 'ERROR' 103 | ERROR | ^~~~~ cmain.c:58:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmain.c:111:17: note: in expansion of macro 'ERROR' 111 | ERROR | ^~~~~ cmain.c:58:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmain.c:114:17: note: in expansion of macro 'ERROR' 114 | ERROR | ^~~~~ cmain.c:63:47: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | #define WARN {(void)strcat(fbuf, "\n"); (void)write(2, fbuf, strlen(fbuf));} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmain.c:117:17: note: in expansion of macro 'WARN' 117 | WARN | ^~~~ gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRERROR=1 -DHAVE_CONFIG_H -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 -fPIC uncompface.c cmain.c: In function 'WriteBuf': cmain.c:58:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmain.c:141:25: note: in expansion of macro 'ERROR' 141 | ERROR | ^~~~~ cmain.c: In function 'ReadBuf': cmain.c:58:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmain.c:164:25: note: in expansion of macro 'ERROR' 164 | ERROR | ^~~~~ cmain.c:63:47: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | #define WARN {(void)strcat(fbuf, "\n"); (void)write(2, fbuf, strlen(fbuf));} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmain.c:171:25: note: in expansion of macro 'WARN' 171 | WARN | ^~~~ gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRERROR=1 -DHAVE_CONFIG_H -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 -fPIC uncmain.c uncmain.c: In function 'ReadBuf': uncmain.c:160:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 160 | while (len = read(infile, t, FACEBUFLEN - count)) | ^~~ uncmain.c: In function 'main': uncmain.c:54:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ uncmain.c:83:7: note: in expansion of macro 'ERROR' 83 | ERROR | ^~~~~ uncmain.c:54:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ uncmain.c:94:11: note: in expansion of macro 'ERROR' 94 | ERROR | ^~~~~ uncmain.c:54:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ uncmain.c:106:11: note: in expansion of macro 'ERROR' 106 | ERROR | ^~~~~ uncmain.c:54:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ uncmain.c:114:17: note: in expansion of macro 'ERROR' 114 | ERROR | ^~~~~ uncmain.c:54:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ uncmain.c:117:17: note: in expansion of macro 'ERROR' 117 | ERROR | ^~~~~ uncmain.c:59:47: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | #define WARN {(void)strcat(fbuf, "\n"); (void)write(2, fbuf, strlen(fbuf));} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ uncmain.c:120:17: note: in expansion of macro 'WARN' 120 | WARN | ^~~~ uncmain.c: In function 'WriteBuf': uncmain.c:54:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ uncmain.c:144:25: note: in expansion of macro 'ERROR' 144 | ERROR | ^~~~~ uncmain.c: In function 'ReadBuf': uncmain.c:54:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | (void)write(2, fbuf, strlen(fbuf)); exit(1);} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ uncmain.c:167:25: note: in expansion of macro 'ERROR' 167 | ERROR | ^~~~~ uncmain.c:59:47: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | #define WARN {(void)strcat(fbuf, "\n"); (void)write(2, fbuf, strlen(fbuf));} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ uncmain.c:174:25: note: in expansion of macro 'WARN' 174 | WARN | ^~~~ gcc -shared -Wl,-soname,libcompface.so.1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libcompface.so arith.o file.o compress.o gen.o uncompface.o gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o compface cmain.o compface.o -L. -lcompface gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o uncompface uncmain.o -L. -lcompface + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NBELPL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64 + cd compface-1.5.2 + make install DESTDIR=/builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64 STRIP=/bin/true /usr/bin/install -c -d /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/bin /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/lib64 /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/share/man/man1 /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/share/man/man3 /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/include /usr/bin/install -c ./compface /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/bin/compface /bin/true /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/bin/compface /usr/bin/install -c ./uncompface /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/bin/uncompface /bin/true /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/bin/uncompface /usr/bin/install -c -m 644 ./compface.1 /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/share/man/man1/compface.1 cd /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/share/man/man1 && rm -f ./uncompface.1 && ln -s compface.1 uncompface.1 /usr/bin/install -c -m 644 ./compface.3 /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/share/man/man3/compface.3 cd /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/share/man/man3 && rm -f ./uncompface.3 && ln -s compface.3 uncompface.3 for hdr in compface.h; do /usr/bin/install -c -m 644 ./${hdr} /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/include/${hdr}; done /usr/bin/install -c ./libcompface.so /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/lib64/libcompface.so.1.0.0 ln -s libcompface.so.1.0.0 /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/lib64/libcompface.so.1 ln -s libcompface.so.1 /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/lib64/libcompface.so + mkdir -p _extdoc + install -p -m 0644 /builddir/build/SOURCES/compface-README.copyright _extdoc/README.copyright + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.5.2-1.oc9 --unique-debug-suffix -1.5.2-1.oc9.aarch64 --unique-debug-src-base compface-1.5.2-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/compface-1.5.2 extracting debug info from /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/bin/uncompface extracting debug info from /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/bin/compface extracting debug info from /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/lib64/libcompface.so.1.0.0 58 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.50qwwX + 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 compface-1.5.2 + export LD_LIBRARY_PATH=/builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/lib64: + LD_LIBRARY_PATH=/builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/lib64: + ./uncompface -X + ./compface /builddir/build/SOURCES/compface-test.xbm + cmp /builddir/build/SOURCES/compface-test.xbm __test.xbm + RPM_EC=0 ++ jobs -p + exit 0 Processing files: compface-1.5.2-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4q6wxq + umask 022 + cd /builddir/build/BUILD + cd compface-1.5.2 + DOCDIR=/builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/share/doc/compface + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/share/doc/compface + cp -pr ChangeLog /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/share/doc/compface + cp -pr README /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/share/doc/compface + cp -pr xbm2xface.pl /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/share/doc/compface + cp -pr _extdoc/README.copyright /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64/usr/share/doc/compface + RPM_EC=0 ++ jobs -p + exit 0 Provides: compface = 1.5.2-1.oc9 compface(aarch-64) = 1.5.2-1.oc9 libcompface.so.1()(64bit) 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.34)(64bit) libcompface.so.1()(64bit) rtld(GNU_HASH) Processing files: compface-devel-1.5.2-1.oc9.aarch64 Provides: compface-devel = 1.5.2-1.oc9 compface-devel(aarch-64) = 1.5.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libcompface.so.1()(64bit) Processing files: compface-debugsource-1.5.2-1.oc9.aarch64 Provides: compface-debugsource = 1.5.2-1.oc9 compface-debugsource(aarch-64) = 1.5.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: compface-debuginfo-1.5.2-1.oc9.aarch64 Provides: compface-debuginfo = 1.5.2-1.oc9 compface-debuginfo(aarch-64) = 1.5.2-1.oc9 debuginfo(build-id) = a421369d0c547ac40b03cd091bbff295e5dfbd2e debuginfo(build-id) = a9ee4626a6e305080d52d99e3dd643128acfb1b6 debuginfo(build-id) = ed4fe71053239ae3d479e236be1fee90d98a0dce libcompface.so.1.0.0-1.5.2-1.oc9.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: compface-debugsource(aarch-64) = 1.5.2-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/compface-1.5.2-1.oc9.aarch64 Wrote: /builddir/build/RPMS/compface-debugsource-1.5.2-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/compface-devel-1.5.2-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/compface-debuginfo-1.5.2-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/compface-1.5.2-1.oc9.aarch64.rpm RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Child return code was: 0