* emacs-unicode-2 branch "make bootstrap" failure under MacOSX
@ 2007-09-11 16:01 CHENG Gao
2007-09-13 12:00 ` CHENG Gao
0 siblings, 1 reply; 10+ messages in thread
From: CHENG Gao @ 2007-09-11 16:01 UTC (permalink / raw)
To: emacs-devel
I reported this failure about two months ago and got no reply. So I have
been waiting for this problem to be solved automagically. Since the
problem remains, I think I need report it once again.
I usually build from emacs-unicode-2 branch cvs source once a week. My
last successful build is on May 29. Since then "make bootstrap" fails
and reports error message as:
,----
| gcc -c -fpascal-strings -DMAC_OSX -Demacs -DHAVE_CONFIG_H -I. -I/Users/shgog/repo-cvs/emacs/src -fpascal-strings -DMAC_OSX -Dtemacs -g -O2 -Wno-pointer-sign macterm.c
| macterm.c: In function 'mac_set_unicode_keystroke_event':
| macterm.c:10385: error: 'CHARSET_8_BIT_CONTROL' undeclared (first use in this function)
| macterm.c:10385: error: (Each undeclared identifier is reported only once
| macterm.c:10385: error: for each function it appears in.)
| macterm.c:10387: error: 'charset_latin_iso8859_1' undeclared (first use in this function)
| macterm.c:10394: error: 'charset_mule_unicode_0100_24ff' undeclared (first use in this function)
| macterm.c:10397: error: 'charset_mule_unicode_2500_33ff' undeclared (first use in this function)
| macterm.c:10400: error: 'charset_mule_unicode_e000_ffff' undeclared (first use in this function)
| make[2]: *** [macterm.o] Error 1
| make[1]: *** [bootstrap-build] Error 2
| make: *** [bootstrap] Error 2
`----
And this should have nothing to do with merge of multi-tty branch for I
encountered this since beginning of June.
Please look into this.
TIA,
CHENG Gao
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs-unicode-2 branch "make bootstrap" failure under MacOSX
2007-09-11 16:01 emacs-unicode-2 branch "make bootstrap" failure under MacOSX CHENG Gao
@ 2007-09-13 12:00 ` CHENG Gao
2007-09-13 12:39 ` Kenichi Handa
0 siblings, 1 reply; 10+ messages in thread
From: CHENG Gao @ 2007-09-13 12:00 UTC (permalink / raw)
To: emacs-devel
> I reported this failure about two months ago and got no reply. So I have
> been waiting for this problem to be solved automagically. Since the
> problem remains, I think I need report it once again.
>
> I usually build from emacs-unicode-2 branch cvs source once a week. My
> last successful build is on May 29. Since then "make bootstrap" fails
> and reports error message as:
>
> ,----
> | gcc -c -fpascal-strings -DMAC_OSX -Demacs -DHAVE_CONFIG_H -I. -I/Users/shgog/repo-cvs/emacs/src -fpascal-strings -DMAC_OSX -Dtemacs -g -O2 -Wno-pointer-sign macterm.c
> | macterm.c: In function 'mac_set_unicode_keystroke_event':
> | macterm.c:10385: error: 'CHARSET_8_BIT_CONTROL' undeclared (first use in this function)
> | macterm.c:10385: error: (Each undeclared identifier is reported only once
> | macterm.c:10385: error: for each function it appears in.)
> | macterm.c:10387: error: 'charset_latin_iso8859_1' undeclared (first use in this function)
> | macterm.c:10394: error: 'charset_mule_unicode_0100_24ff' undeclared (first use in this function)
> | macterm.c:10397: error: 'charset_mule_unicode_2500_33ff' undeclared (first use in this function)
> | macterm.c:10400: error: 'charset_mule_unicode_e000_ffff' undeclared (first use in this function)
> | make[2]: *** [macterm.o] Error 1
> | make[1]: *** [bootstrap-build] Error 2
> | make: *** [bootstrap] Error 2
> `----
>
> And this should have nothing to do with merge of multi-tty branch for I
> encountered this since beginning of June.
>
> Please look into this.
>
> TIA,
>
> CHENG Gao
More than two months ago I reported this bug and got no reply from
nobody. And two months later, the same report got the same result. Is it
my fate? Should I not report any problem about unicode branch? Or this
bug is too minor to be not worth dealing with?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs-unicode-2 branch "make bootstrap" failure under MacOSX
2007-09-13 12:00 ` CHENG Gao
@ 2007-09-13 12:39 ` Kenichi Handa
2007-09-13 12:47 ` CHENG Gao
0 siblings, 1 reply; 10+ messages in thread
From: Kenichi Handa @ 2007-09-13 12:39 UTC (permalink / raw)
To: CHENG Gao; +Cc: emacs-devel
It seems that no one is working on fixing it for the Mac
port (Carbon) now, sorry. On the other hand, Adrian is
working on Cocoa port at <http://emacs-app.sf.net>. Just
recently the new version was released.
---
Kenichi Handa
handa@m17n.org
In article <m2ps0mg4gd.fsf@cyberhut.org>, CHENG Gao <chenggao@gmail.com> writes:
> > I reported this failure about two months ago and got no reply. So I have
> > been waiting for this problem to be solved automagically. Since the
> > problem remains, I think I need report it once again.
> >
> > I usually build from emacs-unicode-2 branch cvs source once a week. My
> > last successful build is on May 29. Since then "make bootstrap" fails
> > and reports error message as:
> >
> > ,----
> > | gcc -c -fpascal-strings -DMAC_OSX -Demacs -DHAVE_CONFIG_H -I. -I/Users/shgog/repo-cvs/emacs/src -fpascal-strings -DMAC_OSX -Dtemacs -g -O2 -Wno-pointer-sign macterm.c
> > | macterm.c: In function 'mac_set_unicode_keystroke_event':
> > | macterm.c:10385: error: 'CHARSET_8_BIT_CONTROL' undeclared (first use in this function)
> > | macterm.c:10385: error: (Each undeclared identifier is reported only once
> > | macterm.c:10385: error: for each function it appears in.)
> > | macterm.c:10387: error: 'charset_latin_iso8859_1' undeclared (first use in this function)
> > | macterm.c:10394: error: 'charset_mule_unicode_0100_24ff' undeclared (first use in this function)
> > | macterm.c:10397: error: 'charset_mule_unicode_2500_33ff' undeclared (first use in this function)
> > | macterm.c:10400: error: 'charset_mule_unicode_e000_ffff' undeclared (first use in this function)
> > | make[2]: *** [macterm.o] Error 1
> > | make[1]: *** [bootstrap-build] Error 2
> > | make: *** [bootstrap] Error 2
> > `----
> >
> > And this should have nothing to do with merge of multi-tty branch for I
> > encountered this since beginning of June.
> >
> > Please look into this.
> >
> > TIA,
> >
> > CHENG Gao
> More than two months ago I reported this bug and got no reply from
> nobody. And two months later, the same report got the same result. Is it
> my fate? Should I not report any problem about unicode branch? Or this
> bug is too minor to be not worth dealing with?
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs-unicode-2 branch "make bootstrap" failure under MacOSX
2007-09-13 12:39 ` Kenichi Handa
@ 2007-09-13 12:47 ` CHENG Gao
2007-09-13 12:52 ` David Kastrup
2007-09-13 13:11 ` Kenichi Handa
0 siblings, 2 replies; 10+ messages in thread
From: CHENG Gao @ 2007-09-13 12:47 UTC (permalink / raw)
To: emacs-devel
> It seems that no one is working on fixing it for the Mac
> port (Carbon) now, sorry. On the other hand, Adrian is
> working on Cocoa port at <http://emacs-app.sf.net>. Just
> recently the new version was released.
Handa san, thank you for your reply. In fact I tried the latest
emacs-app (9.0 rc2) and previous versions. I'd say I prefer stock
emacs-unicode-2 build though I do think Adrian's work is useful and
should be merged into Emacs source the soonest.
If you say no one is working on fixing it, my heart sinks and becomes
frost. You are the guru in this realm. Might I be shameless enough to
ask you to fix this problem if you have some time? I just want a usable
unicode branch.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs-unicode-2 branch "make bootstrap" failure under MacOSX
2007-09-13 12:47 ` CHENG Gao
@ 2007-09-13 12:52 ` David Kastrup
2007-09-13 18:42 ` Glenn Morris
2007-09-13 13:11 ` Kenichi Handa
1 sibling, 1 reply; 10+ messages in thread
From: David Kastrup @ 2007-09-13 12:52 UTC (permalink / raw)
To: CHENG Gao; +Cc: emacs-devel
CHENG Gao <chenggao@gmail.com> writes:
>> It seems that no one is working on fixing it for the Mac
>> port (Carbon) now, sorry. On the other hand, Adrian is
>> working on Cocoa port at <http://emacs-app.sf.net>. Just
>> recently the new version was released.
>
> Handa san, thank you for your reply. In fact I tried the latest
> emacs-app (9.0 rc2) and previous versions. I'd say I prefer stock
> emacs-unicode-2 build though I do think Adrian's work is useful and
> should be merged into Emacs source the soonest.
>
> If you say no one is working on fixing it, my heart sinks and becomes
> frost. You are the guru in this realm. Might I be shameless enough to
> ask you to fix this problem if you have some time? I just want a usable
> unicode branch.
It would probably help if you offered to buy him a Mac. Short of
that, I don't see that he has a realistic chance of fixing the
problem.
--
David Kastrup
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs-unicode-2 branch "make bootstrap" failure under MacOSX
2007-09-13 12:47 ` CHENG Gao
2007-09-13 12:52 ` David Kastrup
@ 2007-09-13 13:11 ` Kenichi Handa
2007-09-13 14:21 ` CHENG Gao
1 sibling, 1 reply; 10+ messages in thread
From: Kenichi Handa @ 2007-09-13 13:11 UTC (permalink / raw)
To: CHENG Gao; +Cc: mituharu, emacs-devel
In article <m2lkbag2bf.fsf@cyberhut.org>, CHENG Gao <chenggao@gmail.com> writes:
> > It seems that no one is working on fixing it for the Mac
> > port (Carbon) now, sorry. On the other hand, Adrian is
> > working on Cocoa port at <http://emacs-app.sf.net>. Just
> > recently the new version was released.
> Handa san, thank you for your reply. In fact I tried the latest
> emacs-app (9.0 rc2) and previous versions. I'd say I prefer stock
> emacs-unicode-2 build though I do think Adrian's work is useful and
> should be merged into Emacs source the soonest.
If Adrian's work is useful, why do you prefer stock
emacs-unicode-2 build?
> If you say no one is working on fixing it, my heart sinks and becomes
> frost. You are the guru in this realm. Might I be shameless enough to
> ask you to fix this problem if you have some time? I just want a usable
> unicode branch.
Unfortunately, I don't have a Mac. Anyway, the compile
error you showed is very strange.
> ,----
> | gcc -c -fpascal-strings -DMAC_OSX -Demacs -DHAVE_CONFIG_H -I. -I/Users/shgog/repo-cvs/emacs/src -fpascal-strings -DMAC_OSX -Dtemacs -g -O2 -Wno-pointer-sign macterm.c
> | macterm.c: In function 'mac_set_unicode_keystroke_event':
> | macterm.c:10385: error: 'CHARSET_8_BIT_CONTROL' undeclared (first use in this function)
The macro CHARSET_8_BIT_CONTROL was not defined in
emacs-unicode-2. M-x vc-annotate shows that the part was
committed because of synching with the trunk code, and the
corresponding change log is this:
2007-06-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* mac.c (xrm_get_preference_database): Remove BLOCK_INPUT.
* macfns.c (mac_get_window_bounds): Move extern to macterm.h.
(compute_tip_xy) [TARGET_API_MAC_CARBON]: Use GetGlobalMouse.
* macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler):
Don't call next handler.
[TARGET_API_MAC_CARBON] (install_menu_target_item_handler):
Remove argument. Install handler to application.
(set_frame_menubar): Don't change deep_p.
(mac_menu_show): Use FRAME_OUTER_TO_INNER_DIFF_X and
FRAME_OUTER_TO_INNER_DIFF_Y.
(DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P)
(DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID)
[HAVE_DIALOGS]: New macros.
[HAVE_DIALOGS] (mac_handle_dialog_event, create_and_show_dialog):
Use them.
(fill_menubar) [TARGET_API_MAC_CARBON]: Use CFString.
* macselect.c [MAC_OSX] (install_service_handler): Rename from
init_service_handler. All callers changed. Return OSStatus value.
* macterm.c (mac_begin_cg_clip): New arg F. Call SetPortWindowPort.
All callers changed so as not to call SetPortWindowPort.
(mac_begin_cg_clip) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.
(mac_draw_image_string_atsui) [USE_ATSUI]: New function created from
mac_draw_string_common.
(mac_draw_image_string_qd): Likewise.
(mac_draw_string_common): Use them. Add INLINE.
(XTmouse_position, x_scroll_bar_report_motion) [TARGET_API_MAC_CARBON]:
Use FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y, and
GetGlobalMouse.
(x_set_mouse_pixel_position) [MAC_OSX]: Use FRAME_OUTER_TO_INNER_DIFF_X
and FRAME_OUTER_TO_INNER_DIFF_Y.
[TARGET_API_MAC_CARBON] (mac_handle_mouse_event): Likewise.
[USE_MAC_TSM] (mac_handle_text_input_event): Likewise.
(x_make_frame_visible) [TARGET_API_MAC_CARBON]: Move code for
repositioning window to mac_handle_window_event.
(x_make_frame_invisible) [TARGET_API_MAC_CARBON]: Move code for
saving window location to mac_handle_window_event
[USE_MAC_FONT_PANEL] (mac_show_hide_font_panel): Install handler here.
(install_menu_target_item_handler): Remove argument in extern.
[TARGET_API_MAC_CARBON] (mac_event_to_emacs_modifiers):
Also accept command events.
(do_keystroke): New function created from XTread_socket.
(init_command_handler): Remove functions.
[TARGET_API_MAC_CARBON] (mac_handle_window_event): Reposition window
and save window location by kEventWindowShowing and kEventWindowHiding
handlers here. Don't call next handler for window state change and
focus events.
(mac_handle_application_event, mac_handle_keyboard_event)
[TARGET_API_MAC_CARBON]: New functions.
(install_window_handler) [TARGET_API_MAC_CARBON]: Register handlers for
kEventWindowShowing and kEventWindowHiding events. Move installation
of mouse, font, text input and menu target item handlers to
install_application_handler.
(install_application_handler) [TARGET_API_MAC_CARBON]: New function.
(mac_handle_cg_display_reconfig) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
New function.
(init_dm_notification_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
Register it.
(XTread_socket) [TARGET_API_MAC_CARBON]:
Consolidate SendEventToEventTarget calls.
Use FRAME_OUTER_TO_INNER_DIFF_X and FRAME_OUTER_TO_INNER_DIFF_Y.
Move application activation handler to mac_handle_application_event.
Move keyboard handler to mac_handle_keyboard_event.
(XTread_socket) [!TARGET_API_MAC_CARBON]: Use do_keystroke.
(mac_initialize) [TARGET_API_MAC_CARBON]: Don't call
init_command_handler. Call install_application_handler.
* macterm.h (mac_get_window_bounds): Move extern from macfns.c.
(FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): New macros.
---
Kenichi Handa
handa@m17n.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs-unicode-2 branch "make bootstrap" failure under MacOSX
2007-09-13 13:11 ` Kenichi Handa
@ 2007-09-13 14:21 ` CHENG Gao
0 siblings, 0 replies; 10+ messages in thread
From: CHENG Gao @ 2007-09-13 14:21 UTC (permalink / raw)
To: emacs-devel
Handa san, thanks for your investigation and time. In fact I tracked to
the same point just I dont know how to get it right.
I can not afford to get this problem solved at the cost of a Mac. Anyway
thank you so much for your efforts.
I prefer stock emacs unicode build since I get used to it.
I drop this report now. Anyway I can live with an old build.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs-unicode-2 branch "make bootstrap" failure under MacOSX
2007-09-13 12:52 ` David Kastrup
@ 2007-09-13 18:42 ` Glenn Morris
2007-09-15 3:37 ` CHENG Gao
0 siblings, 1 reply; 10+ messages in thread
From: Glenn Morris @ 2007-09-13 18:42 UTC (permalink / raw)
To: David Kastrup; +Cc: emacs-devel, CHENG Gao
David Kastrup wrote:
> It would probably help if you offered to buy him a Mac. Short of
> that, I don't see that he has a realistic chance of fixing the
> problem.
An offer of an account on a Mac plus remote access would be a lot
cheaper (but may not be helpful or practical of course...).
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs-unicode-2 branch "make bootstrap" failure under MacOSX
2007-09-13 18:42 ` Glenn Morris
@ 2007-09-15 3:37 ` CHENG Gao
2007-09-15 3:51 ` CHENG Gao
0 siblings, 1 reply; 10+ messages in thread
From: CHENG Gao @ 2007-09-15 3:37 UTC (permalink / raw)
To: emacs-devel
I got some progress on this problem.
I copied and pasted several lines from HEAD/src/charset.h to
unicode-2/src/charset.h and now "make bootstrap" built past macterm.c.
Then I got error messages:
,----
| gcc -prebind -framework Carbon -framework QuickTime -Xlinker -headerpad -Xlinker 690 -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexmacosx.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o mac.o macterm.o macfns.o macmenu.o macselect.o fontset.o fringe.o image.o terminfo.o lastfile.o -lncurses
| powerpc-apple-darwin8-gcc-4.0.1: pre-crt0.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: cm.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: keymap.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: marker.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: filemode.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: casetab.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: undo.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: data.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: doc.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: floatfns.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: syntax.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: unexmacosx.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: callproc.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: region-cache.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: atimer.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: doprnt.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: strftime.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: intervals.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: composite.o: No such file or directory
| powerpc-apple-darwin8-gcc-4.0.1: md5.o: No such file or directory
| make[2]: *** [temacs] Error 1
| make[1]: *** [bootstrap-build] Error 2
| make: *** [bootstrap] Error 2
`----
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: emacs-unicode-2 branch "make bootstrap" failure under MacOSX
2007-09-15 3:37 ` CHENG Gao
@ 2007-09-15 3:51 ` CHENG Gao
0 siblings, 0 replies; 10+ messages in thread
From: CHENG Gao @ 2007-09-15 3:51 UTC (permalink / raw)
To: emacs-devel
I rerun autoconf and make bootstrap passed there files. Now the error
messages are:
,----
| gcc -prebind -framework Carbon -framework QuickTime -Xlinker -headerpad -Xlinker 690 -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexmacosx.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o mac.o macterm.o macfns.o macmenu.o macselect.o fontset.o fringe.o image.o terminfo.o lastfile.o -lncurses
| /usr/bin/ld: warning prebinding disabled because of undefined symbols
| /usr/bin/ld: Undefined symbols:
| _MAKE_CHAR
| _charset_latin_iso8859_1
| _charset_mule_unicode_0100_24ff
| _charset_mule_unicode_2500_33ff
| _charset_mule_unicode_e000_ffff
| collect2: ld returned 1 exit status
| make[2]: *** [temacs] Error 1
| make[1]: *** [bootstrap-build] Error 2
| make: *** [bootstrap] Error 2
`----
And it's beyond my super-poor capability. I have to give in and wait.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-09-15 3:51 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-11 16:01 emacs-unicode-2 branch "make bootstrap" failure under MacOSX CHENG Gao
2007-09-13 12:00 ` CHENG Gao
2007-09-13 12:39 ` Kenichi Handa
2007-09-13 12:47 ` CHENG Gao
2007-09-13 12:52 ` David Kastrup
2007-09-13 18:42 ` Glenn Morris
2007-09-15 3:37 ` CHENG Gao
2007-09-15 3:51 ` CHENG Gao
2007-09-13 13:11 ` Kenichi Handa
2007-09-13 14:21 ` CHENG Gao
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.