``` 226:configure:4185:16: error: call to undeclared function 'arc4random_push'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229:configure:4185:46: error: call to undeclared function 'arc4random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253:configure:4185:37: error: call to undeclared function 'arc4random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277:configure:4185:16: error: call to undeclared function 'srandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280:configure:4185:38: error: call to undeclared function 'random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 304:configure:4185:16: error: call to undeclared function 'srand48'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307:configure:4185:38: error: call to undeclared function 'lrand48'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331:configure:4185:16: error: call to undeclared function 'srand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334:configure:4185:36: error: call to undeclared function 'rand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ``` This leads to e.g.: ``` checking if you want to use mawk's own srand/rand functions... no checking for random-integer functions... unknown checking if you want mawk to initialize random numbers at startup... yes ``` instead of: ``` checking if you want to use mawk's own srand/rand functions... no checking for random-integer functions... arc4random_stir/arc4random checking for range of random-integers... 0xFFFFFFFFUL checking if <bsd/stdlib.h> should be included... yes checking if you want mawk to initialize random numbers at startup... yes ``` I've reported this upstream via email.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77f788b0982ac8c3239d4107deae1d5cee1cb5c2 commit 77f788b0982ac8c3239d4107deae1d5cee1cb5c2 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-01-26 12:50:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-26 12:50:26 +0000 sys-apps/mawk: add 1.3.4_p20240123 Closes: https://bugs.gentoo.org/881585 Closes: https://bugs.gentoo.org/908531 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/mawk/Manifest | 2 ++ sys-apps/mawk/mawk-1.3.4_p20240123.ebuild | 51 +++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3d7a4e6219b18c31ea2a145914f219c8216a2af commit f3d7a4e6219b18c31ea2a145914f219c8216a2af Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-11-02 22:41:49 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-11-02 22:41:49 +0000 sys-apps/mawk: drop 1.3.4_p20231126 Bug: https://bugs.gentoo.org/881585 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sys-apps/mawk/Manifest | 2 -- sys-apps/mawk/mawk-1.3.4_p20231126.ebuild | 51 ------------------------------- 2 files changed, 53 deletions(-)