[MacPorts] #70794: valkey broken by the latest update: fatal error: threads.h: No such file or directory

MacPorts noreply at macports.org
Thu Sep 19 07:35:23 UTC 2024


#70794: valkey broken by the latest update: fatal error: threads.h: No such file or
directory
--------------------------+------------------------
 Reporter:  barracuda156  |      Owner:  mohd-akram
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.1
 Keywords:                |       Port:  valkey
--------------------------+------------------------
 {{{
 /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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70794>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list