Skip to content

Fix and re-enable Scala-Native build (500USD Bounty) #395

Closed

Description

@lihaoyi

From the maintainer Li Haoyi: I'm putting a 500USD bounty on this issue, payable by bank transfer on a merged PR implementing this.

See https://github.com/orgs/com-lihaoyi/discussions/6 for other bounties and the terms and conditions that bounties operate under


This ticket is to fix the failures in the Scala-Native build (WIP PR here #394) so that we can re-enable publishing for Scala-Native.

Some tests can probably be fixed, others will need to be moved to src-jvm/ to run only on the JVM. Each JVM only test will need an explanation for why it cannot be fixed in scala-native and needs to be disabled for that platform

Activity

  1. LeeTibbert commented on Jun 10, 2025

    @LeeTibbert

    Please see the discussion in PR #394.
    I realize and appreciate, all to well, that things take time.

    I believe that upgrading to SN 0.5.8 and making the small edit to isExecutable() will
    allow os-lib to build and run correctly.

    The light bulb works on my system ;-)

    PS: in working with os-lib, I've grown to like it and its approach.

  2. LeeTibbert commented on Jun 29, 2025

    @LeeTibbert

    Update:

    After Scala Native PR #4383 merges the small edit mentioned above should no longer
    be necessary. Details in os-lib PR #394.

    Short story:

    I believe that os-lib will then build cleanly with Scala Native and pass tests.
    My time is severely limited over the Summer, but I will try to do a private os-lib build
    after the indicated SN PR merges.

  3. rishi-jat commented on Sep 1, 2025

    @rishi-jat
    Contributor

    @lihaoyi can I work on this issue?

  4. lihaoyi commented on Sep 1, 2025

    @lihaoyi
    MemberAuthor

    @rishi-jat please go ahead

  5. rishi-jat commented on Sep 1, 2025

    @rishi-jat
    Contributor

    @lihaoyi I’ve submitted PR #400 to address this issue. Could you please review it when you get a chance? Thank you!

  6. LeeTibbert commented on Sep 1, 2025

    @LeeTibbert

    @rishi-jat

    Thank you for moving this along. It is nice to see progress.

    I'll add more detail in the os-lib PR #400

  7. rishi-jat commented on Sep 1, 2025

    @rishi-jat
    Contributor

    Thank you for the encouragement, @LeeTibbert I appreciate your guidance and will make sure to follow any additional details you add in PR #400.

  8. added a commit that references this issue on Oct 21, 2025
    f890e87
  9. LeeTibbert commented on Oct 21, 2025

    @LeeTibbert

    @WojciechMazur

    You may be pleased to know that os-lib support for SN 0.5.9 has merged.
    There there is still a rare Process hang under stress that I am chasing.

  10. LeeTibbert commented on Oct 21, 2025

    @LeeTibbert

    Looks like one(?) ProcessPipelineTest failed when running Scala Native? Is that
    because of Scala Versions or do I need to be concerned? Should I try running
    that series of tests locally?

    Please advise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions