#59334 closed defect (fixed)
bmon @4.0_2 Failed to build bmon: command execution failed
Reported by: | dlamija (Muhammed Ramiza) | Owned by: | l2dy (Zero King) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | catalina | Cc: | |
Port: | bmon |
Description
bmon failed to build on Catalina.
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/mach/mig_errors.h:113:34: error: use of undeclared identifier 'unused' :info:build __NDR_convert__mig_reply_error_t(__unused mig_reply_error_t *x) :info:build ^ :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:161:40: note: expanded from macro '__unused' :info:build #define __unused __attribute__((__unused__)) :info:build ^ :info:build ../include/bmon/bmon.h:63:36: note: expanded from macro '__unused__' :info:build #define __unused__ __attribute__ ((unused)) :info:build ^ :info:build 1 error generated.
it's can be seen it using library from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk event though
~>>> xcode-select -p /Applications/Xcode.app/Contents/Developer
Attachments (2)
Change History (14)
Changed 5 years ago by dlamija (Muhammed Ramiza)
comment:1 Changed 5 years ago by dlamija (Muhammed Ramiza)
Owner: | set to l2dy |
---|---|
Status: | new → assigned |
comment:2 Changed 5 years ago by dlamija (Muhammed Ramiza)
Summary: | bmon @@4.0_2 Failed to build bmon: command execution failed → bmon @4.0_2 Failed to build bmon: command execution failed |
---|
comment:3 Changed 5 years ago by mf2k (Frank Schima)
Cc: | l2dy removed |
---|
comment:4 Changed 5 years ago by iEFdev
comment:5 Changed 5 years ago by dlamija (Muhammed Ramiza)
Version: | 2.6.1 → 2.6.2 |
---|
with 10.15.1 with macport 2.6.2 on Xcode 11.1
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/mach/mig_errors.h:113:34: error: use of undeclared identifier 'unused' :info:build __NDR_convert__mig_reply_error_t(__unused mig_reply_error_t *x) :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:161:40: note: expanded from macro '__unused' :info:build #define __unused __attribute__((__unused__)) :info:build ^ :info:build ../include/bmon/bmon.h:63:36: note: expanded from macro '__unused__' :info:build #define __unused__ __attribute__ ((unused)) :info:build ^ :info:build 1 error generated. :info:build make[1]: *** [bmon-utils.o] Error 1
almost the same error but now it already select /Applications/Xcode.app/Contents/Developer
for the library used.
comment:8 Changed 5 years ago by l2dy (Zero King)
Xcode 11.2 and Catalina
It's built against the CLT (CommandLineTools), is the CLT updated to match Xcode 11.2?
If Xcode 11.2 and the upcoming CLT release fix the issue, I'll do a revbump after our 10.15 builder gets updated.
Or, if this PR is updated to apply the patch on 10.15 only, I'll merge it instead.
comment:9 Changed 5 years ago by mf2k (Frank Schima)
I am fully updated as of now and see no updates for the CLT. Maybe they haven't been released yet?
comment:10 Changed 5 years ago by iEFdev
Found a post and it seems like there are many who experience upgrading issues, And someone posted a (xip) direct link if that helps: https://forums.developer.apple.com/thread/125322#thread-post-392024
comment:11 Changed 5 years ago by Eric F <iEFdev@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:12 Changed 5 years ago by dlamija (Muhammed Ramiza)
Good! 4.0_3 compiled perfectly! Thank You.
I got the same error on Lion: