Opened 7 years ago

Last modified 3 years ago

#55195 closed defect

openconnect-gui @1.3: Project ERROR: Could not resolve SDK --show-sdk-path for 'macosx10.12' — at Version 2

Reported by: rsuray Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: qt5-qtbase

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello

At the end of the installation of openconnect-gui, these errors appear:

:debug:configure INSTALL='/usr/bin/install -c'
:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
:debug:configure LIBRARY_PATH='/opt/local/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='10.12'
:debug:configure OBJC='/usr/bin/clang'
:debug:configure OBJCFLAGS='-pipe -Os -arch x86_64'
:debug:configure OBJCXX='/usr/bin/clang++'
:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openconnect-gui/openconnect-gui/work/openconnect-gui-1.3" && /opt/local/libexec/qt5/bin/qmake PREFIX="/opt/local" 
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openconnect-gui/openconnect-gui/work/openconnect-gui-1.3" && /opt/local/libexec/qt5/bin/qmake PREFIX="/opt/local" 
:info:configure Project ERROR: Could not resolve SDK --show-sdk-path for 'macosx10.12'
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openconnect-gui/openconnect-gui/work/openconnect-gui-1.3" && /opt/local/libexec/qt5/bin/qmake PREFIX="/opt/local" 
:info:configure Exit code: 3
:error:configure Failed to configure openconnect-gui: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_openconnect-gui/openconnect-gui/main.log for details.

In attached, the log file

Change History (3)

Changed 7 years ago by rsuray

Attachment: main.log added

log file

comment:1 Changed 7 years ago by rsuray

Hello

Here are some information

  • mac ox 10.12.6 (16G29) SIERRA
  • XCode Version 9.0.1 (9A1004)

Best regards

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: MarcusCalhoun-Lopez added
Description: modified (diff)
Port: openconnect-gui added
Summary: error installation openconnect-gui : sdk erroropenconnect-gui @1.3: Project ERROR: Could not resolve SDK --show-sdk-path for 'macosx10.12'

Sure; Xcode 9 does not contain the 10.12 SDK, so programs like apparently openconnect-gui that expect Xcode to contain an SDK version that matches the macOS version will have problems. Actually I don't see mention of SDKs in openconnect-gui, but it uses Qt, so maybe all programs that use Qt have this problem.

Note: See TracTickets for help on using tickets.