[MacPorts] #49035: textmate2 @2.0-beta.7.8 build error on elcapitan
#49035: textmate2 @2.0-beta.7.8 build error on elcapitan -----------------------+-------------------------------- Reporter: pjkim00@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: elcapitan | Port: textmate2 -----------------------+-------------------------------- Build error for textmate2 since upgrading to elcapitan. I kludged sparsehash to install properly (see #48556) but I don't think the problem is related to that. I think the relevant parts of the error log are: {{{ :info:build Frameworks/ns/src/ns.mm:218:8: error: assigning to 'CGEventFlags' from incompatible type 'uint64_t' (aka 'unsigned long long') :info:build flags &= kCGEventFlagMaskCommand | kCGEventFlagMaskShift | kCGEventFlagMaskAlternate | kCGEventFlagMaskControl | kCGEventFlagMaskNumericPad; :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build Frameworks/ns/src/ns.mm:221:39: error: no matching function for call to 'string_for' :info:build std::string const keyStringNoFlags = string_for(key, 0); :info:build ^~~~~~~~~~ :info:build Frameworks/ns/src/ns.mm:49:20: note: candidate function not viable: no known conversion from 'int' to 'CGEventFlags' for 2nd argument :info:build static std::string string_for (CGKeyCode key, CGEventFlags flags) :info:build ^ :info:build Frameworks/ns/src/ns.mm:63:20: note: candidate function not viable: requires single argument 'flags', but 2 arguments were provided :info:build static std::string string_for (CGEventFlags flags) :info:build ^ :info:build Frameworks/ns/src/ns.mm:222:15: error: cannot initialize a variable of type 'CGEventFlags' with an rvalue of type 'unsigned long long' :info:build CGEventFlags newFlags = flags & (kCGEventFlagMaskControl|kCGEventFlagMaskCommand); :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build Frameworks/ns/src/ns.mm:237:12: error: assigning to 'CGEventFlags' from incompatible type 'uint64_t' (aka 'unsigned long long') :info:build flags &= ~kCGEventFlagMaskAlternate; :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build Frameworks/ns/src/ns.mm:265:44: error: no matching function for call to 'string_for' :info:build std::string const keyStringAlternate = string_for(key, flags & (kCGEventFlagMaskAlternate|kCGEventFlagMaskShift)); :info:build ^~~~~~~~~~ :info:build Frameworks/ns/src/ns.mm:49:20: note: candidate function not viable: no known conversion from 'unsigned long long' to 'CGEventFlags' for 2nd argument :info:build static std::string string_for (CGKeyCode key, CGEventFlags flags) :info:build ^ :info:build Frameworks/ns/src/ns.mm:63:20: note: candidate function not viable: requires single argument 'flags', but 2 arguments were provided :info:build static std::string string_for (CGEventFlags flags) :info:build ^ :info:build Frameworks/ns/src/ns.mm:270:15: error: assigning to 'CGEventFlags' from incompatible type 'uint64_t' (aka 'unsigned long long') :info:build flags &= ~kCGEventFlagMaskAlternate; :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build Frameworks/ns/src/ns.mm:276:40: error: no matching function for call to 'string_for' :info:build std::string const keyStringShift = string_for(key, flags & (kCGEventFlagMaskAlternate|kCGEventFlagMaskShift)); }}} Attaching full error log as well. -- Ticket URL: <https://trac.macports.org/ticket/49035> MacPorts <https://www.macports.org/> Ports system for OS X
#49035: textmate2 @2.0-beta.7.8 build error on elcapitan ------------------------+----------------------- Reporter: pjkim00@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: elcapitan Port: textmate2 | ------------------------+----------------------- Changes (by ryandesign@…): * cc: cal, openmaintainer (removed) * cc: ryandesign@… (added) * owner: macports-tickets@… => cal@… Comment: The Cc field requires valid email addresses. -- Ticket URL: <https://trac.macports.org/ticket/49035#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49035: textmate2 @2.0-beta.7.8 build error on elcapitan ------------------------+----------------------- Reporter: pjkim00@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: elcapitan Port: textmate2 | ------------------------+----------------------- Comment (by pjkim00@…): I updated to Mac OS 10.11.1 as well as XCode 7.1 yesterday and textmate2 now builds cleanly. I think this can be ticket can be closed. -- Ticket URL: <https://trac.macports.org/ticket/49035#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49035: textmate2 @2.0-beta.7.8 build error on elcapitan ------------------------+----------------------- Reporter: pjkim00@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: elcapitan Port: textmate2 | ------------------------+----------------------- Comment (by ryandesign@…): Please "sudo port selfupdate" and try again. Fixes for building on El Capitan were committed in r141424. -- Ticket URL: <https://trac.macports.org/ticket/49035#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49035: textmate2 @2.0-beta.7.8 build error on elcapitan -------------------------+----------------------- Reporter: pjkim00@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: worksforme | Keywords: elcapitan Port: textmate2 | -------------------------+----------------------- Changes (by cal@…): * status: new => closed * resolution: => worksforme Comment: Assuming to be fixed, please re-open if you still see issues. -- Ticket URL: <https://trac.macports.org/ticket/49035#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts