v1.21.90 fails to build: gst-plugins-bad/ext/gs: undefined reference to `google::cloud::storage::v1_36_0...
Describe your issue
build of v1.21.90 fails with subprojects/gst-plugins-bad/ext/gs/libgstgs.so
Expected Behavior
successful compile
Observed Behavior
Failed during linkage for gst-plugins-bad/ext/gs/libgstgs
[3574/4598] Linking target subprojects/gst-plugins-bad/ext/gs/libgstgs.so
FAILED: subprojects/gst-plugins-bad/ext/gs/libgstgs.so
c++ -o subprojects/gst-plugins-bad/ext/gs/libgstgs.so subprojects/gst-plugins-bad/ext/gs/libgstgs.so.p/gstgscommon.cpp.o subprojects/gst-plugins-bad/ext/gs/libgstgs.so.p/gstgssink.cpp.o subprojects/gst-plugins-bad/ext/gs/libgstgs.so.p/gstgssrc.cpp.o subprojects/gst-plugins-bad/ext/gs/libgstgs.so.p/gstgs.cpp.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libgstgs.so -Wl,-z,nodelete '-Wl,-rpath,$ORIGIN/../../../gstreamer/libs/gst/base:$ORIGIN/../../../gstreamer/gst' -Wl,-rpath-link,/home/jlpoole/gstreamer/build/subprojects/gstreamer/libs/gst/base -Wl,-rpath-link,/home/jlpoole/gstreamer/build/subprojects/gstreamer/gst subprojects/gstreamer/libs/gst/base/libgstbase-1.0.so.0.2190.0 subprojects/gstreamer/gst/libgstreamer-1.0.so.0.2190.0 /usr/lib64/libglib-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -pthread /usr/lib64/pkgconfig/../../lib64/libgoogle_cloud_cpp_storage.so /usr/lib64/pkgconfig/../../lib64/libcrc32c.so /usr/lib64/pkgconfig/../../lib64/libgoogle_cloud_cpp_common.so /usr/lib64/pkgconfig/../../lib64/libabsl_bad_optional_access.so /usr/lib64/pkgconfig/../../lib64/libcurl.so /usr/lib64/pkgconfig/../../lib64/libssl.so /usr/lib64/pkgconfig/../../lib64/libcrypto.so /usr/lib64/pkgconfig/../../lib64/libabsl_str_format_internal.so /usr/lib64/pkgconfig/../../lib64/libabsl_time.so /usr/lib64/pkgconfig/../../lib64/libabsl_civil_time.so /usr/lib64/pkgconfig/../../lib64/libabsl_strings.so /usr/lib64/pkgconfig/../../lib64/libabsl_strings_internal.so -lrt /usr/lib64/pkgconfig/../../lib64/libabsl_base.so /usr/lib64/pkgconfig/../../lib64/libabsl_spinlock_wait.so /usr/lib64/pkgconfig/../../lib64/libabsl_int128.so /usr/lib64/pkgconfig/../../lib64/libabsl_throw_delegate.so /usr/lib64/pkgconfig/../../lib64/libabsl_time_zone.so /usr/lib64/pkgconfig/../../lib64/libabsl_bad_variant_access.so /usr/lib64/pkgconfig/../../lib64/libabsl_raw_logging_internal.so /usr/lib64/pkgconfig/../../lib64/libabsl_log_severity.so -Wl,--end-group
/usr/lib/gcc/x86_64-pc-linux-gnu/11/../../../../x86_64-pc-linux-gnu/bin/ld: subprojects/gst-plugins-bad/ext/gs/libgstgs.so.p/gstgscommon.cpp.o: in function `gst_gs_create_client(char const*, char const*, _GError**)':
/home/jlpoole/gstreamer/build/../subprojects/gst-plugins-bad/ext/gs/gstgscommon.cpp:35: undefined reference to `google::cloud::storage::v1_36_0::oauth2::CreateServiceAccountCredentialsFromJsonContents(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, absl::lts_20211102::optional<std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, absl::lts_20211102::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, google::cloud::storage::v1_36_0::ChannelOptions const&)'
collect2: error: ld returned 1 exit status
[3591/4598] Compiling C++ object subprojects/openh264-2.3.1/test/api/test_api.p/encode_options_test.cpp.o
ninja: build stopped: subcommand failed.
jlpoole@eos ~/gstreamer $
Setup
-
Operating System: Linux eos 5.15.85-gentoo-dist #1 SMP Mon Jan 9 20:25:49 PST 2023 x86_64 AMD Ryzen 7 5700U with Radeon Graphics AuthenticAMD GNU/Linux
-
Device: Computer laptop
-
GStreamer Version:
jlpoole@eos ~/gstreamer $ git status
HEAD detached at 1.21.90
nothing to commit, working tree clean
jlpoole@eos ~/gstreamer $
- Command line:
Steps to reproduce the bug
- open terminal
- type:
git checkout tags/1.21.90
meson setup build
ninja -C build
How reproducible is the bug?
Always
Screenshots if relevant
NA
Solutions you have tried
nothing
Related non-duplicate issues
not found
Additional Information
I'll provide links to complete logs in the next 20 minutes after I create this Issue.