Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#64993 closed defect (fixed)

sqlitebrowser: Could not resolve SDK Path for 'macosx12' using --show-sdk-path

Reported by: isezen (Ismail SEZEN) Owned by: i0ntempest
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: sqlitebrowser

Description

Fresh macOS Monterey 12.3.1

max ~> sudo port install sqlitebrowser
--->  Computing dependencies for sqlitebrowser
--->  Fetching archive for sqlitebrowser
--->  Attempting to fetch sqlitebrowser-3.12.2_1+sqlite3.darwin_21.arm64.tbz2 from https://packages.macports.org/sqlitebrowser
--->  Attempting to fetch sqlitebrowser-3.12.2_1+sqlite3.darwin_21.arm64.tbz2 from https://fra.de.packages.macports.org/sqlitebrowser
--->  Attempting to fetch sqlitebrowser-3.12.2_1+sqlite3.darwin_21.arm64.tbz2 from https://mse.uk.packages.macports.org/sqlitebrowser
--->  Configuring sqlitebrowser
xcrun: error: SDK "macosx12" cannot be located
Warning: reinplace s|libs/qscintilla/Qt4Qt5/qscintilla.pro||g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_sqlitebrowser/sqlitebrowser/work/sqlitebrowser-3.12.2/sqlitebrowser.pro
Warning: reinplace s|$$PWD/../libs/qscintilla/Qt4Qt5||g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_sqlitebrowser/sqlitebrowser/work/sqlitebrowser-3.12.2/src/src.pro
Error: Failed to configure sqlitebrowser: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_sqlitebrowser/sqlitebrowser/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port sqlitebrowser failed

Attachments (2)

main.log (340.5 KB) - added by isezen (Ismail SEZEN) 2 years ago.
main.2.log (149.8 KB) - added by isezen (Ismail SEZEN) 2 years ago.
second install attempt log file

Download all attachments as: .zip

Change History (9)

Changed 2 years ago by isezen (Ismail SEZEN)

Attachment: main.log added

comment:1 Changed 2 years ago by kencu (Ken)

This is about error 1,347 due to qt5 not being able to find the darned SDK.

Perhaps the "use_xcode yes" trick works here too?

comment:2 in reply to:  1 Changed 2 years ago by isezen (Ismail SEZEN)

Replying to kencu:

This is about error 1,347 due to qt5 not being able to find the darned SDK.

Perhaps the "use_xcode yes" trick works here too?

I don't know how to use that trick. do you show me the full command?

comment:4 Changed 2 years ago by i0ntempest

Resolution: fixed
Status: assignedclosed

Fix attempted in 7e841c4aca87d60a1d5de8bf1eddfdd4f1b4674a, the change allowed it to build on my 12.3.1 system. Please reopen if it doesn't help you.

Changed 2 years ago by isezen (Ismail SEZEN)

Attachment: main.2.log added

second install attempt log file

comment:5 Changed 2 years ago by isezen (Ismail SEZEN)

I cleaned previous install attempt and tried to install again but the same error.

max -> sudo port install sqlitebrowser
--->  Computing dependencies for sqlitebrowser
--->  Fetching archive for sqlitebrowser
--->  Attempting to fetch sqlitebrowser-3.12.2_1+sqlite3.darwin_21.arm64.tbz2 from https://packages.macports.org/sqlitebrowser
--->  Attempting to fetch sqlitebrowser-3.12.2_1+sqlite3.darwin_21.arm64.tbz2 from https://nue.de.packages.macports.org/sqlitebrowser
--->  Attempting to fetch sqlitebrowser-3.12.2_1+sqlite3.darwin_21.arm64.tbz2 from https://fra.de.packages.macports.org/sqlitebrowser
--->  Fetching distfiles for sqlitebrowser
--->  Verifying checksums for sqlitebrowser
--->  Extracting sqlitebrowser
--->  Applying patches to sqlitebrowser
--->  Configuring sqlitebrowser
xcrun: error: SDK "macosx12" cannot be located
Error: Failed to configure sqlitebrowser: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_sqlitebrowser/sqlitebrowser/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port sqlitebrowser failed

comment:6 Changed 2 years ago by i0ntempest

The fix is probably not on your computer yet. Run a selfupdate after an hour and test again.

comment:7 in reply to:  6 Changed 2 years ago by isezen (Ismail SEZEN)

Replying to i0ntempest:

The fix is probably not on your computer yet. Run a selfupdate after an hour and test again.

It's OK right now. Successfully installed. Thank you.

Note: See TracTickets for help on using tickets.