[MacPorts] #62098: libgcrypt 1.9.0_0: compile fails on Catalina w/ Xcode 12.3
MacPorts
noreply at macports.org
Tue Jan 19 21:27:36 UTC 2021
#62098: libgcrypt 1.9.0_0: compile fails on Catalina w/ Xcode 12.3
--------------------+-------------------------
Reporter: blair | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: libgcrypt
--------------------+-------------------------
{{{
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../src
-I../src -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-I/opt/local/include -pipe -O0 -std=gnu89 -fheinous-gnu-extensions
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
x86_64 -fno-delete-null-pointer-checks -Wall -c ./rndjent.c -fno-common
-DPIC -o .libs/rndjent.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../src
-I../src -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-I/opt/local/include -pipe -Os -std=gnu89 -fheinous-gnu-extensions
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
x86_64 -fno-delete-null-pointer-checks -Wall -MT rndlinux.lo -MD -MP -MF
.deps/rndlinux.Tpo -c rndlinux.c -fno-common -DPIC -o .libs/rndlinux.o
In file included from ./rndjent.c:86:
./jitterentropy-base.c:53:13: warning: unknown pragma ignored [-Wunknown-
pragmas]
#pragma GCC optimize ("O0")
^
./jitterentropy-base.c:119:18: warning: incompatible pointer types passing
'uint64_t *' (aka 'unsigned long long *') to parameter of type 'u64 *'
(aka 'unsigned long *') [-Wincompatible-pointer-types]
jent_get_nstime(&time);
^~~~~
./jitterentropy-base-user.h:67:22: note: passing argument to parameter
'out' here
jent_get_nstime(u64 *out)
^
In file included from ./rndjent.c:86:
./jitterentropy-base.c:347:18: warning: incompatible pointer types passing
'uint64_t *' (aka 'unsigned long long *') to parameter of type 'u64 *'
(aka 'unsigned long *') [-Wincompatible-pointer-types]
jent_get_nstime(&time);
^~~~~
./jitterentropy-base-user.h:67:22: note: passing argument to parameter
'out' here
jent_get_nstime(u64 *out)
^
In file included from ./rndjent.c:86:
./jitterentropy-base.c:679:19: warning: incompatible pointer types passing
'uint64_t *' (aka 'unsigned long long *') to parameter of type 'u64 *'
(aka 'unsigned long *') [-Wincompatible-pointer-types]
jent_get_nstime(&time);
^~~~~
./jitterentropy-base-user.h:67:22: note: passing argument to parameter
'out' here
jent_get_nstime(u64 *out)
^
In file included from ./rndjent.c:86:
./jitterentropy-base.c:682:19: warning: incompatible pointer types passing
'uint64_t *' (aka 'unsigned long long *') to parameter of type 'u64 *'
(aka 'unsigned long *') [-Wincompatible-pointer-types]
jent_get_nstime(&time2);
^~~~~~
./jitterentropy-base-user.h:67:22: note: passing argument to parameter
'out' here
jent_get_nstime(u64 *out)
^
rndlinux.c:273:21: error: implicit declaration of function 'getentropy'
[-Werror,-Wimplicit-function-declaration]
ret = getentropy (buffer, nbytes);
^
1 error generated.
make[2]: *** [rndlinux.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
5 warnings generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62098>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list