all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: wahjava@gmail.com (Ashish Shukla आशीष शुक्ल)
To: Kenichi Handa <handa@m17n.org>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; Xft backend support is not working properly resulting in segfaults
Date: Thu, 15 May 2008 12:35:40 +0530	[thread overview]
Message-ID: <87prroujwb.fsf@chateau.d.lf> (raw)
In-Reply-To: <E1JwRqY-0004LD-21@etlken.m17n.org> (Kenichi Handa's message of "Thu, 15 May 2008 10:01:26 +0900")

[-- Attachment #1: Type: text/plain, Size: 2488 bytes --]

>>>>> Kenichi Handa writes:
    Kenichi> In article <20080514161346.B512C132CCF@chateau.d.lf>,  writes:

    >> I'm running emacs-cvs package in Gentoo Linux (amd64).
    >> ;; following emacs lisp code triggers the segfault.

    >> ; set font to any Xft font
    >> (set-face-font 'default "Liberation Mono-9")
    >> (message (face-font 'default))
    >> ; above results in "-unknown-Liberation Mono-normal-normal-normal-*-12-*-*-*-m-0-*-*"
    >> ; ready to segfault
    >> (set-face-font 'font-lock-keyword-face (face-font 'default))

    Kenichi> I've just installed a fix.

I've got following error, while compiling recently checked out HEAD.

abbe [src] chateau $ make
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/freetype2 -I/usr/include/alsa -pthread -DORBIT2=1 -I/usr/include/librsvg-2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2 -pipe -mtune=nocona -march=nocona -ggdb -I/usr/include/freetype2 xterm.c
In file included from xterm.c:77:
emacs-icon.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
xterm.c: In function 'x_bitmap_icon':
xterm.c:7489: error: 'gnu_xpm_bits' undeclared (first use in this function)
xterm.c:7489: error: (Each undeclared identifier is reported only once
xterm.c:7489: error: for each function it appears in.)
make: *** [xterm.o] Error 1

Following is the diff to fix the error:

--- /usr/portage/distfiles/cvs-src/emacs/src/emacs-icon.h       2008-05-15 12:08:22.000000000 +0530
+++ emacs-icon.h        2008-05-15 12:24:38.000000000 +0530
@@ -19,7 +19,7 @@
 
 You should have received a copy of the GNU General Public License
 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
-
+/*
 Commentary:
 
 */

HTH
-- 
Ashish Shukla आशीष शुक्ल                      http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --

[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]

  reply	other threads:[~2008-05-15  7:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14 16:13 23.0.60; Xft backend support is not working properly resulting in segfaults Ashish Shukla आशीष शुक्ल
2008-05-15  1:01 ` Kenichi Handa
2008-05-15  7:05   ` Ashish Shukla आशीष शुक्ल [this message]
2008-05-16 11:31 ` bug#246: " Richard M Stallman
2008-05-16 15:50   ` Ashish Shukla आशीष शुक्ल

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87prroujwb.fsf@chateau.d.lf \
    --to=wahjava@gmail.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=handa@m17n.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.