# emerge sys-apps/less Calculating dependencies ... done! Dependency resolution took 0.90 s (backtrack: 0/20). >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-apps/less-668::gentoo * less-668.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking less-668.tar.gz to /var/tmp/portage/sys-apps/less-668/work >>> Source unpacked in /var/tmp/portage/sys-apps/less-668/work >>> Preparing source in /var/tmp/portage/sys-apps/less-668/work/less-668 ... * Applying less-643-lesstest-pkg-config.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-apps/less-668/work/less-668' ... * Running 'aclocal --system-acdir=/var/tmp/portage/sys-apps/less-668/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader --force' ... [ ok ] * Running elibtoolize in: less-668/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/less-668/work/less-668 ... * econf: updating less-668/config.guess with /usr/share/gnuconfig/config.guess * econf: updating less-668/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 --datarootdir=/usr/share --docdir=/usr/share/doc/less-668 --htmldir=/usr/share/doc/less-668/html --libdir=/usr/lib64 --with-regex=pcre2 --with-editor=/usr/libexec/editor checking for x86_64-pc-linux-gnu-gcc... clang 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 the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking for library containing strerror... none required checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c checking for clang option to enable large file support... none needed checking for tgoto in -ltinfo... yes checking for tgoto in -ltinfow... yes checking for initscr in -lxcurses... no checking for initscr in -lncursesw... yes checking for initscr in -lncurses... yes checking for initscr in -lcurses... no checking for tgetent in -ltermcap... no checking for tgetent in -ltermlib... no checking for library containing regcmp... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for stdckdint.h... yes checking for termcap.h... yes checking for ncurses/termcap.h... no checking for ncursesw/termcap.h... yes checking for termio.h... yes checking for termios.h... yes checking for time.h... yes checking for values.h... yes checking for linux/magic.h... yes checking for sys/ioctl.h... yes checking for sys/stream.h... no checking for sys/wait.h... yes checking for wctype.h... yes checking whether stat file-mode macros are broken... no checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking for working terminal libraries... using -ltinfow checking for void... yes checking for const... yes checking for time_t... yes checking for st_ino in struct stat... yes checking for ANSI function prototypes... no checking for fchmod... yes checking for fsync... yes checking for nanosleep... yes checking for poll... yes checking for popen... yes checking for realpath... yes checking for _setjmp... yes checking for sigprocmask... yes checking for sigsetmask... yes checking for snprintf... yes checking for stat... yes checking for strsignal... yes checking for system... yes checking for ttyname... yes checking for usleep... yes checking for memcpy... yes checking for strchr... yes checking for strstr... yes checking for tcgetattr... yes checking for fileno... yes checking for strerror... yes checking for sys_errlist... yes checking for sigset_t... yes checking for sigemptyset... yes checking for errno... yes - in errno.h checking for locale... yes checking for ctype functions... yes checking for wctype functions... yes checking termcap for ospeed... yes - in termcap.h checking for pcre2_compile_8 in -lpcre2-8... yes regular expression library: pcre2 configure: creating ./config.status config.status: creating Makefile config.status: creating defines.h >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/less-668/work/less-668 ... make -j22 test ! -f stamp-h || CONFIG_FILES= CONFIG_HEADERS=defines.h ./config.status clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin lesskey.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin lessecho.c touch stamp-h clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin main.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin screen.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin brac.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin ch.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin charset.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin cmdbuf.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin command.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin cvt.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin decode.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin edit.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin evar.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin filename.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin forwback.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin help.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin ifile.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin input.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin jump.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin line.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin linenum.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin lsystem.c lsystem.c:118:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 118 | dup(inp); | ^~~ ~~~ lsystem.c:152:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 152 | system(p); | ^~~~~~ ~ lsystem.c:177:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 177 | dup(inp); | ^~~ ~~~ 3 warnings generated. clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin mark.c ch.c:301:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 301 | ...write(logfile, &bp->data[bp->datasize], (size_t) n); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ch.c:429:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 429 | write(logfile, bp->data, bp->datasize); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin optfunc.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin option.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin opttbl.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin os.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin output.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin pattern.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin position.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin prompt.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin search.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin signal.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin tags.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin ttyin.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin version.c 2 warnings generated. clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin xbuf.c clang -I. -c -DBINDIR=\"/usr/bin\" -DSYSDIR=\"/etc\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -flto=thin lesskey_parse.c clang -Wl,-O2 -Wl,--as-needed -o lessecho lessecho.o version.o -ltinfow -lpcre2-8 lessecho.o: file not recognized: file format not recognized clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:71: lessecho] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: sys-apps/less-668::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/less-668::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/less-668::gentoo'`. * The complete build log is located at '/var/log/portage/build/sys-apps/less-668:20241223-082347.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/less-668/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/less-668/work/less-668' * S: '/var/tmp/portage/sys-apps/less-668/work/less-668' >>> Failed to emerge sys-apps/less-668, Log file: >>> '/var/log/portage/build/sys-apps/less-668:20241223-082347.log' * Messages for package sys-apps/less-668: * Log file: /var/log/portage/build/sys-apps/less-668:20241223-082347.log * Package: sys-apps/less-668:0 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pcre * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Applying less-643-lesstest-pkg-config.patch ... * Running eautoreconf in '/var/tmp/portage/sys-apps/less-668/work/less-668' ... * Running 'aclocal --system-acdir=/var/tmp/portage/sys-apps/less-668/temp/aclocal' ... * Running 'autoconf --force' ... * Running 'autoheader --force' ... * ERROR: sys-apps/less-668::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/less-668::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/less-668::gentoo'`. * The complete build log is located at '/var/log/portage/build/sys-apps/less-668:20241223-082347.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/less-668/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/less-668/work/less-668' * S: '/var/tmp/portage/sys-apps/less-668/work/less-668'