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

@melvinvermeeren

Yep, you are right. Thanks.

melvinvermeeren commented on 2016-11-26 13:25

@Speranskiy

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
https://github.com/vysheng/tg/issues/1245

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
./configure
make
}

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

hecsa commented on 2016-06-30 04:40

Hi,
This package compiled on my Atom, but when exeecuting:

> telegram-cli: tgl/mtproto-utils.c:101: BN2ull: Assertion `0' failed.
SIGNAL received
htelegram-cli(print_backtrace+0x32)[0x80a77f2]
telegram-cli(termination_signal_handler+0x81)[0x80a78a1]
linux-gate.so.1(__kernel_sigreturn+0x0)[0xb7788ba4]
linux-gate.so.1(__kernel_vsyscall+0x10)[0xb7788bc8]
/usr/lib/libc.so.6(gsignal+0x39)[0xb7291e69]
/usr/lib/libc.so.6(abort+0x157)[0xb72933a7]
/usr/lib/libc.so.6(+0x24c17)[0xb728ac17]
/usr/lib/libc.so.6(+0x24c9b)[0xb728ac9b]
telegram-cli[0x80f461e]
telegram-cli[0x80c90d2]
telegram-cli[0x80cbceb]
telegram-cli[0x80f3732]
/usr/lib/libevent-2.0.so.5(event_base_loop+0x7b0)[0xb7715980]
telegram-cli(net_loop+0xbc)[0x80a8e6c]
telegram-cli(loop+0x196)[0x80aa206]
telegram-cli(inner_main+0x17)[0x80a6d57]
telegram-cli(main+0x311)[0x80a5e81]
/usr/lib/libc.so.6(__libc_start_main+0xf6)[0xb727e536]
telegram-cli[0x80a5f8b]

Any clue about this error?
Thanks and best regards,

HeCSa.

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().
Aborting...

Thanks in advance for looking into it.