#65154 closed defect (worksforme)
libvpx @1.11.0_2 does not build on macOS High Sierra, Version 10.13.6, because of Undefined symbols for architecture x86_64
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | highsierra | Cc: | mascguy@… |
Port: | libvpx |
Description
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
Attachments (1)
Change History (7)
Changed 3 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 follow-up: 2 Changed 3 years ago by mascguy (Christopher Nielsen)
It looks like it's building fine for 10.13 on our buildbots:
https://ports.macports.org/port/libvpx/builds/
Can you try installing the binary, via sudo port -b upgrade libvpx
?
comment:2 follow-up: 4 Changed 3 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mascguy:
Can you try installing the binary, via
sudo port -b upgrade libvpx
?
I did not use -b
, just my usual -vd
, but it worked to install the binary package as an upgrade.
comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)
Owner: | set to mascguy |
---|---|
Status: | new → assigned |
comment:4 Changed 3 years ago by mascguy (Christopher Nielsen)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
comment:5 follow-up: 6 Changed 2 years ago by posita (Matt Bogosian)
FWIW, I am also experiencing these symptoms on Big Sur 11.6.5. However, -b
doesn't work for me:
Error: Failed to archivefetch libvpx: Binary-only mode requested with no usable archive sites configured
comment:6 Changed 2 years ago by mascguy (Christopher Nielsen)
Replying to posita:
FWIW, I am also experiencing these symptoms on Big Sur 11.6.5. However,
-b
doesn't work for me:
Error: Failed to archivefetch libvpx: Binary-only mode requested with no usable archive sites configured
Binaries are published and available:
https://packages.macports.org/libvpx/?C=N;O=D
Have you made any changes to your MacPorts configuration?
Main.log from High Sierra 10.13.6