Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libcgi.spec'], chrootPath='/var/lib/mock/f31-build-93796-32424/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/libcgi-1.0-28.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcgi.spec'], chrootPath='/var/lib/mock/f31-build-93796-32424/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ld23bO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libcgi-1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/libcgi-1.0.tar.gz + /usr/bin/tar -xof - + 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):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (libcgi-1.0-cgi.c-hextable.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (libcgi-1.0-string.c-make_string.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + find examples/ -name Makefile.am -delete + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (libcgi-1.0-Makefile.in.patch): patching file Makefile.in Patch #1 (libcgi-1.0-cgi.c-hextable.patch): patching file src/cgi.c Patch #2 (libcgi-1.0-string.c-make_string.patch): patching file src/string.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9D5iPQ + umask 022 + cd /builddir/build/BUILD + cd libcgi-1.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 + make SOMAJOR=1 SOMINOR=0 -j4 BUILDSTDERR: src/cgi.c: In function 'cgi_escape_special_chars': BUILDSTDERR: src/cgi.c:462:9: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 462 | return tmp; BUILDSTDERR: | ^~~ BUILDSTDERR: src/cgi.c: In function 'cgi_process_form': BUILDSTDERR: src/cgi.c:173:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 173 | fread(post_data, content_length, 1, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/session.c: In function 'cgi_session_start': BUILDSTDERR: src/session.c:542:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 542 | fgets(buf, st.st_size+1, fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/md5.c: In function 'md5': BUILDSTDERR: src/md5.c:81:22: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] BUILDSTDERR: 81 | MD5Update(&context, str, strlen(str)); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const char * BUILDSTDERR: src/md5.c:48:65: note: expected 'const unsigned char *' but argument is of type 'const char *' BUILDSTDERR: 48 | void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: src/md5.c: In function 'MD5Final': BUILDSTDERR: src/md5.c:251:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] BUILDSTDERR: 251 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ BUILDSTDERR: | ^ BUILDSTDERR: src/md5.c: In function 'md5': BUILDSTDERR: src/md5.c:89:42: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] BUILDSTDERR: 89 | snprintf(buf, sizeof(float), "%02x", md[i]); BUILDSTDERR: | ~~^~~ BUILDSTDERR: src/md5.c:88:2: note: within this loop BUILDSTDERR: 88 | for(i = 0; i < 32; i++) { BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/session.c:60: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'cgi_session_register_var' at src/session.c:351:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/session.c: In function 'cgi_session_register_var': BUILDSTDERR: src/session.c:351:3: note: length computed here BUILDSTDERR: 351 | strncpy(data->name, name, strlen(name)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/session.c:60: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'cgi_session_register_var' at src/session.c:354:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/session.c: In function 'cgi_session_register_var': BUILDSTDERR: src/session.c:354:3: note: length computed here BUILDSTDERR: 354 | strncpy(data->value, value, strlen(value)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/md5.c:24: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'md5' at src/md5.c:90:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output may be truncated copying 4 bytes from a string of length 31 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) 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 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/error.sh.o -c src/error.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/cgi.sh.o -c src/cgi.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/session.sh.o -c src/session.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/base64.sh.o -c src/base64.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/md5.sh.o -c src/md5.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/string.sh.o -c src/string.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/general.sh.o -c src/general.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/list.sh.o -c src/list.c BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SIn file included from /usr/include/string.h:494, BUILDSTDERR: from src/cookie.c:24: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'cgi_get_cookies' at src/cookie.c:131:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/cookie.c: In function 'cgi_get_cookies': BUILDSTDERR: src/cookie.c:117:15: note: length computed here BUILDSTDERR: 117 | position = strlen(cookies); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: src/cgi.c: In function 'cgi_escape_special_chars': BUILDSTDERR: src/cgi.c:462:9: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 462 | return tmp; BUILDSTDERR: | ^~~ BUILDSTDERR: src/cgi.c: In function 'cgi_process_form': BUILDSTDERR: src/cgi.c:173:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 173 | fread(post_data, content_length, 1, stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/md5.c: In function 'md5': BUILDSTDERR: src/md5.c:81:22: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] BUILDSTDERR: 81 | MD5Update(&context, str, strlen(str)); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const char * BUILDSTDERR: src/md5.c:48:65: note: expected 'const unsigned char *' but argument is of type 'const char *' BUILDSTDERR: 48 | void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: src/md5.c: In function 'MD5Final': BUILDSTDERR: src/md5.c:251:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] BUILDSTDERR: 251 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ BUILDSTDERR: | ^ BUILDSTDERR: src/session.c: In function 'cgi_session_start': BUILDSTDERR: src/session.c:542:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 542 | fgets(buf, st.st_size+1, fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/md5.c: In function 'md5': BUILDSTDERR: src/md5.c:89:42: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] BUILDSTDERR: 89 | snprintf(buf, sizeof(float), "%02x", md[i]); BUILDSTDERR: | ~~^~~ BUILDSTDERR: src/md5.c:88:2: note: within this loop BUILDSTDERR: 88 | for(i = 0; i < 32; i++) { BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/session.c:60: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'cgi_session_register_var' at src/session.c:351:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/session.c: In function 'cgi_session_register_var': BUILDSTDERR: src/session.c:351:3: note: length computed here BUILDSTDERR: 351 | strncpy(data->name, name, strlen(name)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/session.c:60: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'cgi_session_register_var' at src/session.c:354:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/session.c: In function 'cgi_session_register_var': BUILDSTDERR: src/session.c:354:3: note: length computed here BUILDSTDERR: 354 | strncpy(data->value, value, strlen(value)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/md5.c:24: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'md5' at src/md5.c:90:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output may be truncated copying 4 bytes from a string of length 31 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/cookie.c:24: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'cgi_get_cookies' at src/cookie.c:131:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/cookie.c: In function 'cgi_get_cookies': BUILDSTDERR: src/cookie.c:117:15: note: length computed here BUILDSTDERR: 117 | position = strlen(cookies); BUILDSTDERR: | ^~~~~~~~~~~~~~~ OURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o src/cookie.sh.o -c src/cookie.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o src/error.o -c src/error.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o src/cgi.o -c src/cgi.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o src/session.o -c src/session.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o src/base64.o -c src/base64.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o src/md5.o -c src/md5.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o src/string.o -c src/string.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o src/general.o -c src/general.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o src/list.o -c src/list.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o src/cookie.o -c src/cookie.c cc -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 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 +---------------------------------------+ | 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. | BUILDSTDERR: +----------------+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 -----------------------+---------------------------+ | List: http://lists.sourceforge.net/lists/listinfo/libcgi-general | +-------------------------------------------------------------------+ Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1KrAjN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64 + cd libcgi-1.0 + make SOMAJOR=1 SOMINOR=0 DESTDIR=/builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64 LIBDIR=/usr/lib64 INCDIR=/usr/include/libcgi install + make DESTDIR=/builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64 install_man + rm -f /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/lib64/libcgi.a + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0-28.fc31 --unique-debug-suffix -1.0-28.fc31.riscv64 --unique-debug-src-base libcgi-1.0-28.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libcgi-1.0 BUILDSTDERR: 147 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs [ -d /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64//usr/lib64 ] || mkdir -p -m 0755 /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64//usr/lib64 cp -p src/libcgi.a /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/lib64 cp -p src/libcgi.so.1.0 /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/lib64 ln -sf libcgi.so.1.0 /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/lib64/libcgi.so.1 ln -sf libcgi.so.1 /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/lib64/libcgi.so [ -d /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64//usr/include/libcgi ] || mkdir -p -m 0755 /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64//usr/include/libcgi cp -p src/cgi.h /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/include/libcgi cp -p src/session.h /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/include/libcgi [ -d /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64//usr/share/man/man3 ] || mkdir -p -m 0755 /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64//usr/share/man/man3 cp -p doc/man/man3/libcgi_cgi.3 /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/man/man3 cp -p doc/man/man3/libcgi_general.3 /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/man/man3 cp -p doc/man/man3/libcgi_string.3 /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/man/man3 cp -p doc/man/man3/libcgi_session.3 /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/man/man3 cp -p doc/man/man3/libcgi_cookie.3 /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/man/man3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/lib64/libcgi.so.1.0 extracting debug info from /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/lib64/libcgi.so.1.0 original debug info size: 140kB, size after compression: 128kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: libcgi-1.0-28.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nBDjGM + umask 022 + cd /builddir/build/BUILD + cd libcgi-1.0 + DOCDIR=/builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/doc/libcgi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/doc/libcgi + cp -pr AUTHORS /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/doc/libcgi + cp -pr BUGS /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/doc/libcgi + cp -pr ChangeLog /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/doc/libcgi + cp -pr README /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/doc/libcgi + cp -pr THANKS /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/doc/libcgi + cp -pr TODO /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/doc/libcgi + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: libcgi = 1.0-28.fc31 libcgi(riscv-64) = 1.0-28.fc31 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: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libcgi-devel-1.0-28.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.At7JDP + umask 022 + cd /builddir/build/BUILD + cd libcgi-1.0 + DOCDIR=/builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/doc/libcgi-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/doc/libcgi-devel + cp -pr doc/html/ /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/doc/libcgi-devel + cp -pr examples/ /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64/usr/share/doc/libcgi-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: libcgi-devel = 1.0-28.fc31 libcgi-devel(riscv-64) = 1.0-28.fc31 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-28.fc31.riscv64 Provides: libcgi-debugsource = 1.0-28.fc31 libcgi-debugsource(riscv-64) = 1.0-28.fc31 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-28.fc31.riscv64 Provides: debuginfo(build-id) = e4c9da0ca04235013f21f1d24ab3fa15d87fafa0 libcgi-debuginfo = 1.0-28.fc31 libcgi-debuginfo(riscv-64) = 1.0-28.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libcgi-debugsource(riscv-64) = 1.0-28.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64 Wrote: /builddir/build/RPMS/libcgi-1.0-28.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libcgi-debugsource-1.0-28.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libcgi-debuginfo-1.0-28.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libcgi-devel-1.0-28.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tLfA3O + umask 022 + cd /builddir/build/BUILD + cd libcgi-1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libcgi-1.0-28.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0