[MacPorts] #70865: Fails to compile

MacPorts noreply at macports.org
Sun Sep 22 14:15:03 UTC 2024


#70865: Fails to compile
------------------------+------------------------------
 Reporter:  mouse07410  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  qt6-qtmultimedia
------------------------+------------------------------
 {{{
 $ sudo port upgrade qt6-qtmultimedia
 .  .  .
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt6/qt6-qtmultimedia/work
 /qtmultimedia-everywhere-
 src-6.7.2/src/multimedia/darwin/qdarwinaudiodevice.mm:11:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt6/qt6-qtmultimedia/work
 /qtmultimedia-everywhere-
 src-6.7.2/src/multimedia/darwin/qmacosaudiodatautils_p.h:47:58: error: use
 of undeclared identifier 'kAudioObjectPropertyElementMain'; did you mean
 'kAudioObjectPropertyElementName'?
 :info:build                     AudioObjectPropertyElement element =
 kAudioObjectPropertyElementMain)
 :info:build
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 kAudioObjectPropertyElementName
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:331:5:
 note: 'kAudioObjectPropertyElementName' declared here
 :info:build     kAudioObjectPropertyElementName         = 'lchn',
 :info:build     ^
 :info:build 1 error generated.
 :info:build [202/375] Building OBJCXX object
 src/multimedia/CMakeFiles/Multimedia.dir/darwin/qcoreaudioutils.mm.o
 :info:build [203/375] Building OBJCXX object
 src/multimedia/CMakeFiles/Multimedia.dir/darwin/qdarwinaudiosource.mm.o
 :info:build [204/375] Building OBJCXX object
 src/multimedia/CMakeFiles/Multimedia.dir/darwin/qdarwinaudiosink.mm.o
 :info:build ninja: build stopped: subcommand failed.
 .  .  .
 }}}

 An old MacOS (11.7.10), Macports-installed Clang-16.

-- 
Ticket URL: <https://trac.macports.org/ticket/70865>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list