GNU bug report logs - #13403
24.2.92; x_last_font_name undefined without HAVE_FREETYPE

Previous Next

Package: emacs;

Reported by: Rainer Orth <ro <at> CeBiTec.Uni-Bielefeld.DE>

Date: Thu, 10 Jan 2013 13:48:02 UTC

Severity: important

Tags: patch

Found in version 24.2.92

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13403 in the body.
You can then email your comments to 13403 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13403; Package emacs. (Thu, 10 Jan 2013 13:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rainer Orth <ro <at> CeBiTec.Uni-Bielefeld.DE>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 10 Jan 2013 13:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rainer Orth <ro <at> CeBiTec.Uni-Bielefeld.DE>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.92; x_last_font_name undefined without HAVE_FREETYPE
Date: Thu, 10 Jan 2013 14:47:33 +0100
Compiling emacs 24.2.92 with Oracle Studio 12.3 cc and HAVE_FREETYPE not
defined failed:

"/vol/src/gnu/emacs/emacs-24.2.92/src/gtkutil.c", line 4997: undefined symbol: x_last_font_name

The following trivial patch fixes the issue:

--- src/gtkutil.c~	2013-01-01 21:37:17.000000000 +0100
+++ src/gtkutil.c	2013-01-10 13:46:38.226440022 +0100
@@ -4994,7 +4994,9 @@ xg_initialize (void)
                                 "cancel", 0);
   update_theme_scrollbar_width ();
 
+#ifdef HAVE_FREETYPE
   x_last_font_name = NULL;
+#endif
 }
 
 #endif /* USE_GTK */


In GNU Emacs 24.2.92.1 (i386-pc-solaris2.10, GTK+ Version 2.19.4)
 of 2013-01-10 on zingana
Windowing system distributor `Oracle Corporation, based on X.Org Foundation sources', version 11.0.11202000
Configured using:
 `configure '--prefix=/vol/gnu' '--infodir=/vol/gnu/info'
 '--mandir=/vol/gnu/man' '--libexecdir=/vol/gnu/lib'
 '--localstatedir=/vol/gnu/share/emacs/var' '--with-x-toolkit=gtk'
 'CC=/vol/studio-12.3/bin/cc' 'LDFLAGS=-L/vol/graphics/lib
 -R/vol/graphics/lib' 'CPPFLAGS=-I/vol/graphics/include''

Important settings:
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
n f C-x k <return> C-x k <return> p p p p p p p p p 
p p p p p f C-v C-v C-v C-x k <return> C-x k <return> 
n n n n n n f C-x k <return> n n n n n n n n n n n 
n n n n n n n p f n n n n n n n n n n n n n n n n f 
C-x k <return> C-x k <return> C-x C-g p p p p p p p 
p p p p p p C-x k <return> g <escape> < n n n f C-x 
k <return> n f g C-x k <return> g C-x k <return> g 
C-x 5 2 <switch-frame> <help-echo> <help-echo> C-x 
C-f a d m / T <tab> <return> <escape> > <help-echo> 
<help-echo> C-x 5 2 <help-echo> <switch-frame> C-x 
d / v o l / g c c / s r c / d o c <return> C-x C-f 
p a t <tab> <return> <escape> > <escape> v <escape> 
v <escape> v <escape> v <escape> v C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p <help-echo> <help-echo> 
<switch-frame> <switch-frame> C-x 5 2 <help-echo> <switch-frame> 
<help-echo> <switch-frame> <switch-frame> <help-echo> 
<help-echo> C-x d B <tab> <return> C-x 5 2 <switch-frame> 
C-x d <backspace> <escape> <backspace> m a i <tab> 
<return> <switch-frame> <help-echo> <switch-frame> 
<help-echo> <switch-frame> <switch-frame> <help-echo> 
<switch-frame> C-x d / v o l / s r c / g n u / e m 
<tab> d o <tab> <return> f C-x b * G r <tab> <return> 
<escape> x r e p o r t - e m a <tab> <return> <switch-frame> 
C-x b C-g <switch-frame> C-x b <return> <switch-frame> 
<escape> x r e p o r <tab> <return>

Recent messages:
Reading active file via nndraft...done
Checking new news...done
Mark set [2 times]
Checking new news...
Reading active file via nnnil...done
nnimap read 0k from imap.CeBiTec.Uni-Bielefeld.DE
nnimap read 387k from imap.CeBiTec.Uni-Bielefeld.DE
Reading active file via nndraft...done
Checking new news...done
byte-code: Command attempted to use minibuffer while in minibuffer
Quit

Load-path shadows:
/vol/gnu/share/emacs/site-lisp/psgml/psgml-info hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-info
/vol/gnu/share/emacs/site-lisp/psgml/psgml-parse hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-parse
/vol/gnu/share/emacs/site-lisp/psgml/psgml-other hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-other
/vol/gnu/share/emacs/site-lisp/psgml/psgml-edit hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-edit
/vol/gnu/share/emacs/site-lisp/psgml/psgml-charent hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-charent
/vol/gnu/share/emacs/site-lisp/psgml/psgml hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml
/vol/gnu/share/emacs/site-lisp/psgml/psgml-api hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-api
/vol/gnu/share/emacs/site-lisp/psgml/psgml-dtd hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-dtd
/vol/gnu/share/emacs/site-lisp/psgml/psgml-parse hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-parse
/vol/gnu/share/emacs/site-lisp/psgml/psgml-edit hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-edit
/vol/gnu/share/emacs/site-lisp/psgml/psgml-dtd hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-dtd
/vol/gnu/share/emacs/site-lisp/psgml/psgml-charent hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-charent
/vol/gnu/share/emacs/site-lisp/psgml/psgml-info hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-info
/vol/gnu/share/emacs/site-lisp/psgml/psgml hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml
/vol/gnu/share/emacs/site-lisp/psgml/psgml-api hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-api
/vol/gnu/share/emacs/site-lisp/psgml/psgml-other hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-other
/vol/gnu/share/emacs/site-lisp/info-look hides /vol/src/gnu/emacs/emacs-24.2.92/lisp/info-look

Features:
(shadow emacsbug vc-rcs cperl-mode sh-script smie executable noutline
outline easy-mmode misearch multi-isearch dired gnus-draft help-mode
mule-util sort smiley ansi-color gnus-cite flow-fill mm-archive
mail-extr gnus-async gnus-bcklg qp gnus-ml disp-table gnus-topic nndraft
nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg
gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig mailcap
utf-7 rfc2104 gnutls network-stream auth-source eieio byte-opt bytecomp
byte-compile cconv password-cache starttls nnimap parse-time tls utf7
netrc nnfolder gnus-cache gnus-sum nnnil gnus-demon nntp gnus-group
gnus-undo nnmail mail-source nnoo gnus-start gnus-spec gnus-int
gnus-range message idna sendmail format-spec rfc822 mml easymenu mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems
nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit tex-site
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face macroexp files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dynamic-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University




Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Thu, 10 Jan 2013 17:49:02 GMT) Full text and rfc822 format available.

Notification sent to Rainer Orth <ro <at> CeBiTec.Uni-Bielefeld.DE>:
bug acknowledged by developer. (Thu, 10 Jan 2013 17:49:02 GMT) Full text and rfc822 format available.

Message #10 received at 13403-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Rainer Orth <ro <at> CeBiTec.Uni-Bielefeld.DE>
Cc: 13403-done <at> debbugs.gnu.org
Subject: Re: bug#13403: 24.2.92;
	x_last_font_name undefined without HAVE_FREETYPE
Date: Thu, 10 Jan 2013 18:48:07 +0100
Thanks, installed.

	Jan D.

10 jan 2013 kl. 14:47 skrev Rainer Orth <ro <at> CeBiTec.Uni-Bielefeld.DE>:

> Compiling emacs 24.2.92 with Oracle Studio 12.3 cc and HAVE_FREETYPE not
> defined failed:
> 
> "/vol/src/gnu/emacs/emacs-24.2.92/src/gtkutil.c", line 4997: undefined symbol: x_last_font_name
> 
> The following trivial patch fixes the issue:
> 
> --- src/gtkutil.c~	2013-01-01 21:37:17.000000000 +0100
> +++ src/gtkutil.c	2013-01-10 13:46:38.226440022 +0100
> @@ -4994,7 +4994,9 @@ xg_initialize (void)
>                                 "cancel", 0);
>   update_theme_scrollbar_width ();
> 
> +#ifdef HAVE_FREETYPE
>   x_last_font_name = NULL;
> +#endif
> }
> 
> #endif /* USE_GTK */
> 
> 
> In GNU Emacs 24.2.92.1 (i386-pc-solaris2.10, GTK+ Version 2.19.4)
> of 2013-01-10 on zingana
> Windowing system distributor `Oracle Corporation, based on X.Org Foundation sources', version 11.0.11202000
> Configured using:
> `configure '--prefix=/vol/gnu' '--infodir=/vol/gnu/info'
> '--mandir=/vol/gnu/man' '--libexecdir=/vol/gnu/lib'
> '--localstatedir=/vol/gnu/share/emacs/var' '--with-x-toolkit=gtk'
> 'CC=/vol/studio-12.3/bin/cc' 'LDFLAGS=-L/vol/graphics/lib
> -R/vol/graphics/lib' 'CPPFLAGS=-I/vol/graphics/include''
> 
> Important settings:
>  locale-coding-system: nil
>  default enable-multibyte-characters: t
> 
> Major mode: Group
> 
> Minor modes in effect:
>  gnus-topic-mode: t
>  gnus-undo-mode: t
>  tooltip-mode: t
>  mouse-wheel-mode: t
>  tool-bar-mode: t
>  menu-bar-mode: t
>  file-name-shadow-mode: t
>  global-font-lock-mode: t
>  font-lock-mode: t
>  blink-cursor-mode: t
>  auto-composition-mode: t
>  auto-encryption-mode: t
>  auto-compression-mode: t
>  buffer-read-only: t
>  line-number-mode: t
>  transient-mark-mode: t
> 
> Recent input:
> n f C-x k <return> C-x k <return> p p p p p p p p p 
> p p p p p f C-v C-v C-v C-x k <return> C-x k <return> 
> n n n n n n f C-x k <return> n n n n n n n n n n n 
> n n n n n n n p f n n n n n n n n n n n n n n n n f 
> C-x k <return> C-x k <return> C-x C-g p p p p p p p 
> p p p p p p C-x k <return> g <escape> < n n n f C-x 
> k <return> n f g C-x k <return> g C-x k <return> g 
> C-x 5 2 <switch-frame> <help-echo> <help-echo> C-x 
> C-f a d m / T <tab> <return> <escape> > <help-echo> 
> <help-echo> C-x 5 2 <help-echo> <switch-frame> C-x 
> d / v o l / g c c / s r c / d o c <return> C-x C-f 
> p a t <tab> <return> <escape> > <escape> v <escape> 
> v <escape> v <escape> v <escape> v C-p C-p C-p C-p 
> C-p C-p C-p C-p C-p C-p C-p <help-echo> <help-echo> 
> <switch-frame> <switch-frame> C-x 5 2 <help-echo> <switch-frame> 
> <help-echo> <switch-frame> <switch-frame> <help-echo> 
> <help-echo> C-x d B <tab> <return> C-x 5 2 <switch-frame> 
> C-x d <backspace> <escape> <backspace> m a i <tab> 
> <return> <switch-frame> <help-echo> <switch-frame> 
> <help-echo> <switch-frame> <switch-frame> <help-echo> 
> <switch-frame> C-x d / v o l / s r c / g n u / e m 
> <tab> d o <tab> <return> f C-x b * G r <tab> <return> 
> <escape> x r e p o r t - e m a <tab> <return> <switch-frame> 
> C-x b C-g <switch-frame> C-x b <return> <switch-frame> 
> <escape> x r e p o r <tab> <return>
> 
> Recent messages:
> Reading active file via nndraft...done
> Checking new news...done
> Mark set [2 times]
> Checking new news...
> Reading active file via nnnil...done
> nnimap read 0k from imap.CeBiTec.Uni-Bielefeld.DE
> nnimap read 387k from imap.CeBiTec.Uni-Bielefeld.DE
> Reading active file via nndraft...done
> Checking new news...done
> byte-code: Command attempted to use minibuffer while in minibuffer
> Quit
> 
> Load-path shadows:
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-info hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-info
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-parse hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-parse
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-other hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-other
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-edit hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-edit
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-charent hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-charent
> /vol/gnu/share/emacs/site-lisp/psgml/psgml hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-api hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-api
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-dtd hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.0/psgml-dtd
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-parse hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-parse
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-edit hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-edit
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-dtd hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-dtd
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-charent hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-charent
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-info hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-info
> /vol/gnu/share/emacs/site-lisp/psgml/psgml hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-api hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-api
> /vol/gnu/share/emacs/site-lisp/psgml/psgml-other hides /vol/gnu/share/emacs/site-lisp/psgml/1.2.5/psgml-other
> /vol/gnu/share/emacs/site-lisp/info-look hides /vol/src/gnu/emacs/emacs-24.2.92/lisp/info-look
> 
> Features:
> (shadow emacsbug vc-rcs cperl-mode sh-script smie executable noutline
> outline easy-mmode misearch multi-isearch dired gnus-draft help-mode
> mule-util sort smiley ansi-color gnus-cite flow-fill mm-archive
> mail-extr gnus-async gnus-bcklg qp gnus-ml disp-table gnus-topic nndraft
> nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg
> gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig mailcap
> utf-7 rfc2104 gnutls network-stream auth-source eieio byte-opt bytecomp
> byte-compile cconv password-cache starttls nnimap parse-time tls utf7
> netrc nnfolder gnus-cache gnus-sum nnnil gnus-demon nntp gnus-group
> gnus-undo nnmail mail-source nnoo gnus-start gnus-spec gnus-int
> gnus-range message idna sendmail format-spec rfc822 mml easymenu mml-sec
> mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
> ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems
> nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit tex-site
> time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
> tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
> lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
> mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
> utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
> japanese hebrew greek romanian slovak czech european ethiopic indian
> cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
> minibuffer loaddefs button faces cus-face macroexp files text-properties
> overlay sha1 md5 base64 format env code-pages mule custom widget
> hashtable-print-readable backquote make-network-process dynamic-setting
> move-toolbar gtk x-toolkit x multi-tty emacs)
> 
> -- 
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
> 
> 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13403; Package emacs. (Thu, 10 Jan 2013 18:00:02 GMT) Full text and rfc822 format available.

Message #13 received at 13403 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 13403 <at> debbugs.gnu.org
Cc: jan.h.d <at> swipnet.se, ro <at> CeBiTec.Uni-Bielefeld.DE
Subject: Re: bug#13403: 24.2.92;
	x_last_font_name undefined without HAVE_FREETYPE
Date: Thu, 10 Jan 2013 12:58:56 -0500
Jan Djärv wrote:

> Thanks, installed.

Thanks for doing that, but why didn't you put it in the emacs-24 branch?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13403; Package emacs. (Thu, 10 Jan 2013 21:18:02 GMT) Full text and rfc822 format available.

Message #16 received at 13403 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Glenn Morris <rgm <at> gnu.org>
Cc: "13403 <at> debbugs.gnu.org" <13403 <at> debbugs.gnu.org>,
	"ro <at> CeBiTec.Uni-Bielefeld.DE" <ro <at> CeBiTec.Uni-Bielefeld.DE>
Subject: Re: bug#13403: 24.2.92;
	x_last_font_name undefined without HAVE_FREETYPE
Date: Thu, 10 Jan 2013 22:17:46 +0100
Brainfart?

     Jan D. 

10 jan 2013 kl. 18:58 skrev Glenn Morris <rgm <at> gnu.org>:

> Jan Djärv wrote:
> 
>> Thanks, installed.
> 
> Thanks for doing that, but why didn't you put it in the emacs-24 branch?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13403; Package emacs. (Sat, 12 Jan 2013 13:44:01 GMT) Full text and rfc822 format available.

Message #19 received at 13403 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 13403 <at> debbugs.gnu.org, ro <at> CeBiTec.Uni-Bielefeld.DE
Subject: Re: bug#13403: 24.2.92;
	x_last_font_name undefined without HAVE_FREETYPE
Date: Sat, 12 Jan 2013 14:42:46 +0100
Now backported to emacs-24.

	Jan D.

10 jan 2013 kl. 18:58 skrev Glenn Morris <rgm <at> gnu.org>:

> Jan Djärv wrote:
> 
>> Thanks, installed.
> 
> Thanks for doing that, but why didn't you put it in the emacs-24 branch?





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 10 Feb 2013 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 85 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.