Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 271030

Summary: cannot build dev-tex/luatex-0.30.3 (glibc-2.10.1 problem?)
Product: Gentoo Linux Reporter: Andy Neitzke <neitzke>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andy Neitzke 2009-05-24 07:44:15 UTC
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.
Comment 1 Sebastian Luther (few) 2009-05-24 07:45:34 UTC

*** This bug has been marked as a duplicate of bug 270474 ***