[MacPorts] #55195: openconnect-gui @1.3: Project ERROR: Could not resolve SDK --show-sdk-path for 'macosx10.12' (was: error installation openconnect-gui : sdk error)

MacPorts noreply at macports.org
Mon Oct 30 04:52:54 UTC 2017


#55195: openconnect-gui @1.3: Project ERROR: Could not resolve SDK --show-sdk-path
for 'macosx10.12'
------------------------------+-------------------
  Reporter:  rsuray           |      Owner:
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.4.2
Resolution:                   |   Keywords:
      Port:  openconnect-gui  |
------------------------------+-------------------
Changes (by ryandesign):

 * cc: MarcusCalhoun-Lopez (added)
 * port:   => openconnect-gui


Old description:

> 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

New description:

 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

--

Comment:

 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.

--
Ticket URL: <https://trac.macports.org/ticket/55195#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list