Package Details: tgfs 0.1-2

Git Clone URL: https://aur.archlinux.org/tgfs.git (read-only, click to copy)
Package Base: tgfs
Description: user-space filesystem for Telegram attachments
Upstream URL: https://github.com/Firemoon777/tgfs
Licenses: GPL3
Conflicts: tgfs
Provides: tgfs
Submitter: Firemoon777
Maintainer: Firemoon777
Last Packager: Firemoon777
Votes: 0
Popularity: 0.000000
First Submitted: 2017-01-21 06:41 (UTC)
Last Updated: 2017-01-22 08:39 (UTC)

Latest Comments

dreieck commented on 2022-03-08 16:56 (UTC)

You use the latest git checkout. So your package must be named tgfs-git (i.e. with the -git suffix). Please rename (i.e.: Upload new, and submit merge request on the old).

Thanks a lot for keeping this alive!

dreieck commented on 2022-03-08 16:55 (UTC)

It fails to build for me with

src/tgfs.c:180:59: error: ‘c’ may be used uninitialized [-Werror=maybe-uninitialized]
  180 |         tg_peer_t* peer = tg_find_peer_by_name(path + 1, c[1] - c[0] - 1);
      |                          

and

main.c:824:7: error: ‘write’ reading 18 bytes from a region of size 17 [-Werror=stringop-overread]
  824 |   if (write (1, "SIGNAL received\n", 18) < 0) {
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Adding

    CFLAGS+=' -Wno-error'
    CXXFLAGS+=' -Wno-error'
    export CFLAGS
    export CXXFLAGS

to build() in the PKGBUILD does not help.

dreieck commented on 2019-08-25 09:33 (UTC) (edited on 2019-08-25 09:34 (UTC) by dreieck)

It does cloning (and download) during build().

PLEASE DO NOT DO THIS.

Ensure that when build() is invoked, all data needed to build the package is already present locally. Download it via the source-array, and exceptionally, if this is not possible, in prepare().