Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/htppu.spec'], chrootPath='/var/lib/mock/f38-build-695345-85715/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=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/htppu-1.8-5.fc38.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/f38-build-695345-85715/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=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1eFsDV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf htppu-1.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/htppu-1.8.tar.gz + 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/lib/rpm/rpmuncompress /builddir/build/SOURCES/htppu-1.8-install-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SdCM45 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer' '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 ' gcc -O2 -Wall -DWANT_LOG -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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:13: warning: variable 'channel' set but not used [-Wunused-but-set-variable] 32 | int channel; | ^~~~~~~ host.c: In function 'h_host_command': host.c:273:142: warning: the comparison will always evaluate as 'true' for the address of 'pers' will never be NULL [-Waddress] 273 | sprintf(buffer, "/\377\200UADD %s %s %s %d %s\n", p->name, p->host, p->nickname, -1, p->pers ? p->pers : "~~"); | ^ In file included from host.c:19: conversd.h:89:14: note: 'pers' declared here 89 | char pers[PERSSIZE + 1]; /* Personal string */ | ^~~~ host.c: In function 'h_rout_command': host.c:525:37: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 525 | goodlink = (d->link && d->link->name && *d->link->name); | ^~ conversd.h:131:14: note: 'name' declared here 131 | char name[HOSTNAMESIZE + 1]; /* Name of host */ | ^~~~ host.c: In function 'h_link_command': host.c:422:43: 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:906, from host.c:9: In function 'sprintf', inlined from 'h_link_command' at host.c:422:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 11 and 137 bytes into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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:15: warning: variable 'cptr' set but not used [-Wunused-but-set-variable] 179 | char *cptr; | ^~~~ tnos.c: In function 'update_user_data': tnos.c:386:88: warning: the comparison will always evaluate as 'true' for the address of 'pers' will never be NULL [-Waddress] 386 | cp->name, cp->host, cp->nickname, -1, cp->pers ? cp->pers : "~~"); | ^ In file included from tnos.c:18: conversd.h:89:14: note: 'pers' declared here 89 | char pers[PERSSIZE + 1]; /* Personal string */ | ^~~~ tnos.c: In function 'h_uadd_command': tnos.c:462:47: 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:15: warning: variable 'cptr' set but not used [-Wunused-but-set-variable] 487 | char *cptr; | ^~~~ tnos.c: In function 'smiley_command': tnos.c:111:17: 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:17: 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:25: 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:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 411 | write(unf, new, strlen(new)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tnos.c: In function 'cmdsummary_command': tnos.c:276:17: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 276 | strncpy(&buf[i * width], cmdp->name, strlen(cmdp->name)); | ^ tnos.c:276:17: note: length computed here 276 | strncpy(&buf[i * width], cmdp->name, strlen(cmdp->name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tnos.c:295:25: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 295 | strncpy(&buf[i * width], ecmdp->name, strlen(ecmdp->name)); | ^ tnos.c:295:25: 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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 | cfgfile.c: In function 'argstr': cfgfile.c:184:17: warning: '__strncat_chk' specified bound 1024 equals destination size [-Wstringop-truncation] 184 | strncat(s, argv[i], CFGLINE_LEN); | ^ In file included from /usr/include/string.h:535, from cfgfile.c:11: In function 'strncat', inlined from 'argstr' at cfgfile.c:184:3: /usr/include/bits/string_fortified.h:138:10: warning: '__strncat_chk' specified bound 1024 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -DWANT_LOG -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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 'route_cleanup': conversd.c:382:81: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 382 | if ((!d->link) || (!d->connected) || (!d->link->connection) || (!d->link->connection->name) || (!cp->name) | ^ In file included from conversd.c:36: conversd.h:65:14: note: 'name' declared here 65 | char name[NAMESIZE + 1]; /* Name of user or host */ | ^~~~ conversd.c:382:113: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 382 | if ((!d->link) || (!d->connected) || (!d->link->connection) || (!d->link->connection->name) || (!cp->name) | ^ conversd.h:65:14: note: 'name' declared here 65 | char name[NAMESIZE + 1]; /* Name of user or host */ | ^~~~ conversd.c: In function 'accept_connect_request': conversd.c:724:42: 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:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ conversd.c: In function 'update_destinations': conversd.c:1560:47: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 1560 | if (!destinations || (!destinations->name) || (strcasecmp(destinations->name, name) > 0)) { | ^ conversd.h:157:14: note: 'name' declared here 157 | char name[HOSTNAMESIZE + 1]; /* destination name */ | ^~~~ conversd.c:1600:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1600 | if (d->link == NULLPERMLINK || p == NULLPERMLINK || d->link != p) | ^~ conversd.c:1602:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1602 | d->link = p; | ^ conversd.c:1610:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1610 | if (cp == NULLCONNECTION) | ^~ conversd.c:1612:25: 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:25: 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:25: 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:41: 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:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2122 | write(f, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ conversd.c: In function 'appendstring': conversd.c:226:17: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 226 | strncpy(buffer, string, 4096); | ^ conversd.c: In function 'log_user_change': conversd.c:1135:28: 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:24: 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:906, from conversd.c:12: In function 'sprintf', inlined from 'log_user_change' at conversd.c:1135:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 4 and 131 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:535, from conversd.c:15: In function 'strncat', inlined from 'send_invite_msg' at conversd.c:1496:5: /usr/include/bits/string_fortified.h:138:10: warning: '__strncat_chk' argument 2 declared attribute 'nonstring' [-Wstringop-overread] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/utmp.h:29, from conversd.c:32: /usr/include/bits/utmp.h: In function 'send_invite_msg': /usr/include/bits/utmp.h:62:8: note: argument 'ut_line' declared here 62 | char ut_line[UT_LINESIZE] | ^~~~~~~ gcc -O2 -Wall -DWANT_LOG -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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 'who_command': user.c:2055:127: warning: the comparison will always evaluate as 'true' for the address of 'pers' will never be NULL [-Waddress] 2055 | p->name, (!strcasecmp(p->name, p->nickname)) ? "" : p->nickname, p->channel, (p->pers && strcmp(p->pers, "@")) ? p->pers : ""); | ^ In file included from user.c:22: conversd.h:89:14: note: 'pers' declared here 89 | char pers[PERSSIZE + 1]; /* Personal string */ | ^~~~ user.c: In function 'fail_access': user.c:1234:16: 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:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1242 | fgets(buffer + 2, 2045, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:1244:48: 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:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1285 | fgets(buffer, 2047, fd); | ^~~~~~~~~~~~~~~~~~~~~~~ user.c:1309:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1309 | fgets(buffer, 2047, fd); | ^~~~~~~~~~~~~~~~~~~~~~~ user.c:1332:24: 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:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1350 | fgets(buffer + 2, 2045, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:1465:33: 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:25: 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:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1904 | fscanf(fd, "%ld", &uptime); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:1908:25: 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:52: 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:906, from user.c:9: In function 'sprintf', inlined from 'last_command' at user.c:586:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 18 or more bytes (assuming 145) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ user.c: In function 'last_command': user.c:583:52: 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 function 'sprintf', inlined from 'last_command' at user.c:583:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 17 or more bytes (assuming 144) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function 'fgets', inlined from 'last_command' at user.c:575:9: /usr/include/bits/stdio2.h:215:12: warning: call to '*__fgets_chk' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 215 | return __fgets_chk_warn (__s, sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function 'notify_command': user.c:1488:9: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1488 | strncpy(t, toname, 512); | ^ user.c:1562:17: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1562 | strncpy(t, toname, 512); | ^ user.c:1506:41: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1506 | strncpy(t, toname, 512); | ^ user.c:1518:41: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 1518 | strncpy(t, toname, 512); | ^ user.c: In function 'name_command': user.c:1338:9: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 63 [-Wstringop-truncation] 1338 | strncpy(cp->nickname, cp->name, NAMESIZE); | ^ gcc -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 -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:215:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 215 | return __fgets_chk_warn (__s, sz, __n, __stream); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ARQ5BC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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 htppu-1.8 + make install-all BASE_DIR=/builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64 MAN_DIR=/builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/usr/share/man LOG_DIR=/builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/var/log SBIN_DIR=/builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/usr/sbin OWN=root install -dD /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/var/log install -dD /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/var/lib/htppu/personals install -dD /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/usr/sbin install -p -m 755 conversd /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/usr/sbin install -dD /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/usr/share/man/man8 install -p -m 644 man/conversd.8 /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/usr/share/man/man8 install -dD /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/etc/htppu install -p -m 640 etc/convers.conf /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/etc/htppu install -p -m 644 etc/convers.motd /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/etc/htppu install -p -m 644 etc/convers.issue /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/etc/htppu install -p -m 644 etc/convers.help /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/etc/htppu install -p -m 644 etc/convers.news /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/etc/htppu install -p -m 644 etc/spam.txt /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/etc/htppu install -p -m 644 etc/smileys.txt /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/etc/htppu + mkdir -p /builddir/build/BUILDROOT/htppu-1.8-5.fc38.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-5.fc38.riscv64/usr/share/doc/htppu + rm -f /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/usr/share/doc/htppu/INSTALL + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.8-5.fc38 --unique-debug-suffix -1.8-5.fc38.riscv64 --unique-debug-src-base htppu-1.8-5.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/htppu-1.8 extracting debug info from /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64/usr/sbin/conversd original debug info size: 1276kB, size after compression: 1256kB /usr/bin/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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: htppu-1.8-5.fc38.riscv64 Provides: config(htppu) = 1.8-5.fc38 htppu = 1.8-5.fc38 htppu(riscv-64) = 1.8-5.fc38 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: htppu-debugsource-1.8-5.fc38.riscv64 Provides: htppu-debugsource = 1.8-5.fc38 htppu-debugsource(riscv-64) = 1.8-5.fc38 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-5.fc38.riscv64 Provides: debuginfo(build-id) = fd926ea8d7e48267744ecede95fd84e0d4ee7cee htppu-debuginfo = 1.8-5.fc38 htppu-debuginfo(riscv-64) = 1.8-5.fc38 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-5.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64 Wrote: /builddir/build/RPMS/htppu-1.8-5.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/htppu-debugsource-1.8-5.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/htppu-debuginfo-1.8-5.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ha9NDw + umask 022 + cd /builddir/build/BUILD + cd htppu-1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/htppu-1.8-5.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.flqFBE + umask 022 + cd /builddir/build/BUILD + rm -rf htppu-1.8 htppu-1.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0