Description
Tried homebrew install method of task onto Ubuntu 26.04 - seems like fit for Mac only as currently setup, I'm not familiar with ruby so maybe adding something like "unless macos" before the if statement?
==> Tapping go-task/tap
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/go-task/homebrew-tap'...
Tapped 1 cask (18 files, 169.7KB).
==> Trusted cask go-task/tap/go-task
==> Would install 1 cask:
go-task/tap/go-task
==> Fetching downloads for: go-task/tap/go-task
✔︎ Cask go-task (3.53.1) Downloaded 14.8MB/ 14.8MB
==> Installing Cask go-task
==> Linking Binary 'task' to '/home/linuxbrew/.linuxbrew/bin/task'
==> Linking Bash Completion 'task.bash' to '/home/linuxbrew/.linuxbrew/etc/bash_completion.d/task'
==> Linking Fish Completion 'task.fish' to '/home/linuxbrew/.linuxbrew/share/fish/vendor_completions.d/task.fish'
==> Linking Zsh Completion '_task' to '/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_task'
env: '/usr/bin/xattr': No such file or directory
env: use -[v]S to pass options in shebang lines
==> Unlinking Zsh Completion '/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_task'
==> Unlinking Fish Completion '/home/linuxbrew/.linuxbrew/share/fish/vendor_completions.d/task.fish'
==> Unlinking Bash Completion '/home/linuxbrew/.linuxbrew/etc/bash_completion.d/task'
==> Unlinking Binary '/home/linuxbrew/.linuxbrew/bin/task'
==> Purging files for version 3.53.1 of Cask go-task
Error: go-task/tap/go-task: Failure while executing; `/usr/bin/env /usr/bin/xattr -h` exited with 127. Here's the output:
env: '/usr/bin/xattr': No such file or directory
env: use -[v]S to pass options in shebang lines
So just to test it out xattr was installed there
==> Would install 1 cask:
go-task/tap/go-task
==> Fetching downloads for: go-task/tap/go-task
✔︎ Cask go-task (3.53.1) Downloaded 14.8MB/ 14.8MB
==> Installing Cask go-task
==> Linking Binary 'task' to '/home/linuxbrew/.linuxbrew/bin/task'
==> Linking Bash Completion 'task.bash' to '/home/linuxbrew/.linuxbrew/etc/bash_completion.d/task'
==> Linking Fish Completion 'task.fish' to '/home/linuxbrew/.linuxbrew/share/fish/vendor_completions.d/task.fish'
==> Linking Zsh Completion '_task' to '/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_task'
==> Unlinking Zsh Completion '/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_task'
==> Unlinking Fish Completion '/home/linuxbrew/.linuxbrew/share/fish/vendor_completions.d/task.fish'
==> Unlinking Bash Completion '/home/linuxbrew/.linuxbrew/etc/bash_completion.d/task'
==> Unlinking Binary '/home/linuxbrew/.linuxbrew/bin/task'
==> Purging files for version 3.53.1 of Cask go-task
Error: go-task/tap/go-task: Failure while executing; `/usr/bin/env /usr/bin/xattr -dr com.apple.quarantine /home/linuxbrew/.linuxbrew/Caskroom/go-task/3.53.1/task` exited with 64. Here's the output:
option -r not recognized
usage: xattr [-slz] file [file ...]
xattr -p [-slz] attr_name file [file ...]
xattr -w [-sz] attr_name attr_value file [file ...]
xattr -d [-s] attr_name file [file ...]
xattr -c [-s] file [file ...]
The first form lists the names of all xattrs on the given file(s).
The second form (-p) prints the value of the xattr attr_name.
The third form (-w) sets the value of the xattr attr_name to attr_value.
The fourth form (-d) deletes the xattr attr_name.
The fifth form (-c) deletes (clears) all xattrs.
options:
-h: print this help
-s: act on symbolic links themselves rather than their targets
-l: print long format (attr_name: attr_value)
-z: compress or decompress (if compressed) attribute value in zip format
Version
3.53.1
Operating system
Linux Ubuntu 26.04
Experiments Enabled
No response
Example Taskfile
Description
Tried homebrew install method of task onto Ubuntu 26.04 - seems like fit for Mac only as currently setup, I'm not familiar with ruby so maybe adding something like "unless macos" before the if statement?
So just to test it out xattr was installed there
Version
3.53.1
Operating system
Linux Ubuntu 26.04
Experiments Enabled
No response
Example Taskfile