[MacPorts] #21114: emacs-app does not build

MacPorts noreply at macports.org
Sat Sep 5 05:26:30 PDT 2009


#21114: emacs-app does not build
---------------------------------+------------------------------------------
 Reporter:  colding@…            |       Owner:  css@…           
     Type:  defect               |      Status:  new             
 Priority:  Normal               |   Milestone:                  
Component:  ports                |     Version:  1.8.0           
 Keywords:  snowleopard          |        Port:  emacs-app       
---------------------------------+------------------------------------------
Changes (by ryandesign@…):

  * keywords:  => snowleopard
  * owner:  macports-tickets@… => css@…
  * priority:  High => Normal


Old description:

> On Snow Leopard I get this:
>
> colding at hermes ~/work/src/emacs $ sudo port install emacs-app
> Password:
> --->  Computing dependencies for emacs-app
> --->  Fetching emacs-app
> --->  Attempting to fetch emacs-23.1.tar.bz2 from
> http://arn.se.distfiles.macports.org/emacs-app
> --->  Verifying checksum(s) for emacs-app
> --->  Extracting emacs-app
> --->  Configuring emacs-app
> --->  Building emacs-app
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_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.

New description:

 On Snow Leopard I get this:

 {{{
 colding at hermes ~/work/src/emacs $ sudo port install emacs-app
 Password:
 --->  Computing dependencies for emacs-app
 --->  Fetching emacs-app
 --->  Attempting to fetch emacs-23.1.tar.bz2 from
 http://arn.se.distfiles.macports.org/emacs-app
 --->  Verifying checksum(s) for emacs-app
 --->  Extracting emacs-app
 --->  Configuring emacs-app
 --->  Building emacs-app
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_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.
 }}}

--

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


More information about the macports-tickets mailing list