[MacPorts] #62101: libgcrypt @1.9.0 fails on undeclared 'getentropy'
MacPorts
noreply at macports.org
Wed Jan 20 07:08:21 UTC 2021
#62101: libgcrypt @1.9.0 fails on undeclared 'getentropy'
----------------------+-----------------------
Reporter: hadrabap | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: libgcrypt
----------------------+-----------------------
Hello friends,
The libgcrypt build fails on
{{{
rndlinux.c:273:21: error: implicit declaration of function 'getentropy'
}}}
error message when building from source on macOS Catalina 10.15.7 (Intel
machine).
When digging inside the source tree I found that the library uses Linux
implementation (rndlinux.c). When adding
{{{
--enable-random=unix
}}}
as configure parameter which effectively forces generic UNIX random
implementation (rndunix.c), the problem goes away.
Thanks,
PETR
--
Ticket URL: <https://trac.macports.org/ticket/62101>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list