It works now. Thanks @LFdev and @Santi-Burgos
Search Criteria
Package Details: gtkhash 1.5-5
Package Actions
| Git Clone URL: | https://aur.archlinux.org/gtkhash.git (read-only, click to copy) |
|---|---|
| Package Base: | gtkhash |
| Description: | A GTK+ utility for computing message digests or checksums |
| Upstream URL: | https://github.com/tristanheaven/gtkhash |
| Keywords: | crc32 digest hash md5 sha1 sha256 sha512 |
| Licenses: | GPL |
| Conflicts: | gtkhash-caja, gtkhash-nautilus, gtkhash-nemo, gtkhash-thunar |
| Provides: | gtkhash |
| Submitter: | None |
| Maintainer: | Santi-Burgos |
| Last Packager: | Santi-Burgos |
| Votes: | 74 |
| Popularity: | 0.49 |
| First Submitted: | 2008-05-11 12:46 (UTC) |
| Last Updated: | 2026-07-17 16:22 (UTC) |
Dependencies (10)
- dconf
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classic-xfceAUR)
- libb2 (libb2-gitAUR)
- libgcrypt
- nettle3
- appstream-glib (appstream-glib-gitAUR) (make)
- intltool (make)
- librsvg (librsvg-gitAUR, librsvg-noglycinAUR) (make)
- meson (meson-gitAUR) (make)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, openerAUR, mimejs-gitAUR, xdg-utils-mimeoAUR, xdg-utils-gitAUR) (make)
Required by (0)
Sources (1)
eniac commented on 2026-07-17 16:59 (UTC)
LFdev commented on 2026-07-17 15:15 (UTC)
Hi, there. It seems the build fails if both nettle (v4.x) and nettle3 (v3.x) are installed (as reported in gtkhask-nemo), because the build prefers the newer version, which fails without PR#199 that was merged but not yet included in the latest release. To make sure nettle3 is used, this command must be added as the first line in build():
export PKG_CONFIG_PATH=/usr/lib/nettle3/pkgconfig
Regards
Robbo5000 commented on 2026-07-17 06:26 (UTC) (edited on 2026-07-17 06:28 (UTC) by Robbo5000)
Getting the same build error. Here is the full error stack
[16/84] Compiling C object src/hash/libhash.a.p/hash-lib-nettle.c.o
FAILED: [code=1] src/hash/libhash.a.p/hash-lib-nettle.c.o
cc -Isrc/hash/libhash.a.p -Isrc/hash -I../gtkhash-1.5/src/hash -I. -I../gtkhash-1.5 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -fno-common -fvisibility=hidden -pedantic -Waggregate-return -Wbad-function-cast -Wcast-align -Werror=implicit-function-declaration -Wfloat-equal -Wformat-nonliteral -Wformat-security -Wformat-signedness -Wformat -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -fPIC -pthread -DIN_HASH_LIB -MD -MQ src/hash/libhash.a.p/hash-lib-nettle.c.o -MF src/hash/libhash.a.p/hash-lib-nettle.c.o.d -o src/hash/libhash.a.p/hash-lib-nettle.c.o -c ../gtkhash-1.5/src/hash/hash-lib-nettle.c
../gtkhash-1.5/src/hash/hash-lib-nettle.c: In function ‘gtkhash_hash_lib_nettle_finish’:
../gtkhash-1.5/src/hash/hash-lib-nettle.c:106:47: error: passing argument 2 of ‘((struct hash_lib_nettle_s *)func->lib_data)->meta->digest’ makes pointer from integer without a cast [-Wint-conversion]
106 | LIB_DATA->meta->digest(LIB_DATA->ctx, *size, digest);
| ^~~~~
| |
| size_t {aka long unsigned int}
../gtkhash-1.5/src/hash/hash-lib-nettle.c:106:47: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘size_t’ {aka ‘long unsigned int’}
../gtkhash-1.5/src/hash/hash-lib-nettle.c:36:19: error: too many arguments to function ‘((struct hash_lib_nettle_s *)func->lib_data)->meta->digest’; expected 2, have 3
36 | #define LIB_DATA ((struct hash_lib_nettle_s *)func->lib_data)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../gtkhash-1.5/src/hash/hash-lib-nettle.c:106:9: note: in expansion of macro ‘LIB_DATA’
106 | LIB_DATA->meta->digest(LIB_DATA->ctx, *size, digest);
| ^~~~~~~~
In file included from ../gtkhash-1.5/src/hash/hash-lib-nettle.c:28:
/usr/include/nettle/nettle-meta.h:109:28: note: declared here
109 | nettle_hash_digest_func *digest;
| ^~~~~~
jrichard326 commented on 2026-07-17 02:49 (UTC) (edited on 2026-07-17 10:50 (UTC) by jrichard326)
I cannot build this updated package. The error is as follows:
In file included from ../gtkhash-1.5/src/hash/hash-lib-nettle.c:28:
/usr/include/nettle/nettle-meta.h:109:28: note: declared here
109 | nettle_hash_digest_func *digest;
| ^~~~~~
[22/84] Compiling C object src/gtkhash.p/callbacks.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
==> Removing installed dependencies...
eniac commented on 2026-07-16 11:57 (UTC) (edited on 2026-07-16 11:58 (UTC) by eniac)
After today's update the error is still there but it changed slightly:
[21/84] Compiling C object src/hash/libhash.a.p/hash-lib-nettle.c.o FAILED: [code=1] src/hash/libhash.a.p/hash-lib-nettle.c.o
and then:
../gtkhash-1.5/src/hash/hash-lib-nettle.c:106:47: error: passing argument 2 of ‘((struct hash_lib_nettle_s *)func->lib_data)->meta->digest’ makes pointer from integer without a cast [-Wint-conversion]
../gtkhash-1.5/src/hash/hash-lib-nettle.c:36:19: error: too many arguments to function ‘((struct hash_lib_nettle_s *)func->lib_data)->meta->digest’; expected 2, have 3
krlabs commented on 2025-10-28 14:01 (UTC)
In Thunar 4.20.4 gtkhash plugin is missing.
Boris78 commented on 2022-02-04 08:38 (UTC)
@Sam-Burgos: Great work ... Thank you
walkingstickfan commented on 2021-12-31 13:23 (UTC)
@Sam-Burgos: Outstanding work! Thank you!
Santi-Burgos commented on 2021-12-29 22:32 (UTC)
@walkingstickfan: it has been hard to test about how to detach the standalone application compared to their filemanager plugins, so far I have been testing and it is until recently that I have been able to come up with something (hoping that it works), also as I mentioned a little bit down, the compilation issue was my mistake after letting an escape line there (took me a while and a lot of coffee to see that one)
Pinned Comments