GNU bug report logs -
#15086
24.3.50; NS variant does not build on PPC Tiger because of missing qualifier before 'vector'
Previous Next
Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Date: Tue, 13 Aug 2013 12:20:02 UTC
Severity: normal
Tags: wontfix
Found in version 24.3.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15086 in the body.
You can then email your comments to 15086 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15086
; Package
emacs
.
(Tue, 13 Aug 2013 12:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 13 Aug 2013 12:20:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello!
When nsterm.m is compiled errors occur:
In file included from /System/Library/Frameworks/
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/
DriverServices.h:32,
from /System/Library/Frameworks/
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/
CarbonCore.h:125,
from /System/Library/Frameworks/
CoreServices.framework/Headers/CoreServices.h:21,
from /System/Library/Frameworks/
ApplicationServices.framework/Headers/ApplicationServices.h:20,
from /System/Library/Frameworks/
Foundation.framework/Headers/NSAppleEventDescriptor.h:8,
from /System/Library/Frameworks/
Foundation.framework/Headers/Foundation.h:104,
from /System/Library/Frameworks/AppKit.framework/
Headers/AppKit.h:10,
from nsgui.h:34,
from dispextern.h:78,
from nsterm.h:21,
from nsterm.m:48:
/System/Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/MachineExceptions.h:115: error: expected
specifier-qualifier-list before 'vector'
In file included from nsterm.m:48:
nsterm.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'EmacsCGFloat'
nsterm.h:364: error: expected specifier-qualifier-list before 'CGFloat'
nsterm.m: In function 'ns_color_to_lisp':
nsterm.m:1596: error: 'EmacsCGFloat' undeclared (first use in this
function)
nsterm.m:1596: error: (Each undeclared identifier is reported only once
nsterm.m:1596: error: for each function it appears in.)
nsterm.m:1596: error: expected ';' before 'red'
nsterm.m:1611: error: 'red' undeclared (first use in this function)
nsterm.m:1611: error: 'green' undeclared (first use in this function)
nsterm.m:1611: error: 'blue' undeclared (first use in this function)
nsterm.m:1611: error: 'alpha' undeclared (first use in this function)
nsterm.m:1615: error: 'gray' undeclared (first use in this function)
nsterm.m: In function 'ns_query_color':
nsterm.m:1638: error: 'EmacsCGFloat' undeclared (first use in this
function)
nsterm.m:1638: error: expected ';' before 'r'
nsterm.m:1640: error: 'r' undeclared (first use in this function)
nsterm.m:1640: error: 'g' undeclared (first use in this function)
nsterm.m:1640: error: 'b' undeclared (first use in this function)
nsterm.m:1640: error: 'a' undeclared (first use in this function)
nsterm.m: At top level:
nsterm.m:2561: error: expected declaration specifiers or '...' before
'EmacsCGFloat'
nsterm.m:2561: error: expected declaration specifiers or '...' before
'EmacsCGFloat'
nsterm.m: In function 'ns_draw_underwave':
nsterm.m:2571: error: 'x' undeclared (first use in this function)
nsterm.m:2571: error: 'width' undeclared (first use in this function)
nsterm.m:2579: error: 'EmacsCGFloat' undeclared (first use in this
function)
nsterm.m:2579: error: expected ';' before numeric constant
nsterm.m: In function 'ns_draw_text_decoration':
nsterm.m:2623: error: too many arguments to function 'ns_draw_underwave'
nsterm.m: In function '-[EmacsView conversationIdentifier]':
nsterm.m:5333: warning: conflicting types for '-(NSInteger)
conversationIdentifier'
/System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:
23: warning: previous declaration of '-(long int)conversationIdentifier'
nsterm.m: In function '-[EmacsView initFrameFromEmacs:]':
nsterm.m:5921: error: 'EmacsCGFloat' undeclared (first use in this
function)
nsterm.m:5921: error: expected ')' before numeric constant
nsterm.m: In function '-[EmacsView windowDidExitFullScreen:]':
nsterm.m:6117: warning: 'EmacsView' may not respond to '-
updateCollectionBehaviour'
nsterm.m:6117: warning: (Messages without a matching method signature
nsterm.m:6117: warning: will be assumed to return 'id' and accept
nsterm.m:6117: warning: '...' as arguments.)
nsterm.m: In function '-[EmacsView toggleFullScreen:]':
nsterm.m:6178: warning: 'NSWindow' may not respond to '-
toggleFullScreen:'
nsterm.m:6225: error: 'EmacsCGFloat' undeclared (first use in this
function)
nsterm.m:6225: error: expected ')' before numeric constant
nsterm.m:6263: error: expected ')' before numeric constant
nsterm.m: In function '-[EmacsScroller mouseDown:]':
nsterm.m:7126: error: 'last_mouse_offset' undeclared (first use in
this function)
nsterm.m: In function '-[EmacsScroller mouseDragged:]':
nsterm.m:7170: error: 'last_mouse_offset' undeclared (first use in
this function)
make[2]: *** [nsterm.o] Error 1
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2
Mac OS X 10.4.11, PPC, with powerpc-apple-darwin8-gcc-4.0.1 (GCC)
4.0.1 (Apple Computer, Inc. build 5370).
--
Greetings
Pete
Who the fsck is "General Failure," and why is he reading my disk?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15086
; Package
emacs,ns
.
(Tue, 13 Aug 2013 15:48:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 15086 <at> debbugs.gnu.org (full text, mbox):
Hello.
I've checked in an attemted fix. I can't check it as 10.4 is really old and I don't have any around.
Jan D.
13 aug 2013 kl. 13:17 skrev Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
> Hello!
>
> When nsterm.m is compiled errors occur:
>
> In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32,
> from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125,
> from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
> from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:20,
> from /System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:8,
> from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:104,
> from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10,
> from nsgui.h:34,
> from dispextern.h:78,
> from nsterm.h:21,
> from nsterm.m:48:
> /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:115: error: expected specifier-qualifier-list before 'vector'
>
> In file included from nsterm.m:48:
> nsterm.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'EmacsCGFloat'
> nsterm.h:364: error: expected specifier-qualifier-list before 'CGFloat'
>
> nsterm.m: In function 'ns_color_to_lisp':
> nsterm.m:1596: error: 'EmacsCGFloat' undeclared (first use in this function)
> nsterm.m:1596: error: (Each undeclared identifier is reported only once
> nsterm.m:1596: error: for each function it appears in.)
> nsterm.m:1596: error: expected ';' before 'red'
> nsterm.m:1611: error: 'red' undeclared (first use in this function)
> nsterm.m:1611: error: 'green' undeclared (first use in this function)
> nsterm.m:1611: error: 'blue' undeclared (first use in this function)
> nsterm.m:1611: error: 'alpha' undeclared (first use in this function)
> nsterm.m:1615: error: 'gray' undeclared (first use in this function)
> nsterm.m: In function 'ns_query_color':
> nsterm.m:1638: error: 'EmacsCGFloat' undeclared (first use in this function)
> nsterm.m:1638: error: expected ';' before 'r'
> nsterm.m:1640: error: 'r' undeclared (first use in this function)
> nsterm.m:1640: error: 'g' undeclared (first use in this function)
> nsterm.m:1640: error: 'b' undeclared (first use in this function)
> nsterm.m:1640: error: 'a' undeclared (first use in this function)
> nsterm.m: At top level:
> nsterm.m:2561: error: expected declaration specifiers or '...' before 'EmacsCGFloat'
> nsterm.m:2561: error: expected declaration specifiers or '...' before 'EmacsCGFloat'
> nsterm.m: In function 'ns_draw_underwave':
> nsterm.m:2571: error: 'x' undeclared (first use in this function)
> nsterm.m:2571: error: 'width' undeclared (first use in this function)
> nsterm.m:2579: error: 'EmacsCGFloat' undeclared (first use in this function)
> nsterm.m:2579: error: expected ';' before numeric constant
> nsterm.m: In function 'ns_draw_text_decoration':
> nsterm.m:2623: error: too many arguments to function 'ns_draw_underwave'
> nsterm.m: In function '-[EmacsView conversationIdentifier]':
> nsterm.m:5333: warning: conflicting types for '-(NSInteger)conversationIdentifier'
> /System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:23: warning: previous declaration of '-(long int)conversationIdentifier'
> nsterm.m: In function '-[EmacsView initFrameFromEmacs:]':
> nsterm.m:5921: error: 'EmacsCGFloat' undeclared (first use in this function)
> nsterm.m:5921: error: expected ')' before numeric constant
> nsterm.m: In function '-[EmacsView windowDidExitFullScreen:]':
> nsterm.m:6117: warning: 'EmacsView' may not respond to '-updateCollectionBehaviour'
> nsterm.m:6117: warning: (Messages without a matching method signature
> nsterm.m:6117: warning: will be assumed to return 'id' and accept
> nsterm.m:6117: warning: '...' as arguments.)
> nsterm.m: In function '-[EmacsView toggleFullScreen:]':
> nsterm.m:6178: warning: 'NSWindow' may not respond to '-toggleFullScreen:'
> nsterm.m:6225: error: 'EmacsCGFloat' undeclared (first use in this function)
> nsterm.m:6225: error: expected ')' before numeric constant
> nsterm.m:6263: error: expected ')' before numeric constant
> nsterm.m: In function '-[EmacsScroller mouseDown:]':
> nsterm.m:7126: error: 'last_mouse_offset' undeclared (first use in this function)
> nsterm.m: In function '-[EmacsScroller mouseDragged:]':
> nsterm.m:7170: error: 'last_mouse_offset' undeclared (first use in this function)
> make[2]: *** [nsterm.o] Error 1
> make[1]: *** [src] Error 2
> make: *** [bootstrap] Error 2
>
> Mac OS X 10.4.11, PPC, with powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370).
>
> --
> Greetings
>
> Pete
>
> Who the fsck is "General Failure," and why is he reading my disk?
>
>
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15086
; Package
emacs,ns
.
(Tue, 13 Aug 2013 16:49:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 15086 <at> debbugs.gnu.org (full text, mbox):
Am 13.08.2013 um 17:47 schrieb Jan Djärv:
> I've checked in an attemted fix. I can't check it as 10.4 is
> really old and I don't have any around.
I have to admit that my report is a bit faulty! Configuration was
with GCC 4.0, but compilation was with GCC 4.2 – which I found when I
repeated the 'make bootstrap' for a second time. But one bug, maybe
two, was left on Tiger:
In file included from nsterm.m:48:
nsterm.h:59: error: parse error before ‘EmacsCGFloat’
nsterm.h:59: warning: type defaults to ‘int’ in declaration of
‘EmacsCGFloat’
nsterm.h:59: warning: data definition has no type or storage class
nsterm.h:364: error: parse error before ‘CGFloat’
and
nsterm.m: In function ‘ns_color_to_lisp’:
nsterm.m:1596: error: parse error before ‘red’
nsterm.m:1611: error: ‘red’ undeclared (first use in this function)
nsterm.m:1611: error: (Each undeclared identifier is reported only once
nsterm.m:1611: error: for each function it appears in.)
nsterm.m:1611: error: ‘green’ undeclared (first use in this function)
nsterm.m:1611: error: ‘blue’ undeclared (first use in this function)
nsterm.m:1611: error: ‘alpha’ undeclared (first use in this function)
nsterm.m:1615: error: ‘gray’ undeclared (first use in this function)
nsterm.m: In function ‘ns_query_color’:
nsterm.m:1638: error: parse error before ‘r’
nsterm.m:1640: error: ‘r’ undeclared (first use in this function)
nsterm.m:1640: error: ‘g’ undeclared (first use in this function)
nsterm.m:1640: error: ‘b’ undeclared (first use in this function)
nsterm.m:1640: error: ‘a’ undeclared (first use in this function)
nsterm.m: At top level:
nsterm.m:2561: error: parse error before ‘EmacsCGFloat’
nsterm.m: In function ‘ns_draw_underwave’:
nsterm.m:2570: error: ‘s’ undeclared (first use in this function)
nsterm.m:2571: error: ‘x’ undeclared (first use in this function)
nsterm.m:2571: error: ‘width’ undeclared (first use in this function)
nsterm.m:2579: error: parse error before numeric constant
nsterm.m: In function ‘-[EmacsView conversationIdentifier]’:
nsterm.m:5333: warning: conflicting types for ‘-(NSInteger)
conversationIdentifier’
/System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:
23: warning: previous declaration of ‘-(long int)conversationIdentifier’
nsterm.m: In function ‘-[EmacsView initFrameFromEmacs:]’:
nsterm.m:5921: error: parse error before numeric constant
nsterm.m: In function ‘-[EmacsView windowDidExitFullScreen:]’:
nsterm.m:6117: warning: ‘EmacsView’ may not respond to ‘-
updateCollectionBehaviour’
nsterm.m:6117: warning: (Messages without a matching method signature
nsterm.m:6117: warning: will be assumed to return ‘id’ and accept
nsterm.m:6117: warning: ‘...’ as arguments.)
nsterm.m: In function ‘-[EmacsView toggleFullScreen:]’:
nsterm.m:6178: warning: ‘NSWindow’ may not respond to ‘-
toggleFullScreen:’
nsterm.m:6225: error: parse error before numeric constant
nsterm.m:6263: error: parse error before numeric constant
nsterm.m: In function ‘-[EmacsScroller initFrame:window:]’:
nsterm.m:6834: warning: local declaration of ‘win’ hides instance
variable
nsterm.m:6834: warning: assignment makes pointer from integer without
a cast
nsterm.m:6840: warning: local declaration of ‘win’ hides instance
variable
nsterm.m:6840: warning: passing argument 1 of ‘XWINDOW’ makes integer
from pointer without a cast
nsterm.m:6840: warning: local declaration of ‘win’ hides instance
variable
nsterm.m:6840: warning: passing argument 1 of ‘XWINDOW’ makes integer
from pointer without a cast
nsterm.m:6834: confused by earlier errors, bailing out
{standard input}:8140:FATAL:.abort detected. Assembly stopping.
Anyway, bzr is already trying to fetch the update.
--
Greetings
Pete
’Twas a woman who drove me to drink, and I never had the courtesy to
thank her for it.
— W.C. Fields
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15086
; Package
emacs,ns
.
(Tue, 13 Aug 2013 18:26:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 15086 <at> debbugs.gnu.org (full text, mbox):
Am 13.08.2013 um 17:47 schrieb Jan Djärv:
> I've checked in an attemted fix. I can't check it as 10.4 is
> really old and I don't have any around.
Your fix does fix the problem in nsterm.m, but here is another error
(+ warnings), when temacs is being built:
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple
definitions of symbol _BC
terminfo.o definition of _BC in section (__DATA,__common)
/opt/local/lib/libncurses.dylib(single module) definition of _BC
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple
definitions of symbol _PC
terminfo.o definition of _PC in section (__DATA,__common)
/opt/local/lib/libncurses.dylib(single module) definition of _PC
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple
definitions of symbol _UP
terminfo.o definition of _UP in section (__DATA,__common)
/opt/local/lib/libncurses.dylib(single module) definition of _UP
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_ns_check_menu_open
_ns_check_pending_open_menu
--
Greetings
Pete
Don't just do something, sit there.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15086
; Package
emacs,ns
.
(Tue, 13 Aug 2013 20:26:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 15086 <at> debbugs.gnu.org (full text, mbox):
Hello.
13 aug 2013 kl. 20:22 skrev Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
>
> Am 13.08.2013 um 17:47 schrieb Jan Djärv:
>
>> I've checked in an attemted fix. I can't check it as 10.4 is really old and I don't have any around.
>
>
> Your fix does fix the problem in nsterm.m, but here is another error (+ warnings), when temacs is being built:
>
> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _BC
> terminfo.o definition of _BC in section (__DATA,__common)
> /opt/local/lib/libncurses.dylib(single module) definition of _BC
> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _PC
> terminfo.o definition of _PC in section (__DATA,__common)
> /opt/local/lib/libncurses.dylib(single module) definition of _PC
> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple definitions of symbol _UP
> terminfo.o definition of _UP in section (__DATA,__common)
> /opt/local/lib/libncurses.dylib(single module) definition of _UP
>
I can't help you with those, must be an incompatible libncurses in /opt/local/lib. It works with standard libncurses in /usr/lib.
> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
> _ns_check_menu_open
> _ns_check_pending_open_menu
I've checked in a fi for those.
Jan D.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15086
; Package
emacs,ns
.
(Tue, 13 Aug 2013 22:26:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 15086 <at> debbugs.gnu.org (full text, mbox):
Am 13.08.2013 um 22:25 schrieb Jan Djärv:
> I've checked in a fi for those.
Now temacs and bootstrap-emacs could be built, autoloads are being built right now…
--
Greetings
Pete
Spam will be a thing of the past in two years' time.
– Bill Gates, Jan 2004
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15086
; Package
emacs,ns
.
(Wed, 14 Aug 2013 10:21:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 15086 <at> debbugs.gnu.org (full text, mbox):
Am 13.08.2013 um 22:25 schrieb Jan Djärv:
> I've checked in a fi for those.
The resulting application has problems to start, even when I rename
my init file (~/.emacs.d/default.el is left then, it sets up calendar
a bit). In shell when I tray to launch it as nextstep/Emacs.app/
Contents/MacOS/Emacs I see:
2013-08-14 12:01:19.984 Emacs[12888] CFLog (0): CFMessagePort:
bootstrap_register(): failed 1103 (0x44f), port = 0x2e03, name =
'org.gnu.Emacs.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2013-08-14 12:01:19.985 Emacs[12888] CFLog (99):
CFMessagePortCreateLocal(): failed to name Mach port
(org.gnu.Emacs.ServiceProvider)
which presumingly is fine. It works only when it is launched in
Terminal as "nextstep/Emacs.app/Contents/MacOS/Emacs -nw". With and
without my init file.
The NS variant from GNU Emacs 24.3 still works.
--
Greetings
Pete
One cannot live by television, video games, top ten CDs, and dumb
movies alone.
– Amiri Baraka, 1999
Added tag(s) wontfix.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Fri, 10 Oct 2014 18:31:03 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
15086 <at> debbugs.gnu.org and Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Fri, 04 Mar 2016 15:35:10 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 02 Apr 2016 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 36 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.