I cannot build dev-tex/luatex-0.30.3. Reproducible: Always Steps to Reproduce: 1. emerge luatex Actual Results: The error: In file included from tangleboot.c:94: tangleboot.h:34: error: conflicting types for 'getline' /usr/include/stdio.h:651: error: previous declaration of 'getline' was here tangleboot.c:2175: error: conflicting types for 'getline' /usr/include/stdio.h:651: error: previous declaration of 'getline' was here make: *** [tangleboot.o] Error 1 * * ERROR: dev-tex/luatex-0.30.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2553: Called die * The specific snippet of code: * emake LIBMPLIBDEP="/usr/$(get_libdir)/libmplib/mplib.la" LDZZIPLIB="$(pkg-config --libs zziplib)" ZZIPLIBINC="$(pkg-config --cflags zziplib)" LIBXPDFDEP="" LDLIBXPDF="$(pkg-config --libs poppler)" LIBXPDFINCLUDE="$(pkg-config --cflags poppler)" LIBXPDFCPPFLAGS="$(pkg-config --cflags poppler)" LIBPNGINCLUDES="$(pkg-config --cflags libpng)" ZLIBSRCDIR="." luatex || die "failed to build luatex" * The die message: * failed to build luatex I recently upgraded various packages including glibc (to 2.10.1). From looking around a little I gather that glibc 2.10 exposes a symbol "getline" which has caused a similar compilation problem in many packages.
*** This bug has been marked as a duplicate of bug 270474 ***