#40052 closed defect (duplicate)
unison 2.40.102: Xcode project hard-codes SDK location
Reported by: | neukomp@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | larryv (Lawrence Velázquez), ryandesign (Ryan Carsten Schmidt), Polyergic (Shad Sterling) | |
Port: | unison |
Description
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.
Attachments (3)
Change History (14)
Changed 11 years ago by neukomp@…
comment:1 follow-up: 4 Changed 11 years ago by larryv (Lawrence Velázquez)
Priority: | High → Normal |
---|
comment:2 follow-up: 3 Changed 11 years ago 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???
comment:3 Changed 11 years ago by larryv (Lawrence Velázquez)
Replying to 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.
Changed 11 years ago by larryv (Lawrence Velázquez)
Attachment: | remove-sdk.patch added |
---|
patch for the patch that patches the Xcode project
comment:4 Changed 11 years ago by larryv (Lawrence Velázquez)
Summary: | unison 2.40.102 won't build → unison 2.40.102: Xcode project hard-codes SDK location |
---|
Replying to larryv@…:
The unison build probably hard-codes that path somewhere.
As I thought.
Can you try 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.)
comment:5 follow-up: 6 Changed 11 years ago 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.
comment:6 Changed 11 years ago by larryv (Lawrence Velázquez)
Other way around. Put “sudo” before “patch”, not “curl”.
comment:7 Changed 11 years ago by neukomp@…
Thanks, that helped. The patch was applied but now I have another problem. The compile failed.
I've attached a new log.
Changed 11 years ago by neukomp@…
Attachment: | main.2.log added |
---|
comment:8 follow-up: 9 Changed 11 years ago by neukomp@…
Not sure why it is building for i386 when I'm running x64 (os x 10.8.4)??
comment:9 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | larryv@… ryandesign@… added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Replying to larryv@…:
The unison build probably hard-codes that path somewhere.
Duplicate of #24721.
Replying to 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?
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.