While emerging app-text/texlive, media-libs/freetype-1.4_pre20080316-r1 gives make error. emake ttf2pk failed Reproducible: Always Steps to Reproduce: 1. emerge app-text/texlive 2. 3. Actual Results: checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for kpse_set_program_name in -lkpathsea... yes checking for kpse_init_prog in -lkpathsea... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking kpathsea/kpathsea.h usability... yes checking kpathsea/kpathsea.h presence... yes checking for kpathsea/kpathsea.h... yes checking kpathsea/c-auto.h usability... yes checking kpathsea/c-auto.h presence... yes checking for kpathsea/c-auto.h... yes checking for floor in -lm... yes checking for gettext in -lintl... no checking for TT_Init_FreeType in -lttf... yes checking for rm... rm checking for rmdir... rmdir checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating MakeSub config.status: WARNING: 'MakeSub.in' seems to ignore the --datarootdir setting make -j4 x86_64-pc-linux-gnu-gcc -c -march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -I./../../lib -I/usr/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 errormsg.c x86_64-pc-linux-gnu-gcc -c -march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -I./../../lib -I/usr/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 filesrch.c x86_64-pc-linux-gnu-gcc -c -march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -I./../../lib -I/usr/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 ligkern.c In file included from ligkern.c:20: newobj.h:29: error: conflicting types for 'getline'In file included from filesrch.c:20: newobj.h:29: error: conflicting types for 'getline' /usr/include/stdio.h:651: error: previous declaration of 'getline' was here x86_64-pc-linux-gnu-gcc -c -march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -I./../../lib -I/usr/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 newobj.c /usr/include/stdio.h:651: error: previous declaration of 'getline' was here make: *** [ligkern.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from newobj.c:15: newobj.h:29: error: conflicting types for 'getline' /usr/include/stdio.h:651: error: previous declaration of 'getline' was here newobj.c:137: error: conflicting types for 'getline' /usr/include/stdio.h:651: error: previous declaration of 'getline' was here make: *** [newobj.o] Error 1 make: *** [filesrch.o] Error 1 * * ERROR: media-libs/freetype-1.4_pre20080316-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2690: Called die * The specific snippet of code: * emake || die "emake ttf2pk failed"; * The die message: * emake ttf2pk failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/freetype-1.4_pre20080316-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/freetype-1.4_pre20080316-r1/temp/environment'. * >>> Failed to emerge media-libs/freetype-1.4_pre20080316-r1, Log file: >>> '/var/tmp/portage/media-libs/freetype-1.4_pre20080316-r1/temp/build.log' * Messages for package media-libs/freetype-1.4_pre20080316-r1: * * ERROR: media-libs/freetype-1.4_pre20080316-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2690: Called die * The specific snippet of code: * emake || die "emake ttf2pk failed"; * The die message: * emake ttf2pk failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/freetype-1.4_pre20080316-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/freetype-1.4_pre20080316-r1/temp/environment'. Expected Results: emerge fine Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.0 Timestamp of tree: Sat, 23 May 2009 06:15:02 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.7 dev-lang/python: 2.4.4-r15, 2.6.2 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer " DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo/ " LDFLAGS="-Wl,-O1" LINGUAS="en en_US tr tr_TR" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acl alsa amd64 amr avahi berkdb bitmap bitmap-fonts bluetooth bzip2 cdr cjk cli consolekit cracklib crypt cups daap dbus divx divx4linux dri dvd dvdr dvdread encode exif ffmpeg flac fortran gb gdbm gif glitz gmedia gnome gpm gtk hal hddtemp iconv imlib isdnlog ithreads jpeg jpeg2k kpathsea ldap midi mikmod mime mmap mmx mng mp3 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre perl png posix pppd pulseaudio python quickime quicktime readline realmedia reflection samba session smb sockets spl sqlite sse sse2 ssl svg sysfs tagwriting tcl tcpd theora threads tiff tk truetype truetype-fonts type1-fonts unicode usb vcd vorbis wifi wmf wmp xcb xorg xpm xvid xvmc zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US tr tr_TR" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
*** This bug has been marked as a duplicate of bug 270460 ***