Hi Dagobert, > I am currently trying to build gettext 0.21 on Solaris 10 and encountered a > failed test > in gnulib: > > FAIL: test-fopen-gnu > ==================== > > test-fopen-gnu.c:59: assertion 'f' failed > FAIL test-fopen-gnu (exit status: 134) > > Essentially this is failing: > > /* Create the file and check the 'e' mode. */ > f = fopen (BASE "file", "we"); > ASSERT (f);
Most likely, you are encountering a bug that was fixed in gnulib on 2020-07-28, a day after gettext 0.21 was released. Can you try the newest gettext snapshot? https://gitlab.com/gnu-gettext/ci-distcheck/-/jobs/artifacts/master/raw/gettext-snapshot.tar?job=check-optimized > To my knowledge e-mode O_CLOEXEC is not available to Solaris 10 libc, so I > guess > this test should be skipped on Solaris? Gnulib's 'fopen-gnu' makes O_CLOEXEC available (albeit not necessarily atomically) on all platforms. [1] Bruno [1] https://www.gnu.org/software/gnulib/manual/html_node/fopen.html