Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/htppu.spec'], chrootPath='/var/lib/mock/f33-build-603396-67246/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/htppu.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=1615248000 Wrote: /builddir/build/SRPMS/htppu-1.8-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/htppu.spec'], chrootPath='/var/lib/mock/f33-build-603396-67246/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/htppu.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=1615248000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lErflm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf htppu-1.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/htppu-1.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd htppu-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -type f -exec chmod a-x '{}' ';' + /usr/bin/cat /builddir/build/SOURCES/htppu-1.8-install-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bD4Gun + umask 022 + cd /builddir/build/BUILD + cd htppu-1.8 + /usr/bin/make -O -j4 V=1 VERBOSE=1 'COPTS=-DWANT_LOG -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 -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' gcc -O2 -Wall -DWANT_LOG -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 -fasynchronous-unwind-tables -fstack-clash-protection -DOWNER=\"daemon\" -DCONF_DIR=\"/usr/local/etc/htppu\" -DDATA_DIR=\"/usr/local/var/lib/htppu\" -c convert.c gcc -O2 -Wall -DWANT_LOG -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 -fasynchronous-unwind-tables -fstack-clash-protection -DOWNER=\"daemon\" -DCONF_DIR=\"/usr/local/etc/htppu\" -DDATA_DIR=\"/usr/local/var/lib/htppu\" -c host.c In file included from host.c:23: log.h:40:12: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 40 | extern int log(int level, const char *fmt, ...); | ^~~ log.h:1:1: note: 'log' is declared in header '' +++ |+#include 1 | host.c: In function 'h_away_command': host.c:32:6: warning: variable 'channel' set but not used [-Wunused-but-set-variable] 32 | int channel; | ^~~~~~~ host.c: In function 'h_link_command': host.c:422:36: warning: '%s' directive writing up to 63 bytes into a region of size between 28 and 91 [-Wformat-overflow=] 422 | sprintf(buffer, "/\377\200LINK %s %s\n", fromname, host); | ^~ In file included from /usr/include/stdio.h:866, from host.c:9: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 11 and 137 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -DWANT_LOG -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 -fasynchronous-unwind-tables -fstack-clash-protection -DOWNER=\"daemon\" -DCONF_DIR=\"/usr/local/etc/htppu\" -DDATA_DIR=\"/usr/local/var/lib/htppu\" -c config.c In file included from config.c:10: log.h:40:12: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 40 | extern int log(int level, const char *fmt, ...); | ^~~ log.h:1:1: note: 'log' is declared in header '' +++ |+#include 1 | gcc -O2 -Wall -DWANT_LOG -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 -fasynchronous-unwind-tables -fstack-clash-protection -DOWNER=\"daemon\" -DCONF_DIR=\"/usr/local/etc/htppu\" -DDATA_DIR=\"/usr/local/var/lib/htppu\" -c log.c In file included from log.c:14: log.h:40:12: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 40 | extern int log(int level, const char *fmt, ...); | ^~~ log.h:1:1: note: 'log' is declared in header '' +++ |+#include 1 | gcc -O2 -Wall -DWANT_LOG -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 -fasynchronous-unwind-tables -fstack-clash-protection -DOWNER=\"daemon\" -DCONF_DIR=\"/usr/local/etc/htppu\" -DDATA_DIR=\"/usr/local/var/lib/htppu\" -c tnos.c In file included from tnos.c:21: log.h:40:12: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 40 | extern int log(int level, const char *fmt, ...); | ^~~ log.h:1:1: note: 'log' is declared in header '' +++ |+#include 1 | tnos.c: In function 'tnoshelp_command': tnos.c:179:8: warning: variable 'cptr' set but not used [-Wunused-but-set-variable] 179 | char *cptr; | ^~~~ tnos.c: In function 'h_uadd_command': tnos.c:462:40: warning: variable 'channel' set but not used [-Wunused-but-set-variable] 462 | char *name, *host, *data, *nickname, *channel; | ^~~~~~~ tnos.c: In function 'wx_command': tnos.c:487:8: warning: variable 'cptr' set but not used [-Wunused-but-set-variable] 487 | char *cptr; | ^~~~ tnos.c: In function 'smiley_command': tnos.c:111:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 111 | fgets (&buff[12], 188, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tnos.c: In function 'spam_command': tnos.c:133:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 133 | fgets (&buff[12], 188, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tnos.c: In function 'DisplayFile': tnos.c:164:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 164 | fgets(buffer + 2, 2045, fdi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tnos.c: In function 'nickname_command': tnos.c:411:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 411 | write(unf, new, strlen(new)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from tnos.c:13: In function 'strncpy', inlined from 'cmdsummary_command' at tnos.c:276:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tnos.c: In function 'cmdsummary_command': tnos.c:276:3: note: length computed here 276 | strncpy(&buf[i * width], cmdp->name, strlen(cmdp->name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from tnos.c:13: In function 'strncpy', inlined from 'cmdsummary_command' at tnos.c:295:4: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tnos.c: In function 'cmdsummary_command': tnos.c:295:4: note: length computed here 295 | strncpy(&buf[i * width], ecmdp->name, strlen(ecmdp->name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -DWANT_LOG -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 -fasynchronous-unwind-tables -fstack-clash-protection -DOWNER=\"daemon\" -DCONF_DIR=\"/usr/local/etc/htppu\" -DDATA_DIR=\"/usr/local/var/lib/htppu\" -c cfgfile.c In file included from cfgfile.c:15: log.h:40:12: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 40 | extern int log(int level, const char *fmt, ...); | ^~~ log.h:1:1: note: 'log' is declared in header '' +++ |+#include 1 | In file included from /usr/include/string.h:519, from cfgfile.c:11: In function 'strncat', inlined from 'argstr' at cfgfile.c:184:3: /usr/include/bits/string_fortified.h:122:10: warning: '__strncat_chk' specified bound 1024 equals destination size [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:122:10: warning: '__strncat_chk' specified bound 1024 equals destination size [-Wstringop-overflow=] gcc -O2 -Wall -DWANT_LOG -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 -fasynchronous-unwind-tables -fstack-clash-protection -DOWNER=\"daemon\" -DCONF_DIR=\"/usr/local/etc/htppu\" -DDATA_DIR=\"/usr/local/var/lib/htppu\" -c access.c In file included from access.c:18: log.h:40:12: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 40 | extern int log(int level, const char *fmt, ...); | ^~~ log.h:1:1: note: 'log' is declared in header '' +++ |+#include 1 | gcc -O2 -Wall -DWANT_LOG -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 -fasynchronous-unwind-tables -fstack-clash-protection -DOWNER=\"daemon\" -DCONF_DIR=\"/usr/local/etc/htppu\" -DDATA_DIR=\"/usr/local/var/lib/htppu\" -c hmalloc.c In file included from hmalloc.c:13: log.h:40:12: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 40 | extern int log(int level, const char *fmt, ...); | ^~~ log.h:1:1: note: 'log' is declared in header '' +++ |+#include 1 | gcc -O2 -Wall -DWANT_LOG -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 -fasynchronous-unwind-tables -fstack-clash-protection -DOWNER=\"daemon\" -DCONF_DIR=\"/usr/local/etc/htppu\" -DDATA_DIR=\"/usr/local/var/lib/htppu\" -c user.c In file included from user.c:28: log.h:40:12: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 40 | extern int log(int level, const char *fmt, ...); | ^~~ log.h:1:1: note: 'log' is declared in header '' +++ |+#include 1 | user.c: In function 'fail_access': user.c:1234:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1234 | (void) write(cp->fd, "\n*** Sorry, access restricted!\n", 31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:1242:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1242 | fgets(buffer + 2, 2045, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:1244:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1244 | (void) write(cp->fd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'name_command': user.c:1285:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1285 | fgets(buffer, 2047, fd); | ^~~~~~~~~~~~~~~~~~~~~~~ user.c:1309:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1309 | fgets(buffer, 2047, fd); | ^~~~~~~~~~~~~~~~~~~~~~~ user.c:1332:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1332 | (void) write(cp->fd, "You are a cheater - Goodbye !\n", 30); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:1350:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1350 | fgets(buffer + 2, 2045, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:1465:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1465 | fgets(buffer + 2, 2045, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'personal_command': user.c:1642:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1642 | write(unf, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'uptime_command': user.c:1904:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1904 | fscanf(fd, "%ld", &uptime); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:1908:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1908 | fgets(lx, 128, fd); | ^~~~~~~~~~~~~~~~~~ user.c: In function 'last_command': user.c:586:24: warning: ' last sign off: ' directive writing 16 bytes into a region of size between 1 and 128 [-Wformat-overflow=] 586 | sprintf(buffer, "%s last sign off: %s\n", buffer2, p); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from user.c:9: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 18 or more bytes (assuming 145) into a destination of size 128 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:583:24: warning: ' last sign on: ' directive writing 15 bytes into a region of size between 1 and 128 [-Wformat-overflow=] 583 | sprintf(buffer, "%s last sign on: %s\n", buffer2, p); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from user.c:9: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 17 or more bytes (assuming 144) into a destination of size 128 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'fgets', inlined from 'last_command' at user.c:575:9: /usr/include/bits/stdio2.h:268:9: warning: call to '*__fgets_chk' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 268 | return __fgets_chk_warn (__s, __bos (__s), __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from user.c:11: In function 'strncpy', inlined from 'notify_command' at user.c:1488:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'notify_command' at user.c:1562:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'notify_command' at user.c:1506:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'notify_command' at user.c:1518:6: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'name_command' at user.c:1338:2: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 63 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -DWANT_LOG -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 -fasynchronous-unwind-tables -fstack-clash-protection -DOWNER=\"daemon\" -DCONF_DIR=\"/usr/local/etc/htppu\" -DDATA_DIR=\"/usr/local/var/lib/htppu\" -c conversd.c In file included from conversd.c:42: log.h:40:12: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 40 | extern int log(int level, const char *fmt, ...); | ^~~ log.h:1:1: note: 'log' is declared in header '' +++ |+#include 1 | conversd.c: In function 'accept_connect_request': conversd.c:724:35: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 724 | if ((fd = accept(flisten, &addr, &addrlen)) < 0) | ^~~~~~~~ | | | int * In file included from conversd.c:20: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ conversd.c: In function 'update_destinations': conversd.c:1600:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1600 | if (d->link == NULLPERMLINK || p == NULLPERMLINK || d->link != p) | ^~ conversd.c:1602:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1602 | d->link = p; | ^ conversd.c:1610:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1610 | if (cp == NULLCONNECTION) | ^~ conversd.c:1612:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1612 | force_send = 1; | ^~~~~~~~~~ conversd.c: In function 'accept_connect_request': conversd.c:765:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 765 | fgets(buffer + 2, 2045, fdi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ conversd.c: In function 'log_user_change': conversd.c:1160:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1160 | fgets(buffer, 512, f); | ^~~~~~~~~~~~~~~~~~~~~ conversd.c: In function 'send_invite_msg': conversd.c:1505:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1505 | write(fdtty, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conversd.c: In function 'write_pid': conversd.c:2122:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2122 | write(f, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from conversd.c:15: In function 'strncpy', inlined from 'appendstring.part.0' at conversd.c:226:3: /usr/include/bits/string_fortified.h:91:10: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conversd.c: In function 'log_user_change': conversd.c:1135:21: warning: '%02x' directive writing 2 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1135 | sprintf(fname, "%s.%02x", userfile, get_hash(name)); | ^~~~ conversd.c:1135:17: note: directive argument in the range [0, 255] 1135 | sprintf(fname, "%s.%02x", userfile, get_hash(name)); | ^~~~~~~~~ In file included from /usr/include/stdio.h:866, from conversd.c:12: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 4 and 131 bytes into a destination of size 128 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o conversd conversd.o user.o host.o convert.o config.o tnos.o log.o cfgfile.o access.o hmalloc.o In function 'fgets', inlined from 'last_command' at user.c:575:9: /usr/include/bits/stdio2.h:268:9: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 268 | return __fgets_chk_warn (__s, __bos (__s), __n, __stream); | ^ In function 'strncpy', inlined from 'cmdsummary_command' at tnos.c:276:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ tnos.c: In function 'cmdsummary_command': tnos.c:276:3: note: length computed here 276 | strncpy(&buf[i * width], cmdp->name, strlen(cmdp->name)); | ^ In function 'strncpy', inlined from 'cmdsummary_command' at tnos.c:295:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ tnos.c: In function 'cmdsummary_command': tnos.c:295:4: note: length computed here 295 | strncpy(&buf[i * width], ecmdp->name, strlen(ecmdp->name)); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9enGgn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64 + cd htppu-1.8 + make install-all BASE_DIR=/builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64 MAN_DIR=/builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/usr/share/man LOG_DIR=/builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/var/log SBIN_DIR=/builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/usr/sbin OWN=root install -dD /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/var/log install -dD /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/var/lib/htppu/personals install -dD /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/usr/sbin install -p -m 755 conversd /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/usr/sbin install -dD /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/usr/share/man/man8 install -p -m 644 man/conversd.8 /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/usr/share/man/man8 install -dD /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/etc/htppu install -p -m 640 etc/convers.conf /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/etc/htppu install -p -m 644 etc/convers.motd /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/etc/htppu install -p -m 644 etc/convers.issue /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/etc/htppu install -p -m 644 etc/convers.help /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/etc/htppu install -p -m 644 etc/convers.news /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/etc/htppu install -p -m 644 etc/spam.txt /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/etc/htppu install -p -m 644 etc/smileys.txt /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/etc/htppu + mkdir -p /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/usr/share/doc/htppu + cp -a doc/CREDITS doc/ChangeLog doc/INSTALL doc/README doc/SPECS doc/old /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/usr/share/doc/htppu + rm -f /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/usr/share/doc/htppu/INSTALL + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.8-1.fc33 --unique-debug-suffix -1.8-1.fc33.riscv64 --unique-debug-src-base htppu-1.8-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/htppu-1.8 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/usr/sbin/conversd extracting debug info from /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64/usr/sbin/conversd original debug info size: 1320kB, size after compression: 1296kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 391 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: htppu-1.8-1.fc33.riscv64 Provides: config(htppu) = 1.8-1.fc33 htppu = 1.8-1.fc33 htppu(riscv-64) = 1.8-1.fc33 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: htppu-debugsource-1.8-1.fc33.riscv64 Provides: htppu-debugsource = 1.8-1.fc33 htppu-debugsource(riscv-64) = 1.8-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: htppu-debuginfo-1.8-1.fc33.riscv64 Provides: debuginfo(build-id) = 940de4d6f98fec59c4850abd2ef6900601319d85 htppu-debuginfo = 1.8-1.fc33 htppu-debuginfo(riscv-64) = 1.8-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: htppu-debugsource(riscv-64) = 1.8-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64 Wrote: /builddir/build/RPMS/htppu-1.8-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/htppu-debugsource-1.8-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/htppu-debuginfo-1.8-1.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oZKdUm + umask 022 + cd /builddir/build/BUILD + cd htppu-1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/htppu-1.8-1.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0