Opened 2 months ago

Last modified 2 months ago

#63558 assigned defect

qscintilla-qt5 @ 2.13.0_0: Could not resolve SDK Path for 'macosx10.11'

Reported by: thetrial (alabay) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: elcapitan legacy-os Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: qscintilla-qt5

Description

Interesting. The same problem as in #62940.

Change History (6)

comment:1 Changed 2 months ago by thetrial (alabay)

I investigated a bit further and found #62857.

I’m not quite sure if this is a hack or a solution, but in a slightly modified form I created an alias of MacOSX.sdk, namin it manually MacOSX10.12.sdk. The paths are a bit different:

/Library/Developer/CommandLineTools/SDKs
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs

Well, qscintilla-qt5 built now. But maybe not everyone wants to fiddle around in the data system.

comment:2 Changed 2 months ago by michaelld (Michael Dickens)

I started looking into this once ... it's an issue with how Qt determines the SDK path. Can you report back what the following command returns:

/bin/ls -lAF $(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/

comment:3 Changed 2 months ago by michaelld (Michael Dickens)

Thanks also for the update @thetrail. If we can gather some info on SDK naming then I think we can work out a reasonable solution.

comment:4 Changed 2 months ago by thetrial (alabay)

At this moment I get this:

total 2448
drwxr-xr-x@ 5 user  staff      170 17 Sep  2017 MacOSX.sdk/
-rw-r--r--@ 1 user  staff  1246888  1 Okt 20:08 MacOSX10.11.sdk
lrwxr-xr-x  1 user  staff       10 18 Mär  2019 MacOSX10.12.sdk@ -> MacOSX.sdk

Well, this doesn’t look so fine to me, maybe I should not use the Finder to alias MacOSX.sdk, but the CLI to symlink. At the moment I try, if sqlitebrowser goes through. After that I’ll try to symlink instead alias the original directory.

Last edited 2 months ago by thetrial (alabay) (previous) (diff)

comment:5 Changed 2 months ago by thetrial (alabay)

Now I've changed that to:

drwxr-xr-x@ 5 user  staff  170 17 Sep  2017 MacOSX.sdk/
lrwxr-xr-x  1 user  staff   94  1 Okt 20:40 MacOSX10.11.sdk@ -> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
lrwxr-xr-x  1 user  staff   10 18 Mär  2019 MacOSX10.12.sdk@ -> MacOSX.sdk

Not sure, why the target once is a full path and once only the folder itself.

Last edited 2 months ago by thetrial (alabay) (previous) (diff)

comment:6 Changed 2 months ago by thetrial (alabay)

Oh, caveat. When using ln -s I get the error back again. It has to be done via Finder! So the last change is useless. I guess, this is only a hack.

Note: See TracTickets for help on using tickets.