Skip to content

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

@cvortmann

Description

@cvortmann

Your Environment

  • mas version: 1.8.6
  • macOS version (system_profiler SPSoftwareDataType -detailLevel mini):
System Version: macOS 11.7.10 (20G1427)
Kernel Version: Darwin 20.6.0

mas Install Method

brew install mas (homebrew-core)

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

  1. Call brew upgrade with mas version 1.8.6 installed.

Expected Behavior

mas is upgraded 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

$ 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

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions