[MacPorts] #56248: burn-app 2.5.1: Build failure - QTKit.h file not found

MacPorts noreply at macports.org
Sat Apr 7 11:44:50 UTC 2018


#56248: burn-app 2.5.1: Build failure - QTKit.h file not found
-------------------------+-------------------------------
  Reporter:  alexmalins  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.4.2
Resolution:              |   Keywords:  sierra highsierra
      Port:  burn-app    |
-------------------------+-------------------------------
Changes (by ryandesign):

 * keywords:   => sierra highsierra
 * cc: ryandesign (added)


Old description:

> burn-app port build fails on High Sierra 10.13.4, Xcode 9.3, with
> following error message (from main.log):
>
> :info:build In file included from
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_sysutils_burn-app/burn-
> app/work/Source.localized/Source/KWAudioController.m:9:
> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_sysutils_burn-app/burn-
> app/work/Source.localized/Source/KWAudioController.h:13:9: fatal error:
> 'QTKit/QTKit.h' file not found
> :info:build #import <QTKit/QTKit.h>
> :info:build         ^~~~~~~~~~~~~~~
> :info:build 1 error generated.
> :info:build ** BUILD FAILED **
> :info:build The following build commands failed:
> :info:build     CompileC build/Burn.build/Release/Burn\ (Intel).build
> /Objects-normal/i386/KWAudioController.o Source/KWAudioController.m
> normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
> :info:build (1 failure)
> :info:build Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_sysutils_burn-app/burn-
> app/work/Source.localized" && /usr/bin/xcodebuild  -target "Burn (Intel)"
> -configuration Release build INSTALL_PATH=/Applications/MacPorts
> OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.13 ARCHS=i386
> SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0
> CLANG_CXX_LIBRARY="libc++"
> :info:build Exit code: 65
> :error:build Failed to build burn-app: command execution failed
> :debug:build Error code: NONE
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "$procedure $targetname"
> :error:build See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_sysutils_burn-app/burn-app/main.log for
> details.

New description:

 burn-app port build fails on High Sierra 10.13.4, Xcode 9.3, with
 following error message (from main.log):

 {{{
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_sysutils_burn-app/burn-
 app/work/Source.localized/Source/KWAudioController.m:9:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_sysutils_burn-app/burn-
 app/work/Source.localized/Source/KWAudioController.h:13:9: fatal error:
 'QTKit/QTKit.h' file not found
 :info:build #import <QTKit/QTKit.h>
 :info:build         ^~~~~~~~~~~~~~~
 :info:build 1 error generated.
 :info:build ** BUILD FAILED **
 :info:build The following build commands failed:
 :info:build     CompileC build/Burn.build/Release/Burn\ (Intel).build
 /Objects-normal/i386/KWAudioController.o Source/KWAudioController.m normal
 i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
 :info:build (1 failure)
 :info:build Command failed: cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_sysutils_burn-app/burn-
 app/work/Source.localized" && /usr/bin/xcodebuild  -target "Burn (Intel)"
 -configuration Release build INSTALL_PATH=/Applications/MacPorts
 OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.13 ARCHS=i386
 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0
 CLANG_CXX_LIBRARY="libc++"
 :info:build Exit code: 65
 :error:build Failed to build burn-app: command execution failed
 :debug:build Error code: NONE
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_sysutils_burn-app/burn-app/main.log for
 details.
 }}}

--

Comment:

 burn-app is ancient software; it hasn't been updated since 2011. It uses
 QTKit, which Apple has deprecated. Apple no longer includes the QTKit
 headers in macOS 10.12 or later, which is why it fails to compile for you
 on 10.13. Compiling this software on 10.12 or later is possible using the
 OS X 10.11 SDK or older, but Xcode on 10.12 and later don't include the
 10.11 SDK or older. I have been working on a way to make macOS SDKs
 available in MacPorts. Once that's done, we can apply a fix to this port
 to use an older SDK.

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


More information about the macports-tickets mailing list