Opened 15 years ago

Closed 15 years ago

#19215 closed defect (invalid)

xorg-libAppleWM: Can't build 1.2.0 universal on Tiger

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: xorg-libAppleWM

Description

I can't build xorg-libAppleWM 1.2.0 with the +universal variant (all 4 universal archs) on Mac OS X 10.4.11 with Xcode 2.5 and MacPorts 1.7.1:

$ port install xorg-libapplewm +universal
--->  Fetching xorg-libAppleWM
--->  Verifying checksum(s) for xorg-libAppleWM
--->  Extracting xorg-libAppleWM
--->  Configuring xorg-libAppleWM
--->  Building xorg-libAppleWM
Error: Target org.macports.build returned: shell command " cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_x11_xorg-libAppleWM/work/libAppleWM-1.2.0" && nice -n 10 make -j3 all " returned error 2
Command output:                  from applewm.c:42:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h:1338: error: 'SIGDIGLEN' undeclared here (not in a function)
In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32,
                 from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125,
                 from /Developer/SDKs/MacOSX10.4u.sdk/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:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:286: error: parse error before '*' token
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:320: error: parse error before '*' token
In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:161,
                 from /Developer/SDKs/MacOSX10.4u.sdk/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:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h:1338: error: 'SIGDIGLEN' undeclared here (not in a function)
In file included from applewm.c:42:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:35: warning: mac68k alignment pragma is deprecated for 64-bit DarwinIn file included from applewm.c:42:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:35: warning: mac68k alignment pragma is deprecated for 64-bit Darwin

applewm.c: In function 'XAppleWMFrameDraw':
applewm.c:515: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness
applewm.c: In function 'XAppleWMFrameDraw':
applewm.c:515: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness
applewm.c: In function 'XAppleWMFrameDraw':
applewm.c:515: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness
applewm.c: In function 'XAppleWMFrameDraw':
applewm.c:515: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness
lipo: can't figure out the architecture type of: /var/tmp//ccHGFuWN.out
make[2]: *** [libAppleWM_la-applewm.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.
$

xorg-libAppleWM @1.0.0_1 could be installed universal (4-way).

Change History (5)

comment:1 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

What are lines 286 and 320 of: /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h

This sounds like a bug in the SDK rather than something specific to libAppleWM =/

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

286:

typedef CALLBACK_API_C( OSStatus , ExceptionHandlerProcPtr )(ExceptionInformation * theException);

318-321:

extern OSStatus
InvokeExceptionHandlerUPP(
  ExceptionInformation *  theException,
  ExceptionHandlerUPP     userUPP)                            AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;

comment:3 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

so something about "ExceptionInformation * theException" is not being cpp'd correctly. What happens to it with cpp?

to port -v install ...

then do the last gcc line but s/-c/-e/ and examine the output... how is that line getting mangled?

Is it working 2-way or 3-way universal? what arch is failing? is there some obvious ifdef magic in the system headers that is only triggering for certain archs?

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed

There isn't a "cantfix" resolve type... so I'm choosing invalid. Unfortunately, this is a bug in the Carbon OSX framework headers in 10.4 ... I doubt it will be fixed, and I'm not sure it's trivially worked around.

Note: See TracTickets for help on using tickets.