Opened 15 years ago

Last modified 14 years ago

#20936 closed defect

emacs-app fails to build on Snow Leopard — at Version 15

Reported by: cssdev Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: vipul.delwadia@…, julian@…, tonytung@…, james.mcbride+trac_ext@…, kiwi.2008@…, macports@…, vdesjardins@…, bgraw3@…, macports@…, kalyaka@…, distant.journey.dreaming.journey@…, colding@…, artemiogl@…
Port: emacs-app emacs-app-devel

Description (last modified by cssdev)

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 latest nsfns.m, but that only led to additional errors. The latest cvs checkout from savannah fails to build for others as well, so it looks like this port needs to wait for more significant upstream fixes.

Change History (16)

comment:1 Changed 15 years ago by vipul.delwadia@…

Cc: vipul.delwadia@… added

Cc Me!

comment:2 Changed 15 years ago by julian@…

Cc: julian@… added

Cc Me!

comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)

Port: emacs-app-devel added

comment:4 Changed 15 years ago by tonytung@…

Cc: tonytung@… added

Cc Me!

comment:5 Changed 15 years ago by james.mcbride+trac_ext@…

Cc: james.mcbride+trac_ext@… added

Cc Me!

comment:6 Changed 15 years ago by kiwi.2008@…

Cc: kiwi.2008@… added

Cc Me!

comment:7 Changed 15 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:8 Changed 15 years ago by vdesjardins@…

Cc: vdesjardins@… added

Cc Me!

comment:9 Changed 15 years ago by bgraw3@…

Cc: bgraw3@… added

Cc Me!

comment:10 Changed 15 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:11 Changed 15 years ago by kalyaka@…

Cc: kalyaka@… added

Cc Me!

comment:12 Changed 15 years ago by distant.journey.dreaming.journey@…

Cc: distant.journey.dreaming.journey@… added

Cc Me!

comment:13 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: colding@… added

Adding reporter of duplicate #21114.

comment:14 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: artemiogl@… added

Adding reporter of duplicate #21109.

comment:15 Changed 15 years ago by cssdev

Description: modified (diff)
Status: newassigned

Changed 15 years ago by colding@…

Attachment: emacs-app.txt.bz2 added

Output of "sudo port -d install emacs-app 2>&1 | tee ~/emacs-app.txt"

Note: See TracTickets for help on using tickets.