[MacPorts] #65154: libvpx @1.11.0_2 does not build on macOS High Sierra, Version 10.13.6, because of Undefined symbols for architecture x86_64
MacPorts
noreply at macports.org
Tue May 10 09:08:53 UTC 2022
#65154: libvpx @1.11.0_2 does not build on macOS High Sierra, Version 10.13.6,
because of Undefined symbols for architecture x86_64
------------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: highsierra | Port: libvpx
------------------------+--------------------
By chance I started to upgrade from source and got:
{{{
a - vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm.o
a - vp9/ratectrl_rtc.cc.o
cp libvpx_g.a libvpx.a
a - third_party/googletest/src/src/gtest-all.cc.o
[LN] libvpx.7.dylib libvpx.dylib
mkdir -p ./
ln -sf libvpx.7.dylib libvpx.dylib
cp libvp9rc_g.a libvp9rc.a
cp libgtest_g.a libgtest.a
/usr/bin/clang++ -L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/ -arch x86_64 -m64 -arch x86_64 -o test_libvpx ivfenc.c.o
md5_utils.c.o test/active_map_refresh_test.cc.o test/active_map_test.cc.o
test/alt_ref_aq_segment_test.cc.o test/altref_test.cc.o
test/aq_segment_test.cc.o test/bench.cc.o test/borders_test.cc.o
test/byte_alignment_test.cc.o test/config_test.cc.o
test/cpu_speed_test.cc.o test/cq_test.cc.o test/decode_api_test.cc.o
test/decode_corrupted.cc.o test/decode_svc_test.cc.o
test/decode_test_driver.cc.o test/encode_api_test.cc.o
test/encode_test_driver.cc.o test/error_resilience_test.cc.o
test/external_frame_buffer_test.cc.o test/frame_size_tests.cc.o
test/invalid_file_test.cc.o test/keyframe_test.cc.o test/level_test.cc.o
test/realtime_test.cc.o test/resize_test.cc.o test/svc_datarate_test.cc.o
test/svc_end_to_end_test.cc.o test/svc_test.cc.o test/test_libvpx.cc.o
test/test_vector_test.cc.o test/test_vectors.cc.o test/timestamp_test.cc.o
test/user_priv_test.cc.o test/vp8_datarate_test.cc.o
test/vp9_datarate_test.cc.o test/vp9_end_to_end_test.cc.o
test/vp9_ethread_test.cc.o test/vp9_ext_ratectrl_test.cc.o
test/vp9_lossless_test.cc.o test/vp9_motion_vector_test.cc.o
test/vp9_skip_loopfilter_test.cc.o test/y4m_test.cc.o
third_party/libwebm/mkvparser/mkvparser.cc.o
third_party/libwebm/mkvparser/mkvreader.cc.o webmdec.cc.o y4menc.c.o
y4minput.c.o -L. -lvpx -lgtest -lpthread -lm -lpthread
Undefined symbols for architecture x86_64:
"testing::internal::CmpHelperEQ(char const*, char const*, long long,
long long)", referenced from:
(anonymous namespace)::rc_update_encodeframe_result(void*,
vpx_rc_encodeframe_result const*) in vp9_ext_ratectrl_test.cc.o
"testing::internal::CmpHelperGE(char const*, char const*, long long,
long long)", referenced from:
libvpx_test::EncoderTest::RunLoop(libvpx_test::VideoSource*) in
encode_test_driver.cc.o
(anonymous
namespace)::VP9FrameSizeTestsLarge::RunLoop(libvpx_test::VideoSource*,
vpx_codec_err_t) in frame_size_tests.cc.o
"testing::internal::CmpHelperLE(char const*, char const*, long long,
long long)", referenced from:
(anonymous
namespace)::DatarateTestLarge::ChangingDropFrameThreshTest() in
vp8_datarate_test.cc.o
(anonymous
namespace)::DatarateTestVP9RealTimeMultiBR_ChangingDropFrameThresh_Test::TestBody()
in vp9_datarate_test.cc.o
"testing::internal2::PrintBytesInObjectTo(unsigned char const*, unsigned
long, std::__1::basic_ostream<char, std::__1::char_traits<char> >*)",
referenced from:
testing::internal::ParameterizedTestSuiteInfo<(anonymous
namespace)::ByteAlignmentTest>::RegisterTests() in
byte_alignment_test.cc.o
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >
testing::PrintToString<std::__1::tuple<libvpx_test::CodecFactory const*,
libvpx_test::TestMode, (anonymous namespace)::TestVideoParam, int>
>(std::__1::tuple<libvpx_test::CodecFactory const*, libvpx_test::TestMode,
(anonymous namespace)::TestVideoParam, int> const&) in
vp9_end_to_end_test.cc.o
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > testing::PrintToString<(anonymous
namespace)::Y4mTestParam>((anonymous namespace)::Y4mTestParam const&) in
y4m_test.cc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[1]: *** [test_libvpx] Error 1
make: *** [.DEFAULT] Error 2
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.11.0'
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.11.0"
&& /usr/bin/make -j8 -w verbose=1 CFLAGS_S=-fno-integrated-as
Exit code: 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65154>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list