Search Criteria
Package Details: libgbinder 1.1.42-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/libgbinder.git (read-only, click to copy) |
---|---|
Package Base: | libgbinder |
Description: | GLib-style interface to binder |
Upstream URL: | https://github.com/mer-hybris/libgbinder.git |
Licenses: | BSD-3-Clause |
Submitter: | Danct12 |
Maintainer: | Danct12 |
Last Packager: | Danct12 |
Votes: | 49 |
Popularity: | 4.41 |
First Submitted: | 2021-09-12 03:30 (UTC) |
Last Updated: | 2025-05-09 09:59 (UTC) |
Dependencies (2)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- libglibutilAUR (libglibutil-gitAUR)
Latest Comments
1 2 Next › Last »
MahdiMirzadeh commented on 2025-05-08 14:58 (UTC)
Multiple errors from gbinder_writer_alloc when trying to build libgbinder for waydroid, thanks @archisasarchdoes for the build function, it installed with no issues
archisasarchdoes commented on 2025-05-03 09:56 (UTC)
@BTWIUseArch5000 For me, I modified the build function in PKGBUILD as follows:
That worked on my system. It's basically just modifying the bash environment variable while running the script to add the flag. Seems to my naive mind that it should probably be fixed in the source rather than the PKGBUILD, but I'm not really suggesting either, just answering the question. :P
BTWIUseArch5000 commented on 2025-05-02 20:17 (UTC) (edited on 2025-05-02 20:19 (UTC) by BTWIUseArch5000)
@atom7890 Is there a way to add that to the make command in the PKGBUILD file? Because if there is, I'd like to put that in there and make a commit.
atom7890 commented on 2025-05-02 00:50 (UTC)
It's fixed by adding -Wno-incompatible-pointer-types to CFLAGS in the Makefile. @gue5t thanks
tcraggs commented on 2025-05-01 22:15 (UTC)
This package currently fails to build with a function pointer type mismatch in src/gbinder_writer.c. Can be fixed by changing the the line "void (dealloc)()" to "void (dealloc)(void *)"
gue5t commented on 2025-05-01 17:37 (UTC)
@atom7890, I get the same error. It's fixed by adding
-Wno-incompatible-pointer-types
to CFLAGS in the Makefile.atom7890 commented on 2025-05-01 08:55 (UTC)
src/gbinder_writer.c:1334:60: error: passing argument 2 of ‘gbinder_cleanup_add’ from incompatible pointer type [-Wincompatible-pointer-types] 1334 | data->cleanup = gbinder_cleanup_add(data->cleanup, dealloc, ptr); | ^
| | | void ()(void) In file included from src/gbinder_writer_p.h:38, from src/gbinder_writer.c:33: src/gbinder_cleanup.h:51:20: note: expected ‘GDestroyNotify’ {aka ‘void ()(void )’} but argument is of type ‘void ()(void)’ 51 | GDestroyNotify destroy, |~^In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gutil/gutil_types.h:36, from include/gbinder_types.h:36, from include/gbinder_writer.h:36, from src/gbinder_writer_p.h:36: /usr/include/glib-2.0/glib/gtypes.h:140:27: note: ‘GDestroyNotify’ declared here 140 | typedef void (GDestroyNotify) (gpointer data); | ^~ src/gbinder_writer.c: In function ‘gbinder_writer_malloc’: src/gbinder_writer.c:1345:55: error: passing argument 4 of ‘gbinder_writer_alloc’ from incompatible pointer type [-Wincompatible-pointer-types] 1345 | return gbinder_writer_alloc(self, size, g_malloc, g_free); | ^~ | | | void ()(void ) src/gbinder_writer.c:1327:12: note: expected ‘void ()(void)’ but argument is of type ‘void ()(void )’ 1327 | void (dealloc)()) |~^~ In file included from /usr/include/glib-2.0/glib/glist.h:34, from /usr/include/glib-2.0/glib/ghash.h:36, from /usr/include/glib-2.0/glib.h:52: /usr/include/glib-2.0/glib/gmem.h:74:11: note: ‘g_free’ declared here 74 | void (g_free) (gpointer mem); | ^~ src/gbinder_writer.c: In function ‘gbinder_writer_malloc0’: src/gbinder_writer.c:1353:56: error: passing argument 4 of ‘gbinder_writer_alloc’ from incompatible pointer type [-Wincompatible-pointer-types] 1353 | return gbinder_writer_alloc(self, size, g_malloc0, g_free); | ^~~~ | | | void ()(void ) src/gbinder_writer.c:1327:12: note: expected ‘void ()(void)’ but argument is of type ‘void ()(void )’ 1327 | void (*dealloc)()) |~^~ /usr/include/glib-2.0/glib/gmem.h:74:11: note: ‘g_free’ declared here 74 | void (g_free) (gpointer mem); | ^~ make: *** [Makefile:270: build/release/gbinder_writer.o] Error 1 make: *** Waiting for unfinished jobs.... ==> ERROR: A failure occurred in build(). Aborting... -> error making: libgbinder-exit status 4 -> Failed to install the following packages. Manual intervention is required: libgbinder - exit status 4I don't know what's going on here, please help me
NIICKTCHUNS commented on 2025-02-25 15:46 (UTC) (edited on 2025-02-25 16:35 (UTC) by NIICKTCHUNS)
Well, this package is indeed out of date, the most recent version is 1.1.42 on Github. Edit: Thanks for the update Danct12!
Aliee commented on 2025-01-31 11:11 (UTC)
bruh why this is marked out of date
bkb commented on 2023-02-27 14:00 (UTC)
Create
libgbinder-bin
1 2 Next › Last »