Skip to content

Cannot build 1.8.7+ on macOS < 12.3 because readlink doesn't accept -f flag #636

Closed
@cvortmann

Description

@cvortmann

Your Environment

  • mas version: 1.8.6
  • macOS version (system_profiler SPSoftwareDataType -detailLevel mini):
Software:

    System Software Overview:

      System Version: macOS 11.7.10 (20G1427)
      Kernel Version: Darwin 20.6.0
      Time since boot: 7 days 23:14

mas Install Method

  • brew install mas (homebrew-core)
  • mas-cli/tap
  • .pkg installer from releases
  • Built from source
    • Fork/branch: ? (e.g. mas-cli/main)
    • Xcode version: 10.?

Describe the Bug

When running brew upgrade the process of upgrading from 1.8.6 to 1.8.7 fails due to readlink: illegal option -- f.

To Reproduce

Steps to reproduce the behavior:

  1. Call brew upgrade with mas version 1.8.6 installed.

Expected Behavior

mas is upgrade to 1.8.7 successfully

Actual Behavior

The process fails. mas is locked on 1.8.6.

Screenshots, Terminal Output

Full Output of brew upgrade

==> Upgrading mas
  1.8.6 -> 1.8.7
==> script/build
Last 15 lines from /Users/.../Library/Logs/Homebrew/mas/01.build:
2024-11-14 10:26:26 +0000

script/build

readlink: illegal option -- f
usage: readlink [-n] [file ...]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions