[MacPorts] #67392: Problems building libvpx for ffmpeg on Ventura ARM MacMini

MacPorts noreply at macports.org
Mon May 8 17:22:46 UTC 2023


#67392: Problems building libvpx for ffmpeg on Ventura ARM MacMini
---------------------------+--------------------
 Reporter:  SchmollTroll   |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:  2.8.1
 Keywords:  libvpx ffmpeg  |       Port:  libvpx
---------------------------+--------------------
 Hi there,

 today I switched from a MacMini i7 to the new MacMini M2 pro and now I try
 to install all my previous ports.
 One of those is ffmpeg which I install with "port install ffmpeg +x11 +gpl
 +nonfree +postproc +lame +xvid +x264 +x265 +a52 +faac +faad +dts +theora
 +libogg +vorbis +libdc1394 +librtmp +vaapi +vdpau +cuvid +nvenc +nvdec
 +ffnvcodec"

 That had worked with macOS 13 on the x86 Mac but I got an error for
 "libvpx" on the ARM machine (some details from
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libvpx/libvpx/main.log):



 {{{
 :info:build       ...
 :info:build   "_vpx_img_free", referenced from:
 :info:build       libvpx_test::Y4mVideoSource::~Y4mVideoSource() in
 active_map_refresh_test.cc.o
 :info:build       (anonymous
 namespace)::ActiveMapTest_Test_Test::TestBody() in active_map_test.cc.o
 :info:build       libvpx_test::I420VideoSource::~I420VideoSource() in
 active_map_test.cc.o
 :info:build       libvpx_test::I420VideoSource::~I420VideoSource() in
 active_map_test.cc.o
 :info:build       libvpx_test::YUVVideoSource::SetSize(unsigned int,
 unsigned int, vpx_img_fmt) in active_map_test.cc.o
 :info:build       libvpx_test::YUVVideoSource::~YUVVideoSource() in
 active_map_test.cc.o
 :info:build       libvpx_test::YUVVideoSource::~YUVVideoSource() in
 active_map_test.cc.o
 :info:build       ...
 :info:build   "_vpx_img_wrap", referenced from:
 :info:build       (anonymous
 namespace)::EncodeAPI_InvalidParams_Test::TestBody() in
 encode_api_test.cc.o
 :info:build       (anonymous
 namespace)::EncodeAPI_ImageSizeSetting_Test::TestBody() in
 encode_api_test.cc.o
 :info:build ld: symbol(s) not found for architecture arm64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[1]: *** [test_libvpx] Error 1
 :info:build make: *** [.DEFAULT] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libvpx/libvpx/work/libvpx-1.13.0-arm64'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libvpx/libvpx/work/libvpx-1.13.0-arm64"
 && /usr/bin/make -j12 -w verbose=1
 :info:build Exit code: 2
 :error:build Failed to build libvpx: 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_macports_release_tarballs_ports_multimedia_libvpx/libvpx/main.log
 for details.

 }}}


 I also tried a solo install of libvpx with "sudo port install libvpx
 +universal" but also got the error.


 Any hints for me?   THX!

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


More information about the macports-tickets mailing list