[MacPorts] #40052: unison 2.40.102 won't build
#40052: unison 2.40.102 won't build -----------------------+-------------------------------- Reporter: neukomp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: unison -----------------------+-------------------------------- Using sudo port install unison +aqua, the build fails with following error. {{{ build error: There is no SDK with the name or path '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.5.sdk' }}} I'm on OSX 10.8 and typically only build for 10.8. (Sometime for 10.7 & 10.6) but this port won't build because I don't have 10.5 sdk installed. -- Ticket URL: <https://trac.macports.org/ticket/40052> MacPorts <http://www.macports.org/> Ports system for OS X
#40052: unison 2.40.102 won't build ------------------------+-------------------------------- Reporter: neukomp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: unison | ------------------------+-------------------------------- Changes (by larryv@…): * priority: High => Normal Comment: This is not a high-priority issue; please do not set the Priority field in the future. The unison build probably hard-codes that path somewhere. -- Ticket URL: <https://trac.macports.org/ticket/40052#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40052: unison 2.40.102 won't build ------------------------+-------------------------------- Reporter: neukomp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: unison | ------------------------+-------------------------------- Comment (by neukomp@…): Understood. For someone who uses unison multiple times per week (sometimes multiple times per day), this is a high priority to get fixed. But I understand that in the bigger scheme of Macports this may not be high. As a suggestion, don't allow someone posting a bug to set the priority??? -- Ticket URL: <https://trac.macports.org/ticket/40052#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40052: unison 2.40.102 won't build ------------------------+-------------------------------- Reporter: neukomp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: unison | ------------------------+-------------------------------- Comment (by larryv@…): Replying to [comment:2 neukomp@…]:
For someone who uses unison multiple times per week (sometimes multiple times per day), this is a high priority to get fixed.
Understandable.
But I understand that in the bigger scheme of Macports this may not be high.
We generally reserve High priority for security issues.
As a suggestion, don't allow someone posting a bug to set the priority???
We’ve talked about it, but no one’s really bothered to look into it. It’s not a very pressing concern for us at the moment. -- Ticket URL: <https://trac.macports.org/ticket/40052#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40052: unison 2.40.102: Xcode project hard-codes SDK location ------------------------+-------------------------------- Reporter: neukomp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: unison | ------------------------+-------------------------------- Comment (by larryv@…): Replying to [comment:1 larryv@…]:
The unison build probably hard-codes that path somewhere.
As I thought. Can you try [[attachment:remove-sdk.patch|this patch]]? {{{ % sudo port clean unison && sudo port selfupdate % curl 'https://trac.macports.org/raw-attachment/ticket/40052/remove- sdk.patch' | patch -d $(port dir unison) -p0 % sudo port -d install unison }}} (If the patch command bails out and complains about permissions, run it as superuser.) -- Ticket URL: <https://trac.macports.org/ticket/40052#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40052: unison 2.40.102: Xcode project hard-codes SDK location ------------------------+-------------------------------- Reporter: neukomp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: unison | ------------------------+-------------------------------- Comment (by neukomp@…): I can't get the patch to work. I've also tried sudo but it errors out with {{{ sudo curl 'https://trac.macports.org/raw-attachment/ticket/40052/remove- sdk.patch' | patch -d $(port dir unison) -p0 Password: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1684 100 1684 0 0 331 0 0:00:05 0:00:05 --:--:-- 2204 patching file files/patch-uimacnew-uimacnew.xcodeproj-project.pbxproj.diff patch: **** Can't rename file /var/folders/nl/mt_xzj2n48zb8trmfch28zvh0000gn/T//poLMoJAa to files/patch- uimacnew-uimacnew.xcodeproj-project.pbxproj.diff : Permission denied }}} I'm totally lost. Sorry this is a bit beyond my capabilities. -- Ticket URL: <https://trac.macports.org/ticket/40052#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40052: unison 2.40.102: Xcode project hard-codes SDK location ------------------------+-------------------------------- Reporter: neukomp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: unison | ------------------------+-------------------------------- Comment (by larryv@…): Replying to [comment:5 neukomp@…]:
I can't get the patch to work. I've also tried sudo but it errors out with
{{{ sudo curl 'https://trac.macports.org/raw-attachment/ticket/40052/remove- sdk.patch' | patch -d $(port dir unison) -p0 Password: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1684 100 1684 0 0 331 0 0:00:05 0:00:05 --:--:-- 2204 patching file files/patch-uimacnew-uimacnew.xcodeproj- project.pbxproj.diff patch: **** Can't rename file /var/folders/nl/mt_xzj2n48zb8trmfch28zvh0000gn/T//poLMoJAa to files/patch- uimacnew-uimacnew.xcodeproj-project.pbxproj.diff : Permission denied
}}}
Other way around. Put “sudo” before “patch”, not “curl”. -- Ticket URL: <https://trac.macports.org/ticket/40052#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40052: unison 2.40.102: Xcode project hard-codes SDK location ------------------------+-------------------------------- Reporter: neukomp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: unison | ------------------------+-------------------------------- Comment (by neukomp@…): Thanks, that helped. The patch was applied but now I have another problem. The compile failed. I've attached a new log. -- Ticket URL: <https://trac.macports.org/ticket/40052#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40052: unison 2.40.102: Xcode project hard-codes SDK location ------------------------+-------------------------------- Reporter: neukomp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: unison | ------------------------+-------------------------------- Comment (by neukomp@…): Not sure why it is building for i386 when I'm running x64 (os x 10.8.4)?? -- Ticket URL: <https://trac.macports.org/ticket/40052#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40052: unison 2.40.102: Xcode project hard-codes SDK location ------------------------+-------------------------------- Reporter: neukomp@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: duplicate | Keywords: Port: unison | ------------------------+-------------------------------- Changes (by ryandesign@…): * cc: larryv@…, ryandesign@… (added) * status: new => closed * resolution: => duplicate Comment: Replying to [comment:1 larryv@…]:
The unison build probably hard-codes that path somewhere.
Duplicate of #24721. Replying to [comment:8 neukomp@…]:
Not sure why it is building for i386 when I'm running x64 (os x 10.8.4)??
Because you're using the +aqua variant, and it probably hardcodes that somewhere as well. Duplicate of #21862 I think? -- Ticket URL: <https://trac.macports.org/ticket/40052#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40052: unison 2.40.102: Xcode project hard-codes SDK location ------------------------+-------------------------------- Reporter: neukomp@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: duplicate | Keywords: Port: unison | ------------------------+-------------------------------- Comment (by neukomp@…): Looks like #21862 (not 64 bit clean) But likely also #24721 (hard-coded paths). I'll follow the these two reports. We seemed to make quite a bit of progress over the past week or so. Would it be possible to continue to fix these other two bugs? I'm happy to help test as we go. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/40052#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts