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

runner 2.309.0 apparently runs on mac-10.13, but includes incompatible node binary #2879

Closed
chickenandpork opened this issue Sep 24, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@chickenandpork
Copy link

Describe the bug
The runner claims compatibility with MacOS-10.13 and later. The tarball seems to include a node binary that doesn't share the same compatibility with macos-10.13.

To Reproduce
Steps to reproduce the behavior:

  1. go into a Mac OS intel box running 10.13 (latest is 10.13.6 in that line)
  2. install normally: unpack, ./config.sh, ./run.sh
  3. Use this runner in a build
  4. Witness the error in the node binary (failed after 7 seconds, this is the first line of the build output):
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/actions-runner/externals/node20/bin/node (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

The part that makes me super-accusatory is "was built for Mac OS X 10.15", which may imply "won't work in the 10.13 that runner seems to support"

Expected behavior
Expected typical build job: build is picked up, built, happily completed.

Runner Version and Platform

runner-2.309.0

OS of the machine running the runner? OSX/Windows/Linux/...
intel mac (Macmini5,3) running macOS 10.13.6 (17G14042)

What's not working?

It seems though the work is done via a node v20 process included in the runner archive; this node binary does not support Mac-10.13, which seems an oversight: Runner claims to support macOS-10.13.
Screenshot 2023-09-24 at 02 09 09

Job Log Output

(runner tarball unpacked into /usr/local/actions-runner)

Run actions/checkout@v4
  with:
    repository: XXXXXXXX
    token: ***
    ssh-strict: true
    persist-credentials: true
    clean: true
    sparse-checkout-cone-mode: true
    fetch-depth: 1
    fetch-tags: false
    show-progress: true
    lfs: false
    submodules: false
    set-safe-directory: true
  env:
    HTTP_PROXY: XXXXXXXX
    HTTPS_PROXY: XXXXXXXX
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/actions-runner/externals/node20/bin/node (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /usr/local/actions-runner/externals/node20/bin/node (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib
@chickenandpork chickenandpork added the bug Something isn't working label Sep 24, 2023
chickenandpork added a commit to shipitshipit/macos-runner that referenced this issue Sep 24, 2023
chickenandpork added a commit to shipitshipit/macos-runner that referenced this issue Sep 24, 2023
@thboop
Copy link
Collaborator

thboop commented Sep 25, 2023

Hey @chickenandpork, in order to evolve the security of the Actions ecoysystem, we are moving towards node 20. Node16 has reached the end of its life. You can read about that effort here. Sadly High Sierra does not support node 20, and is no longer supported by Apple. We have a planned date to disable Node 16 in Spring of 2024, we would strongly encourage you to update your macos version before that time.

For now, reverting to the v3 version of checkout should solve your issue, as v4 is node20.

@thboop thboop closed this as completed Sep 25, 2023
@bryanmacfarlane
Copy link
Member

@chickenandpork
Copy link
Author

PR up over in docs FYI .. github/docs#28488

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants
@bryanmacfarlane @chickenandpork @thboop and others