Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - telegram-cli-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: telegram-cli-git r1128.6547c0b-1

Git Clone URL: https://aur-dev.archlinux.org/telegram-cli-git.git (read-only)
Package Base: telegram-cli-git
Description: Telegram messenger CLI
Upstream URL: https://github.com/vysheng/tg
Licenses: GPL2
Conflicts: telegram-cli
Provides: telegram-cli
Submitter: vlad
Maintainer: drrossum
Last Packager: drrossum
Votes: 125
Popularity: 2.618279
First Submitted: 2015-08-18 12:14
Last Updated: 2016-03-29 20:29

Required by (2)

Sources (1)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Speranskiy commented on 2016-11-27 11:24


Yep, you are right. Thanks.

melvinvermeeren commented on 2016-11-26 13:25


Using the AUR means you have to dependency management yourself. If a dependency lib updates (and changes ABI version) a recompile will solve the issue.

Speranskiy commented on 2016-11-26 11:50

Doesn't work with the latest readline.

# ln -s /usr/lib/libreadline.so.7 /usr/lib/libreadline.so.6
Solves the issue.

I've filled a bug here

Speranskiy commented on 2016-08-15 10:39

to have this
>> telegram-cli: tgl/mtproto-utils.c:101: BN2ull: Assertion `0' failed.
issue fixed, build() seciton must be like this:
build() {
cd "$srcdir/$pkgname"
git submodule update --init --recursive
sed -i -e '/^ assert (0); / s?^?//?' tgl/mtproto-utils.c

see link for details -> https://github.com/vysheng/tg/issues/1070

hecsa commented on 2016-06-30 04:40

This package compiled on my Atom, but when exeecuting:

> telegram-cli: tgl/mtproto-utils.c:101: BN2ull: Assertion `0' failed.
SIGNAL received

Any clue about this error?
Thanks and best regards,


Stunts commented on 2016-04-04 16:23

I had to add the following line to the build() function in order not to finish the compilation:

sed -i 's/-Werror//g' Makefile

Not sure why this warning shows up on my setup, and not on others...

gdamjan commented on 2016-03-30 20:25

it seems the latest version needs a `--enable-python=x` to configure to add the python support. also, just --enable-python or --enable-python=yes doesn't work (seems like a bug in the ./configure script)

Nanoseb commented on 2016-03-29 20:21

Just updating the package version (to r1128.6547c0b), otherwise people don't get to see that a new version is available.

drrossum commented on 2016-03-29 20:16

The package compiles fine here.
@nanoseb: what updates do you suggest?

Stunts commented on 2016-03-23 14:39

Build is failing on my machine with the following message:

tgl/queries.c: In function ‘tgl_do_send_document’:
tgl/queries.c:2118:13: error: ‘x.peer_type’ may be used uninitialized in this fu
nction [-Werror=maybe-uninitialized]
f->avatar = avatar;
tgl/queries.c:2186:17: note: ‘x.peer_type’ was declared here
tgl_peer_id_t x;
tgl/queries.c:2118:13: error: ‘x.access_hash’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
f->avatar = avatar;
tgl/queries.c:2186:17: note: ‘x.access_hash’ was declared here
tgl_peer_id_t x;
gcc -I. -I. -I./tgl -march=x86-64 -mtune=native -O3 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/auto-store-ds.d -MQ objs/auto-store-ds.o -o objs/auto/auto-store-ds.o auto/auto-store-ds.c
cc1: all warnings being treated as errors
Makefile.tgl:20: recipe for target 'objs/queries.o' failed
make: *** [objs/queries.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().

Thanks in advance for looking into it.