Package Details: telegram-cli-git r1357.3da0e4a-1

Git Clone URL: https://aur.archlinux.org/telegram-cli-git.git (read-only, click to copy)
Package Base: telegram-cli-git
Description: Telegram messenger CLI
Upstream URL: https://github.com/kenorb-contrib/tg
Licenses: GPL2
Conflicts: telegram-cli
Provides: telegram-cli
Submitter: dywedir
Maintainer: drrossum
Last Packager: drrossum
Votes: 149
Popularity: 0.74
First Submitted: 2015-08-18 12:14
Last Updated: 2020-06-18 11:23

Latest Comments

« First ‹ Previous ... 3 4 5 6 7 8 9 10 Next › Last »

trichards commented on 2014-09-02 17:25

@cippaciong: I added openssl by itself initially, but when I rechecked the package with namcap it said that libevent was a missing dependency. It just so happens that libevent -> openssl = dependency satisfied.

@felixonmars: I tested the build a few times just now and it works fine for me. If you're building manually with makepkg, try removing your src/ and pkg/ directories and building again.

cippaciong commented on 2014-09-02 17:21

@felixonmars Builds fine here, I'm reporting the issue on github btw

@trichards Am I wrong or the openssl dependency is still missing?

felixonmars commented on 2014-09-02 17:08

Still fails for me:

cat scheme.tl encrypted_scheme.tl binlog.tl append.tl > auto/scheme.tl
/bin/sh: auto/scheme.tl: No such file or directory
Makefile:74: recipe for target 'auto/scheme.tl' failed
make: *** [auto/scheme.tl] Error 1

trichards commented on 2014-09-02 16:18

@kseistrup: Added openssl to dependencies.
@hvs: Added your patch (more or less) to prepare(). I'll remove this once the upstream is fixed.
@cippaciong: Updated package() to account for new binary name.

cippaciong commented on 2014-09-02 14:34

@hvs There has been a recent upstream change on Makefile regarding the exact line involving scheme.tl so I think it's better if you report the bug upstream. Even Travis is showing build failures since that change https://travis-ci.org/vysheng/tg/builds .

As for the package() error you should change it in this way (see the change in the "cd" line):
http://pastie.org/9521683

hvs commented on 2014-09-02 14:01

Using 'makepkg -s', I'm getting the following error:

gcc ./objs/tlc.o ./objs/tl-parser.o ./objs/crc32.o ./objs/tools.o -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -rdynamic -ggdb -levent -lconfig -levent -lcrypto -lz -lm -lreadline -llua -ldl -o bin/tlc
cat scheme.tl encrypted_scheme.tl binlog.tl append.tl auto > auto/scheme.tl
cat: auto: Is a directory
Makefile:74: recipe for target 'auto/scheme.tl' failed
make: *** [auto/scheme.tl] Error 1
==> ERROR: A failure occurred in build().
Aborting...

If I rerun 'make' directly, everything compiles just fine. With the following patch applied, compiling works, but I'm not sure if this is the right thing to do:

--- Makefile.in.orig 2014-09-02 10:43:14.744826673 -0300
+++ Makefile.in 2014-09-02 10:43:26.294826585 -0300
@@ -70,7 +70,7 @@
${AUTO}/scheme.tlo: ${AUTO}/scheme.tl ${EXE}/tlc
${EXE}/tlc -e $@ ${AUTO}/scheme.tl

-${AUTO}/scheme.tl: ${srcdir}/scheme.tl ${srcdir}/encrypted_scheme.tl ${srcdir}/binlog.tl ${srcdir}/append.tl ${AUTO}
+${AUTO}/scheme.tl: ${srcdir}/scheme.tl ${srcdir}/encrypted_scheme.tl ${srcdir}/binlog.tl ${srcdir}/append.tl
cat $^ > $@

${AUTO}/scheme2.tl: ${AUTO}/scheme.tl ${EXE}/tlc


Also, package step failed with:

==> Starting package()...
install: cannot stat ‘telegram’: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...

Just changing 'telegram' to 'telegram-cli' in PKGBUILD makes it work.

kseistrup commented on 2014-07-26 12:15

*** Couldn't open public key file: tg-server.pub

kseistrup commented on 2014-07-26 12:12

telegram-git E: Dependency openssl detected and not included (libraries ['usr/lib/libcrypto.so.1.0.0'] needed in files ['usr/bin/telegram'])

cippaciong commented on 2014-05-13 21:15

Arch doesn't officially support any ARM device or ARM architecure in general so you should not ask to add it in AUR's PKGBUILDs. If you are an archlinux-arm user you'd better edit the "arch" line yourself or simply build the package with --ignorearch (-A) option most of us do, me included. ;)

niklas.heer commented on 2014-05-13 12:28

To add support for Raspberry Pi please exchange the line "arch=('i686' 'x86_64')" with "arch=('armv6h' 'i686' 'x86_64')".
Thanks :)