* Package: net-p2p/opendchub-0.8.2 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking opendchub-0.8.2.tar.gz to /var/tmp/portage/net-p2p/opendchub-0.8.2/work >>> Source unpacked in /var/tmp/portage/net-p2p/opendchub-0.8.2/work >>> Preparing source in /var/tmp/portage/net-p2p/opendchub-0.8.2/work/opendchub-0.8.2 ... * Applying opendchub-0.8.2-telnet.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-p2p/opendchub-0.8.2/work/opendchub-0.8.2' ... * Running aclocal ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: opendchub-0.8.2/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-p2p/opendchub-0.8.2/work/opendchub-0.8.2 ... * econf: updating opendchub-0.8.2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating opendchub-0.8.2/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --disable-perl --enable-switch_user checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether build environment is sane... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for crypt in -lcrypt... yes checking for crypt in -lcrypto... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for mode_t... yes checking for pid_t... yes checking for vprintf... yes checking for _doprnt... no checking for gethostname... yes checking for mkdir... yes checking for poll... yes checking for select... yes checking for socket... yes checking for strstr... yes checking for strtoll... yes checking for strtoq... yes checking for cap_set_proc in -lcap... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes Switch user support is enabled. Perl script support is disabled. checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands *** Type "gmake" to build opendchub *** *** If "gmake" does not work, try "make" *** >>> Source configured. >>> Compiling source in /var/tmp/portage/net-p2p/opendchub-0.8.2/work/opendchub-0.8.2 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-p2p/opendchub-0.8.2/work/opendchub-0.8.2' Making all in src make[2]: Entering directory '/var/tmp/portage/net-p2p/opendchub-0.8.2/work/opendchub-0.8.2/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -c -o commands.o commands.c commands.c: In function ‘my_info’: commands.c:997:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 997 | if(*user->nick == (char) NULL) | ^ commands.c: In function ‘get_host’: commands.c:3064:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3064 | if(*temp_host == (char)NULL) | ^ commands.c: In function ‘ballow’: commands.c:2459:37: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2459 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, NICKBAN_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 13 and 113 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:2457:37: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2457 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, ALLOW_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 11 and 111 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:2455:37: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2455 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, BAN_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 109 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function ‘kick’: commands.c:1967:32: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 3 and 124 [-Wformat-overflow=] 1967 | sprintf(ban_command, "%s %dm", host, kick_bantime); | ^~ commands.c:1967:28: note: directive argument in the range [1, 2147483647] 1967 | sprintf(ban_command, "%s %dm", host, kick_bantime); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 134 bytes into a destination of size 125 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function ‘unballow’: commands.c:2677:37: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2677 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, NICKBAN_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 13 and 113 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:2675:37: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2675 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, ALLOW_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 11 and 111 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:2673:37: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2673 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, BAN_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 109 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function ‘send_user_list’: commands.c:2711:37: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2711 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, NICKBAN_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 13 and 113 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:2709:37: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2709 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, LINK_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 10 and 110 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:2707:37: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2707 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, CONFIG_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 108 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:2705:37: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2705 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, REG_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 109 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:2703:37: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2703 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, ALLOW_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 11 and 111 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:2701:37: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2701 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, BAN_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 109 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function ‘up_cmd’: commands.c:2917:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2917 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, LINK_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 10 and 110 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function ‘remove_expired’: commands.c:3401:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 3401 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, BAN_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 109 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:3403:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 3403 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, ALLOW_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 11 and 111 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:3405:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 3405 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, NICKBAN_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 13 and 113 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function ‘chat’: commands.c:427:43: warning: ‘%s’ directive output may be truncated writing up to 100 bytes into a region of size between 70 and 120 [-Wformat-truncation=] 427 | snprintf(tempstr, MAX_HOST_LEN, "%s %s %d", user->nick, path, 0); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 4 and 154 bytes into a destination of size 121 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:425:43: warning: ‘%s’ directive output may be truncated writing up to 100 bytes into a region of size between 70 and 120 [-Wformat-truncation=] 425 | snprintf(tempstr, MAX_HOST_LEN, "%s %s %d", user->nick, path, 1); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 4 and 154 bytes into a destination of size 121 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:423:43: warning: ‘%s’ directive output may be truncated writing up to 100 bytes into a region of size between 70 and 120 [-Wformat-truncation=] 423 | snprintf(tempstr, MAX_HOST_LEN, "%s %s %d", user->nick, path, 2); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 4 and 154 bytes into a destination of size 121 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:429:36: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 429 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, REG_FILE); | ^ In file included from /usr/include/stdio.h:867, from commands.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 109 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -c -o fileio.o fileio.c fileio.c: In function ‘remove_reg_user’: fileio.c:1898:4: error: format not a string literal and no format arguments [-Werror=format-security] 1898 | snprintf(nick, (nick_len>MAX_NICK_LEN)?MAX_NICK_LEN+1:nick_len+1, buf); | ^~~~~~~~ fileio.c: In function ‘init_dirs’: fileio.c:2033:2: error: format not a string literal and no format arguments [-Werror=format-security] 2033 | snprintf( working_dir, MAX_FDP_LEN, user->pw_dir ); | ^~~~~~~~ fileio.c: In function ‘remove_line_from_file’: fileio.c:2494:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 2494 | fgets(fileline, 1023, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2509:7: warning: ignoring return value of ‘truncate’, declared with attribute warn_unused_result [-Wunused-result] 2509 | truncate(file, len); | ^~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘init_dirs’: fileio.c:2043:42: warning: ‘/.opendchub’ directive output may be truncated writing 11 bytes into a region of size between 0 and 100 [-Wformat-truncation=] 2043 | snprintf( config_dir, MAX_FDP_LEN, "%s/.opendchub", path ); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 12 and 112 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2046:30: warning: ‘%s’ directive writing 4 bytes into a region of size between 0 and 100 [-Wformat-overflow=] 2046 | sprintf(un_sock_path, "%s/%s", path, UN_SOCK_NAME); | ^~ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 6 and 106 bytes into a destination of size 101 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2047:28: warning: ‘%s’ directive writing 7 bytes into a region of size between 0 and 100 [-Wformat-overflow=] 2047 | sprintf(script_dir, "%s/%s", config_dir, SCRIPT_DIR); | ^~ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 9 and 109 bytes into a destination of size 101 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘logerror’: fileio.c:2300:33: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2300 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, LOG_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 105 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘logprintf’: fileio.c:2075:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2075 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, LOG_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 5 and 105 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘read_config’: fileio.c:92:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 92 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, CONFIG_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 108 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘create_banlist’: fileio.c:586:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 586 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, BAN_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 109 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘create_nickbanlist’: fileio.c:646:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 646 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, NICKBAN_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 13 and 113 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘create_allowlist’: fileio.c:706:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 706 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, ALLOW_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 11 and 111 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘create_reglist’: fileio.c:765:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 765 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, REG_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 109 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘create_op_permlist’: fileio.c:824:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 824 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, OP_PERM_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 13 and 113 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘create_linklist’: fileio.c:884:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 884 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, LINK_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 10 and 110 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘check_if_banned’: fileio.c:956:33: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 956 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, NICKBAN_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 13 and 113 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:954:33: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 954 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, BAN_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 109 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘check_if_allowed’: fileio.c:1148:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 1148 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, ALLOW_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 11 and 111 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘check_if_registered’: fileio.c:1308:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 1308 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, REG_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 109 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘check_pass’: fileio.c:1408:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 1408 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, REG_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 109 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘get_permissions’: fileio.c:1614:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 1614 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, OP_PERM_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 13 and 113 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘write_config_file’: fileio.c:1741:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 1741 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, CONFIG_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 108 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘write_motd’: fileio.c:2151:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2151 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, MOTD_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 6 and 106 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘send_motd’: fileio.c:2222:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2222 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, MOTD_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 6 and 106 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘add_reg_user’: fileio.c:1920:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 1920 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, REG_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 109 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:1938:27: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1938 | sprintf(line, "%s %s %d", nick, pass, type); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 4 and 114 bytes into a destination of size 103 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘remove_reg_user’: fileio.c:1891:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 1891 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, REG_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 109 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘remove_linked_hub’: fileio.c:2005:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2005 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, LINK_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 10 and 110 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘add_perm’: fileio.c:2767:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2767 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, OP_PERM_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 13 and 113 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘remove_perm’: fileio.c:2841:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2841 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, OP_PERM_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 13 and 113 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘check_if_on_linklist’: fileio.c:2912:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 2912 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, LINK_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 10 and 110 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c: In function ‘add_linked_hub’: fileio.c:1966:35: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 100 [-Wformat-truncation=] 1966 | snprintf(path, MAX_FDP_LEN, "%s/%s", config_dir, LINK_FILE); | ^ In file included from /usr/include/stdio.h:867, from fileio.c:26: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 10 and 110 bytes into a destination of size 100 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [Makefile:386: fileio.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-p2p/opendchub-0.8.2/work/opendchub-0.8.2/src' make[1]: *** [Makefile:356: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-p2p/opendchub-0.8.2/work/opendchub-0.8.2' make: *** [Makefile:297: all] Error 2 * ERROR: net-p2p/opendchub-0.8.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-p2p/opendchub-0.8.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-p2p/opendchub-0.8.2::gentoo'`. * The complete build log is located at '/var/log/portage/net-p2p:opendchub-0.8.2:20200325-193427.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-p2p/opendchub-0.8.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/opendchub-0.8.2/temp/environment'. * Working directory: '/var/tmp/portage/net-p2p/opendchub-0.8.2/work/opendchub-0.8.2' * S: '/var/tmp/portage/net-p2p/opendchub-0.8.2/work/opendchub-0.8.2'