* Package: app-shells/hstr-2.0 * Repository: gentoo * Maintainer: monsieurp@gentoo.org shell-tools@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking hstr-2.0.tar.gz to /var/tmp/portage/app-shells/hstr-2.0/work >>> Source unpacked in /var/tmp/portage/app-shells/hstr-2.0/work >>> Preparing source in /var/tmp/portage/app-shells/hstr-2.0/work/hstr-2.0 ... * Running eautoreconf in '/var/tmp/portage/app-shells/hstr-2.0/work/hstr-2.0' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: hstr-2.0/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-shells/hstr-2.0/work/hstr-2.0 ... * econf: updating hstr-2.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating hstr-2.0/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/hstr-2.0 --htmldir=/usr/share/doc/hstr-2.0/html --libdir=/usr/lib64 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 build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for pkg-config... pkg-config 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 for killwchar in -lncursesw... yes checking for cos in -lm... yes checking for using_history in -lreadline... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for stdbool.h that conforms to C99... (cached) yes checking for _Bool... yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for memset... yes checking for strdup... yes checking for strstr... yes checking for /tmp/hstr-ms-wsl... no 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 BASH_COMPLETION... no 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 man/Makefile config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/app-shells/hstr-2.0/work/hstr-2.0 ... make -j1 Making all in src make[1]: Entering directory '/var/tmp/portage/app-shells/hstr-2.0/work/hstr-2.0/src' x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"hstr\" -DPACKAGE_TARNAME=\"hstr\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"hstr\ 2.0.0\" -DPACKAGE_BUGREPORT=\"martin.dvorak@mindforger.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hstr\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNCURSESW=1 -DHAVE_LIBM=1 -DHAVE_LIBREADLINE=1 -DHAVE__BOOL=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. --pedantic -Wall -std=c99 -O2 -pipe -march=native -c -o hashset.o hashset.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"hstr\" -DPACKAGE_TARNAME=\"hstr\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"hstr\ 2.0.0\" -DPACKAGE_BUGREPORT=\"martin.dvorak@mindforger.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hstr\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNCURSESW=1 -DHAVE_LIBM=1 -DHAVE_LIBREADLINE=1 -DHAVE__BOOL=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. --pedantic -Wall -std=c99 -O2 -pipe -march=native -c -o hstr_curses.o hstr_curses.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"hstr\" -DPACKAGE_TARNAME=\"hstr\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"hstr\ 2.0.0\" -DPACKAGE_BUGREPORT=\"martin.dvorak@mindforger.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hstr\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNCURSESW=1 -DHAVE_LIBM=1 -DHAVE_LIBREADLINE=1 -DHAVE__BOOL=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. --pedantic -Wall -std=c99 -O2 -pipe -march=native -c -o hstr_history.o hstr_history.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"hstr\" -DPACKAGE_TARNAME=\"hstr\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"hstr\ 2.0.0\" -DPACKAGE_BUGREPORT=\"martin.dvorak@mindforger.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hstr\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNCURSESW=1 -DHAVE_LIBM=1 -DHAVE_LIBREADLINE=1 -DHAVE__BOOL=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. --pedantic -Wall -std=c99 -O2 -pipe -march=native -c -o hstr_utils.o hstr_utils.c In file included from /usr/include/string.h:494, from include/hstr_utils.h:26, from hstr_utils.c:19: In function ‘strncpy’, inlined from ‘get_shell_name_by_ppid’ at hstr_utils.c:211:15: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hstr_utils.c: In function ‘get_shell_name_by_ppid’: hstr_utils.c:211:47: note: length computed here 211 | strncpy(name,shell,sizeof(char)*strlen(shell)); | ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"hstr\" -DPACKAGE_TARNAME=\"hstr\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"hstr\ 2.0.0\" -DPACKAGE_BUGREPORT=\"martin.dvorak@mindforger.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hstr\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNCURSESW=1 -DHAVE_LIBM=1 -DHAVE_LIBREADLINE=1 -DHAVE__BOOL=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. --pedantic -Wall -std=c99 -O2 -pipe -march=native -c -o hstr_favorites.o hstr_favorites.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"hstr\" -DPACKAGE_TARNAME=\"hstr\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"hstr\ 2.0.0\" -DPACKAGE_BUGREPORT=\"martin.dvorak@mindforger.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hstr\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNCURSESW=1 -DHAVE_LIBM=1 -DHAVE_LIBREADLINE=1 -DHAVE__BOOL=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. --pedantic -Wall -std=c99 -O2 -pipe -march=native -c -o hstr_blacklist.o hstr_blacklist.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"hstr\" -DPACKAGE_TARNAME=\"hstr\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"hstr\ 2.0.0\" -DPACKAGE_BUGREPORT=\"martin.dvorak@mindforger.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hstr\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNCURSESW=1 -DHAVE_LIBM=1 -DHAVE_LIBREADLINE=1 -DHAVE__BOOL=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. --pedantic -Wall -std=c99 -O2 -pipe -march=native -c -o hstr_regexp.o hstr_regexp.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"hstr\" -DPACKAGE_TARNAME=\"hstr\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"hstr\ 2.0.0\" -DPACKAGE_BUGREPORT=\"martin.dvorak@mindforger.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hstr\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNCURSESW=1 -DHAVE_LIBM=1 -DHAVE_LIBREADLINE=1 -DHAVE__BOOL=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. --pedantic -Wall -std=c99 -O2 -pipe -march=native -c -o radixsort.o radixsort.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"hstr\" -DPACKAGE_TARNAME=\"hstr\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"hstr\ 2.0.0\" -DPACKAGE_BUGREPORT=\"martin.dvorak@mindforger.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hstr\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNCURSESW=1 -DHAVE_LIBM=1 -DHAVE_LIBREADLINE=1 -DHAVE__BOOL=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. --pedantic -Wall -std=c99 -O2 -pipe -march=native -c -o hstr.o hstr.c hstr.c: In function ‘print_selection_row’: hstr.c:827:37: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 827 | snprintf(screenLine, width, " %s", buffer); | ^ In file included from /usr/include/stdio.h:867, from /usr/include/ncursesw/curses.h:183, from include/hstr.h:29, from hstr.c:21: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 2049 bytes into a destination of size 2048 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"hstr\" -DPACKAGE_TARNAME=\"hstr\" -DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"hstr\ 2.0.0\" -DPACKAGE_BUGREPORT=\"martin.dvorak@mindforger.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hstr\" -DVERSION=\"2.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNCURSESW=1 -DHAVE_LIBM=1 -DHAVE_LIBREADLINE=1 -DHAVE__BOOL=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -I. --pedantic -Wall -std=c99 -O2 -pipe -march=native -c -o main.o main.c x86_64-pc-linux-gnu-gcc --pedantic -Wall -std=c99 -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -o hstr hashset.o hstr_curses.o hstr_history.o hstr_utils.o hstr_favorites.o hstr_blacklist.o hstr_regexp.o radixsort.o hstr.o main.o -lreadline -lm -lncursesw /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: hstr_curses.o: undefined reference to symbol 'keypad' /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[1]: *** [Makefile:386: hstr] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-shells/hstr-2.0/work/hstr-2.0/src' make: *** [Makefile:407: all-recursive] Error 1 * ERROR: app-shells/hstr-2.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-shells/hstr-2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-shells/hstr-2.0::gentoo'`. * The complete build log is located at '/var/log/portage/app-shells:hstr-2.0:20190719-081624.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-shells/hstr-2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-shells/hstr-2.0/temp/environment'. * Working directory: '/var/tmp/portage/app-shells/hstr-2.0/work/hstr-2.0' * S: '/var/tmp/portage/app-shells/hstr-2.0/work/hstr-2.0'