Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271031 - media-libs/freetype-1.4_pre20080316-r1 fails to compile: conflicting types for ‘getline’
Summary: media-libs/freetype-1.4_pre20080316-r1 fails to compile: conflicting types fo...
Status: RESOLVED DUPLICATE of bug 270460
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-24 08:16 UTC by Hongjiu Zhang
Modified: 2009-05-24 08:19 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hongjiu Zhang 2009-05-24 08:16:11 UTC
build.log.bz2 is provided as an attachment.

Thank you for your help!

Reproducible: Always

Steps to Reproduce:

Actual Results:  
i686-pc-linux-gnu-gcc -c -O2 -fomit-frame-pointer -march=native -pipe  -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:21:
newobj.h:29: error: conflicting types for ‘getline’
/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 filesrch.c:21:
newobj.h:29: error: conflicting types for ‘getline’
/usr/include/stdio.h:651: error: previous declaration of ‘getline’ was here
make: *** [filesrch.o] Error 1

Expected Results:  
Successful installation.

emerge --info:
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.27-7-generic i686)                              
=================================================================                                                                   
System uname: Linux-2.6.27-7-generic-i686-Genuine_Intel-R-_CPU_T2050_@_1.60GHz-with-gentoo-2.0.0                                    
Timestamp of tree: Sun, 24 May 2009 06:45:02 +0000                                                                                  
ccache version 2.4 [enabled]                                                                                                        
app-shells/bash:     4.0_p24                                                                                                        
dev-java/java-config: 2.1.8                                                                                                         
dev-lang/python:     2.5.4-r2, 2.6.2                                                                                                
dev-util/ccache:     2.4-r8                                                                                                         
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="x86 ~x86"                                                                                                          
CBUILD="i686-pc-linux-gnu"                                                                                                          
CFLAGS="-O2 -fomit-frame-pointer -march=native -pipe"                                                                               
CHOST="i686-pc-linux-gnu"                                                                                                           
CONFIG_PROTECT="/etc /var/lib/hsqldb"                                                                                               
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                  
CXXFLAGS="-O2 -fomit-frame-pointer -march=native -pipe"                                                                                                      
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo http://ftp.kaist.ac.kr/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--hash-style=both -Wl,--sort-common"
LINGUAS="zh_TW zh af am ar as_IN az be be_BY bg bn bn_IN bo br brx bs ca cs csb cy da de de_FR dgo dz el en en_GB en_US en_ZA eo es es_AR es_CR es_ES es_LA et et_EE eu fa fi fo fr fr_CA fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN hr hsb hu hy id is it ja ka kk km kn kn_IN ko kok ks ku la lb lo lt lv mai mk ml ml_IN mn mni mr mr_IN ms mt nb nb_NO nds ne nl nn nn_NO no nr ns nso oc or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw sa_IN sat sd se sh sh_YU si sk sl sq sr sr@Latnsr_CS ss st sv sv_SE sw_TZ ta ta_IN te te_IN tg th ti_ER tk tl tn tr ts uk ur_IN ur_PK uz uz@cyrillic ve vi wa xh zh_CN zh_HK zu"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-china /usr/local/portage/layman/sunrise /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/science"
SYNC="rsync://mirror.averse.net/gentoo-portage"
USE="X aac acpi alsa berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cvs dbus dri dvd dvdr dvdread eds emboss encode esd evo fam fortran gdbm gif git gnome gpm gstreamer gtk hal iconv ipv6 java jpeg kpathsea ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python quicktime readline reflection sdl session spell spl sqlite ssl startup-notification subversion svg sysfs tcpd tiff truetype ubuntu unicode usb vim-syntax vorbis win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="intel-hda" 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="evdev keyboard mousesynaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_TW zh af am ar as_IN az be be_BY bg bn bn_IN bo br brx bs ca cs csb cy da de de_FR dgo dz el en en_GB en_US en_ZA eo es es_AR es_CR es_ES es_LA et et_EE eu fa fi fo fr fr_CA fy fy_NL ga ga_IEgl gu gu_IN he hi hi_IN hr hsb hu hy id is it ja ka kk km kn kn_IN ko kok ks ku la lb lo lt lv mai mk ml ml_IN mn mni mr mr_IN ms mt nb nb_NO nds ne nl nn nn_NO no nr ns nso oc or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw sa_IN sat sd se sh sh_YU si sk sl sq sr sr@Latn sr_CS ss st sv sv_SE sw_TZ ta ta_IN te te_IN tg th ti_ER tk tl tn tr ts uk ur_IN ur_PK uz uz@cyrillic ve vi wa xh zh_CN zh_HK zu" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sebastian Luther (few) 2009-05-24 08:19:00 UTC

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