Package Details: gtk-gnutella 1.1.15-2

Git Clone URL: https://aur.archlinux.org/gtk-gnutella.git (read-only, click to copy)
Package Base: gtk-gnutella
Description: A Gnutella server/client
Upstream URL: http://gtk-gnutella.sourceforge.net/
Licenses: GPL
Submitter: darose
Maintainer: darose
Last Packager: darose
Votes: 8
Popularity: 0.044869
First Submitted: 2015-10-21 05:08
Last Updated: 2020-01-02 03:23

Latest Comments

1 2 Next › Last »

darose commented on 2020-01-02 03:25

@artivision: I just updated to v1.1.15-2, which integrates a patch from the author. (See https://sourceforge.net/p/gtk-gnutella/bugs/552/) LMK if that fixes it.

darose commented on 2019-12-17 03:26

Yeah, for me too. Looks like an upstream bug. I'll email the list.

artivision commented on 2019-12-16 16:51

Good day, crashes in Manjaro Testing.

darose commented on 2018-11-26 02:05

Tnx much for the patch @ejona86!

ejona86 commented on 2018-11-18 03:11

The problem is glibc has a statx as well. Maybe it was added recently to glibc, and thus we're hitting it in Arch. This should workaround the issue (add to build() before ./build.sh):

  patch -p1 <<EOF
diff -ur a/src/lib/stats.c b/src/lib/stats.c
--- a/src/lib/stats.c   2018-10-04 12:42:02.000000000 -0700
+++ b/src/lib/stats.c   2018-11-17 19:06:39.008036661 -0800
@@ -50,7 +50,7 @@
 /**
  * A one-dimension container (x).
  */
-struct statx {
+struct statxRENAMED {
        enum statx_magic magic; /**< Magic number */
        elist_t data;                   /**< Data points */
        long n;                                 /**< Amount of data points */
@@ -60,7 +60,7 @@
 };

 static inline void
-statx_check(const struct statx * const sx)
+statx_check(const struct statxRENAMED * const sx)
 {
        g_assert(sx != NULL);
        g_assert(STATX_MAGIC == sx->magic);
diff -ur a/src/lib/stats.h b/src/lib/stats.h
--- a/src/lib/stats.h   2018-10-04 12:42:02.000000000 -0700
+++ b/src/lib/stats.h   2018-11-17 19:06:38.118023654 -0800
@@ -40,9 +40,9 @@
  * One dimension statistics.
  */

-struct statx;
+struct statxRENAMED;

-typedef struct statx statx_t;
+typedef struct statxRENAMED statx_t;

 statx_t *statx_make(void);
 statx_t *statx_make_nodata(void);
EOF

darose commented on 2018-11-14 15:30

FYI, I emailed 2 mailing lists about the compile issue, but got no response back. If anyone has any pointers on how to fix this issue, please let me know. Otherwise I'll be unable to upgrade the package.

ejona86 commented on 2018-11-10 04:31

The install script is no longer necessary, as desktop-file-utils provides an update-desktop-database.hook that will automatically update the desktop database.

darose commented on 2018-10-29 02:20

Yeah, I'm running into the same issue. I emailed the mailing list. Will hopefully get a fix soon.

urbenlegend commented on 2018-10-22 13:04

Tried adjusting PKGBUILD to use 1.1.14, but compile seems to fail with the below logs

stats.c:53:8: error: redefinition of ‘struct statx’
 struct statx {
        ^~~~~
In file included from /usr/include/sys/stat.h:446,
                 from ../common.h:108,
                 from stats.c:34:
/usr/include/bits/statx.h:36:8: note: originally defined here
 struct statx
        ^~~~~
stats.c: In function ‘statx_make’:
stats.c:91:4: error: ‘statx_t’ {aka ‘struct statx’} has no member named ‘magic’
  sx->magic = STATX_MAGIC;
    ^~
stats.c:92:16: error: ‘statx_t’ {aka ‘struct statx’} has no member named ‘data’
  elist_init(&sx->data, offsetof(struct stat_datapoint, data_link));
                ^~
stats.c: In function ‘statx_make_nodata’:
stats.c:105:4: error: ‘statx_t’ {aka ‘struct statx’} has no member named ‘no_data’
  sx->no_data = TRUE;
    ^~

darose commented on 2017-10-25 01:42

Upgraded to v1.1.13