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/bridge-utils.spec'], chrootPath='/var/lib/mock/f33-build-302445-56966/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/bridge-utils.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=1595808000 Wrote: /builddir/build/SRPMS/bridge-utils-1.6-6.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/bridge-utils.spec'], chrootPath='/var/lib/mock/f33-build-302445-56966/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/bridge-utils.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=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UQ8u2K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bridge-utils-1.6 + /usr/bin/xz -dc /builddir/build/SOURCES/bridge-utils-1.6.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bridge-utils-1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (bridge-utils-1.0.4-inc.patch):' Patch #0 (bridge-utils-1.0.4-inc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libbridge/libbridge_private.h + echo 'Patch #1 (bridge-utils-libbridge-cflags.patch):' Patch #1 (bridge-utils-libbridge-cflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libbridge/Makefile.in Patch #2 (bridge-utils-1.6-add-missing-sys-time.patch): + echo 'Patch #2 (bridge-utils-1.6-add-missing-sys-time.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libbridge/libbridge.h Patch #3 (bridge-utils-1.6-fix-signed-unsigned-warnings.patch): + echo 'Patch #3 (bridge-utils-1.6-fix-signed-unsigned-warnings.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file brctl/brctl_cmd.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0BRoWJ + umask 022 + cd /builddir/build/BUILD + cd bridge-utils-1.6 + autoconf + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-15 07:34:56.155958434 -0400 +++ ./configure 2020-08-15 07:34:57.375958581 -0400 @@ -1704,7 +1704,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for gethostname... yes checking for socket... yes checking for strdup... yes checking for uname... yes checking for if_nametoindex... yes checking for if_indextoname... yes configure: creating ./config.status config.status: creating doc/Makefile config.status: WARNING: 'doc/Makefile.in' seems to ignore the --datarootdir setting config.status: creating libbridge/Makefile config.status: creating brctl/Makefile config.status: WARNING: 'brctl/Makefile.in' seems to ignore the --datarootdir setting config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating bridge-utils.spec config.status: creating libbridge/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 for x in libbridge brctl doc; do make -j4 --jobserver-auth=3,4 -C $x || exit 1 ; done make[1]: warning: -j4 forced in submake: resetting jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/bridge-utils-1.6/libbridge' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -I/usr/src/linux/include -c libbridge_devif.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -I/usr/src/linux/include -c libbridge_if.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -I/usr/src/linux/include -c libbridge_init.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -I/usr/src/linux/include -c libbridge_misc.c In file included from /usr/include/string.h:519, from libbridge_if.c:22: In function 'strncpy', inlined from 'br_add_bridge' at libbridge_if.c:43:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c: In function 'fetch_id': libbridge_devif.c:46:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | fscanf(f, "%2hhx%2hhx.%2hhx%2hhx%2hhx%2hhx%2hhx%2hhx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | &id->prio[0], &id->prio[1], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 48 | &id->addr[0], &id->addr[1], &id->addr[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | &id->addr[3], &id->addr[4], &id->addr[5]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c: In function 'fetch_int': libbridge_devif.c:63:2: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | fscanf(f, "%i", &value); | ^~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'br_del_bridge' at libbridge_if.c:63:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libbridge_init.c:29: libbridge_init.c: In function 'isbridge': libbridge_private.h:33:25: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 241 [-Wformat-truncation=] 33 | #define SYSFS_CLASS_NET "/sys/class/net/" | ^~~~~~~~~~~~~~~~~ libbridge_init.c:204:50: note: format string is defined here 204 | snprintf(path, SYSFS_PATH_MAX, SYSFS_CLASS_NET "%s/brif", brname); | ^~ In file included from /usr/include/stdio.h:866, from libbridge_init.c:19: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 23 and 278 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'br_add_interface' at libbridge_if.c:78:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'br_del_interface' at libbridge_if.c:103:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from libbridge_init.c:23: In function 'strncpy', inlined from 'old_foreach_port' at libbridge_init.c:164:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from libbridge_devif.c:24: In function 'strncpy', inlined from 'br_set' at libbridge_devif.c:315:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'get_portno' at libbridge_devif.c:94:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'port_set' at libbridge_devif.c:376:4: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c: In function 'br_get_bridge_info': libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 173 | info->root_path_cost = fetch_int(path, "root_path_cost"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 271 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 174 | fetch_tv(path, "max_age", &info->max_age); | ~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 9 and 264 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 10 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 175 | fetch_tv(path, "hello_time", &info->hello_time); | ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 12 and 267 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 13 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 176 | fetch_tv(path, "forward_delay", &info->forward_delay); | ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 15 and 270 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 177 | fetch_tv(path, "max_age", &info->bridge_max_age); | ~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 9 and 264 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 10 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 178 | fetch_tv(path, "hello_time", &info->bridge_hello_time); | ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 12 and 267 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 13 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 179 | fetch_tv(path, "forward_delay", &info->bridge_forward_delay); | ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 15 and 270 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 11 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 180 | fetch_tv(path, "ageing_time", &info->ageing_time); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 13 and 268 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 11 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 181 | fetch_tv(path, "hello_timer", &info->hello_timer_value); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 13 and 268 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 9 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 182 | fetch_tv(path, "tcn_timer", &info->tcn_timer_value); | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 11 and 266 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 21 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 183 | fetch_tv(path, "topology_change_timer", | ~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 23 and 278 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 185 | fetch_tv(path, "gc_timer", &info->gc_timer_value); | ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 10 and 265 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 9 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 187 | info->root_port = fetch_int(path, "root_port"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 11 and 266 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 9 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 188 | info->stp_enabled = fetch_int(path, "stp_state"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 11 and 266 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 15 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 189 | info->topology_change = fetch_int(path, "topology_change"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 17 and 272 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 24 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 190 | info->topology_change_detected = fetch_int(path, "topology_change_detected"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 26 and 281 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from libbridge_devif.c:24: In function 'strncpy', inlined from 'old_get_bridge_info' at libbridge_devif.c:122:2, inlined from 'br_get_bridge_info' at libbridge_devif.c:196:9: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c: In function 'br_get_port_info': libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 263 | info->port_no = fetch_int(path, "port_no"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 9 and 264 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 264 | info->port_id = fetch_int(path, "port_id"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 9 and 264 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 15 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 265 | info->designated_port = fetch_int(path, "designated_port"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 17 and 272 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 9 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 266 | info->path_cost = fetch_int(path, "path_cost"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 11 and 266 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 15 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 267 | info->designated_cost = fetch_int(path, "designated_cost"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 17 and 272 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 268 | info->state = fetch_int(path, "state"); | ~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 7 and 262 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 10 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 269 | info->top_change_ack = fetch_int(path, "change_ack"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 12 and 267 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 270 | info->config_pending = fetch_int(path, "config_pending"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 271 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 17 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 271 | fetch_tv(path, "message_age_timer", &info->message_age_timer_value); | ~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 19 and 274 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 19 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 272 | fetch_tv(path, "forward_delay_timer", &info->forward_delay_timer_value); | ~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 21 and 276 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 10 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 273 | fetch_tv(path, "hold_timer", &info->hold_timer_value); | ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 12 and 267 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libbridge_devif.c:35:37: warning: '%s' directive output may be truncated writing 12 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 35 | snprintf(path, SYSFS_PATH_MAX, "%s/%s", dir, name); | ^~ ...... 274 | info->hairpin_mode = fetch_int(path, "hairpin_mode"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from libbridge_devif.c:20: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 14 and 269 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from libbridge_devif.c:24: In function 'strncpy', inlined from 'old_get_port_info' at libbridge_devif.c:216:3, inlined from 'br_get_port_info' at libbridge_devif.c:280:9: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'br_read_fdb' at libbridge_devif.c:432:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcs libbridge.a libbridge_devif.o libbridge_if.o libbridge_init.o libbridge_misc.o ranlib libbridge.a make[1]: Leaving directory '/builddir/build/BUILD/bridge-utils-1.6/libbridge' make[1]: warning: -j4 forced in submake: resetting jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/bridge-utils-1.6/brctl' gcc -Wall -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 -I../libbridge -I/usr/src/linux/include -c brctl.c gcc -Wall -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 -I../libbridge -I/usr/src/linux/include -c brctl_cmd.c gcc -Wall -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 -I../libbridge -I/usr/src/linux/include -c brctl_disp.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld brctl.o brctl_cmd.o brctl_disp.o -L ../libbridge -lbridge -o brctl make[1]: Leaving directory '/builddir/build/BUILD/bridge-utils-1.6/brctl' make[1]: warning: -j4 forced in submake: resetting jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/bridge-utils-1.6/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/bridge-utils-1.6/doc' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9XoZBH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64 + cd bridge-utils-1.6 + make DESTDIR=/builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64 'SUBDIRS=brctl doc' install for x in brctl doc; do make -C $x install || exit 1 ; done make[1]: Entering directory '/builddir/build/BUILD/bridge-utils-1.6/brctl' mkdir -p /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/sbin /usr/bin/install -c -m 755 brctl /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/sbin make[1]: Leaving directory '/builddir/build/BUILD/bridge-utils-1.6/brctl' make[1]: Entering directory '/builddir/build/BUILD/bridge-utils-1.6/doc' mkdir -p /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/share/man/man8 /usr/bin/install -c -m 644 brctl.8 /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/share/man/man8 make[1]: Leaving directory '/builddir/build/BUILD/bridge-utils-1.6/doc' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.6-6.fc33 --unique-debug-suffix -1.6-6.fc33.riscv64 --unique-debug-src-base bridge-utils-1.6-6.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bridge-utils-1.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/sbin/brctl extracting debug info from /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/sbin/brctl original debug info size: 396kB, size after compression: 392kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. cpio: brctl/libbridge_devif.c: Cannot stat: No such file or directory cpio: brctl/libbridge_if.c: Cannot stat: No such file or directory cpio: brctl/libbridge_init.c: Cannot stat: No such file or directory cpio: brctl/libbridge_misc.c: Cannot stat: No such file or directory cpio: brctl/libbridge_private.h: Cannot stat: No such file or directory 89 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: bridge-utils-1.6-6.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QTRHYG + umask 022 + cd /builddir/build/BUILD + cd bridge-utils-1.6 + DOCDIR=/builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/share/doc/bridge-utils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/share/doc/bridge-utils + cp -pr AUTHORS /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/share/doc/bridge-utils + cp -pr doc/FAQ /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/share/doc/bridge-utils + cp -pr doc/HOWTO /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/share/doc/bridge-utils + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.J1gPLI + umask 022 + cd /builddir/build/BUILD + cd bridge-utils-1.6 + LICENSEDIR=/builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/share/licenses/bridge-utils + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/share/licenses/bridge-utils + cp -pr COPYING /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64/usr/share/licenses/bridge-utils + RPM_EC=0 ++ jobs -p + exit 0 Provides: bridge-utils = 1.6-6.fc33 bridge-utils(riscv-64) = 1.6-6.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: bridge-utils-debugsource-1.6-6.fc33.riscv64 Provides: bridge-utils-debugsource = 1.6-6.fc33 bridge-utils-debugsource(riscv-64) = 1.6-6.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bridge-utils-debuginfo-1.6-6.fc33.riscv64 Provides: bridge-utils-debuginfo = 1.6-6.fc33 bridge-utils-debuginfo(riscv-64) = 1.6-6.fc33 debuginfo(build-id) = b10e8c768ba3e88eddd2c8c69f430daafb2f4498 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bridge-utils-debugsource(riscv-64) = 1.6-6.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64 Wrote: /builddir/build/RPMS/bridge-utils-1.6-6.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/bridge-utils-debugsource-1.6-6.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/bridge-utils-debuginfo-1.6-6.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pWuCTI + umask 022 + cd /builddir/build/BUILD + cd bridge-utils-1.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bridge-utils-1.6-6.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0