Package Details: libtd 1.7.0-4

Git Clone URL: https://aur.archlinux.org/libtd.git (read-only, click to copy)
Package Base: libtd
Description: Cross-platform library for building Telegram clients
Upstream URL: https://core.telegram.org/tdlib
Licenses: boost
Conflicts: telegram-tdlib
Provides: libtd
Submitter: felixseblanc
Maintainer: j.r
Last Packager: j.r
Votes: 5
Popularity: 0.76
First Submitted: 2019-09-29 16:03
Last Updated: 2021-05-04 06:18

Latest Comments

j.r commented on 2021-05-04 06:21

@djmattyg007 I updated the package according to cmake package guidelines, but unfortunately upstream somehow added compile tasks to the install target. I think there is not much I can do to avoid compilation in the package step. If you have a solution feel free to send me a patch over at sr.ht

djmattyg007 commented on 2021-05-01 12:48

I just built the latest version of this package, and I found that compilation was happening inside the package() function. This doesn't seem correct - compilation should be complete once build() is finished.

qontinuum commented on 2021-04-29 12:43

Okay thank you for the precision ^^

j.r commented on 2021-04-29 11:59

@franck.stauffer I'll remove make, but I explicitly set clang, because according to the libtd build instructions it does consume less RAM during build. For many multiple users the build failed before because they ran out of RAM.

qontinuum commented on 2021-04-29 11:14

make is in the base-devel group so it shouldn't be a makedep since this group is a pre-requisite.

Also, are you sure it's a good thing to enforce the compiler? Since CC and CXX can be set in makepkg.conf and the program compiles well using gcc I think it shouldn't be enforced by a PKGBUILD that do not strictly requires it.

Arndroid commented on 2021-02-04 20:57

Thanks!

Edit, ah too bad it didn't make it all the way:

[157/396] Building CXX object CMakeFiles/tdcore.dir/td/telegram/SuggestedAction.cpp.o
[158/396] Building CXX object CMakeFiles/tdcore.dir/td/telegram/MessagesManager.cpp.o
FAILED: CMakeFiles/tdcore.dir/td/telegram/MessagesManager.cpp.o 
/usr/bin/c++ -D_FILE_OFFSET_BITS=64 -I../ -I../td/generate/auto -I../tdactor -I../tdutils -Itdutils -I../tdnet -I../tddb -D_FORTIFY_SOURCE=2 -pthread -std=c++14 -fno-omit-frame-pointer -fno-exceptions -fno-rtti -ffunction-sections -fdata-sections -Wall -Wextra -Wimplicit-fallthrough=2 -Wpointer-arith -Wcast-qual -Wsign-compare -Wduplicated-branches -Wduplicated-cond -Walloc-zero -Wlogical-op -Wno-tautological-compare -Wpointer-arith -Wvla -Wnon-virtual-dtor -Wno-unused-parameter -Wconversion -Wno-sign-conversion -Wdeprecated -Wodr -flto-odr-type-merging -Wno-maybe-uninitialized -Wno-redundant-move -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/tdcore.dir/td/telegram/MessagesManager.cpp.o -MF CMakeFiles/tdcore.dir/td/telegram/MessagesManager.cpp.o.d -o CMakeFiles/tdcore.dir/td/telegram/MessagesManager.cpp.o -c ../td/telegram/MessagesManager.cpp
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[159/396] Building CXX object CMakeFiles/tdcore.dir/td/telegram/SecretChatActor.cpp.o
[160/396] Building CXX object CMakeFiles/tdcore.dir/td/telegram/PollManager.cpp.o
[161/396] Building CXX object CMakeFiles/tdcore.dir/td/telegram/SecureValue.cpp.o
[162/396] Building CXX object CMakeFiles/tdcore.dir/td/telegram/NotificationManager.cpp.o
[163/396] Building CXX object CMakeFiles/tdcore.dir/td/telegram/SecretChatsManager.cpp.o
[164/396] Building CXX object CMakeFiles/tdcore.dir/td/telegram/StorageManager.cpp.o
[165/396] Building CXX object CMakeFiles/tdcore.dir/td/telegram/SecureManager.cpp.o
[166/396] Building CXX object CMakeFiles/tdcore.dir/td/telegram/StickersManager.cpp.o
In file included from ../tdutils/td/utils/logging.h:28,
                 from ../tdutils/td/utils/ObjectPool.h:10,
                 from ../tdactor/td/actor/impl/ActorId-decl.h:9,
                 from ../tdactor/td/actor/impl/Actor-decl.h:9,
                 from ../tdactor/td/actor/impl/Actor.h:9,
                 from ../tdactor/td/actor/actor.h:9,
                 from ../td/telegram/StickersManager.h:9,
                 from ../td/telegram/StickersManager.cpp:7:
In lambda function,
    inlined from ‘void td::detail::LambdaPromise<ValueT, FunctionOkT, FunctionFailT>::do_error(td::Status&&) [with ValueT = td::Unit; FunctionOkT = td::StickersManager::get_stickers(td::string, td::int32, bool, td::Promise<>&&)::<lambda(td::Result<td::Unit>)>; FunctionFailT = td::PromiseCreator::Ignore]’ at ../tdactor/td/actor/PromiseFuture.h:294:9,
    inlined from ‘td::detail::LambdaPromise<ValueT, FunctionOkT, FunctionFailT>::~LambdaPromise() [with ValueT = td::Unit; FunctionOkT = td::StickersManager::get_stickers(td::string, td::int32, bool, td::Promise<>&&)::<lambda(td::Result<td::Unit>)>; FunctionFailT = td::PromiseCreator::Ignore]’ at ../tdactor/td/actor/PromiseFuture.h:277:13,
    inlined from ‘td::detail::LambdaPromise<ValueT, FunctionOkT, FunctionFailT>::~LambdaPromise() [with ValueT = td::Unit; FunctionOkT = td::StickersManager::get_stickers(td::string, td::int32, bool, td::Promise<>&&)::<lambda(td::Result<td::Unit>)>; FunctionFailT = td::PromiseCreator::Ignore]’ at ../tdactor/td/actor/PromiseFuture.h:278:3:
../tdutils/td/utils/Slice.h:270:45: warning: ‘int __builtin_memcmp_eq(const void*, const void*, long unsigned int)’ reading 18 bytes from a region of size 13 [-Wstringop-overflow=]
  270 |   return a.size() == b.size() && std::memcmp(a.data(), b.data(), a.size()) == 0;
      |                                  ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In lambda function,
    inlined from ‘void td::detail::LambdaPromise<ValueT, FunctionOkT, FunctionFailT>::do_error(td::Status&&) [with ValueT = td::Unit; FunctionOkT = td::StickersManager::get_stickers(td::string, td::int32, bool, td::Promise<>&&)::<lambda(td::Result<td::Unit>)>; FunctionFailT = td::PromiseCreator::Ignore]’ at ../tdactor/td/actor/PromiseFuture.h:294:9,
    inlined from ‘td::detail::LambdaPromise<ValueT, FunctionOkT, FunctionFailT>::~LambdaPromise() [with ValueT = td::Unit; FunctionOkT = td::StickersManager::get_stickers(td::string, td::int32, bool, td::Promise<>&&)::<lambda(td::Result<td::Unit>)>; FunctionFailT = td::PromiseCreator::Ignore]’ at ../tdactor/td/actor/PromiseFuture.h:277:13:
../tdutils/td/utils/Slice.h:270:45: warning: ‘int __builtin_memcmp_eq(const void*, const void*, long unsigned int)’ reading 18 bytes from a region of size 13 [-Wstringop-overflow=]
  270 |   return a.size() == b.size() && std::memcmp(a.data(), b.data(), a.size()) == 0;
      |                                  ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[167/396] Building CXX object CMakeFiles/tdcore.dir/td/telegram/Td.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

ColonelThirtyTwo commented on 2020-09-14 04:22

What's the difference between this and telegram-tdlib?

TheGoliath commented on 2020-07-18 11:58

May you add libtd-git as a conflict, please?

treeshateorcs commented on 2019-10-19 19:16

thank you!