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

[BUG] All macOS packages in the repo require macOS 10.15 #62720

Open
3 tasks done
pjcreath opened this issue Sep 20, 2022 · 0 comments
Open
3 tasks done

[BUG] All macOS packages in the repo require macOS 10.15 #62720

pjcreath opened this issue Sep 20, 2022 · 0 comments
Labels
Bug broken, incorrect, or confusing behavior MacOS pertains to the OS of fruit needs-triage Packaging Related to packaging of Salt, not Salt's support for package management.

Comments

@pjcreath
Copy link
Contributor

pjcreath commented Sep 20, 2022

Description
Support for Mojave (and 10.13) was perhaps dropped in 3005. However, all of the packages at (https://repo.saltproject.io/osx/), including 3002 through 3004, fail to run on anything older than 10.15.

The offending configuration seems to be here in 3004.2, but the 3004.1 package still requires 10.15 even though the 3004.1 build code doesn't appear to.

So how did these packages (especially 3004.1 and 3002.8) get built with a minimum target of 10.15 when their build_env.sh says MACOSX_DEPLOYMENT_TARGET=10.13?

Setup

  • VM (VMware Fusion) running macOS 10.13 High Sierra
  • classic packaging
  • trying to use bootstrap to install (FAILING)

Steps to Reproduce the behavior
sudo sh bootstrap-salt.sh -D stable 3002.8

(or 3002.9, 3003.4, 3003.5, 3004.1, 3004.2...you can't specify only a major version, see additional context below.)

Resulting error message
...
 * ERROR: salt-minion was not found running
 * ERROR: Failed to run daemons_running()!!!
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /opt/salt/bin/python3 (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /opt/salt/bin/python3 (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

Expected behavior
I would expect salt versions earlier than 3005 to successfully bootstrap on macOS older than 10.15.

Versions Report

bootstrap-salt.sh environment info
 *  INFO: Running version: 2022.08.13
 *  INFO: Executed by: shell pipe
 *  INFO: Command line: 'bootstrap-salt.sh -D'

 *  INFO: System Information:
 *  INFO:   CPU:          VMware7,1
 *  INFO:   CPU Arch:     x86_64
 *  INFO:   OS Name:      Darwin
 *  INFO:   OS Version:   17.7.0
 *  INFO:   Distribution: MacOSX 10.13.6

Additional context
Also, (https://repo.saltproject.io/osx/) is missing symlinks from major versions to their latest minor version. So, for example "sh bootstrap-salt.sh stable 3004" fails with:

 * ERROR: https://repo.saltproject.io/osx/salt-3004-py3-x86_64.pkg failed to download to /tmp/salt-3004-py3-x86_64.pkg
 * ERROR: Failed to run install_macosx_stable()!!!
@pjcreath pjcreath added Bug broken, incorrect, or confusing behavior needs-triage labels Sep 20, 2022
@OrangeDog OrangeDog added MacOS pertains to the OS of fruit Packaging Related to packaging of Salt, not Salt's support for package management. labels Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior MacOS pertains to the OS of fruit needs-triage Packaging Related to packaging of Salt, not Salt's support for package management.
Projects
None yet
Development

No branches or pull requests

2 participants