Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140359 - fontconfig-2.3.2-r1 fails to build with error: #include expects "FILENAME" or <FILENAME>
Summary: fontconfig-2.3.2-r1 fails to build with error: #include expects "FILENAME" or...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
: 146414 (view as bug list)
Depends on:
Blocks: 142333
  Show dependency tree
 
Reported: 2006-07-14 06:32 UTC by Eric Thibodeau
Modified: 2006-09-18 08:53 UTC (History)
2 users (show)

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 Eric Thibodeau 2006-07-14 06:32:23 UTC
...
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2/ -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I../src -march=nocona -O2 -pipe -fomit-frame-pointer -MT fcfreetype.lo -MD -MP -MF .deps/fcfreetype.Tpo -c fcfreetype.c  -fPIC -DPIC -o .libs/fcfreetype.o
fcfreetype.c:53:10: error: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:58:10: error: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:59:10: error: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:60:10: error: #include expects "FILENAME" or <FILENAME>
fcfreetype.c: In function &#8216;FcSfntNameTranscode&#8217;:
fcfreetype.c:736: warning: pointer targets in passing argument 2 of &#8216;FcStrCmpIgnoreBlanksAndCase&#8217; differ in signedness
fcfreetype.c: In function &#8216;FcSfntNameLanguage&#8217;:
fcfreetype.c:752: warning: pointer targets in return differ in signedness
fcfreetype.c: In function &#8216;FcVendorMatch&#8217;:
fcfreetype.c:804: warning: pointer targets in passing argument 1 of &#8216;strlen&#8217; differ in signedness
fcfreetype.c: At top level:
...

Here is my emerge --info
kyron src # emerge --info
>>> cfg-update-1.8.0-r3 : Building checksum index... (takes a few seconds)  done!
Portage 2.1.1_pre2-r8 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-ck11_KyRoN i686)
=================================================================
                       System Settings
=================================================================
System uname: 2.6.16-ck11_KyRoN i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.92, 2.16.93, 2.17.50.0.2
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LANG="en_US.utf8"
LINGUAS="en fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/sci /usr/local/gentoo-webapps-overlay/experimental /usr/local/gentoo-webapps-overlay/production-ready"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac acl adns alsa apache2 asf asterisk audiofile avi bash-completion berkdb bidi bitmap-fonts blas bzip2 cairo cddb cdparanoia cdr cgi ck-server clanJavaScript clanVoice cli crypt ctype cups curl dba dbus dga divx4linux dlloader dts dvb dvd dvdr dvdread edl emboss encode esd expat f2c fastbuild ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gcj gd gdbm ggi gif gimp gimpprint ginac gpm gstreamer gtk gtk2 hal hdf5 iconv imagemagick imap imlib imlib2 ithreads jack java javascript jikes jp2 jpeg jpeg2k kde kdeenablefinal kdepim kdexdeltas kerberos ldap libcaca lm_sensors ltsp lzo mad maildir math matroska matrox mbrola md5sum memlimit mikmod mjpeg mmx mmx2 mmxext mozcalendar mp3 mpeg mpeg2 mpeg4 mplayer mpm-worker msn mysql mysqli mythtv nas ncurses netboot network nfs nis nls nntp no-htdocs no-old-linux no-suexec noplugin nptl nvidia offensive ofx ogg oggvorbis openal opengl oss pam pcre pda pdf pdflib perl php pic pie plotutils png posix povray ppds pthreads python qhull qt qt3 qt4 quicktime quotas readline samba sasl savedconfig scanner sdl server session sndfile soap socket sox spell sse sse2 ssl stroke svg svga tcltk tcpd tga theora threads tiff tokenizer transcode truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles user-homedirs userlocales utf8 v4l v4l2 vcd vcdimager vhosts vidix vim-pager vim-with-x vorbis win32codecs wmf wxwindows xanim xchattext xine xinerama xml xmms xprint xsl xv xvid yahoo yv12 zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_fr userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-07-14 10:23:38 UTC
Here's the patch:
http://freetype.sourceforge.net/freetype2/patches/fontconfig-2.3.2-noftinternals.patch
Comment 2 Eric Thibodeau 2006-07-14 11:38:33 UTC
Just to confirm that the patch works. All I did is copy the latest ebuild (2.3.2-r1) and added the epatch line.
Comment 3 Michael Lelli 2006-07-24 15:44:08 UTC
Works for me as well. Wouldn't it be a good time to put this patch in, or at least one of the newer versions of fontconfig which no longer use FreeType internals?
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-05 09:48:33 UTC
*** Bug 146414 has been marked as a duplicate of this bug. ***
Comment 5 foser (RETIRED) gentoo-dev 2006-09-18 08:53:40 UTC
fontconfig 2.3.2-r2 with patch and 2.4.1 have been added