Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/linux-igd.spec'], chrootPath='/var/lib/mock/f29-build-8012-2051/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/linux-igd.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 Wrote: /builddir/build/SRPMS/linux-igd-1.0-24.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/linux-igd.spec'], chrootPath='/var/lib/mock/f29-build-8012-2051/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/linux-igd.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.THPl86 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf linux-igd + /usr/bin/mkdir -p linux-igd + cd linux-igd + /usr/bin/gzip -dc /builddir/build/SOURCES/linuxigd-1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (linux-igd-1.0-to-cvs20070630.patch):' Patch #0 (linux-igd-1.0-to-cvs20070630.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file linuxigd-1.0/CHANGES patching file linuxigd-1.0/Makefile patching file linuxigd-1.0/config.c patching file linuxigd-1.0/etc/upnpd.conf patching file linuxigd-1.0/globals.h patching file linuxigd-1.0/main.c patching file linuxigd-1.0/pmlist.c patching file linuxigd-1.0/pmlist.h + echo 'Patch #1 (linuxigd-1.0.patch):' Patch #1 (linuxigd-1.0.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file linuxigd-1.0/Makefile patching file linuxigd-1.0/etc/upnpd.rc + echo 'Patch #2 (linuxigd-1.0-restrict-internal-interface.patch):' Patch #2 (linuxigd-1.0-restrict-internal-interface.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file linuxigd-1.0/util.c patching file linuxigd-1.0/util.h + echo 'Patch #3 (linux-igd-includes.patch):' Patch #3 (linux-igd-includes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file linuxigd-1.0/gatedevice.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0VSP5b + umask 022 ~/build/BUILD/linux-igd/linuxigd-1.0 ~/build/BUILD/linux-igd + cd /builddir/build/BUILD + cd linux-igd + pushd linuxigd-1.0 + make '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' -j4 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 -I/usr/include -I../include -D_GNU_SOURCE -c main.c 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 -I/usr/include -I../include -D_GNU_SOURCE -c gatedevice.c 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 -I/usr/include -I../include -D_GNU_SOURCE -c pmlist.c 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 -I/usr/include -I../include -D_GNU_SOURCE -c util.c BUILDSTDERR: gatedevice.c: In function 'DeletePortMapping': BUILDSTDERR: gatedevice.c:648:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if ((temp = pmlist_FindSpecific(ext_port, proto))) BUILDSTDERR: ^~ BUILDSTDERR: gatedevice.c:651:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (result==1) BUILDSTDERR: ^~ BUILDSTDERR: pmlist.c: In function 'pmlist_NewNode': BUILDSTDERR: pmlist.c:23:20: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] BUILDSTDERR: if (remoteHost && strlen(remoteHost) < sizeof(temp->m_RemoteHost)) strcpy(temp->m_RemoteHost, remoteHost); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:23:20: warning: incompatible implicit declaration of built-in function 'strlen' BUILDSTDERR: pmlist.c:23:20: note: include '' or provide a declaration of 'strlen' BUILDSTDERR: pmlist.c:10:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: pmlist.c:23:20: BUILDSTDERR: if (remoteHost && strlen(remoteHost) < sizeof(temp->m_RemoteHost)) strcpy(temp->m_RemoteHost, remoteHost); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:23:69: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] BUILDSTDERR: if (remoteHost && strlen(remoteHost) < sizeof(temp->m_RemoteHost)) strcpy(temp->m_RemoteHost, remoteHost); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:23:69: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: pmlist.c:23:69: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: pmlist.c:24:8: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: else strcpy(temp->m_RemoteHost, ""); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:24:8: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: pmlist.c:25:6: warning: incompatible implicit declaration of built-in function 'strlen' BUILDSTDERR: if (strlen(externalPort) < sizeof(temp->m_ExternalPort)) strcpy(temp->m_ExternalPort, externalPort); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:25:6: note: include '' or provide a declaration of 'strlen' 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 -I/usr/include -I../include -D_GNU_SOURCE -c config.c BUILDSTDERR: pmlist.c:25:59: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: if (strlen(externalPort) < sizeof(temp->m_ExternalPort)) strcpy(temp->m_ExternalPort, externalPort); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:25:59: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: pmlist.c:26:8: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: else strcpy(temp->m_ExternalPort, ""); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:26:8: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: pmlist.c:27:6: warning: incompatible implicit declaration of built-in function 'strlen' BUILDSTDERR: if (strlen(internalPort) < sizeof(temp->m_InternalPort)) strcpy(temp->m_InternalPort, internalPort); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:27:6: note: include '' or provide a declaration of 'strlen' BUILDSTDERR: pmlist.c:27:59: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: if (strlen(internalPort) < sizeof(temp->m_InternalPort)) strcpy(temp->m_InternalPort, internalPort); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:27:59: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: pmlist.c:28:8: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: else strcpy(temp->m_InternalPort, ""); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:28:8: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: pmlist.c:29:6: warning: incompatible implicit declaration of built-in function 'strlen' BUILDSTDERR: if (strlen(protocol) < sizeof(temp->m_PortMappingProtocol)) strcpy(temp->m_PortMappingProtocol, protocol); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:29:6: note: include '' or provide a declaration of 'strlen' BUILDSTDERR: pmlist.c:29:62: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: if (strlen(protocol) < sizeof(temp->m_PortMappingProtocol)) strcpy(temp->m_PortMappingProtocol, protocol); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:29:62: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: pmlist.c:30:8: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: else strcpy(temp->m_PortMappingProtocol, ""); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:30:8: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: pmlist.c:31:6: warning: incompatible implicit declaration of built-in function 'strlen' BUILDSTDERR: if (strlen(internalClient) < sizeof(temp->m_InternalClient)) strcpy(temp->m_InternalClient, internalClient); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:31:6: note: include '' or provide a declaration of 'strlen' BUILDSTDERR: pmlist.c:31:63: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: if (strlen(internalClient) < sizeof(temp->m_InternalClient)) strcpy(temp->m_InternalClient, internalClient); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:31:63: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: pmlist.c:32:8: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: else strcpy(temp->m_InternalClient, ""); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:32:8: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: pmlist.c:33:6: warning: incompatible implicit declaration of built-in function 'strlen' BUILDSTDERR: if (strlen(desc) < sizeof(temp->m_PortMappingDescription)) strcpy(temp->m_PortMappingDescription, desc); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:33:6: note: include '' or provide a declaration of 'strlen' BUILDSTDERR: pmlist.c:33:61: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: if (strlen(desc) < sizeof(temp->m_PortMappingDescription)) strcpy(temp->m_PortMappingDescription, desc); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:33:61: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: pmlist.c:34:8: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: else strcpy(temp->m_PortMappingDescription, ""); BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c:34:8: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: pmlist.c: In function 'pmlist_Find': BUILDSTDERR: pmlist.c:53:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] BUILDSTDERR: if ( (strcmp(temp->m_ExternalPort, externalPort) == 0) && BUILDSTDERR: ^~~~~~ BUILDSTDERR: pmlist.c: In function 'pmlist_AddPortMapping': BUILDSTDERR: pmlist.c:237:7: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration] BUILDSTDERR: snprintf(dest, DEST_LEN, "%s:%s", internalClient, internalPort); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: pmlist.c:237:7: warning: incompatible implicit declaration of built-in function 'snprintf' BUILDSTDERR: pmlist.c:237:7: note: include '' or provide a declaration of 'snprintf' BUILDSTDERR: pmlist.c:10:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: pmlist.c:237:7: BUILDSTDERR: snprintf(dest, DEST_LEN, "%s:%s", internalClient, internalPort); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: gatedevice.c: In function 'GetTotal': BUILDSTDERR: gatedevice.c:346:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(proc, "%*[^\n]\n%*[^\n]\n"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pmlist.c: In function 'pmlist_DeletePortMapping': BUILDSTDERR: pmlist.c:295:7: warning: incompatible implicit declaration of built-in function 'snprintf' BUILDSTDERR: snprintf(dest, DEST_LEN, "%s:%s", internalClient, internalPort); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: pmlist.c:295:7: note: include '' or provide a declaration of 'snprintf' BUILDSTDERR: main.c: In function 'main': BUILDSTDERR: main.c:39:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] BUILDSTDERR: if (strcmp(argv[arg], "-f") == 0) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: main.c:45:2: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] BUILDSTDERR: strncpy(g_vars.extInterfaceName, argv[arg++], IFNAMSIZ); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: main.c:45:2: warning: incompatible implicit declaration of built-in function 'strncpy' BUILDSTDERR: main.c:45:2: note: include '' or provide a declaration of 'strncpy' BUILDSTDERR: main.c:18:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: main.c:45:2: BUILDSTDERR: strncpy(g_vars.extInterfaceName, argv[arg++], IFNAMSIZ); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: main.c:45:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: strncpy(g_vars.extInterfaceName, argv[arg++], IFNAMSIZ); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.c:46:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: strncpy(g_vars.intInterfaceName, argv[arg++], IFNAMSIZ); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.c:45:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: strncpy(g_vars.extInterfaceName, argv[arg++], IFNAMSIZ); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.c:46:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: strncpy(g_vars.intInterfaceName, argv[arg++], IFNAMSIZ); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gatedevice.c: In function 'GetGenericPortMappingEntry': BUILDSTDERR: gatedevice.c:521:84: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 187 and 442 [-Wformat-truncation=] BUILDSTDERR: snprintf(resultStr, RESULT_LEN, "\n%s\n", ca_event->ActionName, BUILDSTDERR: ^~ BUILDSTDERR: "urn:schemas-upnp-org:service:WANIPConnection:1",result_param, ca_event->ActionName); BUILDSTDERR: ~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from gatedevice.c:2: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 85 and 1106 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gatedevice.c: In function 'GetSpecificPortMappingEntry': BUILDSTDERR: gatedevice.c:572:70: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 187 and 442 [-Wformat-truncation=] BUILDSTDERR: snprintf(resultStr, RESULT_LEN, "\n%s\n", ca_event->ActionName, BUILDSTDERR: ^~ BUILDSTDERR: "urn:schemas-upnp-org:service:WANIPConnection:1",result_param, ca_event->ActionName); BUILDSTDERR: ~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from gatedevice.c:2: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 85 and 1106 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gatedevice.c: In function 'DeletePortMapping': BUILDSTDERR: gatedevice.c:687:79: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 182 and 437 [-Wformat-truncation=] BUILDSTDERR: snprintf(resultStr, RESULT_LEN, "\n%s\n", BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from gatedevice.c:2: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 85 and 595 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gatedevice.c: In function 'AddPortMapping': BUILDSTDERR: gatedevice.c:486:75: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 182 and 437 [-Wformat-truncation=] BUILDSTDERR: snprintf(resultStr, RESULT_LEN, "\n%s\n", BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from gatedevice.c:2: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 85 and 595 bytes into a destination of size 512 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 main.o gatedevice.o pmlist.o util.o config.o -lpthread -lupnp -lixml -lthreadutil -L/usr/lib -L../libs -o upnpd make upnpd finished on Tue Jun 5 23:40:49 UTC 2018 + popd ~/build/BUILD/linux-igd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1Q0ztj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64 + cd linux-igd + rm -rf /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64 + pushd linuxigd-1.0 ~/build/BUILD/linux-igd/linuxigd-1.0 ~/build/BUILD/linux-igd + make DESTDIR=/builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64 install install -d /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/etc/init.d/ install -d /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/etc/linuxigd/ install -d /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/etc/sysconfig/ install -d /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/usr/sbin/ install -d /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/usr/share/man/man8/ install etc/gatedesc.xml /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/etc/linuxigd install etc/gateconnSCPD.xml /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/etc/linuxigd install etc/gateicfgSCPD.xml /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/etc/linuxigd install etc/dummy.xml /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/etc/linuxigd install etc/upnpd.conf /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/etc install upnpd /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/usr/sbin install upnpd.8 /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/usr/share/man/man8 install -D etc/upnpd.rc /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/etc/rc.d/init.d/upnpd install -D etc/upnpd.rc.conf /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/etc/sysconfig/upnpd + iconv -f latin1 -t utf8 CHANGES + iconv -f latin1 -t utf8 TODO + cp LICENSE ../ ~/build/BUILD/linux-igd + popd + rm -rf /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/etc/rc.d/init.d + install -D -m 644 /builddir/build/SOURCES/upnpd.service /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/usr/lib/systemd/system/upnpd.service + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0-24.fc29 --unique-debug-suffix -1.0-24.fc29.riscv64 --unique-debug-src-base linux-igd-1.0-24.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/linux-igd extracting debug info from /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/usr/sbin/upnpd /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 121 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./etc/upnpd.conf is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./etc/linuxigd/gatedesc.xml is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./etc/linuxigd/dummy.xml is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./etc/linuxigd/gateicfgSCPD.xml is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./etc/linuxigd/gateconnSCPD.xml is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./etc/sysconfig/upnpd is executable but has empty or no shebang, removing executable bit Processing files: linux-igd-1.0-24.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OfH2ng + umask 022 + cd /builddir/build/BUILD + cd linux-igd + DOCDIR=/builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/usr/share/doc/linux-igd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/usr/share/doc/linux-igd + cp -pr CHANGES /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/usr/share/doc/linux-igd + cp -pr TODO /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/usr/share/doc/linux-igd + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3Cx6ug + umask 022 + cd /builddir/build/BUILD + cd linux-igd + LICENSEDIR=/builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/usr/share/licenses/linux-igd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/usr/share/licenses/linux-igd + cp -pr LICENSE /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64/usr/share/licenses/linux-igd + exit 0 Provides: config(linux-igd) = 1.0-24.fc29 linux-igd = 1.0-24.fc29 linux-igd(riscv-64) = 1.0-24.fc29 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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) libixml.so.2()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libthreadutil.so.6()(64bit) libupnp.so.6()(64bit) rtld(GNU_HASH) Processing files: linux-igd-debugsource-1.0-24.fc29.riscv64 Provides: linux-igd-debugsource = 1.0-24.fc29 linux-igd-debugsource(riscv-64) = 1.0-24.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: linux-igd-debuginfo-1.0-24.fc29.riscv64 Provides: debuginfo(build-id) = 1cd96836e610ee14415c6dc61b92c2868ecca08d linux-igd-debuginfo = 1.0-24.fc29 linux-igd-debuginfo(riscv-64) = 1.0-24.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: linux-igd-debugsource(riscv-64) = 1.0-24.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64 Wrote: /builddir/build/RPMS/linux-igd-1.0-24.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/linux-igd-debugsource-1.0-24.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/linux-igd-debuginfo-1.0-24.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2u5FAm + umask 022 + cd /builddir/build/BUILD + cd linux-igd + rm -rf /builddir/build/BUILDROOT/linux-igd-1.0-24.fc29.riscv64 + exit 0 Child return code was: 0