solution is merged but it still failing
building with clang 16 adlist.o: file not recognized: file format not recognized
default without specifying clang g++: error: unrecognized command-line option ‘-stdlib=libc++’
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/keydb.git (read-only, click to copy) |
|---|---|
| Package Base: | keydb |
| Description: | A Multithreaded fork of Redis. |
| Upstream URL: | https://keydb.dev |
| Keywords: | keydb redis |
| Licenses: | BSD |
| Provides: | redis |
| Submitter: | lzlrd |
| Maintainer: | iamawacko |
| Last Packager: | iamawacko |
| Votes: | 7 |
| Popularity: | 0.000001 |
| First Submitted: | 2020-04-30 17:33 (UTC) |
| Last Updated: | 2024-06-05 18:29 (UTC) |
solution is merged but it still failing
building with clang 16 adlist.o: file not recognized: file format not recognized
default without specifying clang g++: error: unrecognized command-line option ‘-stdlib=libc++’
Edit : this is a know problem : https://github.com/Snapchat/KeyDB/issues/684
There is a push request that haven't been integrated yet
I have a problem building this package using yay as aur helper :
make[2]: Leaving directory '/home/me/.cache/yay/keydb/src/KeyDB-6.3.3/deps'
CC adlist.o
CC quicklist.o
CC ae.o
CC anet.o
CC dict.o
CC server.o
CC sds.o
CC zmalloc.o
CC lzf_c.o
CC lzf_d.o
CC pqsort.o
CC zipmap.o
CC sha1.o
CC ziplist.o
CC release.o
CC networking.o
CC util.o
CC object.o
CC db.o
CC replication.o
CC rdb.o
CC t_string.o
CC t_list.o
CC t_set.o
CC t_zset.o
t_zset.cpp:2039:11: error: declaration of ‘zsetopsrc::_uT::_iterzset zsetopsrc::_uT::zset’ changes meaning of ‘zset’ [-Wchanges-meaning]
2039 | } zset;
| ^~~~
t_zset.cpp:2036:17: note: used here to mean ‘typedef struct zset zset’
2036 | zset *zs;
| ^~~~
In file included from t_zset.cpp:59:
server.h:1787:3: note: declared here
1787 | } zset;
| ^~~~
cc1plus: note: unrecognized command-line option ‘-Wno-atomic-alignment’ may have been intended to silence earlier diagnostics
make[1]: *** [Makefile:482: t_zset.o] Error 1
make[1]: Leaving directory '/home/me/.cache/yay/keydb/src/KeyDB-6.3.3/src'
make: *** [Makefile:6: all] Error 2
make: Leaving directory '/home/me/.cache/yay/keydb/src/KeyDB-6.3.3'
==> ERROR: A failure occurred in build().
What should I do ? (sorry if I do wrong, it's my first time commenting on aur)