[MacPorts] #68254: redis @7.2.0_0.darwin_23_arm64 error: error: variable has incomplete type 'struct stat64'
MacPorts
noreply at macports.org
Wed Sep 27 12:10:08 UTC 2023
#68254: redis @7.2.0_0.darwin_23_arm64 error: error: variable has incomplete type
'struct stat64'
--------------------+--------------------
Reporter: bb8 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: sonoma | Port: redis
--------------------+--------------------
{{{
:info:build replication.c:1617:31: error: variable has incomplete type
'struct stat64'
:info:build struct redis_stat buf;
:info:build ^
:info:build replication.c:1617:20: note: forward declaration of 'struct
stat64'
:info:build struct redis_stat buf;
:info:build ^
:info:build ./config.h:46:20: note: expanded from macro 'redis_stat'
:info:build #define redis_stat stat64
:info:build ^
:info:build replication.c:1666:21: error: call to undeclared function
'fstat64'; ISO C99 and later do not support implicit function declarations
[-Wimplicit-function-declaration]
:info:build redis_fstat(slave->repldbfd,&buf) == -1) {
:info:build ^
:info:build ./config.h:45:21: note: expanded from macro 'redis_fstat'
:info:build #define redis_fstat fstat64
:info:build ^
:info:build 2 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68254>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list