Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS filesystem test fails on Linux #16

Open
ccope opened this issue Jul 29, 2021 · 3 comments
Open

MacOS filesystem test fails on Linux #16

ccope opened this issue Jul 29, 2021 · 3 comments

Comments

@ccope
Copy link

ccope commented Jul 29, 2021

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.

if platform.OS ~= "macOS" then
--TODO
lu.assertEquals(fs.path('temp2.txt'):permissions() & USER_WRITE, 0)
end

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

@actboy168
Copy link
Owner

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

@ccope
Copy link
Author

ccope commented Aug 2, 2021

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.

@actboy168
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants