vcs

  • Status Assigned
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category General
  • Assigned To
    outlyer
  • Operating System Other
  • Severity Medium
  • Priority Medium
  • Reported Version 1.13.4
  • Due in Version ?
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: vcs
Opened by outlyer - 05.04.2024
Last edited by outlyer - 05.04.2024

FS#382 - Look into detecting or setting manually GNU getopt

Reported by KW in comments: https://outlyer.net/2019-11-26:vcs-1-13-4-released/#comment-51875

With the new script I'm getting issues the following error:
No compatible version of getopt in path, can't continue.
Enhanced getopt (i.e. GNU getopt) is required

Added by Darko in comments: https://outlyer.net/2019-11-26:vcs-1-13-4-released/#comment-52719

The homebrew's version of vcs has this at line 186:
declare GETOPT=/opt/homebrew/opt/gnu-getopt/bin/getopt
While Toni's just uses whatever is on path:
declare GETOPT=getopt
… which on macOS is non-gnu version of getopt.

Added by X in comments: https://outlyer.net/2019-11-26:vcs-1-13-4-released/#comment-53401

The issue is on line 186. Brew version has this:
declare GETOPT=/usr/local/opt/gnu-getopt/bin/getopt
The trunk version has:
declare GETOPT=getopt
When I backport the most important change you did in the trunk version ('`fx:image.mean` > `fx:mean`') then indeed the error messages on '.mean*100' are gone.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing