#19403 closed defect (worksforme)
xorg-libAppleWM fails to build - many errors
Reported by: | clarinet@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | xorg libAppleWM compilation error | Cc: | clarinet@… |
Port: | xorg-libAppleWM |
Description
Not having much luck today... Trying to build xorg-server (yep, I'm a glutton), which fails on xorg-libAppleWM. Here's the output; I can't begin to make sense of this one:
---> Building xorg-libAppleWM Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libAppleWM/work/libAppleWM-1.2.0" && make all " returned error 2 Command output: /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEObjects.h:554: error: syntax error before 'desiredClass' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEObjects.h:573: error: syntax error before 'desiredClass' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEObjects.h:608: error: syntax error before 'desiredClass' In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AE.h:49, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:20, from applewm.c:42: /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h:188: error: syntax error before 'theClass' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h:215: error: syntax error before 'theClass' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h:324: error: syntax error before 'DescType' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h:380: error: syntax error before 'DescType' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h:456: error: syntax error before 'DescType' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h:474: error: syntax error before 'DescType' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h:511: error: syntax error before 'AEKeyword' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h:535: error: syntax error before 'AEKeyword' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h:554: error: syntax error before 'AEKeyword' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h:575: error: syntax error before 'clazz' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEHelpers.h:622: error: syntax error before 'AEKeyword' In file included from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AE.h:53, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from /System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:20, from applewm.c:42: /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework/Headers/AEMach.h:191: error: syntax error before 'AESendMode' In file included from applewm.c:42: /System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:677: warning: function declaration isn't a prototype applewm.c: In function 'XAppleWMFrameDraw': applewm.c:515: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness make[2]: *** [libAppleWM_la-applewm.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
Change History (11)
comment:1 Changed 16 years ago by clarinet@…
Cc: | clarinet@… added |
---|
comment:2 Changed 16 years ago by raimue (Rainer Müller)
Owner: | changed from macports-tickets@… to jeremyhu@… |
---|
comment:3 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
What OS are you on? It works fine here for me on 10.5/ppc and 10.5/x86+universal ... I'll test 10.4/ppc when I get home, but I don't see why that would not work either. Do a 'sudo port -v selfupdate ; sudo port -v upgrade outdated' first, then try doing your 'sudo port -v install xorg'
comment:4 Changed 16 years ago by clarinet@…
I'm on 10.5.6, Macbook 2gHz Core2Duo, 4gb ram. I ran "port selfupdate && port upgrade outdated" just yesterday in fact, but without the -v flag (which seem only to affect verbosity, no?).
I'll try again with the flags & report the output of installing with -v.
comment:5 follow-up: 7 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Where are you getting AE.framework from? It's not shipped with Leopard:
~ $ ls /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework gls: cannot access /System/Library/Frameworks/ApplicationServices.framework/Frameworks/AE.framework: No such file or directory
Line 53 of CoreServices.h is: #ifndef AE #include <AE/AE.h> #endif
But that should bring in: /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h
What version of XCode do you have? Where did ApplicationServices.framework/Frameworks/AE.framework come from?
comment:6 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Yeah, that ApplicationServices.framework/Frameworks/AE.framework is actually shipped with Tiger.
Those files are installed with the old Tiger Xcode. They should be removed when you upgraded to Leopard's Xcode. Make sure you install the latest version of Xcode. If you still experience the problem, open a bug report with Apple and mention that those files installed by XCode on Tiger were not removed when you upgraded to XCode for Leopard.
comment:7 Changed 16 years ago by clarinet@…
Replying to jeremyhu@…:
What version of XCode do you have? Where did ApplicationServices.framework/Frameworks/AE.framework come from?
I have Xcode 3.1.2. I installed the Xcode included with Leopard when I installed Leopard, and then this one a few days ago. Not sure why AE.framework didn't get deleted. I'll move AE aside & try again (once this "port -v upgrade outdated" finishes).
Just so I know, is that a whole outdated framework directory I should (re)move, or just the AE.framework?
Thanks ~peter
comment:8 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
I don't even see that directory on my system. My guess is that it moved from AS to CS between Tiger and Leopard and you just have leftover headers from an old XCode install (am I right that you upgraded from Tiger?)
comment:9 Changed 16 years ago by clarinet@…
Yes, I did upgrade from Tiger. Which directory are you saying you don't have? ApplicationServices.framework?
Thanks for your help; it'd be nice to clean the cruft out & hopefully get fewer compilation problems!
comment:10 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)
No, I don't have ApplicationServices.framework/Frameworks/AE.framework . I have ApplicationServices.framework, but it doesn't contain AE.framework
Cc Me!