bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failed test "test-fopen-gnu" on Solaris 10


From: Bruno Haible
Subject: Re: Failed test "test-fopen-gnu" on Solaris 10
Date: Mon, 16 Nov 2020 16:31:23 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-193-generic; KDE/5.18.0; x86_64; ; )

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]