The 'posixcheck' module needs to depend on all modules that use _GL_WARN_ON_USE. We haven't updated it in a long time.
2023-07-28 Bruno Haible <br...@clisp.org> posixcheck: Fix dependencies. * modules/posixcheck (Depends-on): Add malloc-h, pthread-h, sched, sys_random, threads-h, uchar, utmp. diff --git a/modules/posixcheck b/modules/posixcheck index 2615c8597b..838d3bb40d 100644 --- a/modules/posixcheck +++ b/modules/posixcheck @@ -17,11 +17,14 @@ iconv-h inttypes-incomplete langinfo locale +malloc-h math monetary netdb poll-h +pthread-h pty +sched search signal-h spawn @@ -31,6 +34,7 @@ string strings sys_file sys_ioctl +sys_random sys_resource sys_select sys_socket @@ -40,9 +44,12 @@ sys_times sys_utsname sys_wait termios +threads-h time-h +uchar unistd utime-h +utmp wchar wctype-h