I tested that it is the container image to blame by compiling the source code from both the host and the container and checking that it only breaks in the container. Maybe it is a libc bug or something. I will file a bug to Fedora later. Would be great if anyone can test the image. Note that the x86_64 image works as expected.
On Wed, May 12, 2021, 17:16 Andreas Kusalananda Kähäri < andreas.kah...@abc.se> wrote: > On Wed, May 12, 2021 at 04:31:47PM +0800, Boleyn Su wrote: > > Sorry, it is test -x instead of set -x. There are similar results for > test > > - r file, [ -r file] and so on. > > If "[ -r file]" is your code, then it fails because the "[" utility > needs "]" as its last argument, and you are giving it "file]". Insert a > space before that last "]". > That is just a typo. > If that is not the code you are using, then consider posting the code > you are using. If you don't, we can only really say "it works for me". > > > > > > On Wed, May 12, 2021, 13:34 Boleyn Su <boleyn...@gmail.com> wrote: > > > > > Please refer to the subject. > > > > > -- > Andreas (Kusalananda) Kähäri > SciLifeLab, NBIS, ICM > Uppsala University, Sweden > > . >