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

replace rm with embedded BSD coreutils rm #374

Merged
merged 10 commits into from
Jan 27, 2023
Merged

replace rm with embedded BSD coreutils rm #374

merged 10 commits into from
Jan 27, 2023

Conversation

andy5995
Copy link
Member

No description provided.

@andy5995 andy5995 added this to the 0.9.0 milestone Jan 24, 2023
@andy5995 andy5995 force-pushed the replace-rm branch 8 times, most recently from 832a95c to 8d512c0 Compare January 25, 2023 01:27
@andy5995
Copy link
Member Author

@DiegoMagdaleno I get errors when building on macos https://github.com/theimpossibleastronaut/rmw/actions/runs/4002064406/jobs/6868938665

Is BSDCoreUtils intended to run on macos or just on Linux? Also getting error on FreeBSD... https://github.com/theimpossibleastronaut/rmw/actions/runs/4002064406/jobs/6868938848#step:3:1462

@DiegoMagdaleno
Copy link
Contributor

DiegoMagdaleno commented Jan 25, 2023

It is intended to work on macOS, it looks like the issue is related to the definition of macOS guid and uid, I can try checking the error out tomorrow.

As for FreeBSD, at least in the logs, I can't see the error, it just says "Bash exited with error code 1"

I guess my workaround for the definitions of said functions (guid and uid) broke in some update after I stopped using macOS, I'll check it out.

Update: This issue should be fixed (?)

@DiegoMagdaleno
Copy link
Contributor

@andy5995 I did a quick commit, try to checkout if that fixes the issue.

@andy5995
Copy link
Member Author

@andy5995 I did a quick commit, try to checkout if that fixes the issue.

It did! Thanks!

The errors from the FreeBSD build are in the txt file attached. 11 of them.

3_Test.txt

@DiegoMagdaleno
Copy link
Contributor

For FreeBSD I am able to notice the issue, it looks like the compatibility library might need some changes when on FreeBSD.

Due to my timezone and University I'll be checking FreeBSD issues tomorrow, once I setup a virtual machine.

Thank for helping in diverse compatibility checks.

@andy5995
Copy link
Member Author

Sure, there is no rush. Get some rest! I appreciate your help.

@DiegoMagdaleno
Copy link
Contributor

@andy5995 I added some fixes for FreeBSD, can you please check if some errors are fixed?

@DiegoMagdaleno
Copy link
Contributor

I pushed some more fixes, should fix some declaration issues..

@andy5995
Copy link
Member Author

@DiegoMagdaleno I just applied your second patch now. We'll see shortly if it works. Thanks!

@andy5995
Copy link
Member Author

I pushed some more fixes, should fix some declaration issues..

Working now! All builds completing and tests passing. :)

@DiegoMagdaleno
Copy link
Contributor

Great!

@andy5995 andy5995 marked this pull request as ready for review January 27, 2023 17:01
@andy5995 andy5995 merged commit 63ce274 into master Jan 27, 2023
@andy5995 andy5995 deleted the replace-rm branch January 27, 2023 17:03
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

Successfully merging this pull request may close these issues.

2 participants