I could not find this bug by searching all keywords possible in all the Internet possible (google, gentoo forums, gentoo bugs) keywords (tar, rpl_getcwd, getcwd.o, undefined reference, openat64, fdopendir) -- nothing :( I emerged-webrsynced portage today morning (lastest version of portage ebuilds was fetched that of yesterday'y): ... i686-pc-linux-gnu-gcc -O2 -march=pentium3 -pipe -o tar buffer.o compare.o create.o delete.o extract.o xheader.o incremen.o list.o mangle.o misc.o names.o sparse.o system.o tar.o update.o utf8.o ../lib/libtar.a -lrt ../lib/libtar.a(getcwd.o): In function `rpl_getcwd': getcwd.c:(.text+0x15d): undefined reference to `openat64' getcwd.c:(.text+0x1ff): undefined reference to `fdopendir' getcwd.c:(.text+0x280): undefined reference to `__fxstatat64' collect2: ld returned 1 exit status make[2]: *** [tar] Error 1 make[2]: Leaving directory `/var/tmp/portage/tar-1.15.1-r1/work/tar-1.15.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/tar-1.15.1-r1/work/tar-1.15.1' make: *** [all] Error 2 !!! ERROR: app-arch/tar-1.15.1-r1 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile tar-1.15.1-r1.ebuild, line 55: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.
you forgot to post `emerge info`