Package Details: gtk-gnutella 1.1.15-1

Git Clone URL: https://aur.archlinux.org/gtk-gnutella.git (read-only)
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.539353
First Submitted: 2015-10-21 05:08
Last Updated: 2019-07-30 02:33

Latest Comments

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

darose commented on 2017-09-28 14:18

Trying to upgrade to v1.1.12, but getting some build errors. Stay tuned ...

darose commented on 2016-11-14 22:12

Updated to v1.1.11

darose commented on 2016-09-18 15:40

@EduardoLeggiero: I'm attempting to upgrade this to v1.1.10, but getting a compile error. If you have any suggestions for how to fix, please let me know.