GNU bug report logs - #519
emacs-cvs-23.0.9999 fails to compiler (gentoo)

Previous Next

Package: emacs;

Reported by: Allan Gottlieb <gottlieb <at> nyu.edu>

Date: Wed, 2 Jul 2008 16:05:05 UTC

Severity: normal

Done: Jason Rumney <jasonr <at> gnu.org>

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 519 in the body.
You can then email your comments to 519 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-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#519; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Allan Gottlieb <gottlieb <at> nyu.edu>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Allan Gottlieb <gottlieb <at> nyu.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: emacs-cvs-23.0.9999 fails to compiler (gentoo)
Date: Wed, 02 Jul 2008 11:58:41 -0400
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 <at> 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 <at> cvs.savannah.gnu.org:2401/sources/emacs
 * Running  cvs -q -f -z1 -d ":pserver:anonymous <at> 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 <backspace> <backspace> <backspace> <backspace> 
<backspace> M-x e m a c s - v e r s i o n <return> 
M-x r e p o r t SPC e m a c s - b u g <return>

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 <return> 
2 3 . 0 . 5 0 SPC n o w SPC w i t h SPC s u c c e s 
s . <return> <return> t h a n k s , <return> a l l 
a n <return> C-c C-c M-g <C-end> p ! q g p <return> 
<C-end> <up> <up> E SPC E q g p SPC q SPC <return> 
n n n <select-window> <select-window> <help-echo> n 
n <help-echo> <select-window> <help-echo> <down-mouse-2> 
<mouse-2> <help-echo> <select-window> n k n n <help-echo> 
<select-window> <help-echo> <down-mouse-2> <mouse-2> 
<help-echo> <select-window> n k n n <up> SPC <down> 
<down> SPC n n k n n n n n n k n n q g p p <return> 
<C-end> p <help-echo> <select-window> <help-echo> <down-mouse-5> 
<mouse-5> <double-down-mouse-5> <double-mouse-5> C-x 
o B m i e e SPC <return> p E n n k k k k k k n n n 
n n n n q g p p <return> <C-end> p <select-window> 
<help-echo> <down-mouse-2> <mouse-2> <help-echo> <select-window> 
E n n k k k k n + C-g I a e p <return> n n q g s <down> 
<down> <down> <down> <down> <down> <down> <down> <up> 
SPC q g s p p p p p p p g <return> <C-end> p SPC E 
p <help-echo> <select-window> <help-echo> <select-window> 
M-x e m a c s - v e r s i o n <return> <select-window> 
<select-window> <help-echo> M-x e m a c s - p r e t 
e s t - b u g <return> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> r e 
p o r t - e m <tab> b <tab> <return>

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





Reply sent to Jason Rumney <jasonr <at> gnu.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Allan Gottlieb <gottlieb <at> nyu.edu>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 519-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jason Rumney <jasonr <at> gnu.org>
To: Allan Gottlieb <gottlieb <at> nyu.edu>, 519-done <at> debbugs.gnu.org
Subject: Re: bug#519: emacs-cvs-23.0.9999 fails to compiler (gentoo)
Date: Wed, 02 Jul 2008 17:25:22 +0100
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.




Message #11 received at 519-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Allan Gottlieb <gottlieb <at> nyu.edu>
To: Jason Rumney <jasonr <at> gnu.org>
Cc: 519-done <at> debbugs.gnu.org
Subject: Re: bug#519: emacs-cvs-23.0.9999 fails to compiler (gentoo)
Date: Wed, 02 Jul 2008 15:44:11 -0400
At Wed, 02 Jul 2008 17:25:22 +0100 Jason Rumney <jasonr <at> gnu.org> 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




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 31 Jul 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 17 years and 19 days ago.

Previous Next


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