[MacPorts] #20936: emacs-app fails to build on Snow Leopard

MacPorts noreply at macports.org
Sat Sep 5 05:47:24 PDT 2009


#20936: emacs-app fails to build on Snow Leopard
------------------------------+---------------------------------------------
 Reporter:  css@…             |       Owner:  css@…                    
     Type:  defect            |      Status:  assigned                 
 Priority:  Normal            |   Milestone:                           
Component:  ports             |     Version:  1.8.0                    
 Keywords:                    |        Port:  emacs-app emacs-app-devel
------------------------------+---------------------------------------------
Changes (by css@…):

  * status:  new => assigned


Old description:

> The emacs-app source fails to build properly on Snow Leopard.
>
> {{{
> --->  Building emacs-app
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_Users_Shared_macports_dports_aqua_emacs-
> app/work/emacs-23.1" && /usr/bin/make -j2 all " returned error 2
> Command output: nsterm.m: In function '-[EmacsView keyDown:]':
> nsterm.m:4611: warning: 'wantsToDelayTextChangeNotifications' is
> deprecated (declared at
> /System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:112)
> nsterm.m: In function '-[EmacsView characterIndexForPoint:]':
> nsterm.m:4820: warning: conflicting types for '-(unsigned
> int)characterIndexForPoint:(NSPoint)thePoint'
> /System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:45:
> warning: previous declaration of
> '-(NSUInteger)characterIndexForPoint:(NSPoint)thePoint'
> nsterm.m: In function '-[EmacsView initFrameFromEmacs:]':
> nsterm.m:5219: warning: class 'EmacsView' does not implement the
> 'NSWindowDelegate' protocol
> nsterm.m: In function '-[EmacsView draggingEntered:]':
> nsterm.m:5497: warning: conflicting types for '-(unsigned
> int)draggingEntered:(id <NSDraggingInfo>)sender'
> /System/Library/Frameworks/AppKit.framework/Headers/NSDragging.h:56:
> warning: previous declaration of '-(NSDragOperation)draggingEntered:(id
> <NSDraggingInfo>)sender'
> nsterm.m: In function '+[EmacsScroller scrollerWidth]':
> nsterm.m:5782: warning: conflicting types for '+(float)scrollerWidth'
> /System/Library/Frameworks/AppKit.framework/Headers/NSScroller.h:76:
> warning: previous declaration of '+(CGFloat)scrollerWidth'
> nsterm.m: In function '-[EmacsScroller setPosition:portion:whole:]':
> nsterm.m:5912: warning: 'setFloatValue:knobProportion:' is deprecated
> (declared at
> /System/Library/Frameworks/AppKit.framework/Headers/NSScroller.h:107)
> nsterm.m:5919: warning: 'setFloatValue:knobProportion:' is deprecated
> (declared at
> /System/Library/Frameworks/AppKit.framework/Headers/NSScroller.h:107)
> nsterm.m: In function '-[EmacsScroller mouseDown:]':
> nsterm.m:6024: warning: format '%d' expects type 'int', but argument 3
> has type 'NSScrollerPart'
> make[1]: *** [nsterm.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> In file included from nsterm.h:20,
>                  from nsfns.m:37:
> dispextern.h:1250: error: array type has incomplete element type
> nsfns.m: In function 'Fxw_color_values':
> nsfns.m:2252: warning: passing argument 1 of 'getRed:green:blue:alpha:'
> from incompatible pointer type
> nsfns.m:2252: warning: passing argument 2 of 'getRed:green:blue:alpha:'
> from incompatible pointer type
> nsfns.m:2252: warning: passing argument 3 of 'getRed:green:blue:alpha:'
> from incompatible pointer type
> nsfns.m:2252: warning: passing argument 4 of 'getRed:green:blue:alpha:'
> from incompatible pointer type
> make[1]: *** [nsfns.o] Error 1
> make: *** [src] Error 2
>
> Error: Status 1 encountered during processing.
> }}}
>
> I tried to fix that using the
> [http://cvs.savannah.gnu.org/viewvc/emacs/src/nsfns.m?root=emacs&r1=1.47&r2=1.48&view=patch
> latest nsfns.m], but that only led to additional errors. The latest cvs
> checkout from savannah [http://email.esm.psu.edu/pipermail/macosx-
> emacs/2009-August/001671.html fails to build for others] as well, so it
> looks like this port needs to wait for more significant upstream fixes.

New description:

 The emacs-app source fails to build properly on Snow Leopard.

 {{{
 --->  Building emacs-app
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_Users_Shared_macports_dports_aqua_emacs-
 app/work/emacs-23.1" && /usr/bin/make -j2 all " returned error 2
 Command output: nsterm.m: In function '-[EmacsView keyDown:]':
 nsterm.m:4611: warning: 'wantsToDelayTextChangeNotifications' is
 deprecated (declared at
 /System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:112)
 nsterm.m: In function '-[EmacsView characterIndexForPoint:]':
 nsterm.m:4820: warning: conflicting types for '-(unsigned
 int)characterIndexForPoint:(NSPoint)thePoint'
 /System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:45:
 warning: previous declaration of
 '-(NSUInteger)characterIndexForPoint:(NSPoint)thePoint'
 nsterm.m: In function '-[EmacsView initFrameFromEmacs:]':
 nsterm.m:5219: warning: class 'EmacsView' does not implement the
 'NSWindowDelegate' protocol
 nsterm.m: In function '-[EmacsView draggingEntered:]':
 nsterm.m:5497: warning: conflicting types for '-(unsigned
 int)draggingEntered:(id <NSDraggingInfo>)sender'
 /System/Library/Frameworks/AppKit.framework/Headers/NSDragging.h:56:
 warning: previous declaration of '-(NSDragOperation)draggingEntered:(id
 <NSDraggingInfo>)sender'
 nsterm.m: In function '+[EmacsScroller scrollerWidth]':
 nsterm.m:5782: warning: conflicting types for '+(float)scrollerWidth'
 /System/Library/Frameworks/AppKit.framework/Headers/NSScroller.h:76:
 warning: previous declaration of '+(CGFloat)scrollerWidth'
 nsterm.m: In function '-[EmacsScroller setPosition:portion:whole:]':
 nsterm.m:5912: warning: 'setFloatValue:knobProportion:' is deprecated
 (declared at
 /System/Library/Frameworks/AppKit.framework/Headers/NSScroller.h:107)
 nsterm.m:5919: warning: 'setFloatValue:knobProportion:' is deprecated
 (declared at
 /System/Library/Frameworks/AppKit.framework/Headers/NSScroller.h:107)
 nsterm.m: In function '-[EmacsScroller mouseDown:]':
 nsterm.m:6024: warning: format '%d' expects type 'int', but argument 3 has
 type 'NSScrollerPart'
 make[1]: *** [nsterm.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 In file included from nsterm.h:20,
                  from nsfns.m:37:
 dispextern.h:1250: error: array type has incomplete element type
 nsfns.m: In function 'Fxw_color_values':
 nsfns.m:2252: warning: passing argument 1 of 'getRed:green:blue:alpha:'
 from incompatible pointer type
 nsfns.m:2252: warning: passing argument 2 of 'getRed:green:blue:alpha:'
 from incompatible pointer type
 nsfns.m:2252: warning: passing argument 3 of 'getRed:green:blue:alpha:'
 from incompatible pointer type
 nsfns.m:2252: warning: passing argument 4 of 'getRed:green:blue:alpha:'
 from incompatible pointer type
 make[1]: *** [nsfns.o] Error 1
 make: *** [src] Error 2

 Error: Status 1 encountered during processing.
 }}}

 I tried to fix that using the
 [http://cvs.savannah.gnu.org/viewvc/emacs/src/nsfns.m?root=emacs&r1=1.47&r2=1.48&view=patch
 latest nsfns.m], but that only led to additional errors. The latest cvs
 checkout from savannah [http://email.esm.psu.edu/pipermail/macosx-
 emacs/2009-August/001671.html fails to build for others] as well, so it
 looks like '''this port needs to wait for more significant upstream
 fixes'''.

--

-- 
Ticket URL: <http://trac.macports.org/ticket/20936#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list