GNU bug report logs - #6263
[PATCH] 24.0.50; build fail at dispextern.h with LP64 machine

Previous Next

Package: emacs;

Reported by: Makoto Fujiwara <makoto <at> ki.nu>

Date: Tue, 25 May 2010 03:23:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <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 6263 in the body.
You can then email your comments to 6263 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6263; Package emacs. (Tue, 25 May 2010 03:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Makoto Fujiwara <makoto <at> ki.nu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 25 May 2010 03:23:02 GMT) Full text and rfc822 format available.

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

From: Makoto Fujiwara <makoto <at> ki.nu>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] 24.0.50; build fail at dispextern.h with LP64 machine
Date: Tue, 25 May 2010 01:41:59 +0900
I am building 24.0.50 on NetBSD/amd64 and getting
Following problem. It is LP64 defined machine
(EMACS_INT = long)

---------
/export/git-work/emacs/src/xdisp.c: In function 'init_iterator':
/export/git-work/emacs/src/xdisp.c:2604: error: argument 'charpos' doesn't match prototype
/export/git-work/emacs/src/dispextern.h:2914: error: prototype declaration
/export/git-work/emacs/src/xdisp.c:2604: error: argument 'bytepos' doesn't match prototype
/export/git-work/emacs/src/dispextern.h:2914: error: prototype declaration
gmake[1]: *** [xdisp.o] Error 1
gmake[1]: Leaving directory `/export/git-work/emacs-work/src'
gmake: *** [src] Error 2
modena <at> makoto 01:40:33/100525(..git-work/emacs)% 
---------

It seems to me the patch is necessary:

diff --git a/src/dispextern.h b/src/dispextern.h
index ce8527b..2c2463f 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -2911,8 +2911,8 @@ void mark_window_display_accurate P_ ((Lisp_Object, int));
 void redisplay_preserve_echo_area P_ ((int));
 int set_cursor_from_row P_ ((struct window *, struct glyph_row *,
 			     struct glyph_matrix *, int, int, int, int));
-void init_iterator P_ ((struct it *, struct window *, int,
-			int, struct glyph_row *, enum face_id));
+void init_iterator P_ ((struct it *, struct window *, EMACS_INT,
+			EMACS_INT, struct glyph_row *, enum face_id));
 void init_iterator_to_row_start P_ ((struct it *, struct window *,
 				     struct glyph_row *));
 int get_next_display_element P_ ((struct it *));
---
Makoto Fujiwara




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6263; Package emacs. (Tue, 25 May 2010 18:02:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Makoto Fujiwara <makoto <at> ki.nu>
Cc: 6263 <at> debbugs.gnu.org
Subject: Re: bug#6263: [PATCH] 24.0.50;
	build fail at dispextern.h with LP64 machine
Date: Tue, 25 May 2010 21:01:11 +0300
> From: Makoto Fujiwara <makoto <at> ki.nu>
> Date: Tue, 25 May 2010 01:41:59 +0900
> Cc: 
> 
> I am building 24.0.50 on NetBSD/amd64 and getting
> Following problem. It is LP64 defined machine
> (EMACS_INT = long)
> 
> ---------
> /export/git-work/emacs/src/xdisp.c: In function 'init_iterator':
> /export/git-work/emacs/src/xdisp.c:2604: error: argument 'charpos' doesn't match prototype
> /export/git-work/emacs/src/dispextern.h:2914: error: prototype declaration
> /export/git-work/emacs/src/xdisp.c:2604: error: argument 'bytepos' doesn't match prototype
> /export/git-work/emacs/src/dispextern.h:2914: error: prototype declaration
> gmake[1]: *** [xdisp.o] Error 1
> gmake[1]: Leaving directory `/export/git-work/emacs-work/src'
> gmake: *** [src] Error 2
> modena <at> makoto 01:40:33/100525(..git-work/emacs)% 

When did you last update your source tree?  This problem was fixed 2
days ago.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6263; Package emacs. (Wed, 26 May 2010 15:32:02 GMT) Full text and rfc822 format available.

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

From: Makoto Fujiwara <makoto <at> ki.nu>
To: 6263 <at> debbugs.gnu.org
Subject: Re: bug#6263: [PATCH] 24.0.50;
	build fail at dispextern.h with LP64 machine
Date: Thu, 27 May 2010 00:31:30 +0900
I think I had double checked but sorry, It's been
surely fixed, please close this report.

The my update was probably around 1500Z of 5/24,
(or may be 0000Z of 5/24) from git://repo.or.cz/emacs.git.

modena <at> makoto 00:30:18/100527(..emacs/.git)% ls -lt FETCH_HEAD 
-rw-r--r--  1 makoto  wheel  0 May 24 09:26 FETCH_HEAD
(JST is 0900 ahead of UTC)

Thank you.
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Wed, 26 May 2010 17:02:02 GMT) Full text and rfc822 format available.

Notification sent to Makoto Fujiwara <makoto <at> ki.nu>:
bug acknowledged by developer. (Wed, 26 May 2010 17:02:03 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Makoto Fujiwara <makoto <at> ki.nu>
Cc: 6263-done <at> debbugs.gnu.org
Subject: Re: bug#6263: [PATCH] 24.0.50;
	build fail at dispextern.h with LP64 machine
Date: Wed, 26 May 2010 20:01:38 +0300
> Date: Thu, 27 May 2010 00:31:30 +0900
> From: Makoto Fujiwara <makoto <at> ki.nu>
> Cc: 
> 
> I think I had double checked but sorry, It's been
> surely fixed

No need to apologize.  Thanks for reporting this problem.

> please close this report.

Done.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 24 Jun 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 58 days ago.

Previous Next


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