* Package: net-dialup/minicom-2.7.1  * Repository: gentoo  * Maintainer: embedded@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls userland_GNU  * FEATURES: ccache network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking minicom-2.7.1.tar.gz to /dev/shm/portage/net-dialup/minicom-2.7.1/work >>> Source unpacked in /dev/shm/portage/net-dialup/minicom-2.7.1/work >>> Preparing source in /dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7 ... * Applying minicom-2.3-gentoo-runscript.patch ... patching file extras/scriptdemo patching file man/minicom.1 Hunk #1 succeeded at 449 (offset 31 lines). patching file man/runscript.1 Hunk #1 succeeded at 5 with fuzz 2. patching file src/rwconf.c Hunk #1 succeeded at 115 with fuzz 2 (offset -3 lines).  [ ok ] * Applying minicom-2.7-lockdir.patch ...  [ ok ] * Running eautoreconf in '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7' ... * Running autopoint --force ...  [ ok ] * Running aclocal -I m4 ...  [ ok ] * Running autoconf --force ...  [ ok ] * Running autoheader ...  [ ok ] * Running automake --add-missing --copy --force-missing ...  [ ok ] * Running elibtoolize in: minicom-2.7/ >>> Source prepared. >>> Configuring source in /dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7 ... * econf: updating minicom-2.7/config.sub with /usr/share/gnuconfig/config.sub * econf: updating minicom-2.7/config.guess with /usr/share/gnuconfig/config.guess ./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 --docdir=/usr/share/doc/minicom-2.7.1 --htmldir=/usr/share/doc/minicom-2.7.1/html --libdir=/usr/lib64 --sysconfdir=/etc/minicom --enable-lock-dir=/var/lock --enable-nls configure: loading site script /usr/share/config.site 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 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 x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for library containing strerror... none required checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for lockdev... no checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for kermit... no checking for tputs in -ltinfo... yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking for socket in -lsocket... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... yes checking POSIX termios... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for sys/stat.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.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 sys/ttold.h usability... no checking sys/ttold.h presence... no checking for sys/ttold.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking posix1_lim.h usability... no checking posix1_lim.h presence... no checking for posix1_lim.h... no checking for sgtty.h... (cached) yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for error_at_line... yes checking whether closedir returns void... no checking if malloc debugging is wanted... no checking for getcwd... yes checking for getwd... yes checking for memmove... yes checking for strerror... yes checking for strstr... yes checking for vsnprintf... yes checking for vprintf... yes checking for select... yes checking for snprintf... yes checking for usleep... yes checking for getopt... yes checking for getopt_long... yes checking for long file names... yes checking for com line lock directory... /var/lock checking for default serial port device... /dev/ttyS1 checking for default baud rate... 115200 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating extras/Makefile config.status: creating extras/linux/Makefile config.status: creating extras/tables/Makefile config.status: creating extras/termcap/Makefile config.status: creating extras/terminfo/Makefile config.status: creating man/Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating minicom.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile >>> Source configured. >>> Compiling source in /dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7 ... make -j1 make all-recursive make[1]: Entering directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7' Making all in doc make[2]: Entering directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/doc' Making all in extras make[2]: Entering directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/extras' Making all in linux make[3]: Entering directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/extras/linux' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/extras/linux' Making all in tables make[3]: Entering directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/extras/tables' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/extras/tables' Making all in termcap make[3]: Entering directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/extras/termcap' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/extras/termcap' Making all in terminfo make[3]: Entering directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/extras/terminfo' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/extras/terminfo' make[3]: Entering directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/extras' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/extras' make[2]: Leaving directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/extras' Making all in man make[2]: Entering directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/man' Making all in po make[2]: Entering directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/po' Making all in lib make[2]: Entering directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/lib' rm -f libport.a x86_64-pc-linux-gnu-ar cru libport.a x86_64-pc-linux-gnu-ranlib libport.a make[2]: Leaving directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/lib' Making all in src make[2]: Entering directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o minicom.o minicom.c minicom.c: In function 'scrollback': minicom.c:492:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 492 | case_matters = 0; /* case-importance, ie. none :-) */ | ~~~~~~~~~~~~~^~~ minicom.c:497:7: note: here 497 | case '/': | ^~~~ minicom.c: In function 'main': minicom.c:1328:43: warning: '/.minirc.' directive output may be truncated writing 9 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 1328 | snprintf(pparfile, sizeof(pparfile), "%s/.minirc.%s", homedir, use_port); | ^~~~~~~~~ minicom.c:1328:40: note: assuming directive output of 3 bytes 1328 | snprintf(pparfile, sizeof(pparfile), "%s/.minirc.%s", homedir, use_port); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from port.h:57, from minicom.c:38: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 10 or more bytes (assuming 268) into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from port.h:56, from minicom.c:38: In function 'strncpy', inlined from 'main' at minicom.c:1324:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at minicom.c:1322:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at minicom.c:1325:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at minicom.c:1210:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o vt100.o vt100.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o config.o config.c config.c: In function 'domodem': config.c:706:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 706 | if (string_size == 0) | ^ config.c:708:7: note: here 708 | case 'N': | ^~~~ config.c:709:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 709 | if (string_size == 0) | ^ config.c:711:7: note: here 711 | case 'O': | ^~~~ config.c:712:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 712 | if (string_size == 0) | ^ config.c:714:7: note: here 714 | case 'P': | ^~~~ config.c:718:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 718 | maxl = 4; | ~~~~~^~~ config.c:719:7: note: here 719 | case 'K': | ^~~~ config.c:720:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 720 | if (string_size == 0) | ^ config.c:722:7: note: here 722 | case 'L': | ^~~~ config.c:726:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 726 | c += 3; | ~~^~~~ config.c:727:7: note: here 727 | case 'A': | ^~~~ config.c:728:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 728 | if (string_size == 0) | ^ config.c:730:7: note: here 730 | case 'B': | ^~~~ config.c:731:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 731 | if (string_size == 0) | ^ config.c:733:7: note: here 733 | case 'C': | ^~~~ config.c:734:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 734 | if (string_size == 0) | ^ config.c:736:7: note: here 736 | case 'D': | ^~~~ config.c:737:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 737 | if (string_size == 0) | ^ config.c:739:7: note: here 739 | case 'E': | ^~~~ config.c:740:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 740 | if (string_size == 0) | ^ config.c:742:7: note: here 742 | case 'F': | ^~~~ config.c:743:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 743 | if (string_size == 0) | ^ config.c:745:7: note: here 745 | case 'G': | ^~~~ config.c:746:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 746 | if (string_size == 0) | ^ config.c:748:7: note: here 748 | case 'H': | ^~~~ config.c:749:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 749 | if (string_size == 0) | ^ config.c:751:7: note: here 751 | case 'I': | ^~~~ config.c: In function 'update_bbp_from_char': config.c:1511:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1511 | delta = 1; | ~~~~~~^~~ config.c:1512:5: note: here 1512 | case 'B': | ^~~~ config.c:1514:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1514 | if (speed_idx < 0) | ^ config.c:1519:5: note: here 1519 | case 'C': | ^~~~ config.c:1522:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1522 | if (c == 'C') | ^ config.c:1528:5: note: here 1528 | case 'K': | ^~~~ In file included from /usr/include/string.h:494, from port.h:56, from config.c:39: In function 'strncpy', inlined from 'read_parms' at config.c:90:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o help.o help.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o updown.o updown.c updown.c: In function 'mcd': updown.c:67:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 67 | snprintf(buf, sizeof(buf), "%s/%s", homedir, dir); | ^ In file included from /usr/include/stdio.h:867, from port.h:57, from updown.c:34: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ updown.c: In function 'runscript': updown.c:704:23: warning: '%d' directive writing between 1 and 6 bytes into a region of size 5 [-Wformat-overflow=] 704 | sprintf(scr_lines, "%d", (int) lines); /* jl 13.09.97 */ | ^~ updown.c:704:22: note: directive argument in the range [-32768, 32767] 704 | sprintf(scr_lines, "%d", (int) lines); /* jl 13.09.97 */ | ^~~~ In file included from /usr/include/stdio.h:867, from port.h:57, from updown.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 7 bytes into a destination of size 5 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ updown.c:720:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 127 [-Wformat-truncation=] 720 | snprintf(cmdline, sizeof(cmdline), "%s %s %s %s", | ^~ 721 | P_SCRIPTPROG, scr_name, logfname, logfname[0]==0? "": homedir); | ~~~~~~~~ In file included from /usr/include/stdio.h:867, from port.h:57, from updown.c:34: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 768 bytes into a destination of size 128 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from port.h:56, from updown.c:34: In function 'strncpy', inlined from 'runscript' at updown.c:700:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 33 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'runscript' at updown.c:701:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'runscript' at updown.c:702:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 33 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o util.o util.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o dial.o dial.c dial.c: In function 'writedialdir': dial.c:1076:37: warning: '/.dialdir' directive output may be truncated writing 9 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 1076 | snprintf(dfile, sizeof(dfile), "%s/.dialdir", homedir); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from port.h:57, from dial.c:37: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 265 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dial.c: In function 'dial': dial.c:583:32: warning: '%4.4d' directive writing between 4 and 11 bytes into a region of size 9 [-Wformat-overflow=] 583 | sprintf(d->lastdate,"%4.4d%2.2d%2.2d", | ^~~~~ dial.c:583:31: note: directive argument in the range [-2147481748, 2147483647] 583 | sprintf(d->lastdate,"%4.4d%2.2d%2.2d", | ^~~~~~~~~~~~~~~~~ dial.c:583:31: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:867, from port.h:57, from dial.c:37: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 34 bytes into a destination of size 9 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dial.c: In function 'readdialdir': dial.c:884:37: warning: '/.dialdir' directive output may be truncated writing 9 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 884 | snprintf(dfile, sizeof(dfile), "%s/.dialdir", homedir); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from port.h:57, from dial.c:37: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 265 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from port.h:56, from dial.c:37: In function 'strncpy', inlined from 'dialdir' at dial.c:1885:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 32 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o window.o window.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o wkeys.o wkeys.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o ipc.o ipc.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o windiv.o windiv.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o sysdep1.o sysdep1.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o sysdep1_s.o sysdep1_s.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o sysdep2.o sysdep2.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o rwconf.o rwconf.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o main.o main.c main.c: In function 'open_term': main.c:218:27: warning: '/LCK..' directive output may be truncated writing 6 bytes into a region of size between 1 and 128 [-Wformat-truncation=] 218 | "%s/LCK..%s", | ^~~~~~ In file included from /usr/include/stdio.h:867, from port.h:57, from main.c:26: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 261 bytes into a destination of size 128 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.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o file.o file.c In file included from /usr/include/string.h:494, from port.h:56, from file.c:29: In function 'strncpy', inlined from 'filedir' at file.c:770:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o getsdir.o getsdir.c In file included from /usr/include/string.h:494, from getsdir.c:30: In function 'strncpy', inlined from 'getsdir' at getsdir.c:235:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o wildmat.o wildmat.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -DCONFDIR=\"/etc/minicom\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -c -o common.o common.c x86_64-pc-linux-gnu-gcc -O2 -pipe -fdiagnostics-show-option -frecord-gcc-switches -fno-common -W -Wall -Wextra -std=gnu99 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o minicom minicom.o vt100.o config.o help.o updown.o util.o dial.o window.o wkeys.o ipc.o windiv.o sysdep1.o sysdep1_s.o sysdep2.o rwconf.o main.o file.o getsdir.o wildmat.o common.o ../lib/libport.a -ltinfo /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: vt100.o:(.data+0x120): multiple definition of `vt_inmap'; minicom.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: vt100.o:(.data+0x20): multiple definition of `vt_outmap'; minicom.o:(.bss+0x120): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dial.o:(.bss+0x10): multiple definition of `dial_pass'; minicom.o:(.bss+0x2b8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dial.o:(.bss+0x18): multiple definition of `dial_user'; minicom.o:(.bss+0x2c0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sysdep1_s.o:(.bss+0x74): multiple definition of `portfd_is_socket'; minicom.o:(.bss+0x2b4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sysdep1_s.o:(.bss+0x0): multiple definition of `portfd_sock_addr'; minicom.o:(.bss+0x240): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sysdep1_s.o:(.bss+0x70): multiple definition of `portfd_is_connected'; minicom.o:(.bss+0x2b0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:461: minicom] Error 1 make[2]: Leaving directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7/src' make[1]: *** [Makefile:399: all-recursive] Error 1 make[1]: Leaving directory '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7' make: *** [Makefile:338: all] Error 2 * ERROR: net-dialup/minicom-2.7.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-dialup/minicom-2.7.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-dialup/minicom-2.7.1::gentoo'`. * The complete build log is located at '/dev/shm/portage/net-dialup/minicom-2.7.1/temp/build.log'. * The ebuild environment file is located at '/dev/shm/portage/net-dialup/minicom-2.7.1/temp/environment'. * Working directory: '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7' * S: '/dev/shm/portage/net-dialup/minicom-2.7.1/work/minicom-2.7'