From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sudish Joseph" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#887: 23.0.60; glyph_string->gidx removal causes HEAD compilation failure under OS X Date: Thu, 4 Sep 2008 11:04:51 -0400 Message-ID: <1f1b3ded0809040804g410096efr46135d26d9ae78ca@mail.gmail.com> Reply-To: Sudish Joseph , 887@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31133_13273604.1220540691566" X-Trace: ger.gmane.org 1220561419 18134 80.91.229.12 (4 Sep 2008 20:50:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2008 20:50:19 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 04 22:51:14 2008 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 1KbLnA-0003eV-GU for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 22:51:00 +0200 Original-Received: from localhost ([127.0.0.1]:34037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbLmA-0001kS-6H for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 16:49:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbGkC-0002XS-OR for bug-gnu-emacs@gnu.org; Thu, 04 Sep 2008 11:27:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbGkA-0002W2-Uf for bug-gnu-emacs@gnu.org; Thu, 04 Sep 2008 11:27:35 -0400 Original-Received: from [199.232.76.173] (port=55568 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbGkA-0002Vl-O1 for bug-gnu-emacs@gnu.org; Thu, 04 Sep 2008 11:27:34 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35635) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KbGk9-0006Dn-HE for bug-gnu-emacs@gnu.org; Thu, 04 Sep 2008 11:27:34 -0400 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 m84FRV6g003265; Thu, 4 Sep 2008 08:27:31 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m84FF3gL031023; Thu, 4 Sep 2008 08:15:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Sudish Joseph" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 04 Sep 2008 15:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 887 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122054071428235 (code B ref -1); Thu, 04 Sep 2008 15:15:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 4 Sep 2008 15:05:14 +0000 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 m84F4xIW026956 for ; Thu, 4 Sep 2008 08:05:01 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:50444 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KbGMh-0005WR-Qm for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 11:03:19 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KbGOG-0002iq-K3 for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 11:04:59 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.170]:59501) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbGOF-0002iO-Vf for emacs-pretest-bug@gnu.org; Thu, 04 Sep 2008 11:04:56 -0400 Original-Received: by ug-out-1314.google.com with SMTP id m2so2723476uge.17 for ; Thu, 04 Sep 2008 08:04:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=WiNRrWHiGAPZRjq5x0wsiGc7NqGepsif8Vg5qgck5/8=; b=rTVsCB4HCmJXnjI+cRRhnjWZUElVPh68ESijrr6z5vBvs/ISVemUFaNi1M01vpX9dE RKdvqCCZ4h2+wMV5TmSRV4Sx3HlZkQfZSAEHDIfHOowoHc+mQHx73HdPEaW9nnZeLOlb Nh50xkudSkKIS/n3Q7aqHAP12S8Y0Fz6Qaeeo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=dHJSDyW2y3HnPSH1AwqkM3RmVHxFqyWKdYSBjqTSG+MoUkVd76mZtMDs2quObD80iP vd91/WQ7cwdj+Nvke7PC3SR6peSxm4PPaMvUR3HkMgJNB/AXSlfub5RbhlvCFkaNv9/e uFs11qbMz0O7qXOwHeOGqbtb5TGH0kOoHarw0= Original-Received: by 10.187.202.7 with SMTP id e7mr2425463faq.8.1220540691560; Thu, 04 Sep 2008 08:04:51 -0700 (PDT) Original-Received: by 10.187.239.14 with HTTP; Thu, 4 Sep 2008 08:04:51 -0700 (PDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Thu, 04 Sep 2008 11:27:35 -0400 X-Mailman-Approved-At: Thu, 04 Sep 2008 16:49:54 -0400 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:20161 gmane.emacs.pretest.bugs:22974 Archived-At: ------=_Part_31133_13273604.1220540691566 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I last successfully compiled Emacs 23.0.60.1 from cvs a little over a week ago. Trying this again today results in the following error. gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/Users/sj/src/emacs/src -Dtemacs -O2 -pipe -Wall /Users/sj/src/emacs/src/nsfont.m [...] /Users/sj/src/emacs/src/nsfont.m:907: error: 'struct glyph_string' has no member named 'gidx' /Users/sj/src/emacs/src/nsfont.m:908: error: 'struct glyph_string' has no member named 'gidx' /Users/sj/src/emacs/src/nsfont.m:914: error: 'struct glyph_string' has no member named 'gidx' /Users/sj/src/emacs/src/nsfont.m:1064: warning: implicit declaration of function 'CGContextSetFontRenderingMode' /Users/sj/src/emacs/src/nsfont.m:1097: error: 'struct glyph_string' has no member named 'gidx' /Users/sj/src/emacs/src/nsfont.m:1103: error: 'struct glyph_string' has no member named 'gidx' The following change from src/ChangeLog seems to be the root cause -- it seems nsfont.m wasn't updated to reflect the change: 2008-08-29 Kenichi Handa These changes are to re-implement the automatic composition so that it doesn't use text properties. [...] * dispextern.h (struct glyph): New union u.cmp. Delete the member cmp_id. (struct glyph_string): Delete the member gidx. New members cmp_id, cmp_from, and cmp_to. Emacs is being configured and built in a tmp dir as follows: % cd % mkdir tmp % cd tmp % CC=gcc CXX=g++ CFLAGS="-O2 -pipe -Wall" CXXFLAGS=$CFLAGS ../configure --verbose --enable-cocoa-experimental-ctrl-g --without-pop --without-x --with-x-toolkit=no --with-ns % make Thanks for all your hard work in integrating all the OS X/NextStep changes into the mainline. -Sudish In GNU Emacs 23.0.60.1 (i386-apple-darwin9.4.0, *Step 9.0) of 2008-08-27 on fluxus.int.absonant.org Windowing system distributor `Apple', version 49.46.48 configured using `configure '--verbose' '--enable-cocoa-experimental-ctrl-g' '--without-pop' '--without-x' '--with-x-toolkit=no' '--with-ns' 'CC=gcc-4.2' 'CFLAGS=-O2 -pipe -Wall'' 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 value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Info Minor modes in effect: partial-completion-mode: t hi-lock-mode: t iswitchb-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: d d d d d d d d d d s-s d d d d d d d d d d s-s C-x C-f d r d d s-s C-x C-f d e b R a x x x x x x x x x x x x x x x x x x x s-s C-h i SPC / b u g / SPC SPC SPC SPC SPC M-x r e p o r t - e m a c s - b u g Recent messages: incremental parser error: "Wrong type argument: consp, nil" [2 times] (New file) [2 times] New file. Inserted dmacro: h_masthead Wrote /Users/sj/work/drake_work/httpproxymon/submit.h Wrote /Users/sj/work/drake_work/httpproxymon/httpproxymon.c Wrote /Users/sj/work/drake_work/httpproxymon/Makefile [3 times] Wrote /Users/sj/work/drake_work/httpproxymon/drake.yml Auto-saving...done Wrote /Users/sj/work/drake_work/httpproxymon/Rakefile Composing main Info directory...done ------=_Part_31133_13273604.1220540691566 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
I last successfully compiled Emacs 23.0.60.1 from cvs a little over a week ago.  Trying this again today results in the following error.

gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/sj/src/emacs/src -Dtemacs    -O2 -pipe -Wall /Users/sj/src/emacs/src/nsfont.m
[...]
/Users/sj/src/emacs/src/nsfont.m:907: error: 'struct glyph_string' has no member named 'gidx'
/Users/sj/src/emacs/src/nsfont.m:908: error: 'struct glyph_string' has no member named 'gidx'
/Users/sj/src/emacs/src/nsfont.m:914: error: 'struct glyph_string' has no member named 'gidx'
/Users/sj/src/emacs/src/nsfont.m:1064: warning: implicit declaration of function 'CGContextSetFontRenderingMode'
/Users/sj/src/emacs/src/nsfont.m:1097: error: 'struct glyph_string' has no member named 'gidx'
/Users/sj/src/emacs/src/nsfont.m:1103: error: 'struct glyph_string' has no member named 'gidx'

The following change from src/ChangeLog seems to be the root cause -- it seems nsfont.m wasn't updated to reflect the change:

2008-08-29  Kenichi Handa  <handa@m17n.org>

        These changes are to re-implement the automatic composition so
        that it doesn't use text properties.

[...]
        * dispextern.h (struct glyph): New union u.cmp.  Delete the member
        cmp_id.
        (struct glyph_string): Delete the member gidx.  New members
        cmp_id, cmp_from, and cmp_to.

Emacs is being configured and built in a tmp dir as follows:

% cd <head of emacs cvs tree>
% mkdir tmp
% cd tmp
% CC=gcc CXX=g++ CFLAGS="-O2 -pipe -Wall" CXXFLAGS=$CFLAGS ../configure --verbose --enable-cocoa-experimental-ctrl-g --without-pop --without-x --with-x-toolkit=no --with-ns
% make

Thanks for all your hard work in integrating all the OS X/NextStep changes into the mainline.

-Sudish

In GNU Emacs 23.0.60.1 (i386-apple-darwin9.4.0, *Step 9.0)
 of 2008-08-27 on fluxus.int.absonant.org
Windowing system distributor `Apple', version 49.46.48
configured using `configure  '--verbose' '--enable-cocoa-experimental-ctrl-g' '--without-pop' '--without-x' '--with-x-toolkit=no' '--with-ns' 'CC=gcc-4.2' 'CFLAGS=-O2 -pipe -Wall''

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
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
  partial-completion-mode: t
  hi-lock-mode: t
  iswitchb-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <up> <up> <up> <up> <up> <up> <up> <up>
<up> d d d d d d d d d d s-s <up> <up> <up> <up> <up>
d d d d d d d d d d s-s C-x C-f d r <tab> <return>
<down> <down> <down> <down> d d s-s C-x C-f d e b <tab>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> R a <tab> <return> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> x x x x x x
x x x x x x x x x x x <left> <left> x x s-s <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1>
<down-mouse-1> <mouse-1> C-h i <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <right> <right>
<return> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> SPC / b u g <return> / <return>
<right> <return> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> SPC SPC SPC SPC SPC <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> M-x r e p o r t
- e m a c s - b u g <return>

Recent messages:
incremental parser error: "Wrong type argument: consp, nil" [2 times]
(New file) [2 times]
New file. Inserted dmacro: h_masthead
Wrote /Users/sj/work/drake_work/httpproxymon/submit.h
Wrote /Users/sj/work/drake_work/httpproxymon/httpproxymon.c
Wrote /Users/sj/work/drake_work/httpproxymon/Makefile [3 times]
Wrote /Users/sj/work/drake_work/httpproxymon/drake.yml
Auto-saving...done
Wrote /Users/sj/work/drake_work/httpproxymon/Rakefile
Composing main Info directory...done

------=_Part_31133_13273604.1220540691566--