bee.lua icon indicating copy to clipboard operation
bee.lua copied to clipboard

MacOS filesystem test fails on Linux

Open ccope opened this issue 2 years ago • 3 comments

It looks like this test should only run on macOS, but it's causing failures for me on Ubuntu Linux 18.04. Deleting these lines fixed the build for me.

https://github.com/actboy168/bee.lua/blob/5819270328dfa68bef72851d5bb9976fe4c1ff48/test/test_filesystem.lua#L571-L574

Info from the end of my build: OS: Linux Arch: x86_64 Compiler: GCC 7.5.0 CRT: libstdc++ 20191114 glibc 2.27 DEBUG: false

ccope avatar Jul 29 '21 23:07 ccope

This is a bug in gcc, please upgrade your gcc.

actboy168 avatar Jul 31 '21 03:07 actboy168

Ah ok, if it's a known issue maybe you can specify a minimum gcc version in your ReadMe file? This version of gcc is the only one that's available in the Ubuntu 18.04 apt repository, so it would inform users what version of Ubuntu they need to build your project.

ccope avatar Aug 02 '21 01:08 ccope

ubuntu18.04 supports gcc9 https://github.com/actboy168/bee.lua/runs/3092368974

actboy168 avatar Aug 02 '21 01:08 actboy168