<html><head></head><body>Wait: it compiles and then the linker tells is that a command that was declared somewhere was never compiled? That looks like a -l switch is missing in the linker command line. Or like a library declares to provide things it then doesn't which would be a big in that library.<br><br><div class="gmail_quote">On June 13, 2020 12:52:21 PM GMT+02:00, Pirate Praveen <praveen@onenetbeyond.org> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Package: nheko<br>Version: 0.6.4-2~bpo10+1<br>Severity: wishlist<br>X-debbugs-cc: debian-backports@lists.debian.org<br>Control: tags -1 help<br><br>I'm trying to update nheko to 0.7.1 in buster-backports (packages still <br>in backports-new are avilable from <br><a href="https://people.debian.org/~praveen/fasttrack-staging/">https://people.debian.org/~praveen/fasttrack-staging/</a> and use <br>buster-backports branch of nheko). From a first look, it seems we need <br>a new c++ standard library. Can someone help here?<br><br>[ 90%] Linking CXX executable media_downloader<br>cd /<<PKGBUILDDIR>>/.deps/examples && /usr/bin/cmake -E <br>cmake_link_script CMakeFiles/media_downloader.dir/link.txt --verbose=1<br>/usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. <br>-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time <br>-D_FORTIFY_SOURCE=2 -DSPDLOG_FMT_EXTERNAL -DFMT_HEADER_ONLY <br>-DSPDLOG_FMT_EXTERNAL -DFMT_HEADER_ONLY -Wall -Wextra -pipe -pedantic <br>-fsized-deallocation -fdiagnostics-color=always -Wunreachable-code <br>-Wl,-z,relro CMakeFiles/media_downloader.dir/media_downloader.cpp.o -o <br>media_downloader ../libmatrix_client.a <br>/usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.71.0 <br>/usr/lib/x86_64-linux-gnu/libboost_system.so.1.71.0 <br>/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.71.0 <br>/usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.71.0 <br>/usr/lib/x86_64-linux-gnu/libssl.so <br>/usr/lib/x86_64-linux-gnu/libcrypto.so <br>/usr/lib/x86_64-linux-gnu/libolm.so.3.1.4 <br>/usr/lib/x86_64-linux-gnu/libz.so <br>/usr/lib/x86_64-linux-gnu/libsodium.so -pthread<br>/usr/bin/ld: CMakeFiles/media_downloader.dir/media_downloader.cpp.o: in <br>function <br>`print_message(std::variant<mtx::events::StateEvent<mtx::events::state::Aliases>, <br>mtx::events::StateEvent<mtx::events::state::Avatar>, <br>mtx::events::StateEvent<mtx::events::state::CanonicalAlias>, <br>mtx::events::StateEvent<mtx::events::state::Create>, <br>mtx::events::StateEvent<mtx::events::state::Encryption>, <br>mtx::events::StateEvent<mtx::events::state::GuestAccess>, <br>mtx::events::StateEvent<mtx::events::state::HistoryVisibility>, <br>mtx::events::StateEvent<mtx::events::state::JoinRules>, <br>mtx::events::StateEvent<mtx::events::state::Member>, <br>mtx::events::StateEvent<mtx::events::state::Name>, <br>mtx::events::StateEvent<mtx::events::state::PinnedEvents>, <br>mtx::events::StateEvent<mtx::events::state::PowerLevels>, <br>mtx::events::StateEvent<mtx::events::state::Tombstone>, <br>mtx::events::StateEvent<mtx::events::state::Topic>, <br>mtx::events::EncryptedEvent<mtx::events::msg::Encrypted>, <br>mtx::events::RedactionEvent<mtx::events::msg::Redaction>, <br>mtx::events::Sticker, <br>mtx::events::RoomEvent<mtx::events::msg::Redacted>, <br>mtx::events::RoomEvent<mtx::events::msg::Audio>, <br>mtx::events::RoomEvent<mtx::events::msg::Emote>, <br>mtx::events::RoomEvent<mtx::events::msg::File>, <br>mtx::events::RoomEvent<mtx::events::msg::Image>, <br>mtx::events::RoomEvent<mtx::events::msg::Notice>, <br>mtx::events::RoomEvent<mtx::events::msg::Text>, <br>mtx::events::RoomEvent<mtx::events::msg::Video> > <br>const&)::{lambda(std::__cxx11::basic_string<char, <br>std::char_traits<char>, std::allocator<char> > const&, <br>std::__cxx11::basic_string<char, std::char_traits<char>, <br>std::allocator<char> > const&, std::__cxx11::basic_string<char, <br>std::char_traits<char>, std::allocator<char> > const&, <br>std::optional<mtx::http::ClientError> <br>const&)#1}::operator()(std::__cxx11::basic_string<char, <br>std::char_traits<char>, std::allocator<char> > const&, <br>std::__cxx11::basic_string<char, std::char_traits<char>, <br>std::allocator<char> > const&, std::__cxx11::basic_string<char, <br>std::char_traits<char>, std::allocator<char> > const&, <br>std::optional<mtx::http::ClientError> const&) const':<br>/usr/include/c++/8/bits/fs_path.h:184: undefined reference to <br>`std::filesystem::__cxx11::path::_M_split_cmpts()'<br>/usr/bin/ld: CMakeFiles/media_downloader.dir/media_downloader.cpp.o: in <br>function <br>`print_message(std::variant<mtx::events::StateEvent<mtx::events::state::Aliases>, <br>mtx::events::StateEvent<mtx::events::state::Avatar>, <br>mtx::events::StateEvent<mtx::events::state::CanonicalAlias>, <br>mtx::events::StateEvent<mtx::events::state::Create>, <br>mtx::events::StateEvent<mtx::events::state::Encryption>, <br>mtx::events::StateEvent<mtx::events::state::GuestAccess>, <br>mtx::events::StateEvent<mtx::events::state::HistoryVisibility>, <br>mtx::events::StateEvent<mtx::events::state::JoinRules>, <br>mtx::events::StateEvent<mtx::events::state::Member>, <br>mtx::events::StateEvent<mtx::events::state::Name>, <br>mtx::events::StateEvent<mtx::events::state::PinnedEvents>, <br>mtx::events::StateEvent<mtx::events::state::PowerLevels>, <br>mtx::events::StateEvent<mtx::events::state::Tombstone>, <br>mtx::events::StateEvent<mtx::events::state::Topic>, <br>mtx::events::EncryptedEvent<mtx::events::msg::Encrypted>, <br>mtx::events::RedactionEvent<mtx::events::msg::Redaction>, <br>mtx::events::Sticker, <br>mtx::events::RoomEvent<mtx::events::msg::Redacted>, <br>mtx::events::RoomEvent<mtx::events::msg::Audio>, <br>mtx::events::RoomEvent<mtx::events::msg::Emote>, <br>mtx::events::RoomEvent<mtx::events::msg::File>, <br>mtx::events::RoomEvent<mtx::events::msg::Image>, <br>mtx::events::RoomEvent<mtx::events::msg::Notice>, <br>mtx::events::RoomEvent<mtx::events::msg::Text>, <br>mtx::events::RoomEvent<mtx::events::msg::Video> > <br>const&)::{lambda(std::__cxx11::basic_string<char, <br>std::char_traits<char>, std::allocator<char> > const&, <br>std::__cxx11::basic_string<char, std::char_traits<char>, <br>std::allocator<char> > const&, std::__cxx11::basic_string<char, <br>std::char_traits<char>, std::allocator<char> > const&, <br>std::optional<mtx::http::ClientError> <br>const&)#1}::operator()(std::__cxx11::basic_string<char, <br>std::char_traits<char>, std::allocator<char> > const&, <br>std::__cxx11::basic_string<char, std::char_traits<char>, <br>std::allocator<char> > const&, std::__cxx11::basic_string<char, <br>std::char_traits<char>, std::allocator<char> > const&, <br>std::optional<mtx::http::ClientError> const&) const':<br>./.deps/examples/./mtxclient/examples/media_downloader.cpp:120: <br>undefined reference to `std::filesystem::__cxx11::path::parent_path() <br>const'<br>/usr/bin/ld: <br>./.deps/examples/./mtxclient/examples/media_downloader.cpp:120: <br>undefined reference to <br>`std::filesystem::create_directories(std::filesystem::__cxx11::path <br>const&)'<br>collect2: error: ld returned 1 exit status<br>make[4]: *** [examples/CMakeFiles/media_downloader.dir/build.make:97: <br>examples/media_downloader] Error 1<br>make[4]: Leaving directory '/<<PKGBUILDDIR>>/.deps'<br>make[3]: *** [CMakeFiles/Makefile2:132: <br>examples/CMakeFiles/media_downloader.dir/all] Error 2<br>make[3]: Leaving directory '/<<PKGBUILDDIR>>/.deps'<br>make[2]: *** [Makefile:133: all] Error 2<br>make[2]: Leaving directory '/<<PKGBUILDDIR>>/.deps'<br>make[1]: *** [debian/rules:19: override_dh_auto_build] Error 2<br>make[1]: Leaving directory '/<<PKGBUILDDIR>>'<br>make: *** [debian/rules:12: build] Error 2<br>dpkg-buildpackage: error: debian/rules build subprocess returned exit <br>status 2<br><br></pre></blockquote></div><br>-- <br>Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.</body></html>