libgcrypt20 fails MacOS 10.15.7 / Xcode 12.3.0
Scott Hannahs via Fink-devel <[email protected]> Thu, 21 Jan 2021 18:19:39 -0500
| Newsgroups | gmane.os.apple.fink.devel,gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
--===============3230076282752844255==
Content-Type: multipart/alternative;
boundary="Apple-Mail=_4565B34E-6F3B-4967-A6A9-EEDEEE072177"
--Apple-Mail=_4565B34E-6F3B-4967-A6A9-EEDEEE072177
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
This is another implicit declaration problem when building libgcrypt20
/bin/sh ../libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H =
-I. -I.. -I../src -I../src -I/opt/sw/include -I/opt/sw/include -g -O2 =
-fno-delete-null-pointer-checks -Wall -MT rndlinux.lo -MD -MP -MF =
.deps/rndlinux.Tpo -c -o rndlinux.lo rndlinux.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src =
-I/opt/sw/include -I/opt/sw/include -g -O2 =
-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
rndlinux.c:273:21: error: implicit declaration of function 'getentropy' =
is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret =3D getentropy (buffer, nbytes);
^
1 error generated.
getentropy is not defined before used or the correct header file is not =
included in the rndlinux.c file. I managed to build a previous version =
of this package so the recent update seems to have borked things.
Also include the following system information:
Package manager version: 0.45.2
Distribution version: selfupdate-git Thu Jan 21 18:00:47 2021, 10.15, =
x86_64
Trees: local/main stable/main
Xcode.app: 12.3
Xcode command-line tools: 12.3.0.0.1.1607026830
Max. Fink build jobs: 1
-Scott
--Apple-Mail=_4565B34E-6F3B-4967-A6A9-EEDEEE072177
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=us-ascii
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">This =
is another implicit declaration problem when =
building libgcrypt20<div class=3D""><br class=3D""></div><blockquote =
style=3D"margin: 0 0 0 40px; border: none; padding: 0px;" class=3D""><div =
class=3D"">/bin/sh ../libtool --tag=3DCC --mode=3Dcompile =
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/opt/sw/include =
-I/opt/sw/include -g -O2 -fno-delete-null-pointer-checks -Wall -MT =
rndlinux.lo -MD -MP -MF .deps/rndlinux.Tpo -c -o rndlinux.lo =
rndlinux.c</div><div class=3D"">libtool: compile: gcc =
-DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/opt/sw/include =
-I/opt/sw/include -g -O2 -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</div><div =
class=3D"">rndlinux.c:273:21: error: implicit declaration of function =
'getentropy' is invalid in C99 =
[-Werror,-Wimplicit-function-declaration]</div><div class=3D""> =
ret =3D getentropy (buffer, =
nbytes);</div><div class=3D""> =
^</div><div class=3D"">1 error =
generated.</div></blockquote><div class=3D""><br class=3D""></div><div =
class=3D"">getentropy is not defined before used or the correct header =
file is not included in the rndlinux.c file. I managed to build a =
previous version of this package so the recent update seems to have =
borked things.</div><div class=3D""><br class=3D""></div><blockquote =
style=3D"margin: 0 0 0 40px; border: none; padding: 0px;" class=3D""><div =
class=3D"">Also include the following system information:</div><div =
class=3D"">Package manager version: 0.45.2</div><div =
class=3D"">Distribution version: selfupdate-git Thu Jan 21 18:00:47 =
2021, 10.15, x86_64</div><div class=3D"">Trees: local/main =
stable/main</div><div class=3D"">Xcode.app: 12.3</div><div =
class=3D"">Xcode command-line tools: 12.3.0.0.1.1607026830</div><div =
class=3D"">Max. Fink build jobs: 1</div></blockquote><div =
class=3D""><br class=3D""></div><div class=3D"">-Scott</div><div =
class=3D""><br class=3D""></div></body></html>=
--Apple-Mail=_4565B34E-6F3B-4967-A6A9-EEDEEE072177--
--===============3230076282752844255==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============3230076282752844255==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
--===============3230076282752844255==--