Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/libcgi.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1671946642.542648/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.tp3hnyb5:/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.tp3hnyb5:/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', '2d4324d051a34f6ba3712b8be26f4164', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1671946642.542648/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tp3hnyb5:/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 ppc64le --nodeps /builddir/build/SPECS/libcgi.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1669593600 Wrote: /builddir/build/SRPMS/libcgi-1.0-35.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/libcgi.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1671946642.542648/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.tp3hnyb5:/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.tp3hnyb5:/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', '6df722f2336942ec82cc3db038273708', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1671946642.542648/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tp3hnyb5:/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 ppc64le --nodeps /builddir/build/SPECS/libcgi.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1669593600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.n91qVD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libcgi-1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libcgi-1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libcgi-1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libcgi-1.0-Makefile.in.patch):' Patch #0 (libcgi-1.0-Makefile.in.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.in + echo 'Patch #1 (libcgi-1.0-cgi.c-hextable.patch):' Patch #1 (libcgi-1.0-cgi.c-hextable.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/cgi.c + echo 'Patch #2 (libcgi-1.0-string.c-make_string.patch):' Patch #2 (libcgi-1.0-string.c-make_string.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/string.c + echo 'Patch #3 (libcgi-configure-c99.patch):' Patch #3 (libcgi-configure-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure + find examples/ -name Makefile.am -delete + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.govjbu + 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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -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 libcgi-1.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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -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=powerpc64le-redhat-linux-gnu --host=powerpc64le-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 creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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) works... yes checking whether the C compiler (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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes updating cache ./config.cache creating ./config.status creating Makefile creating src/config.h src/config.h is unchanged + make SOMAJOR=1 SOMINOR=0 -j5 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/error.sh.o -c src/error.c 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/cgi.sh.o -c src/cgi.c 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/session.sh.o -c src/session.c 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/base64.sh.o -c src/base64.c 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/md5.sh.o -c src/md5.c src/session.c: In function 'cgi_session_start': src/session.c:542:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 542 | fgets(buf, st.st_size+1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/string.sh.o -c src/string.c src/cgi.c: In function 'cgi_escape_special_chars': src/cgi.c:462:16: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 462 | return tmp; | ^~~ src/cgi.c: In function 'cgi_process_form': src/cgi.c:173:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 173 | fread(post_data, content_length, 1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c: In function 'md5': src/md5.c:81:29: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] 81 | MD5Update(&context, str, strlen(str)); | ^~~ | | | const char * src/md5.c:48:65: note: expected 'const unsigned char *' but argument is of type 'const char *' 48 | void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/md5.c: In function 'MD5Final': src/md5.c:251:30: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 251 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ src/md5.c: In function 'MD5Update': src/md5.c:188:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 188 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:188:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:198:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 198 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:198:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c: In function 'MD5Final': src/md5.c:234:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 234 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:234:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:248:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 248 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:248:9: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c: In function 'md5': src/md5.c:89:56: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] 89 | snprintf(buf, sizeof(float), "%02x", md[i]); | ~~^~~ src/md5.c:88:22: note: within this loop 88 | for(i = 0; i < 32; i++) { | ~~^~~~ 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/general.sh.o -c src/general.c src/session.c: In function 'cgi_session_register_var': src/session.c:351:17: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 351 | strncpy(data->name, name, strlen(name)); | ^ src/session.c:351:17: note: length computed here 351 | strncpy(data->name, name, strlen(name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.c:354:17: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 354 | strncpy(data->value, value, strlen(value)); | ^ src/session.c:354:17: note: length computed here 354 | strncpy(data->value, value, strlen(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/list.sh.o -c src/list.c 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/cookie.sh.o -c src/cookie.c 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -o src/error.o -c src/error.c src/md5.c: In function 'MD5Update': src/md5.c:188:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 188 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:188:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:198:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 198 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:198:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -o src/cgi.o -c src/cgi.c src/cookie.c: In function 'cgi_get_cookies': src/cookie.c:131:17: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 131 | strncpy(data->value, cookies, position); | ^ src/cookie.c:117:36: note: length computed here 117 | position = strlen(cookies); | ^~~~~~~~~~~~~~~ src/md5.c:188:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 188 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:188:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:198:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 198 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:198:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -o src/session.o -c src/session.c src/md5.c: In function 'MD5Final': src/md5.c:234:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 234 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:234:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:248:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 248 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:248:9: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:234:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 234 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:234:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:248:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 248 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:248:9: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c: In function 'md5': src/md5.c:90:17: warning: 'strncat' output may be truncated copying 4 bytes from a string of length 31 [-Wstringop-truncation] 90 | strncat(tmp, buf, sizeof(float)); | ^ src/cgi.c: In function 'cgi_escape_special_chars': src/cgi.c:462:16: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 462 | return tmp; | ^~~ src/cgi.c: In function 'cgi_process_form': src/cgi.c:173:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 173 | fread(post_data, content_length, 1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -o src/base64.o -c src/base64.c 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -o src/md5.o -c src/md5.c src/session.c: In function 'cgi_session_start': src/session.c:542:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 542 | fgets(buf, st.st_size+1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -o src/string.o -c src/string.c src/md5.c: In function 'md5': src/md5.c:81:29: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] 81 | MD5Update(&context, str, strlen(str)); | ^~~ | | | const char * src/md5.c:48:65: note: expected 'const unsigned char *' but argument is of type 'const char *' 48 | void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/md5.c: In function 'MD5Final': src/md5.c:251:30: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 251 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ src/md5.c: In function 'MD5Update': src/md5.c:188:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 188 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:188:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:198:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 198 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:198:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c: In function 'MD5Final': src/md5.c:234:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 234 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:234:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:248:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 248 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:248:9: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/session.c: In function 'cgi_session_register_var': src/session.c:351:17: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 351 | strncpy(data->name, name, strlen(name)); | ^ src/session.c:351:17: note: length computed here 351 | strncpy(data->name, name, strlen(name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/session.c:354:17: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 354 | strncpy(data->value, value, strlen(value)); | ^ src/session.c:354:17: note: length computed here 354 | strncpy(data->value, value, strlen(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c: In function 'md5': src/md5.c:89:56: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] 89 | snprintf(buf, sizeof(float), "%02x", md[i]); | ~~^~~ src/md5.c:88:22: note: within this loop 88 | for(i = 0; i < 32; i++) { | ~~^~~~ 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -o src/general.o -c src/general.c 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -o src/list.o -c src/list.c 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -o src/cookie.o -c src/cookie.c gcc -shared -fPIC -Wl,-soname,libcgi.so.1.0 -o src/libcgi.so.1.0 src/error.sh.o src/cgi.sh.o src/session.sh.o src/base64.sh.o src/md5.sh.o src/string.sh.o src/general.sh.o src/list.sh.o src/cookie.sh.o src/md5.c: In function 'MD5Update': src/md5.c:188:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 188 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:188:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:198:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 198 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:198:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:188:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 188 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:188:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:198:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 198 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:198:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/cookie.c: In function 'cgi_get_cookies': src/md5.c: In function 'MD5Final': src/md5.c:234:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 234 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:234:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:248:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 248 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:248:9: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/cookie.c:131:17: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 131 | strncpy(data->value, cookies, position); | ^ src/cookie.c:117:36: note: length computed here 117 | position = strlen(cookies); | ^~~~~~~~~~~~~~~ src/md5.c:234:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 234 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:234:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c:248:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 248 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/md5.c:248:9: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ src/md5.c: In function 'md5': src/md5.c:90:17: warning: 'strncat' output may be truncated copying 4 bytes from a string of length 31 [-Wstringop-truncation] 90 | strncat(tmp, buf, sizeof(float)); | ^ ar rc src/libcgi.a src/error.o src/cgi.o src/session.o src/base64.o src/md5.o src/string.o src/general.o src/list.o src/cookie.o src/md5.c: In function 'MD5Update': src/md5.c:188:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 188 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^ src/md5.c:188:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^ src/md5.c:198:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 198 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^ src/md5.c:198:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^ src/md5.c:188:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 188 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^ src/md5.c:188:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^ src/md5.c:198:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 198 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^ src/md5.c:198:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^ src/md5.c: In function 'MD5Final': src/md5.c:234:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 234 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^ src/md5.c:234:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^ src/md5.c:248:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 248 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^ src/md5.c:248:9: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^ src/md5.c:234:17: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 234 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^ src/md5.c:234:17: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^ src/md5.c:248:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 248 | MD5Transform(ctx->buf, (uint32 *)ctx->in); | ^ src/md5.c:248:9: note: referencing argument 2 of type 'const uint32[16]' src/md5.c:274:1: note: in a call to function 'MD5Transform' 274 | MD5Transform(uint32 buf[4], uint32 const in[16]) | ^ src/md5.c: In function 'md5': src/md5.c:89:56: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] 89 | snprintf(buf, sizeof(float), "%02x", md[i]); | ^ src/md5.c:88:22: note: within this loop 88 | for(i = 0; i < 32; i++) { | ^ +---------------------------------------+ | Thanks for using LibCGI | +---------------------------------------+ | LibCGI is getting better because | | people like you are using it. So, if | | LibCGI is helping you in some way, | | please help us to improve it, sending | | suggestions, bug reports, bug fixes, | | and specially improvment code. | | You can subscribe to the mailing list | | or send a mail to the author. | +---------------------------------------+---------------------------+ | List: http://lists.sourceforge.net/lists/listinfo/libcgi-general | +-------------------------------------------------------------------+ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rjCu2X + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le + 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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -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 libcgi-1.0 + make SOMAJOR=1 SOMINOR=0 DESTDIR=/builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le LIBDIR=/usr/lib64 INCDIR=/usr/include/libcgi install [ -d /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le//usr/lib64 ] || mkdir -p -m 0755 /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le//usr/lib64 cp -p src/libcgi.a /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/lib64 cp -p src/libcgi.so.1.0 /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/lib64 ln -sf libcgi.so.1.0 /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/lib64/libcgi.so.1 ln -sf libcgi.so.1 /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/lib64/libcgi.so [ -d /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le//usr/include/libcgi ] || mkdir -p -m 0755 /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le//usr/include/libcgi cp -p src/cgi.h /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/include/libcgi cp -p src/session.h /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/include/libcgi + make DESTDIR=/builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le install_man [ -d /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le//usr/share/man/man3 ] || mkdir -p -m 0755 /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le//usr/share/man/man3 cp -p doc/man/man3/libcgi_cgi.3 /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/man/man3 cp -p doc/man/man3/libcgi_general.3 /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/man/man3 cp -p doc/man/man3/libcgi_string.3 /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/man/man3 cp -p doc/man/man3/libcgi_session.3 /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/man/man3 cp -p doc/man/man3/libcgi_cookie.3 /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/man/man3 + rm -f /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/lib64/libcgi.a + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 1.0-35.fc38 --unique-debug-suffix -1.0-35.fc38.ppc64le --unique-debug-src-base libcgi-1.0-35.fc38.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libcgi-1.0 extracting debug info from /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/lib64/libcgi.so.1.0 original debug info size: 128kB, size after compression: 128kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 147 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: libcgi-1.0-35.fc38.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bJmvmQ + umask 022 + cd /builddir/build/BUILD + cd libcgi-1.0 + DOCDIR=/builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/doc/libcgi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/doc/libcgi + cp -pr AUTHORS /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/doc/libcgi + cp -pr BUGS /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/doc/libcgi + cp -pr ChangeLog /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/doc/libcgi + cp -pr README /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/doc/libcgi + cp -pr THANKS /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/doc/libcgi + cp -pr TODO /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/doc/libcgi + RPM_EC=0 ++ jobs -p + exit 0 Provides: libcgi = 1.0-35.fc38 libcgi(ppc-64) = 1.0-35.fc38 libcgi.so.1.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.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) rtld(GNU_HASH) Processing files: libcgi-devel-1.0-35.fc38.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EBdLIH + umask 022 + cd /builddir/build/BUILD + cd libcgi-1.0 + DOCDIR=/builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/doc/libcgi-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/doc/libcgi-devel + cp -pr doc/html/ /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/doc/libcgi-devel + cp -pr examples/ /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le/usr/share/doc/libcgi-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: libcgi-devel = 1.0-35.fc38 libcgi-devel(ppc-64) = 1.0-35.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libcgi.so.1.0()(64bit) Processing files: libcgi-debugsource-1.0-35.fc38.ppc64le Provides: libcgi-debugsource = 1.0-35.fc38 libcgi-debugsource(ppc-64) = 1.0-35.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libcgi-debuginfo-1.0-35.fc38.ppc64le Provides: debuginfo(build-id) = be7b7d81c68e9655972c7bfe403e6c40c0a0dae7 libcgi-debuginfo = 1.0-35.fc38 libcgi-debuginfo(ppc-64) = 1.0-35.fc38 libcgi.so.1.0-1.0-35.fc38.ppc64le.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libcgi-debugsource(ppc-64) = 1.0-35.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le Wrote: /builddir/build/RPMS/libcgi-1.0-35.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/libcgi-debugsource-1.0-35.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/libcgi-debuginfo-1.0-35.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/libcgi-devel-1.0-35.fc38.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lPylw1 + umask 022 + cd /builddir/build/BUILD + cd libcgi-1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libcgi-1.0-35.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.CEqcpQ + umask 022 + cd /builddir/build/BUILD + rm -rf libcgi-1.0 libcgi-1.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0