I am attempting to install the emacs23-app package from the unstable x86_64 
branch on a Mac Pro system running 10.6.2. I have run selfupdate and update-all 
today, so I should be as current as possible (package manager version 0.29.10).

I have successfully built and used recent git checkouts of emacs23 with the 
--with-ns flag on this system, so to my unexpert eye it seems likely this is a 
fink-specific problem.

I found posts to this list in the archive that also describe difficulty with 
this package, but my setup is slightly different and from what I can tell I am 
receiving different errors, so I thought it might be helpful to post my results 
as well.

I've included three chunks of the output rather than spamming the list with the 
whole thing. Please let me know if there is anything else I can do to help 
resolve this issue.

Thanks,
-Daniel Berdine

The beginning of the compilation output, including the first warnings, looks 
like:

 # Recompile .el
 (cd src && make -j3 bootstrap) || exit
gcc -c -fpascal-strings -DMAC_OSX  -I/sw/include -Demacs -DHAVE_CONFIG_H   -I. 
-I/sw/src/fink.build/emacs23-app-9.0rc3-2/emacs-23.0.0_NS-9.0rc3/src -Dtemacs   
-g -O2 -Wno-pointer-sign  pre-crt0.c
gcc -c -fpascal-strings -DMAC_OSX  -I/sw/include -Demacs -DHAVE_CONFIG_H   -I. 
-I/sw/src/fink.build/emacs23-app-9.0rc3-2/emacs-23.0.0_NS-9.0rc3/src -Dtemacs   
-g -O2 -Wno-pointer-sign  dispnew.c
gcc -c -fpascal-strings -DMAC_OSX  -I/sw/include -Demacs -DHAVE_CONFIG_H   -I. 
-I/sw/src/fink.build/emacs23-app-9.0rc3-2/emacs-23.0.0_NS-9.0rc3/src -Dtemacs   
-g -O2 -Wno-pointer-sign  frame.c
gcc -c -fpascal-strings -DMAC_OSX  -I/sw/include -Demacs -DHAVE_CONFIG_H   -I. 
-I/sw/src/fink.build/emacs23-app-9.0rc3-2/emacs-23.0.0_NS-9.0rc3/src -Dtemacs   
-g -O2 -Wno-pointer-sign  scroll.c
In file included from frame.c:37:
nsterm.h:678: warning: 'struct glyph_string' declared inside parameter list
nsterm.h:678: warning: its scope is only this definition or declaration, which 
is probably not what you want
In file included from frame.c:47:
blockinput.h:65:1: warning: "BLOCK_INPUT" redefined
In file included from frame.c:37:
nsterm.h:31:1: warning: this is the location of the previous definition
In file included from frame.c:47:
blockinput.h:82:1: warning: "UNBLOCK_INPUT" redefined
In file included from frame.c:37:
nsterm.h:33:1: warning: this is the location of the previous definition
frame.c: In function 'Fmake_terminal_frame':
frame.c:742: warning: pointer targets in passing argument 2 of 
'__builtin___strncpy_chk' differ in signedness
frame.c:742: warning: pointer targets in passing argument 2 of 
'__inline_strncpy_chk' differ in signedness
frame.c:753: warning: pointer targets in passing argument 2 of 
'__builtin___strncpy_chk' differ in signedness
frame.c:753: warning: pointer targets in passing argument 2 of 
'__inline_strncpy_chk' differ in signedness


Much later, the first error appears:

In file included from nsterm.m:37:
nsterm.h:116: warning: protocol 'NSMenuItem' is deprecated
nsterm.h:678: warning: 'struct glyph_string' declared inside parameter list
nsterm.h:678: warning: its scope is only this definition or declaration, which 
is probably not what you want
In file included from window.h:25,
                 from nsterm.m:48:
dispextern.h:1234: error: array type has incomplete element type
nsterm.m: In function 'ns_lisp_to_color':
nsterm.m:1420: warning: pointer targets in passing argument 1 of 'ns_get_color' 
differ in signedness
nsterm.m:1422: warning: pointer targets in passing argument 1 of 'ns_get_color' 
differ in signedness
nsterm.m: In function 'ns_color_to_lisp':
nsterm.m:1448: warning: passing argument 1 of 'getRed:green:blue:alpha:' from 
incompatible pointer type


Finally, the first failed .o, and the end of the compilation output:

nsmenu.m: At top level:
nsmenu.m:592: warning: protocol 'NSMenuItem' is deprecated
nsmenu.m: In function '-[EmacsMenu addItemWithWidgetValue:]':
nsmenu.m:594: warning: protocol 'NSMenuItem' is deprecated
nsmenu.m:599: warning: class 'NSMenuItem' does not implement the 'NSMenuItem' 
protocol
nsmenu.m:600: warning: type 'id <NSMenuItem>' does not conform to the 
'NSCopying' protocol
nsmenu.m:613: warning: class 'NSMenuItem' does not implement the 'NSMenuItem' 
protocol
nsmenu.m:615: warning: '-setKeyEquivalentModifierMask:' not found in protocol(s)
nsmenu.m:617: warning: '-setEnabled:' not found in protocol(s)
nsmenu.m:622: warning: '-setState:' not found in protocol(s)
nsmenu.m:624: warning: '-setState:' not found in protocol(s)
nsmenu.m:626: warning: cast from pointer to integer of different size
nsmenu.m:626: warning: '-setTag:' not found in protocol(s)
nsmenu.m: In function '-[EmacsMenu fillWithWidgetValue:]':
nsmenu.m:661: warning: protocol 'NSMenuItem' is deprecated
nsmenu.m:667: warning: type 'id <NSMenuItem>' does not conform to the 
'NSCopying' protocol
nsmenu.m:670: warning: '-setAction:' not found in protocol(s)
nsmenu.m:677: warning: 'sizeToFit' is deprecated (declared at 
/System/Library/Frameworks/AppKit.framework/Headers/NSMenu.h:281)
nsmenu.m: In function '-[EmacsMenu addSubmenuWithTitle:forFrame:]':
nsmenu.m:689: warning: protocol 'NSMenuItem' is deprecated
nsmenu.m:692: warning: class 'NSMenuItem' does not implement the 'NSMenuItem' 
protocol
nsmenu.m:694: warning: type 'id <NSMenuItem>' does not conform to the 
'NSCopying' protocol
nsfns.m: In function 'Fx_show_tip':
nsfns.m:2506: warning: pointer targets in assignment differ in signedness
nsmenu.m: In function '-[EmacsMenu runMenuAt:forFrame:keymaps:]':
nsmenu.m:722: warning: passing argument 3 of 'find_and_return_menu_selection' 
makes pointer from integer without a cast
nsmenu.m: In function 'ns_popup_menu':
nsmenu.m:1098: warning: assignment makes integer from pointer without a cast
nsmenu.m:1106: warning: pointer targets in passing argument 1 of 
'stringWithUTF8String:' differ in signedness
nsmenu.m: In function '-[EmacsToolbar initForView:withIdentifier:]':
nsmenu.m:1251: warning: class 'EmacsToolbar' does not implement the 
'NSToolbarDelegate' protocol
nsmenu.m: In function '-[EmacsToolbar 
addDisplayItemWithImage:idx:helpText:enabled:]':
nsmenu.m:1295: warning: 'stringWithCString:' is deprecated (declared at 
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:386)
make: *** [nsterm.o] Error 1
make: *** Waiting for unfinished jobs....
nsmenu.m: In function '-[EmacsTooltip init]':
nsmenu.m:1382: warning: class 'EmacsTooltip' does not implement the 
'NSWindowDelegate' protocol
nsmenu.m: In function '-[EmacsTooltip setText:]':
nsmenu.m:1402: warning: 'NSFont' may not respond to '-widthOfString:'
nsmenu.m:1402: warning: (Messages without a matching method signature
nsmenu.m:1402: warning: will be assumed to return 'id' and accept
nsmenu.m:1402: warning: '...' as arguments.)
nsmenu.m:1402: error: incompatible types in assignment
nsmenu.m: In function '-[EmacsDialogPanel 
initWithContentRect:styleMask:backing:defer:]':
nsmenu.m:1530: warning: conflicting types for 
'-(id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)aStyle 
backing:(NSBackingStoreType)backingType defer:(BOOL)flag'
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:264: warning: 
previous declaration of '-(id)initWithContentRect:(NSRect)contentRect 
styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType 
defer:(BOOL)flag'
nsmenu.m:1583: warning: multiple methods named '-setAutoresizingMask:' found
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:192: warning: 
using '-(void)setAutoresizingMask:(NSUInteger)mask'
/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:680: warning: 
also found '-(void)setAutoresizingMask:(unsigned int)_value'
make: *** [nsfns.o] Error 1
nsmenu.m: In function 'process_dialog':
nsmenu.m:1637: warning: pointer targets in passing argument 1 of 
'addString:row:' differ in signedness
nsmenu.m:1643: warning: pointer targets in passing argument 1 of 
'addButton:value:row:' differ in signedness
nsmenu.m: In function '-[EmacsDialogPanel initFromContents:isQuestion:]':
nsmenu.m:1734: warning: pointer targets in passing argument 1 of 
'stringWithUTF8String:' differ in signedness
make: *** [nsmenu.o] Error 1
### execution of /var/tmp/tmp.1.hAupPZ failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-emacs23-app-9.0rc3-2
(Reading database ... 29946 files and directories currently installed.)
Removing fink-buildlock-emacs23-app-9.0rc3-2 ...
Failed: phase compiling: emacs23-app-9.0rc3-2 failed


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to