Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271030 - cannot build dev-tex/luatex-0.30.3 (glibc-2.10.1 problem?)
Summary: cannot build dev-tex/luatex-0.30.3 (glibc-2.10.1 problem?)
Status: RESOLVED DUPLICATE of bug 270474
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2009-05-24 07:44 UTC by Andy Neitzke
Modified: 2009-05-24 07:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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:
 *     , line   49:  Called src_compile
 *             environment, line 2553:  Called die
 * The specific snippet of code:
 *       emake LIBMPLIBDEP="/usr/$(get_libdir)/libmplib/" 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 ***