From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2097: 23.0.60; Compile errors in ftfont.c Date: Wed, 28 Jan 2009 22:26:48 +0100 Message-ID: <874ozjjf53.fsf@thinkpad.tsdh.de> Reply-To: Tassilo Horn , 2097@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233179155 12844 80.91.229.12 (28 Jan 2009 21:45:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2009 21:45:55 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 28 22:47:08 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LSIFR-0000P8-Ka for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Jan 2009 22:47:03 +0100 Original-Received: from localhost ([127.0.0.1]:52142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSIE9-0008Bb-Fp for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Jan 2009 16:45:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSIC8-0007OL-3F for bug-gnu-emacs@gnu.org; Wed, 28 Jan 2009 16:43:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSIC6-0007Ne-Ua for bug-gnu-emacs@gnu.org; Wed, 28 Jan 2009 16:43:35 -0500 Original-Received: from [199.232.76.173] (port=49694 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSIC6-0007NL-40 for bug-gnu-emacs@gnu.org; Wed, 28 Jan 2009 16:43:34 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54335) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LSIC4-0004UB-Tf for bug-gnu-emacs@gnu.org; Wed, 28 Jan 2009 16:43:33 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0SLhT3G024459; Wed, 28 Jan 2009 13:43:30 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0SLZ3K3022233; Wed, 28 Jan 2009 13:35:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Tassilo Horn Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 28 Jan 2009 21:35:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2097 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123317802920876 (code B ref -1); Wed, 28 Jan 2009 21:35:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 28 Jan 2009 21:27:09 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0SLR3U9020870 for ; Wed, 28 Jan 2009 13:27:04 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:54850) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LSHuU-0000kw-Ed for emacs-pretest-bug@gnu.org; Wed, 28 Jan 2009 16:25:23 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LSHw2-00036m-IN for emacs-pretest-bug@gnu.org; Wed, 28 Jan 2009 16:27:01 -0500 Original-Received: from out5.smtp.messagingengine.com ([66.111.4.29]:52885) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LSHw2-00036J-5q for emacs-pretest-bug@gnu.org; Wed, 28 Jan 2009 16:26:58 -0500 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.fastmail.fm (Postfix) with ESMTP id 157722603CD for ; Wed, 28 Jan 2009 16:26:53 -0500 (EST) Original-Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 28 Jan 2009 16:26:53 -0500 X-Sasl-enc: K41mcqQnLiF+WLLca+9a+ftVM39CuE4H4tEna5IAZXbR 1233178012 Original-Received: from thinkpad.tsdh.de (p54AF26DD.dip0.t-ipconnect.de [84.175.38.221]) by mail.messagingengine.com (Postfix) with ESMTPA id E28F834404 for ; Wed, 28 Jan 2009 16:26:51 -0500 (EST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 28 Jan 2009 16:43:35 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24691 gmane.emacs.pretest.bugs:23801 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Since yesterday evening EST I cannot compile emacs anymore. The error is: --8<---------------cut here---------------start------------->8--- x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -I. -I/var/tmp/paludis/app-editors-emacs-cvs-23.0.9999-r1/work/emacs/src -D_BSD_SOURCE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/alsa -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -march=core2 -O2 -pipe -I/usr/include/freetype2 xfont.c x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -I. -I/var/tmp/paludis/app-editors-emacs-cvs-23.0.9999-r1/work/emacs/src -D_BSD_SOURCE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/alsa -I/usr/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -march=core2 -O2 -pipe -I/usr/include/freetype2 ftfont.c ftfont.c:68: error: expected specifier-qualifier-list before 'OTF' ftfont.c:345: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ftfont.c:348: error: expected identifier or '(' before '{' token ftfont.c: In function 'ftfont_list': ftfont.c:874: error: 'OTF' undeclared (first use in this function) ftfont.c:874: error: (Each undeclared identifier is reported only once ftfont.c:874: error: for each function it appears in.) ftfont.c:874: error: 'otf' undeclared (first use in this function) ftfont.c: In function 'ftfont_open': ftfont.c:1090: error: 'struct ftfont_info' has no member named 'ft_size' ftfont.c:1091: error: 'struct ftfont_info' has no member named 'index' ftfont.c:1094: error: 'struct ftfont_info' has no member named 'otf' ftfont.c: In function 'ftfont_close': ftfont.c:1171: error: 'struct ftfont_info' has no member named 'index' ftfont.c:1182: error: 'struct ftfont_info' has no member named 'otf' ftfont.c:1183: error: 'struct ftfont_info' has no member named 'otf' ftfont.c:1188: error: 'struct ftfont_info' has no member named 'ft_size' ftfont.c: In function 'ftfont_has_char': ftfont.c:1207: error: 'struct ftfont_info' has no member named 'ft_size' ftfont.c: In function 'ftfont_encode_char': ftfont.c:1218: error: 'struct ftfont_info' has no member named 'ft_size' ftfont.c: In function 'ftfont_text_extents': ftfont.c:1233: error: 'struct ftfont_info' has no member named 'ft_size' ftfont.c:1237: error: 'struct ftfont_info' has no member named 'ft_size' ftfont.c:1238: error: 'struct ftfont_info' has no member named 'ft_size' ftfont.c: In function 'ftfont_get_bitmap': ftfont.c:1292: error: 'struct ftfont_info' has no member named 'ft_size' ftfont.c:1295: error: 'struct ftfont_info' has no member named 'ft_size' ftfont.c:1296: error: 'struct ftfont_info' has no member named 'ft_size' ftfont.c: In function 'ftfont_anchor_point': ftfont.c:1340: error: 'struct ftfont_info' has no member named 'ft_size' ftfont.c:1342: error: 'struct ftfont_info' has no member named 'ft_size' ftfont.c:1343: error: 'struct ftfont_info' has no member named 'ft_size' ftfont.c: In function 'ftfont_otf_features': ftfont.c:1359: error: expected declaration specifiers before 'OTF_GSUB_GPOS' ftfont.c:1364: error: invalid type argument of '->' (have 'int') ftfont.c:1366: error: 'OTF_Script' undeclared (first use in this function) ftfont.c:1366: error: 'otf_script' undeclared (first use in this function) ftfont.c:1366: error: invalid type argument of '->' (have 'int') ftfont.c:1370: error: 'OTF_LangSys' undeclared (first use in this function) ftfont.c:1370: error: 'otf_langsys' undeclared (first use in this function) ftfont.c:1382: error: invalid type argument of '->' (have 'int') ftfont.c:1384: error: invalid type argument of '->' (have 'int') ftfont.c:1384: error: invalid type argument of '->' (have 'int') ftfont.c:1384: error: invalid type argument of '->' (have 'int') ftfont.c:1384: error: invalid type argument of '->' (have 'int') ftfont.c:1394: error: invalid type argument of '->' (have 'int') ftfont.c:1394: error: invalid type argument of '->' (have 'int') ftfont.c:1394: error: invalid type argument of '->' (have 'int') ftfont.c:1394: error: invalid type argument of '->' (have 'int') ftfont.c: In function 'ftfont_otf_capability': ftfont.c:1407: error: 'OTF' undeclared (first use in this function) ftfont.c:1407: error: 'otf' undeclared (first use in this function) ftfont.c: At top level: ftfont.c:1429: error: expected specifier-qualifier-list before 'OTF' ftfont.c: In function 'ftfont_check_otf': ftfont.c:1497: error: 'OTF' undeclared (first use in this function) ftfont.c:1497: error: 'otf' undeclared (first use in this function) ftfont.c:1497: error: 'struct MFLTFontFT' has no member named 'otf' ftfont.c:1498: error: 'OTF_Tag' undeclared (first use in this function) ftfont.c:1498: error: 'tags' undeclared (first use in this function) ftfont.c: At top level: ftfont.c:1530: error: expected declaration specifiers or '...' before 'OTF_Anchor' ftfont.c: In function 'adjust_anchor': ftfont.c:1533: error: 'anchor' undeclared (first use in this function) ftfont.c: At top level: ftfont.c:1557: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'otf_gstring' ftfont.c: In function 'setup_otf_gstring': ftfont.c:1562: error: 'otf_gstring' undeclared (first use in this function) ftfont.c:1564: error: 'OTF_Glyph' undeclared (first use in this function) ftfont.c:1564: error: expected expression before ')' token ftfont.c:1569: error: expected expression before ')' token ftfont.c: In function 'ftfont_drive_otf': ftfont.c:1589: error: 'OTF' undeclared (first use in this function) ftfont.c:1589: error: 'otf' undeclared (first use in this function) ftfont.c:1589: error: 'struct MFLTFontFT' has no member named 'otf' ftfont.c:1592: error: 'OTF_Glyph' undeclared (first use in this function) ftfont.c:1592: error: 'otfg' undeclared (first use in this function) ftfont.c:1633: error: 'otf_gstring' undeclared (first use in this function) ftfont.c:1732: error: 'OTF_XPlacement' undeclared (first use in this function) ftfont.c:1735: error: 'OTF_XPlaDevice' undeclared (first use in this function) ftfont.c:1738: error: 'OTF_YPlacement' undeclared (first use in this function) ftfont.c:1741: error: 'OTF_YPlaDevice' undeclared (first use in this function) ftfont.c:1744: error: 'OTF_XAdvance' undeclared (first use in this function) ftfont.c:1747: error: 'OTF_XAdvDevice' undeclared (first use in this function) ftfont.c:1750: error: 'OTF_YAdvance' undeclared (first use in this function) ftfont.c:1753: error: 'OTF_YAdvDevice' undeclared (first use in this function) ftfont.c:1785: warning: passing argument 5 of 'adjust_anchor' makes pointer from integer without a cast ftfont.c:1785: error: too many arguments to function 'adjust_anchor' ftfont.c:1788: warning: passing argument 5 of 'adjust_anchor' makes pointer from integer without a cast ftfont.c:1788: error: too many arguments to function 'adjust_anchor' ftfont.c:1811: error: 'OTF_GlyphClass0' undeclared (first use in this function) ftfont.c:1813: error: 'OTF_GlyphClassMark' undeclared (first use in this function) ftfont.c: In function 'ftfont_shape_by_flt': ftfont.c:1842: error: expected declaration specifiers before 'OTF' ftfont.c:1875: error: 'otf_gstring' undeclared (first use in this function) ftfont.c:1882: error: 'OTF_Glyph' undeclared (first use in this function) ftfont.c:1882: error: 'otfg' undeclared (first use in this function) ftfont.c:1943: error: 'struct MFLTFontFT' has no member named 'otf' ftfont.c: In function 'ftfont_shape': ftfont.c:2008: error: 'OTF' undeclared (first use in this function) ftfont.c:2008: error: 'otf' undeclared (first use in this function) ftfont.c:2015: error: 'struct ftfont_info' has no member named 'ft_size' make[2]: *** [ftfont.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/paludis/app-editors-emacs-cvs-23.0.9999-r1/work/emacs/src' make[1]: *** [src] Error 2 make[1]: Leaving directory `/var/tmp/paludis/app-editors-emacs-cvs-23.0.9999-r1/work/emacs' make: *** [bootstrap] Error 2 --8<---------------cut here---------------end--------------->8--- If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.7) of 2009-01-27 on thinkpad Windowing system distributor `The X.Org Foundation', version 11.0.10503000 configured using `configure '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-g -ggdb -O1 -pipe' 'LDFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t shell-dirtrack-mode: t rcirc-track-minor-mode: t yas/minor-mode: t recentf-mode: t window-number-meta-mode: t window-number-mode: t savehist-mode: t exec-abbrev-cmd-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f . e m a y C-s t i t l e C-s C-s C-s C-x C-s M-x g y q C-u 1 0 0 C-s c o m p i l e C-s C-s C-s C-s C-s C-s C-g C-g C-g C-u 3 0 0 M-g C-s c o m p i C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-g C-g q M-x r e b Recent messages: 20090128T222418.925> Fetching headers for nntp+Uni:gnu.emacs.bug...done 20090128T222419.272> Scoring... 20090128T222419.330> Scoring...done 20090128T222420.136> Generating summary... 20090128T222420.936> Generating summary...done 20090128T222421.157> No more unread articles Mark saved where search started Quit Quit20090128T222447.830> Exiting summary buffer and applying spam rules -- If programmers deserve to be rewarded for creating innovative programs, by the same token they deserve to be punished if they restrict the use of these programs. (Richard M. Stallman)