Opened 8 weeks ago

Closed 7 weeks ago

#70794 closed defect (fixed)

valkey broken by the latest update: fatal error: threads.h: No such file or directory

Reported by: barracuda156 Owned by: mohd-akram (Mohamed Akram)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: valkey

Description (last modified by barracuda156)

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_valkey/valkey/work/compwrap/cc/opt/local/bin/gcc-mp-14 -pedantic -std=gnu11 -Wall -W -Wno-missing-field-initializers -Werror=deprecated-declarations -Wstrict-prototypes -O3 -flto=auto -fno-omit-frame-pointer -g -ggdb -arch ppc -isystem/opt/local/include/LegacySupport -isystem/opt/local/include -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -I../deps/fpconv -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL=1  -DBUILD_TLS_MODULE=0 -MMD -o server.o -c server.c
anet.c: In function 'anetKeepAlive':
anet.c:141:9: warning: unused variable 'cnt' [-Wunused-variable]
  141 |     int cnt;
      |         ^~~
anet.c:140:9: warning: unused variable 'intvl' [-Wunused-variable]
  140 |     int intvl;
      |         ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_valkey/valkey/work/compwrap/cc/opt/local/bin/gcc-mp-14 -pedantic -std=gnu11 -Wall -W -Wno-missing-field-initializers -Werror=deprecated-declarations -Wstrict-prototypes -O3 -flto=auto -fno-omit-frame-pointer -g -ggdb -arch ppc -isystem/opt/local/include/LegacySupport -isystem/opt/local/include -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -I../deps/fpconv -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL=1  -DBUILD_TLS_MODULE=0 -MMD -o sds.o -c sds.c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_valkey/valkey/work/compwrap/cc/opt/local/bin/gcc-mp-14 -pedantic -std=gnu11 -Wall -W -Wno-missing-field-initializers -Werror=deprecated-declarations -Wstrict-prototypes -O3 -flto=auto -fno-omit-frame-pointer -g -ggdb -arch ppc -isystem/opt/local/include/LegacySupport -isystem/opt/local/include -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -I../deps/fpconv -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL=1  -DBUILD_TLS_MODULE=0 -MMD -o zmalloc.o -c zmalloc.c
zmalloc.c:94:10: fatal error: threads.h: No such file or directory
   94 | #include <threads.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[1]: *** [zmalloc.o] Error 1

Issue with upstream: https://github.com/valkey-io/valkey/issues/1051

Change History (2)

comment:1 Changed 8 weeks ago by barracuda156

Description: modified (diff)

comment:2 Changed 7 weeks ago by Sergey Fedorov <barracuda@…>

Resolution: fixed
Status: assignedclosed

In fb338f00ecbe0070ce26c4f550c134c416727b64/macports-ports (master):

valkey: backport a fix from upstream

Closes: #70794

Note: See TracTickets for help on using tickets.