From gottlieb@nyu.edu Wed Jul 2 08:58:57 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.8 required=4.0 tests=BAYES_00,FOURLA, FVGT_m_MULTI_ODD,MURPHY_SEX_L2,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Jul 2008 15:58:57 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m62Fwnaj027708 for ; Wed, 2 Jul 2008 08:58:50 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KE4jJ-0004uQ-41 for bug-gnu-emacs@gnu.org; Wed, 02 Jul 2008 11:58:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KE4jI-0004tC-6X for bug-gnu-emacs@gnu.org; Wed, 02 Jul 2008 11:58:48 -0400 Received: from [199.232.76.173] (port=57293 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KE4jI-0004t0-0H for bug-gnu-emacs@gnu.org; Wed, 02 Jul 2008 11:58:48 -0400 Received: from smtp.cs.nyu.edu ([128.122.80.33]:46761) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KE4jH-0000UV-GK for bug-gnu-emacs@gnu.org; Wed, 02 Jul 2008 11:58:47 -0400 Received: from ajglap.localdomain (ool-4578d8f8.dyn.optonline.net [69.120.216.248]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.13.8) with ESMTP id m62Fwk70018985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 2 Jul 2008 11:58:46 -0400 (EDT) Received: by ajglap.localdomain (Postfix, from userid 1502) id 807DD19D92F; Wed, 2 Jul 2008 11:58:41 -0400 (EDT) To: bug-gnu-emacs@gnu.org Subject: emacs-cvs-23.0.9999 fails to compiler (gentoo) From: Allan Gottlieb Date: Wed, 02 Jul 2008 11:58:41 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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 bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: [The bug occurs during a compilation of emacs. The compilation was *not* done on the machine on which I am composing this mail. *This* machine runs 22.2. The compilation *was* done on a machine on which I run emacs 23.0.50. I have manually pasted into this msg the description of that machine generated by M-x report-emacs-bug] (Thanks for emacs, which I have used with great success and pleasure during the past 20 years.) I run gentoo and am currently using the emacs-cvs package. I use 23.0.50 with success. Both yesterday and today, when I try to upgrade with emerge --verbose --ask --deep --update --newuse --tree emacs-cvs I get a compile-time error as shown below. thanks, allan [snip] * Running cvs -q -f -z1 -d ":pserver:anonymous:@cvs.savannah.gnu.org:/sources/emacs" login Logging in to :pserver:anonymous@cvs.savannah.gnu.org:2401/sources/emacs * Running cvs -q -f -z1 -d ":pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs" update -dP -rHEAD emacs [big snip] x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -I. -I/var/tmp/portage/app-editors/emacs-cvs-23.0.9999/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/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/alsa -march=nocona -O2 -pipe xterm.c x86_64-pc-linux-gnu-gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -I. -I/var/tmp/portage/app-editors/emacs-cvs-23.0.9999/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/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/alsa -march=nocona -O2 -pipe xfns.c xfns.c: In function 'syms_of_xfns': xfns.c:6075: error: 'Sx_select_font' undeclared (first use in this function) xfns.c:6075: error: (Each undeclared identifier is reported only once xfns.c:6075: error: for each function it appears in.) make[2]: *** [xfns.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-23.0.9999/work/emacs/src' make[1]: *** [src] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-23.0.9999/work/emacs' make: *** [bootstrap] Error 2 ================================================================ (The following description is for the machine on which I tried to compile 23.0.9999.) In GNU Emacs 23.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-07-01 on allan Windowing system distributor `The X.Org Foundation', version 11.0.10300000 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' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--without-carbon' '--with-sound' '--with-x' '--without-toolkit-scroll-bars' '--without-gif' '--without-jpeg' '--with-png' '--without-rsvg' '--without-tiff' '--with-xpm' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--without-dbus' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=nocona -O2 -pipe'' 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: C locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: eldoc-mode: t iswitchb-mode: t delete-selection-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 unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: e m a c s M-x e m a c s - v e r s i o n M-x r e p o r t SPC e m a c s - b u g Recent messages: Warning: no fonts matching `-*-fixed-medium-r-normal-*-16-*-*-*-*-*-iso8859-1' available [2 times] Loading /usr/share/emacs/site-lisp/site-gentoo.el (source)...done Emacs Server NOT started, because lockfile exists. Loading /usr/share/emacs/site-lisp/color-theme/themes/color-theme-example.el (source)...done Loading /usr/share/emacs/site-lisp/color-theme/themes/color-theme-library.el (source)...done Loading /allan/gottlieb/.emacs.d/ajg-color-theme-library.el (source)...done Loading delsel...done Loading gnus...done Loading iswitchb...done GNU Emacs 23.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-07-01 on allan ================================================================ (The following description is for the machine on which I read/send email.) In GNU Emacs 22.2.1 (i686-pc-linux-gnu, GTK+ Version 2.12.8) of 2008-05-15 on ajglap Windowing system distributor `The X.Org Foundation', version 11.0.10300000 configured using `configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-22' '--infodir=/usr/share/info/emacs-22' '--without-carbon' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-xpm' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=prescott -pipe'' 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: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Article Minor modes in effect: iswitchb-mode: t delete-selection-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 unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: g e . SPC SPC I SPC a m SPC r u n n i n g 2 3 . 0 . 5 0 SPC n o w SPC w i t h SPC s u c c e s s . t h a n k s , a l l a n C-c C-c M-g p ! q g p E SPC E q g p SPC q SPC n n n n n n k n n n k n n SPC SPC n n k n n n n n n k n n q g p p p C-x o B m i e e SPC p E n n k k k k k k n n n n n n n q g p p p E n n k k k k n + C-g I a e p n n q g s SPC q g s p p p p p p p g p SPC E p M-x e m a c s - v e r s i o n M-x e m a c s - p r e t e s t - b u g r e p o r t - e m b Recent messages: Generating summary...done Mark set No more articles [2 times] GNU Emacs 22.2.1 (i686-pc-linux-gnu, GTK+ Version 2.12.8) of 2008-05-15 on ajglap Auto-saving... nnml: Reading incoming mail from file... Wrote /home/gottlieb/Mail/emacs/35100 Wrote /home/gottlieb/Mail/gentoo/125256 nnml: Reading incoming mail (2 new)...done Loading emacsbug...done From jasonr@gnu.org Wed Jul 2 09:27:13 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 519-done) by emacsbugs.donarmstrong.com; 2 Jul 2008 16:27:14 +0000 Received: from mk-outboundfilter-3.mail.uk.tiscali.com (mk-outboundfilter-3.mail.uk.tiscali.com [212.74.114.23]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m62GR3Id003076 for <519-done@emacsbugs.donarmstrong.com>; Wed, 2 Jul 2008 09:27:05 -0700 X-Trace: 139791343/mk-outboundfilter-1.mail.uk.tiscali.com/F2S/$F2S-ACCEPTED/f2s-freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhAFAEBvV0hTQxds/2dsb2JhbACBW60p X-IronPort-AV: E=Sophos;i="4.27,738,1204502400"; d="scan'208";a="139791343" X-IP-Direction: IN Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 02 Jul 2008 17:25:53 +0100 Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 4B2E4B13; Wed, 2 Jul 2008 17:25:53 +0100 (BST) Message-ID: <486BABF2.20403@gnu.org> Date: Wed, 02 Jul 2008 17:25:22 +0100 From: Jason Rumney User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Allan Gottlieb , 519-done@debbugs.gnu.org Subject: Re: bug#519: emacs-cvs-23.0.9999 fails to compiler (gentoo) References: In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Allan Gottlieb wrote: > xfns.c: In function 'syms_of_xfns': > xfns.c:6075: error: 'Sx_select_font' undeclared (first use in this function) Thanks, I have fixed this. That line should only be compiled if both USE_GTK and HAVE_FREETYPE are defined, the latter condition was missing. From gottlieb@nyu.edu Wed Jul 2 12:44:23 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 519-done) by emacsbugs.donarmstrong.com; 2 Jul 2008 19:44:23 +0000 Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.80.33]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m62JiKUD018714 for <519-done@emacsbugs.donarmstrong.com>; Wed, 2 Jul 2008 12:44:21 -0700 Received: from ajglap.localdomain (ool-4578d8f8.dyn.optonline.net [69.120.216.248]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.13.8) with ESMTP id m62JiF3M027381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 2 Jul 2008 15:44:15 -0400 (EDT) Received: by ajglap.localdomain (Postfix, from userid 1502) id 1CC7919D92F; Wed, 2 Jul 2008 15:44:11 -0400 (EDT) To: Jason Rumney Cc: 519-done@debbugs.gnu.org Subject: Re: bug#519: emacs-cvs-23.0.9999 fails to compiler (gentoo) References: <486BABF2.20403@gnu.org> From: Allan Gottlieb Date: Wed, 02 Jul 2008 15:44:11 -0400 In-Reply-To: <486BABF2.20403@gnu.org> (Jason Rumney's message of "Wed\, 02 Jul 2008 17\:25\:22 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii At Wed, 02 Jul 2008 17:25:22 +0100 Jason Rumney wrote: > Allan Gottlieb wrote: > >> xfns.c: In function 'syms_of_xfns': >> xfns.c:6075: error: 'Sx_select_font' undeclared (first use in this function) > > Thanks, I have fixed this. That line should only be compiled if both > USE_GTK and HAVE_FREETYPE are defined, the latter condition was missing. Thanks. It compiled fine with the fix. But then I noticed that something is funny. I do (and did) have freetype. What I did not have was the gentoo xft use flag set. I set it and reran the emerge and again emacs-cvs compiled without error. Thanks for the fix (even though, had I correctly configured my flags, I wouldn't have hit the bug) and thanks for all your and others work on emacs. allan From unknown Sat Aug 16 18:46:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 31 Jul 2008 14:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator