Opened 15 years ago

Closed 15 years ago

#21114 closed defect (duplicate)

emacs-app does not build

Reported by: colding@… Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: snowleopard Cc:
Port: emacs-app

Description (last modified by ryandesign (Ryan Carsten Schmidt))

On Snow Leopard I get this:

colding@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.

Change History (3)

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: snowleopard added
Owner: changed from macports-tickets@… to css@…
Priority: HighNormal

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

I think we need to see the debug output to help with this. Normally MacPorts only shows the last 30 lines of error, and it looks like there was more output than that here. Can you clean the port and try again with the debug switch?

sudo port clean emacs-app
sudo port -d install emacs-app 2>&1 | tee ~/Desktop/emacs-app.txt
bzip2 ~/Desktop/emacs-app.txt

Then attach emacs-app.txt.bz2 from your desktop to this ticket.

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

Resolution: duplicate
Status: newclosed

This is a duplicate of #20936.

Please send your attachment to that ticket.

Note: See TracTickets for help on using tickets.