[MacPorts] #70574: input-leap fails to build on multiple systems

MacPorts noreply at macports.org
Fri Aug 16 12:06:32 UTC 2024


#70574: input-leap fails to build on multiple systems
--------------------------+-------------------------------
 Reporter:  barracuda156  |      Owner:  Koston-0xDEADBEEF
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.0
 Keywords:                |       Port:  input-leap
--------------------------+-------------------------------
 Fails for me on 10.6:

 {{{
 [ 87%] Building CXX object
 src/lib/platform/CMakeFiles/platform.dir/OSXUchrKeyResource.cpp.o
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-
 leap/work/build/src/lib/platform && /opt/local/bin/ccache
 /opt/local/bin/g++-mp-14 -DINPUTLEAP_BUILD_DATE=\"20240731\"
 -DINPUTLEAP_BUILD_NUMBER=1 -DINPUTLEAP_REVISION=\"00000000\"
 -DINPUTLEAP_VERSION=\"2.4.0-git\" -DINPUTLEAP_VERSION_MAJOR=2
 -DINPUTLEAP_VERSION_MINOR=4 -DINPUTLEAP_VERSION_PATCH=0
 -DINPUTLEAP_VERSION_STRING=\"2.4.0-git-git\" -DNDEBUG -DSYSAPI_UNIX=1
 -DWINAPI_CARBON=1 -D_THREAD_SAFE -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/./lib
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-
 leap/work/build/src/lib -F//System/Library/Frameworks -isystem
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-edaa634551eb530a4ae6eaf1d31d62a72d70c961/ext/gulrak-
 filesystem/include --sysroot / -pipe -I/opt/local/libexec/openssl3/include
 -DNDEBUG -I/opt/local/libexec/openssl3/include
 -isystem/opt/local/include/LegacySupport -isystem/opt/local/include
 -D_GLIBCXX_USE_CXX11_ABI=0 -DGTEST_USE_OWN_TR1_TUPLE=1 -O2 -g -DNDEBUG
 -std=c++14 -arch ppc -mmacosx-version-min=10.6 -MD -MT
 src/lib/platform/CMakeFiles/platform.dir/OSXUchrKeyResource.cpp.o -MF
 CMakeFiles/platform.dir/OSXUchrKeyResource.cpp.o.d -o
 CMakeFiles/platform.dir/OSXUchrKeyResource.cpp.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXUchrKeyResource.cpp
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXKeyState.cpp:21:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/./lib/platform/OSXMediaKeySupport.h:20:2:
 warning: #import is a deprecated GCC extension [-Wdeprecated]
    20 | #import <CoreFoundation/CoreFoundation.h>
       |  ^~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/./lib/platform/OSXMediaKeySupport.h:21:2:
 warning: #import is a deprecated GCC extension [-Wdeprecated]
    21 | #import <Carbon/Carbon.h>
       |  ^~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXKeyState.cpp:108:29:
 error: 'kVK_RightCommand' was not declared in this scope; did you mean
 'kVK_RightControl'?
   108 |     { kKeySuper_R,          kVK_RightCommand }, // 54
       |                             ^~~~~~~~~~~~~~~~
       |                             kVK_RightControl
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXKeyState.cpp:110:29:
 error: 'kVK_RightCommand' was not declared in this scope; did you mean
 'kVK_RightControl'?
   110 |     { kKeyMeta_R,           kVK_RightCommand }, // 54
       |                             ^~~~~~~~~~~~~~~~
       |                             kVK_RightControl
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXKeyState.cpp:
 In member function 'KeyButton
 inputleap::OSXKeyState::mapKeyFromEvent(KeyIDs&, KeyModifierMask*,
 CGEventRef) const':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXKeyState.cpp:301:48:
 error: invalid conversion from 'uint32_t*' {aka 'unsigned int*'} to
 'UInt32*' {aka 'long unsigned int*'} [-fpermissive]
   301 |                             LMGetKbdType(), 0, &m_deadKeyState,
       |                                                ^~~~~~~~~~~~~~~
       |                                                |
       |                                                uint32_t* {aka
 unsigned int*}
 In file included from
 //System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:153,
                  from
 //System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
                  from
 //System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
                  from
 //System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/./lib/platform/OSXKeyState.h:23,
                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXKeyState.cpp:19:
 //System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/UnicodeUtilities.h:533:29:
 note:   initializing argument 7 of 'OSStatus UCKeyTranslate(const
 UCKeyboardLayout*, UInt16, UInt16, UInt32, UInt32, OptionBits, UInt32*,
 UniCharCount, UniCharCount*, UniChar*)'
   533 |   UInt32 *                  deadKeyState,
       |   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXKeyState.cpp:
 In member function 'void
 inputleap::OSXKeyState::postHIDVirtualKey(uint8_t, bool)':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXKeyState.cpp:513:10:
 error: 'kVK_RightCommand' was not declared in this scope; did you mean
 'kVK_RightControl'?
   513 |     case kVK_RightCommand:
       |          ^~~~~~~~~~~~~~~~
       |          kVK_RightControl
 make[2]: *** [src/lib/platform/CMakeFiles/platform.dir/OSXKeyState.cpp.o]
 Error 1
 make[2]: *** Waiting for unfinished jobs....
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXPasteboardPeeker.mm:
 In function 'const __CFString* inputleap::getDraggedFileURL()':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXPasteboardPeeker.mm:33:21:
 error: expected ';' before 'in'
    33 |         for (id file in files) {
       |                     ^~~
       |                     ;
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXPasteboardPeeker.mm:33:22:
 error: 'in' was not declared in this scope; did you mean 'yn'?
    33 |         for (id file in files) {
       |                      ^~
       |                      yn
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXPasteboardPeeker.mm:33:24:
 error: expected ';' before 'files'
    33 |         for (id file in files) {
       |                        ^~~~~~
       |                        ;
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXPasteboardPeeker.mm:35:39:
 warning: embedded NUL in CFString literal [--all-warnings]
    35 |                 [string appendString: @"\0"];
       |                                       ^
 make[2]: ***
 [src/lib/platform/CMakeFiles/platform.dir/OSXPasteboardPeeker.mm.o] Error
 1
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXMediaKeySupport.mm:
 In function 'int inputleap::convertKeyIDToNXKeyType(KeyID)':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXMediaKeySupport.mm:25:19:
 error: expected unqualified-id before ')' token
    25 |         switch (id) {
       |                   ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXMediaKeySupport.mm:
 In function 'KeyID inputleap::convertNXKeyTypeToKeyID(uint32_t)':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXMediaKeySupport.mm:67:20:
 error: expected unqualified-id before '=' token
    67 |                 id = kKeyAudioUp;
       |                    ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXMediaKeySupport.mm:70:20:
 error: expected unqualified-id before '=' token
    70 |                 id = kKeyAudioDown;
       |                    ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXMediaKeySupport.mm:73:20:
 error: expected unqualified-id before '=' token
    73 |                 id = kKeyAudioMute;
       |                    ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXMediaKeySupport.mm:76:20:
 error: expected unqualified-id before '=' token
    76 |                 id = kKeyEject;
       |                    ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXMediaKeySupport.mm:79:20:
 error: expected unqualified-id before '=' token
    79 |                 id = kKeyAudioPlay;
       |                    ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXMediaKeySupport.mm:83:20:
 error: expected unqualified-id before '=' token
    83 |                 id = kKeyAudioNext;
       |                    ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXMediaKeySupport.mm:87:20:
 error: expected unqualified-id before '=' token
    87 |                 id = kKeyAudioPrev;
       |                    ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXMediaKeySupport.mm:
 In function 'bool inputleap::isMediaKeyEvent(CGEventRef)':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXMediaKeySupport.mm:99:14:
 error: '-fobjc-exceptions' is required to enable Objective-C exception
 syntax
    99 |         @try {
       |              ^
 make[2]: ***
 [src/lib/platform/CMakeFiles/platform.dir/OSXMediaKeySupport.mm.o] Error 1
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreenSaver.cpp:19:2:
 warning: #import is a deprecated GCC extension [-Wdeprecated]
    19 | #import "inputleap/IPrimaryScreen.h"
       |  ^~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreenSaver.cpp:20:2:
 warning: #import is a deprecated GCC extension [-Wdeprecated]
    20 | #import "platform/OSXScreenSaver.h"
       |  ^~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreenSaver.cpp:22:2:
 warning: #import is a deprecated GCC extension [-Wdeprecated]
    22 | #import "platform/OSXScreenSaverUtil.h"
       |  ^~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreenSaver.cpp:23:2:
 warning: #import is a deprecated GCC extension [-Wdeprecated]
    23 | #import "base/Log.h"
       |  ^~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreenSaver.cpp:24:2:
 warning: #import is a deprecated GCC extension [-Wdeprecated]
    24 | #import "base/IEventQueue.h"
       |  ^~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreenSaver.cpp:26:2:
 warning: #import is a deprecated GCC extension [-Wdeprecated]
    26 | #import <string.h>
       |  ^~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreenSaver.cpp:27:2:
 warning: #import is a deprecated GCC extension [-Wdeprecated]
    27 | #import <sys/sysctl.h>
       |  ^~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreen.mm:50:48:
 warning: multi-character character constant [-Wmultichar]
    50 | constexpr int INPUT_LEAP_MOUSE_SCROLL_AXIS_X = 'saxx';
       |                                                ^~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreen.mm:51:48:
 warning: multi-character character constant [-Wmultichar]
    51 | constexpr int INPUT_LEAP_MOUSE_SCROLL_AXIS_Y = 'saxy';
       |                                                ^~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreen.mm:320:40:
 warning: multi-character character constant [-Wmultichar]
   320 |                 EventHotKeyID hkid = { 'SNRG', (std::uint32_t)id
 };
       |                                        ^~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreen.mm: In
 member function 'virtual uint32_t
 inputleap::OSXScreen::registerHotKey(KeyID, KeyModifierMask)':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreen.mm:299:20:
 error: expected unqualified-id before '=' token
   299 |                 id = m_oldHotKeyIDs.back();
       |                    ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreen.mm:303:20:
 error: expected unqualified-id before '=' token
   303 |                 id = m_hotKeys.size() + 1;
       |                    ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreen.mm: In
 member function 'virtual void inputleap::OSXScreen::enter()':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreen.mm:816:89:
 error: 'kIOPMUserActiveLocal' was not declared in this scope
   816 |                 IOPMAssertionDeclareUserActivity(CFSTR("Input Leap
 - entering screen"), kIOPMUserActiveLocal, &assertionID);
       |
 ^~~~~~~~~~~~~~~~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreen.mm:816:17:
 error: 'IOPMAssertionDeclareUserActivity' was not declared in this scope
   816 |                 IOPMAssertionDeclareUserActivity(CFSTR("Input Leap
 - entering screen"), kIOPMUserActiveLocal, &assertionID);
       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreen.mm: In
 member function 'double inputleap::OSXScreen::getScrollSpeed() const':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-leap/work
 /input-leap-
 edaa634551eb530a4ae6eaf1d31d62a72d70c961/src/lib/platform/OSXScreen.mm:1395:24:
 error: expected unqualified-id before '==' token
  1395 |                 if (id == CFNumberGetTypeID()) {
       |                        ^~
 make[2]: *** [src/lib/platform/CMakeFiles/platform.dir/OSXScreen.mm.o]
 Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_aqua_input-leap/input-
 leap/work/build'
 make[1]: *** [src/lib/platform/CMakeFiles/platform.dir/all] Error 2
 }}}

 But on buildbots also broken on many macOS versions:
 https://ports.macports.org/port/input-leap/details

-- 
Ticket URL: <https://trac.macports.org/ticket/70574>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list