emacs-app-devel fails to build under Snow Leopard

Artemio Gonzalez Lopez artemiog at mac.com
Fri Sep 4 13:50:38 PDT 2009


Hi everybody,

emacs-app-devel does not build under Snow Leopard (yes, I uninstalled  
first all my ports and rebuilt from scratch with Snow Leopard). More  
specifically, the error I get is:

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:2292: warning: passing argument 1 of  
'getRed:green:blue:alpha:' from incompatible pointer type
nsfns.m:2292: warning: passing argument 2 of  
'getRed:green:blue:alpha:' from incompatible pointer type
nsfns.m:2292: warning: passing argument 3 of  
'getRed:green:blue:alpha:' from incompatible pointer type
nsfns.m:2292: warning: passing argument 4 of  
'getRed:green:blue:alpha:' from incompatible pointer type
make[1]: *** [nsfns.o] Error 1
make: *** [src] Error 2
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-devel/work/emacs" && /usr/bin/make -j2 all " returned error 2
Command output: nsterm.m:5125: warning: class 'EmacsView' does not  
implement the 'NSWindowDelegate' protocol
nsterm.m: In function '-[EmacsView draggingEntered:]':
nsterm.m:5379: 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:5642: 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:5772: warning: 'setFloatValue:knobProportion:' is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSScroller.h:107)
nsterm.m:5779: warning: 'setFloatValue:knobProportion:' is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSScroller.h:107)
nsterm.m: In function '-[EmacsScroller mouseDown:]':
nsterm.m:5884: warning: format '%d' expects type 'int', but argument 3  
has type 'NSScrollerPart'
nsterm.m: In function 'ns_font_to_xlfd':
nsterm.m:6252: warning: 'NSFont' may not respond to '-widthOfString:'
nsterm.m:6252: warning: (Messages without a matching method signature
nsterm.m:6252: warning: will be assumed to return 'id' and accept
nsterm.m:6252: warning: '...' as arguments.)
nsterm.m:6252: error: invalid operands to binary * (have 'double' and  
'id')
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:2292: warning: passing argument 1 of  
'getRed:green:blue:alpha:' from incompatible pointer type
nsfns.m:2292: warning: passing argument 2 of  
'getRed:green:blue:alpha:' from incompatible pointer type
nsfns.m:2292: warning: passing argument 3 of  
'getRed:green:blue:alpha:' from incompatible pointer type
nsterm.m: In function '-[EmacsScroller mouseDown:]':
nsterm.m:5884: warning: format '%d' expects type 'int', but argument 3  
has type 'NSScrollerPart'
nsterm.m: In function 'ns_font_to_xlfd':
nsterm.m:6252: warning: 'NSFont' may not respond to '-widthOfString:'
nsterm.m:6252: warning: (Messages without a matching method signature
nsterm.m:6252: warning: will be assumed to return 'id' and accept
nsterm.m:6252: warning: '...' as arguments.)
nsterm.m:6252: error: invalid operands to binary * (have 'double' and  
'id')
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:2292: warning: passing argument 1 of  
'getRed:green:blue:alpha:' from incompatible pointer type
nsfns.m:2292: warning: passing argument 2 of  
'getRed:green:blue:alpha:' from incompatible pointer type
nsfns.m:2292: warning: passing argument 3 of  
'getRed:green:blue:alpha:' from incompatible pointer type
nsfns.m:2292: warning: passing argument 4 of  
'getRed:green:blue:alpha:' from incompatible pointer type
make[1]: *** [nsfns.o] Error 1
make: *** [src] Error 2

DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_emacs 
-app-devel/work/emacs" && /usr/bin/make -j2 all " returned error 2
Command output: nsterm.m:5125: warning: class 'EmacsView' does not  
implement the 'NSWindowDelegate' protocol
nsterm.m: In function '-[EmacsView draggingEntered:]':
nsterm.m:5379: 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:5642: 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:5772: warning: 'setFloatValue:knobProportion:' is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSScroller.h:107)
nsterm.m:5779: warning: 'setFloatValue:knobProportion:' is deprecated  
(declared at /System/Library/Frameworks/AppKit.framework/Headers/ 
NSScroller.h:107)
nsterm.m: In function '-[EmacsScroller mouseDown:]':
nsterm.m:5884: warning: format '%d' expects type 'int', but argument 3  
has type 'NSScrollerPart'
nsterm.m: In function 'ns_font_to_xlfd':
nsterm.m:6252: warning: 'NSFont' may not respond to '-widthOfString:'
nsterm.m:6252: warning: (Messages without a matching method signature
nsterm.m:6252: warning: will be assumed to return 'id' and accept
nsterm.m:6252: warning: '...' as arguments.)
nsterm.m:6252: error: invalid operands to binary * (have 'double' and  
'id')
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:2292: warning: passing argument 1 of  
'getRed:green:blue:alpha:' from incompatible pointer type
nsfns.m:2292: warning: passing argument 2 of  
'getRed:green:blue:alpha:' from incompatible pointer type
nsfns.m:2292: warning: passing argument 3 of  
'getRed:green:blue:alpha:' from incompatible pointer type
nsfns.m:2292: warning: passing argument 4 of  
'getRed:green:blue:alpha:' from incompatible pointer type
make[1]: *** [nsfns.o] Error 1
make: *** [src] Error 2

     while executing
"command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for emacs-app-devel):  
org.macports.build
Error: Status 1 encountered during processing.


Any ideas?

Cheers,

Artemio


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1893 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090904/535f00fc/attachment.bin>


More information about the macports-users mailing list