Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/libitl.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1671981609.589730/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.twa6nvpg:/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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.twa6nvpg:/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', '1ec2b7ac87ca4cc5bbe3518407c2ec3b', '-D', '/var/lib/mock/fedora-rawhide-s390x-1671981609.589730/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.twa6nvpg:/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 --target s390x --nodeps /builddir/build/SPECS/libitl.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/libitl-0.7.0-24.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/libitl.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1671981609.589730/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.twa6nvpg:/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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.twa6nvpg:/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', 'bdfb981895404a75b74c0bfe42861bd3', '-D', '/var/lib/mock/fedora-rawhide-s390x-1671981609.589730/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.twa6nvpg:/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 --target s390x --nodeps /builddir/build/SPECS/libitl.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1CA5n8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libitl-0.7.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libitl-0.7.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libitl-0.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (libitl-makefile-ld.patch): + echo 'Patch #0 (libitl-makefile-ld.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.in Hunk #1 succeeded at 35 (offset 12 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OmEYy6 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libitl-0.7.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-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/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=s390x-redhat-linux-gnu --host=s390x-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for s390x-redhat-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 ISO C89... none needed checking for ld... /usr/bin/ld 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 stdlib.h... (cached) yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for strcasecmp... yes checking for floor in -lm... yes checking for modf in -lm... yes checking for pow in -lm... yes checking for atan2 in -lm... yes configure: creating ./config.status config.status: creating build/config.mk configure: creating ./config.status config.status: creating build/config.mk config.status: creating Makefile + make -j2 -j1 for i in hijri prayertime; do \ make -C $i clean || exit 1; \ done make[1]: Entering directory '/builddir/build/BUILD/libitl-0.7.0/hijri' ==> Cleaning hijri component files... make[2]: Entering directory '/builddir/build/BUILD/libitl-0.7.0/hijri/src' rm -f *.o *~ demo_hijri rm -f *.lo rm -rf .libs make[2]: Leaving directory '/builddir/build/BUILD/libitl-0.7.0/hijri/src' make[1]: Leaving directory '/builddir/build/BUILD/libitl-0.7.0/hijri' make[1]: Entering directory '/builddir/build/BUILD/libitl-0.7.0/prayertime' ==> Cleaning prayertime component files... make[2]: Entering directory '/builddir/build/BUILD/libitl-0.7.0/prayertime/src' rm -f *.o *~ demo_prayer rm -f *.lo rm -rf .libs make[2]: Leaving directory '/builddir/build/BUILD/libitl-0.7.0/prayertime/src' make[1]: Leaving directory '/builddir/build/BUILD/libitl-0.7.0/prayertime' for i in hijri prayertime; do \ make 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC" -C $i libitl || exit 1; \ done make[1]: Entering directory '/builddir/build/BUILD/libitl-0.7.0/hijri' make[2]: Entering directory '/builddir/build/BUILD/libitl-0.7.0/hijri/src' ==> Building hijri component... 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c hijri.c -o hijri.o hijri.c: In function 'h_date': hijri.c:289:15: warning: implicit declaration of function 'g_absolute'; did you mean 'h_absolute'? [-Wimplicit-function-declaration] 289 | abs_date = g_absolute(day, month, year); | ^~~~~~~~~~ | h_absolute hijri.c:326:27: warning: implicit declaration of function 'g_numdays'; did you mean 'h_numdays'? [-Wimplicit-function-declaration] 326 | cdate->frm_numdays = g_numdays(month, year); | ^~~~~~~~~ | h_numdays hijri.c:283:8: warning: unused variable 'days_before' [-Wunused-variable] 283 | int days_before; | ^~~~~~~~~~~ ==> Building umm_alqura component... 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c umm_alqura.c -o umm_alqura.o umm_alqura.c: In function 'G2H': umm_alqura.c:333:17: warning: implicit declaration of function 'fill_datestruct' [-Wimplicit-function-declaration] 333 | error_fill = fill_datestruct(mydate, mydate->weekday, mg, mydate->month, | ^~~~~~~~~~~~~~~ umm_alqura.c:284:8: warning: variable 'error_fill' set but not used [-Wunused-but-set-variable] 284 | int error_fill; | ^~~~~~~~~~ umm_alqura.c: In function 'H2G': umm_alqura.c:355:8: warning: variable 'error_fill' set but not used [-Wunused-but-set-variable] 355 | int error_fill; | ^~~~~~~~~~ umm_alqura.c: In function 'JDToHACalendar': umm_alqura.c:648:9: warning: unused variable 'J' [-Wunused-variable] 648 | long J; | ^ ==> Building hijri demo... 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC hijri.o umm_alqura.o demo_hijri.c -o demo_hijri -lm demo_hijri.c: In function 'main': demo_hijri.c:97:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 97 | free(mydate.event); | ^~~~ demo_hijri.c:28:1: note: include '' or provide a declaration of 'free' 27 | #include "hijri.h" +++ |+#include 28 | demo_hijri.c:97:4: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 97 | free(mydate.event); | ^~~~ demo_hijri.c:97:4: note: include '' or provide a declaration of 'free' demo_hijri.c:61:8: warning: unused variable 'dd' [-Wunused-variable] 61 | int dd = 11; | ^~ demo_hijri.c:60:8: warning: unused variable 'mm' [-Wunused-variable] 60 | int mm = 11; | ^~ demo_hijri.c:59:8: warning: unused variable 'yy' [-Wunused-variable] 59 | int yy = 1424; | ^~ demo_hijri.c:57:11: warning: unused variable 'weekday' [-Wunused-variable] 57 | int x, weekday; | ^~~~~~~ demo_hijri.c:57:8: warning: variable 'x' set but not used [-Wunused-but-set-variable] 57 | int x, weekday; | ^ demo_hijri.c:56:16: warning: unused variable 'yh' [-Wunused-variable] 56 | int dh, mh, yh; | ^~ demo_hijri.c:56:12: warning: unused variable 'mh' [-Wunused-variable] 56 | int dh, mh, yh; | ^~ demo_hijri.c:56:8: warning: unused variable 'dh' [-Wunused-variable] 56 | int dh, mh, yh; | ^~ demo_hijri.c:55:16: warning: unused variable 'yg' [-Wunused-variable] 55 | int dg, mg, yg; | ^~ demo_hijri.c:55:12: warning: unused variable 'mg' [-Wunused-variable] 55 | int dg, mg, yg; | ^~ demo_hijri.c:55:8: warning: unused variable 'dg' [-Wunused-variable] 55 | int dg, mg, yg; | ^~ ==> Create symbolic links for library generation... test -d ../../build/itl/ \ || mkdir -p ../../build/itl/ \ || exit 1; ln -sf ../../hijri/src/hijri.h ../../build/itl/hijri.h ln -sf ../hijri/src/hijri.o ../../build/hijri.o ln -sf ../hijri/src/umm_alqura.o ../../build/umm_alqura.o make[2]: Leaving directory '/builddir/build/BUILD/libitl-0.7.0/hijri/src' make[1]: Leaving directory '/builddir/build/BUILD/libitl-0.7.0/hijri' make[1]: Entering directory '/builddir/build/BUILD/libitl-0.7.0/prayertime' make[2]: Entering directory '/builddir/build/BUILD/libitl-0.7.0/prayertime/src' 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c astro.c -o astro.o astro.c:214:33: warning: "/*" within comment [-Wcomment] 214 | {56.9, 58.3, 60, 61.6, 63}, /* 1990-1998 */ | astro.c: In function 'getYearFromJulian': astro.c:977:19: warning: unused variable 'year' [-Wunused-variable] 977 | int C, month, year; | ^~~~ astro.c:976:12: warning: variable 'F' set but not used [-Wunused-but-set-variable] 976 | double F, Z, A, B, a, D, E; | ^ astro.c: At top level: astro.c:973:15: warning: 'getYearFromJulian' defined but not used [-Wunused-function] 973 | static double getYearFromJulian(double jd) | ^~~~~~~~~~~~~~~~~ ==> Building libprayer components... 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c prayer.c -o prayer.o prayer.c: In function 'getPrayerTimesByDay': prayer.c:176:52: warning: variable 'exIm' set but not used [-Wunused-but-set-variable] 176 | double exZu=99, exFj=99, exIs=99, exAr=99, exIm=99, exSh=99, exMg=99; | ^~~~ prayer.c:175:38: warning: unused variable 'degnLat' [-Wunused-variable] 175 | double exdecPrev, exdecNext, degnLat; | ^~~~~~~ ==> Building demo... 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC astro.o prayer.o demo_prayer.c -o demo_prayer -lm ==> Create symbolic links for library generation... test -d ../../build/itl/ \ || mkdir -p ../../build/itl/ \ || exit 1; ln -sf ../../prayertime/src/prayer.h ../../build/itl/prayer.h ln -sf ../prayertime/src/prayer.o ../../build/prayer.o ln -sf ../prayertime/src/astro.o ../../build/astro.o make[2]: Leaving directory '/builddir/build/BUILD/libitl-0.7.0/prayertime/src' make[1]: Leaving directory '/builddir/build/BUILD/libitl-0.7.0/prayertime' gcc build/*.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -lm -lc -Wl,-soname,libitl.so.0 -o build/libitl.so.0.0.7 (cd build/ && ln -sf libitl.so.0.0.7 libitl.so.0) (cd build/ && ln -sf libitl.so.0.0.7 libitl.so) for i in hijri prayertime; do \ make -C $i libitl || exit 1; \ done make[1]: Entering directory '/builddir/build/BUILD/libitl-0.7.0/hijri' make[2]: Entering directory '/builddir/build/BUILD/libitl-0.7.0/hijri/src' ==> Create symbolic links for library generation... test -d ../../build/itl/ \ || mkdir -p ../../build/itl/ \ || exit 1; ln -sf ../../hijri/src/hijri.h ../../build/itl/hijri.h ln -sf ../hijri/src/hijri.o ../../build/hijri.o ln -sf ../hijri/src/umm_alqura.o ../../build/umm_alqura.o make[2]: Leaving directory '/builddir/build/BUILD/libitl-0.7.0/hijri/src' make[1]: Leaving directory '/builddir/build/BUILD/libitl-0.7.0/hijri' make[1]: Entering directory '/builddir/build/BUILD/libitl-0.7.0/prayertime' make[2]: Entering directory '/builddir/build/BUILD/libitl-0.7.0/prayertime/src' ==> Create symbolic links for library generation... test -d ../../build/itl/ \ || mkdir -p ../../build/itl/ \ || exit 1; ln -sf ../../prayertime/src/prayer.h ../../build/itl/prayer.h ln -sf ../prayertime/src/prayer.o ../../build/prayer.o ln -sf ../prayertime/src/astro.o ../../build/astro.o make[2]: Leaving directory '/builddir/build/BUILD/libitl-0.7.0/prayertime/src' make[1]: Leaving directory '/builddir/build/BUILD/libitl-0.7.0/prayertime' ar rcs build/libitl.a build/*.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cQaSX7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x ++ dirname /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libitl-0.7.0 + rm -rf /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x + mkdir -p /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x//usr/lib64/ /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x//usr/include/itl + cp build/libitl.so.0.0.7 /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x//usr/lib64/ + ln -s libitl.so.0.0.7 /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x//usr/lib64/libitl.so.0 + ln -s libitl.so.0.0.7 /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x//usr/lib64/libitl.so + cp prayertime/src/prayer.h hijri/src/hijri.h /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x//usr/include/itl/ + find /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x -name '*.la' -exec rm -f '{}' ';' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.7.0-24.fc38 --unique-debug-suffix -0.7.0-24.fc38.s390x --unique-debug-src-base libitl-0.7.0-24.fc38.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libitl-0.7.0 extracting debug info from /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x/usr/lib64/libitl.so.0.0.7 original debug info size: 96kB, size after compression: 96kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 192 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libitl-0.7.0-24.fc38.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2zXdau + umask 022 + cd /builddir/build/BUILD + cd libitl-0.7.0 + DOCDIR=/builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x/usr/share/doc/libitl + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x/usr/share/doc/libitl + cp -pr AUTHORS /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x/usr/share/doc/libitl + cp -pr COPYING /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x/usr/share/doc/libitl + cp -pr README /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x/usr/share/doc/libitl + RPM_EC=0 ++ jobs -p + exit 0 Provides: libitl = 0.7.0-24.fc38 libitl(s390-64) = 0.7.0-24.fc38 libitl.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2)(64bit) libm.so.6(GLIBC_2.29)(64bit) rtld(GNU_HASH) Processing files: libitl-devel-0.7.0-24.fc38.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vDKsNZ + umask 022 + cd /builddir/build/BUILD + cd libitl-0.7.0 + DOCDIR=/builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x/usr/share/doc/libitl-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x/usr/share/doc/libitl-devel + cp -pr prayertime/doc/method-info.txt /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x/usr/share/doc/libitl-devel + cp -pr prayertime/README /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x/usr/share/doc/libitl-devel + cp -pr hijri/README /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x/usr/share/doc/libitl-devel + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/share/doc/libitl-devel/README Provides: libitl-devel = 0.7.0-24.fc38 libitl-devel(s390-64) = 0.7.0-24.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libitl.so.0()(64bit) Processing files: libitl-debugsource-0.7.0-24.fc38.s390x Provides: libitl-debugsource = 0.7.0-24.fc38 libitl-debugsource(s390-64) = 0.7.0-24.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libitl-debuginfo-0.7.0-24.fc38.s390x Provides: debuginfo(build-id) = 231500890c9b5829af2c58c6ae596eb7e6e1ae79 libitl-debuginfo = 0.7.0-24.fc38 libitl-debuginfo(s390-64) = 0.7.0-24.fc38 libitl.so.0.0.7-0.7.0-24.fc38.s390x.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libitl-debugsource(s390-64) = 0.7.0-24.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x Wrote: /builddir/build/RPMS/libitl-debuginfo-0.7.0-24.fc38.s390x.rpm Wrote: /builddir/build/RPMS/libitl-debugsource-0.7.0-24.fc38.s390x.rpm Wrote: /builddir/build/RPMS/libitl-0.7.0-24.fc38.s390x.rpm Wrote: /builddir/build/RPMS/libitl-devel-0.7.0-24.fc38.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IiHyLC + umask 022 + cd /builddir/build/BUILD + cd libitl-0.7.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libitl-0.7.0-24.fc38.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.9keF6X + umask 022 + cd /builddir/build/BUILD + rm -rf libitl-0.7.0 libitl-0.7.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/doc/libitl-devel/README Child return code was: 0