-
-
Notifications
You must be signed in to change notification settings - Fork 80
Re-enable Scala-Native build #394
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
base: main
Are you sure you want to change the base?
Conversation
I'd like to see os-lib up and running on Scala Native again. I took a look at two of the log files; one for linux & one for macos. The good news is that they both have the same fundamental failure. Detecting child process exit on I'll have to see if I can replicate the error in a private os-lib build. I believe I have seen this "waitpid failed: No child processes", or its close kin, before in an May I assume the tests which fail on SN pass on JVM? As I mentioned on the SN Discourse channel:
An alternate 'obvious' fix would be to make (an ancestor of) the method in question This is the work of days & weeks, not hours. |
CI for SN PR #4349 appears in danger of succeeding. That PR is, hopefully, a "reduction in strength" change which might help this issue. The change is to not throw and to return an Process exit code of 1 (general error). This I do not know if the cited PR will be merged. I also do not know, beyond Real Soon Now, SN 0.5.8 My time is asymptotically zero over the next few months, but I will monitor this PR #394. Please do let me know what you experience. What do you think about disabling the problematic SubProcess Tests on Scala Native SN ProcessTest has a year old test for "waitfor after waitfor succeeds" so I think os-lib usage in |
quick update: With sufficient thrashing, I figured out how to run the tests. I established a baseline replicating I then ran the SubProcess tests against a version of Scala Native which incorporates In a future session, I want to run those tests in a loop for a few thousand executions. I did consistently see a 'isExecutable` test failure in another group of tests. I mention that failure here to help set expectations. The SN PR #4349 should reduce When the ECHILD (No such process) concerns settle, I'll try to chase the |
Status: 2025-05-29 I switched my attention to the failing "test.os.FilesystemMetadataTests.isExecutable.0",
|
Status: 2025-05-30 I have come to the point where I would like some guidance, as your time permits. Thank you.
|
Status: 2025-06-07 @lihaoyi @lefou @ekrich @WojciechMazur FYI
|
Once Scala Native PR #4383 (or successor) is merged, any After that PR is merged, I hope to again attempt building |
ZipOps.scala
just moved tosrc-jvm
for now since we rely on Java sourcesProcessHandle
APIs that previously were missing are now present in scala-native 0.5.7