Code Monkey home page Code Monkey logo

homebrew-linux-fonts's Introduction

Homebrew (Legacy)

This repository was deprecated and split into two repositories:

homebrew-linux-fonts's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

homebrew-linux-fonts's Issues

Cannot tap into linuxbrew/fonts (invalid syntax in tap)

General troubleshooting steps

Description of issue

The formula font-meltho has an invalid minor string, this blocks taping into linuxbrew/fonts.

Output of your command with --verbose --debug

~
❯ brew tap linuxbrew/fonts
==> Tapping linuxbrew/fonts
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts'...
remote: Enumerating objects: 1213, done.
remote: Counting objects: 100% (1213/1213), done.
remote: Compressing objects: 100% (490/490), done.
remote: Total 1213 (delta 756), reused 949 (delta 722), pack-reused 0
Receiving objects: 100% (1213/1213), 223.18 KiB | 526.00 KiB/s, done.
Resolving deltas: 100% (756/756), done.
Error: Invalid formula: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-meltho.rb
font-meltho: undefined method `minor' for "2018.06":String
Error: Cannot tap linuxbrew/fonts: invalid syntax in tap!

Output of brew cask doctor

~
❯ brew doctor
Your system is ready to brew.

Can't tap these fonts

General troubleshooting steps

Description of issue

Whenever I try to tap this fonts directory, I get errors saying that almost every formulea is broken. I have tried it with:

brew tap linuxbrew/fonts
brew tap linuxbrew/homebrew-fonts

and

brew tap linuxbrew/fonts --verbose --debug

with no success. All give a variant of this error repeatedly:

Error: Invalid formula: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-titillium.rb
font-titillium: undefined method `csv' for "2.0,258e06fe34c35320321f0458e6625bba":String

Output of your command with --verbose --debug

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/git --version
==> Tapping linuxbrew/fonts
git clone https://github.com/Linuxbrew/homebrew-fonts /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts --origin=origin --template=
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts'...
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-copse.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-red-hat-display.r
[...]
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-kufam.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-bangers.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-poller-one.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-spline-sans.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-fasthand.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-alata.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-fuzzy-bubbles.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-genshingothic.rb
Error: Invalid formula: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-genshingothic.rb
font-genshingothic: undefined method `csv' for "20150607,8.637":String
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-questrial.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-warnes.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-turret-road.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-viaoda-libre.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-cuprum.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-coda.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-cochineal.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-yuji-hentaigana-akebono.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-poppins.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-barlow-semi-condensed.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-red-hat-text.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-frijole.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-seaweed-script.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-gotu.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-iosevka-curly-slab.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-phetsarath.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-kumbh-sans.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-roboto-mono-nerd-font.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-exo.rb
Error: Cannot tap linuxbrew/fonts: invalid syntax in tap!
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/tap.rb:308:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/tap.rb:65:in `tap'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:110:in `<main>'

Output of brew cask doctor

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Homebrew's "sbin" was not found in your PATH but you have installed
formulae that put executables in /home/linuxbrew/.linuxbrew/sbin.
Consider setting your PATH for example like so:
  echo 'export PATH="/home/linuxbrew/.linuxbrew/sbin:$PATH"' >> ~/.zshrc

Could not transform the cask for Source Code Pro

GitHub Actions failed to run as following.
We should update the transform script.

"< ./homebrew-cask-fonts/Casks/font-source-code-pro.rb"
1762
/opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/parslet-1.8.2/lib/parslet/cause.rb:70:in `raise': Failed to match sequence ('cask' SPACE name:STRING SPACE 'do' SPACE before:(((COMMAND / COMMENT) SPACE){0, }) fonts:((FONT SPACE){0, }) after:(((COMMAND / COMMENT) SPACE){0, }) 'end' ' (Parslet::ParseFailed)
1763
') at line 6 char 78.
1764
	from /opt/hostedtoolcache/Ruby/2.6.6/x64/lib/ruby/gems/2.6.0/gems/parslet-1.8.2/lib/parslet/atoms/base.rb:49:in `parse'
1765
	from cask2formula:138:in `block in convert'
1766
	from cask2formula:135:in `each'
1767
	from cask2formula:135:in `convert'
1768
	from cask2formula:156:in `<main>'

Fail when try to install any font

General troubleshooting steps

Description of issue

Fail when try to install any font.

Output of your command with --verbose --debug

❯ brew install font-jetbrains-mono-nerd-font --verbose --debug
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-linux-fonts/Formula/font-jetbrains-mono-nerd-font.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-linux-fonts/Formula/font-jetbrains-mono-nerd-font.rb
Error: font-jetbrains-mono-nerd-font: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-linux-fonts/Formula/font-jetbrains-mono-nerd-font.rb:1: `@4' is not allowed as an instance variable name
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-linux-fonts/Formula/font-jetbrains-mono-nerd-font.rb:1: syntax error, unexpected end-of-input, expecting ']'
... :before=>["version \"3.0.1\""@42, "sha256 \"977f16dcb70c45b...
...                              ^

Output of brew cask doctor

❯ brew cask doctor
Error: `brew cask` is no longer a `brew` command. Use `brew <command> --cask` instead.

❯ brew doctor --cask
Usage: brew doctor, dr [--list-checks] [--audit-debug] [diagnostic_check ...]

Check your system for potential problems. Will exit with a non-zero status if
any potential problems are found. Please note that these warnings are just used
to help the Homebrew maintainers with debugging if you file an issue. If
everything you use Homebrew for is working fine: please don't worry or file an
issue; just ignore this.

      --list-checks                List all audit methods, which can be run
                                   individually if provided as arguments.
  -D, --audit-debug                Enable debugging and profiling of audit
                                   methods.
  -d, --debug                      Display any debugging information.
  -q, --quiet                      Make some output more quiet.
  -v, --verbose                    Make some output more verbose.
  -h, --help                       Show this message.
Error: invalid option: --cask

❯ brew doctor
Your system is ready to brew.

Unable to install font-source-code-pro

General troubleshooting steps

Description of issue

brew install font-source-code-pro

failed with following messages

Output of your command with --verbose --debug

==> Downloading https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
/usr/bin/curl -q --show-error --user-agent Linuxbrew/1.9.2-35-gcf32929\ \(Linux\;\ x86_64\ Ubuntu\ 18.04.1\ LTS\)\ curl/7.58.0 --location --silent --head https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
Already downloaded: /home/tang/.cache/Homebrew/downloads/3ffe0849cea63ece8967c7d84cfba12cab8dfda8e6d1c8d8ec6751522f3b181b--source-code-pro-2.030R-ro-1.050R-it.zip
==> Verifying 3ffe0849cea63ece8967c7d84cfba12cab8dfda8e6d1c8d8ec6751522f3b181b--source-code-pro-2.030R-ro-1.050R-it.zip checksum
unzip /home/tang/.cache/Homebrew/downloads/3ffe0849cea63ece8967c7d84cfba12cab8dfda8e6d1c8d8ec6751522f3b181b--source-code-pro-2.030R-ro-1.050R-it.zip -d /tmp/d20190119-10591-cxl37u
cp -pR /tmp/d20190119-10591-cxl37u/source-code-pro-2.030R-ro-1.050R-it/. /tmp/font-source-code-pro-20190119-10591-1uxlm3l/source-code-pro-2.030R-ro-1.050R-it
chmod -Rf +w /tmp/d20190119-10591-cxl37u
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/debrew.rb:11:in `raise'
Errno::ENOENT: No such file or directory - source-code-pro-2.030R-ro-1.050R-it/OTF/SourceCodePro-Black.otf

brew doctor always show the warning

General troubleshooting steps

Description of issue

Output of your command with --verbose --debug

Output of brew doctor

brew doctor gives me warning:
Warning: Found Ruby file outside ta2gch/fonts tap formula directory
(/opt/.linuxbrew/Homebrew/Library/Taps/ta2gch/homebrew-fonts/Formula):
  /opt/.linuxbrew/Homebrew/Library/Taps/ta2gch/homebrew-fonts/cask2formula.rb

Readme suggests wrong tap name

General troubleshooting steps

Description of issue

Instructions in README say to tap brew tap ta2gch/fonts, correct tap is now brew tap Linuxbrew/fonts

GitHub Actions

Circle CI was stopped for some reason. We are going to use GitHub Actions instead of that.

A number of (mostly/all nerd-) fonts have broken paths

General troubleshooting steps

Description of issue

I stepped away from a linux install in which I have installed many fonts. I have come back, and did a brew update && brew upgrade. I kept running into errors with the font packages. I stepped away again, because I didn't have time to bother debugging.

On a new linux machine, with a fresh-ish homebrew installation-- brew install ont-ubuntu-mono-nerd-font fails. Looking at the zip, the paths of the fonts are wrong.

Example fix for the above mentioned font:

From 8a85a209c2542ad50d8539d171a39a9210359618 Mon Sep 17 00:00:00 2001
From: 13steinj <[email protected]>
Date: Wed, 10 Apr 2024 20:03:54 -0500
Subject: [PATCH] Fix Ubuntu Mono Nerd Font paths

---
 Formula/font-ubuntu-mono-nerd-font.rb | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/Formula/font-ubuntu-mono-nerd-font.rb b/Formula/font-ubuntu-mono-nerd-font.rb
index 5cbc1837a..877e30df2 100644
--- a/Formula/font-ubuntu-mono-nerd-font.rb
+++ b/Formula/font-ubuntu-mono-nerd-font.rb
@@ -6,18 +6,18 @@ class FontUbuntuMonoNerdFont < Formula
   desc "Developer targeted fonts with a high number of glyphs"
   homepage "https://github.com/ryanoasis/nerd-fonts"
   def install
-    (share/"fonts").install "UbuntuMono/" + "UbuntuMonoNerdFont-Bold.ttf"
-    (share/"fonts").install "UbuntuMono/" + "UbuntuMonoNerdFont-BoldItalic.ttf"
-    (share/"fonts").install "UbuntuMono/" + "UbuntuMonoNerdFont-Italic.ttf"
-    (share/"fonts").install "UbuntuMono/" + "UbuntuMonoNerdFont-Regular.ttf"
-    (share/"fonts").install "UbuntuMono/" + "UbuntuMonoNerdFontMono-Bold.ttf"
-    (share/"fonts").install "UbuntuMono/" + "UbuntuMonoNerdFontMono-BoldItalic.ttf"
-    (share/"fonts").install "UbuntuMono/" + "UbuntuMonoNerdFontMono-Italic.ttf"
-    (share/"fonts").install "UbuntuMono/" + "UbuntuMonoNerdFontMono-Regular.ttf"
-    (share/"fonts").install "UbuntuMono/" + "UbuntuMonoNerdFontPropo-Bold.ttf"
-    (share/"fonts").install "UbuntuMono/" + "UbuntuMonoNerdFontPropo-BoldItalic.ttf"
-    (share/"fonts").install "UbuntuMono/" + "UbuntuMonoNerdFontPropo-Italic.ttf"
-    (share/"fonts").install "UbuntuMono/" + "UbuntuMonoNerdFontPropo-Regular.ttf"
+    (share/"fonts").install "UbuntuMonoNerdFont-Bold.ttf"
+    (share/"fonts").install "UbuntuMonoNerdFont-BoldItalic.ttf"
+    (share/"fonts").install "UbuntuMonoNerdFont-Italic.ttf"
+    (share/"fonts").install "UbuntuMonoNerdFont-Regular.ttf"
+    (share/"fonts").install "UbuntuMonoNerdFontMono-Bold.ttf"
+    (share/"fonts").install "UbuntuMonoNerdFontMono-BoldItalic.ttf"
+    (share/"fonts").install "UbuntuMonoNerdFontMono-Italic.ttf"
+    (share/"fonts").install "UbuntuMonoNerdFontMono-Regular.ttf"
+    (share/"fonts").install "UbuntuMonoNerdFontPropo-Bold.ttf"
+    (share/"fonts").install "UbuntuMonoNerdFontPropo-BoldItalic.ttf"
+    (share/"fonts").install "UbuntuMonoNerdFontPropo-Italic.ttf"
+    (share/"fonts").install "UbuntuMonoNerdFontPropo-Regular.ttf"
   end
   # No zap stanza required
 
-- 
2.44.0

It is similarly possible that not all fonts are installed (I haven't checked this zip, nor others).
I'd submit PRs but wanted to make an issue first because:

  • I'd be doing it mostly ad-hoc, and don't want to spam PRs without some green light
  • It's possible the maintainers have an automated generator / fix that I don't know about.

Output of your command with --verbose --debug

==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromNameLoader): loading font-ubuntu-mono-nerd-font
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromNameLoader): loading font-ubuntu-mono-nerd-font
==> Fetching homebrew/linux-fonts/font-ubuntu-mono-nerd-font
==> Downloading https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.0/UbuntuMono.zip
/usr/bin/env /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.2.17-47-g2f58aaa\ \(Linux\;\ x86_64\ Ubuntu\ 22.04.4\ LTS\)\ curl/7.81.0 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.0/UbuntuMono.zip
Already downloaded: /home/steinj13/.cache/Homebrew/downloads/68ec1c8cdf91145f9a3bd2b870c958414ac5aea5aa849f10d49ba13f869e338e--UbuntuMono.zip
==> Verifying checksum for '68ec1c8cdf91145f9a3bd2b870c958414ac5aea5aa849f10d49ba13f869e338e--UbuntuMono.zip'
==> Installing font-ubuntu-mono-nerd-font from homebrew/linux-fonts
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FromTapLoader): loading homebrew/linux-fonts/font-ubuntu-mono-nerd-font
/usr/bin/env /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/git --version
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FromPathLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-linux-fonts/Formula/font-ubuntu-mono-nerd-font.rb
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FromAPILoader): loading gcc@11
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FromAPILoader): loading binutils
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FromAPILoader): loading make
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FromAPILoader): loading gcc
/usr/bin/env /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/git --version
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FromAPILoader): loading gcc@11
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FromAPILoader): loading gcc
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FromAPILoader): loading gcc@11
/usr/bin/env PATH=/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/binutils/bin:/usr/bin:/bin:/usr/sbin:/sbin unzip -o /home/steinj13/.cache/Homebrew/downloads/68ec1c8cdf91145f9a3bd2b870c958414ac5aea5aa849f10d49ba13f869e338e--UbuntuMono.zip -d /tmp/homebrew-unpack20240410-1806847-fcb2t4
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/UbuntuMonoNerdFontPropo-BoldItalic.ttf /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/UbuntuMonoNerdFontPropo-BoldItalic.ttf
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/UbuntuMonoNerdFontMono-Italic.ttf /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/UbuntuMonoNerdFontMono-Italic.ttf
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/UbuntuMonoNerdFont-Bold.ttf /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/UbuntuMonoNerdFont-Bold.ttf
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/LICENCE-FAQ.txt /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/LICENCE-FAQ.txt
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/UbuntuMonoNerdFontMono-Regular.ttf /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/UbuntuMonoNerdFontMono-Regular.ttf
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/UbuntuMonoNerdFontPropo-Bold.ttf /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/UbuntuMonoNerdFontPropo-Bold.ttf
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/UbuntuMonoNerdFontMono-BoldItalic.ttf /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/UbuntuMonoNerdFontMono-BoldItalic.ttf
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/UbuntuMonoNerdFontPropo-Regular.ttf /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/UbuntuMonoNerdFontPropo-Regular.ttf
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/README.md /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/README.md
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/UbuntuMonoNerdFontPropo-Italic.ttf /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/UbuntuMonoNerdFontPropo-Italic.ttf
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/LICENCE.txt /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/LICENCE.txt
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/UbuntuMonoNerdFontMono-Bold.ttf /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/UbuntuMonoNerdFontMono-Bold.ttf
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/UbuntuMonoNerdFont-BoldItalic.ttf /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/UbuntuMonoNerdFont-BoldItalic.ttf
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/UbuntuMonoNerdFont-Regular.ttf /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/UbuntuMonoNerdFont-Regular.ttf
/usr/bin/env cp -pR /tmp/homebrew-unpack20240410-1806847-fcb2t4/UbuntuMonoNerdFont-Italic.ttf /tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja/UbuntuMonoNerdFont-Italic.ttf
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/ignorable.rb:29:in `block in raise'
Errno::ENOENT: No such file or directory - UbuntuMono/UbuntuMonoNerdFont-Bold.ttf
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 1
==> Temporary files retained at:
/tmp/font-ubuntu-mono-nerd-font-20240410-1806847-7zwfja
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory - UbuntuMono/UbuntuMonoNerdFont-Bold.ttf
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/ignorable.rb:29:in `block in raise'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/ignorable.rb:28:in `callcc'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/ignorable.rb:28:in `raise'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/pathname.rb:119:in `install_p'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11338/lib/types/private/methods/call_validation.rb:270:in `bind_call'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11338/lib/types/private/methods/call_validation.rb:270:in `validate_call'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11338/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/pathname.rb:111:in `block in install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/pathname.rb:92:in `each'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/pathname.rb:92:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11338/lib/types/private/methods/call_validation.rb:270:in `bind_call'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11338/lib/types/private/methods/call_validation.rb:270:in `validate_call'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/sorbet-runtime-0.5.11338/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-linux-fonts/Formula/font-ubuntu-mono-nerd-font.rb:9:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/debrew.rb:17:in `block in install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/debrew.rb:88:in `debrew'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/debrew.rb:17:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb:179:in `block (3 levels) in install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:495:in `with_env'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb:139:in `block (2 levels) in install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1418:in `block in brew'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:3000:in `block (2 levels) in stage'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:495:in `with_env'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2999:in `block in stage'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/resource.rb:129:in `block (2 levels) in unpack'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/download_strategy.rb:121:in `chdir'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/download_strategy.rb:113:in `stage'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/resource.rb:125:in `block in unpack'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `block in run'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `chdir'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `run'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/resource.rb:226:in `stage_resource'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/resource.rb:124:in `unpack'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/resource.rb:98:in `stage'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/forwardable.rb:238:in `stage'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2979:in `stage'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1411:in `brew'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb:133:in `block in install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:495:in `with_env'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb:125:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb:231:in `<main>'

Output of brew cask doctor

Error: `brew cask` is no longer a `brew` command. Use `brew <command> --cask` instead.

lol part 1

β”Œβ”€[steinj13@colpdev01] - [~] - [Wed Apr 10, 20:15]
└─[$] <> brew doctor --cask
Usage: brew doctor, dr [--list-checks] [--audit-debug] [diagnostic_check ...]

Check your system for potential problems. Will exit with a non-zero status if
any potential problems are found.

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this.

      --list-checks                List all audit methods, which can be run
                                   individually if provided as arguments.
  -D, --audit-debug                Enable debugging and profiling of audit
                                   methods.
  -d, --debug                      Display any debugging information.
  -q, --quiet                      Make some output more quiet.
  -v, --verbose                    Make some output more verbose.
  -h, --help                       Show this message.
Error: invalid option: --cask

lol part 2, methinks the template needs some updating ;)

Errno::ENOENT: No such file or directory - RobotoCondensed-Italic[wght].ttf

General troubleshooting steps

Description of issue

Some packages (in particular roboto-*) fail to install with the error Errno::ENOENT: No such file or directory - RobotoCondensed-Italic[wght].ttf. The problem is reproducible with homebrew/brew Docker image:

$ docker run -ti homebrew/brew bash
Unable to find image 'homebrew/brew:latest' locally
latest: Pulling from homebrew/brew
3153aa388d02: Already exists 
293b53d649ee: Pull complete 
23904a6b4a1d: Pull complete 
4f4fb700ef54: Pull complete 
95a90b7c42e3: Pull complete 
Digest: sha256:b7982fe3af40516fc1345a7d07979286520b5e5b8a8912594bd5b485d8d3171a
Status: Downloaded newer image for homebrew/brew:latest
linuxbrew@8528a9c2c105:~$ brew tap homebrew/linux-fonts 
==> Tapping homebrew/linux-fonts
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-linux-fonts'...
remote: Enumerating objects: 90254, done.
remote: Counting objects: 100% (436/436), done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 90254 (delta 383), reused 427 (delta 380), pack-reused 89818
Receiving objects: 100% (90254/90254), 13.11 MiB | 5.64 MiB/s, done.
Resolving deltas: 100% (76012/76012), done.
Tapped 2081 formulae (2,108 files, 17.6MB).
linuxbrew@8528a9c2c105:~$ brew install font-roboto-condensed --HEAD
==> Fetching homebrew/linux-fonts/font-roboto-condensed
==> Cloning https://github.com/google/fonts.git
Cloning into '/home/linuxbrew/.cache/Homebrew/font-roboto-condensed--git-sparse'...
==> Checking out branch main
Already on 'main'
Your branch is up to date with 'origin/main'.
==> Installing font-roboto-condensed from homebrew/linux-fonts
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory - RobotoCondensed-Italic[wght].ttf

Output of your command with --verbose --debug

$ brew install font-roboto-condensed --verbose --debug --HEAD
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-linux-fonts/Formula/font-roboto-condensed.rb
/usr/bin/env /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/git --version
==> Fetching homebrew/linux-fonts/font-roboto-condensed
==> Cloning https://github.com/google/fonts.git
/usr/bin/env git --git-dir /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/.git status -s
Updating /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse
/usr/bin/env git config remote.origin.url https://github.com/google/fonts.git
/usr/bin/env git config remote.origin.fetch \+refs/heads/main:refs/remotes/origin/main
/usr/bin/env git config remote.origin.tagOpt --no-tags
/usr/bin/env git config advice.detachedHead false
/usr/bin/env git config core.fsmonitor false
/usr/bin/env git config origin.partialclonefilter blob:none
/usr/bin/env git config core.sparseCheckout true
/usr/bin/env git config core.sparseCheckoutCone true
/usr/bin/env git fetch origin
==> Checking out branch main
/usr/bin/env git checkout -f main --
Already on 'main'
Your branch is up to date with 'origin/main'.
/usr/bin/env git reset --hard origin/main --
HEAD is now at 51621227 Merge pull request #6599 from eliheuer/elih-to-lists-aug-4
/usr/bin/env git submodule foreach --recursive git\ submodule\ sync
/usr/bin/env git submodule update --init --recursive
/usr/bin/env git submodule --quiet foreach --recursive pwd
/usr/bin/env git --git-dir /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/.git rev-parse --short=7 HEAD
==> Installing font-roboto-condensed from homebrew/linux-fonts
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaAPILoader): loading gcc@11 from API
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaAPILoader): loading binutils from API
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaAPILoader): loading make from API
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb (Formulary::FormulaAPILoader): loading gcc from API
/usr/bin/env git --git-dir /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/.git rev-parse --short=7 HEAD
/usr/bin/env hdiutil imageinfo -format /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/ofl/. /tmp/d20230807-220613-1isycrw/ofl
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/.gitignore /tmp/d20230807-220613-1isycrw/.gitignore
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/CODE_OF_CONDUCT.md /tmp/d20230807-220613-1isycrw/CODE_OF_CONDUCT.md
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/CONTRIBUTORS.txt /tmp/d20230807-220613-1isycrw/CONTRIBUTORS.txt
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/AUTHORS.txt /tmp/d20230807-220613-1isycrw/AUTHORS.txt
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/to_delist.txt /tmp/d20230807-220613-1isycrw/to_delist.txt
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/to_production.txt /tmp/d20230807-220613-1isycrw/to_production.txt
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/.git/. /tmp/d20230807-220613-1isycrw/.git
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/CONTRIBUTING.md /tmp/d20230807-220613-1isycrw/CONTRIBUTING.md
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/TRIVIA.md /tmp/d20230807-220613-1isycrw/TRIVIA.md
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/.gitattributes /tmp/d20230807-220613-1isycrw/.gitattributes
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/.gitmodules /tmp/d20230807-220613-1isycrw/.gitmodules
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/README.md /tmp/d20230807-220613-1isycrw/README.md
/usr/bin/env cp -pR /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/to_sandbox.txt /tmp/d20230807-220613-1isycrw/to_sandbox.txt
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/ofl/. /tmp/font-roboto-condensed-20230807-220613-kej6yp/ofl
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/.gitignore /tmp/font-roboto-condensed-20230807-220613-kej6yp/.gitignore
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/CODE_OF_CONDUCT.md /tmp/font-roboto-condensed-20230807-220613-kej6yp/CODE_OF_CONDUCT.md
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/CONTRIBUTORS.txt /tmp/font-roboto-condensed-20230807-220613-kej6yp/CONTRIBUTORS.txt
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/AUTHORS.txt /tmp/font-roboto-condensed-20230807-220613-kej6yp/AUTHORS.txt
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/to_delist.txt /tmp/font-roboto-condensed-20230807-220613-kej6yp/to_delist.txt
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/to_production.txt /tmp/font-roboto-condensed-20230807-220613-kej6yp/to_production.txt
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/.git/. /tmp/font-roboto-condensed-20230807-220613-kej6yp/.git
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/CONTRIBUTING.md /tmp/font-roboto-condensed-20230807-220613-kej6yp/CONTRIBUTING.md
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/TRIVIA.md /tmp/font-roboto-condensed-20230807-220613-kej6yp/TRIVIA.md
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/.gitattributes /tmp/font-roboto-condensed-20230807-220613-kej6yp/.gitattributes
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/.gitmodules /tmp/font-roboto-condensed-20230807-220613-kej6yp/.gitmodules
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/README.md /tmp/font-roboto-condensed-20230807-220613-kej6yp/README.md
/usr/bin/env cp -pR /tmp/d20230807-220613-1isycrw/to_sandbox.txt /tmp/font-roboto-condensed-20230807-220613-kej6yp/to_sandbox.txt
/usr/bin/env git --git-dir /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/.git show -s --format=\%cD
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/ignorable.rb:29:in `block in raise'
Errno::ENOENT: No such file or directory - RobotoCondensed-Italic[wght].ttf
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 1
==> Temporary files retained at:
/tmp/font-roboto-condensed-20230807-220613-kej6yp
/usr/bin/env git --git-dir /home/user/.cache/Homebrew/font-roboto-condensed--git-sparse/.git rev-parse --short=7 HEAD
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory - RobotoCondensed-Italic[wght].ttf
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/ignorable.rb:29:in `block in raise'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/ignorable.rb:28:in `callcc'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/ignorable.rb:28:in `raise'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/pathname.rb:116:in `install_p'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/pathname.rb:108:in `block in install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/pathname.rb:89:in `each'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/pathname.rb:89:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-linux-fonts/Formula/font-roboto-condensed.rb:6:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/debrew.rb:17:in `block in install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/debrew.rb:88:in `debrew'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/debrew.rb:17:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb:177:in `block (3 levels) in install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:499:in `with_env'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb:139:in `block (2 levels) in install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1421:in `block in brew'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2908:in `block (2 levels) in stage'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:499:in `with_env'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2907:in `block in stage'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/resource.rb:128:in `block (2 levels) in unpack'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/download_strategy.rb:113:in `chdir'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/download_strategy.rb:105:in `stage'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/resource.rb:124:in `block in unpack'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `block in run'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `chdir'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `run'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/resource.rb:228:in `stage_resource'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/resource.rb:123:in `unpack'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/resource.rb:97:in `stage'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.10_1/lib/ruby/2.6.0/forwardable.rb:230:in `stage'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2887:in `stage'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1414:in `brew'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb:133:in `block in install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:499:in `with_env'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb:128:in `install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/build.rb:229:in `<main>'

Output of brew cask doctor

Not applicable, it's linuxbrew. brew doctor doesn't find anything worth mentioning.

Cannot tap repo because invalid URL for Source Sans Pro causes invalid syntax in tap

General troubleshooting steps

Description of issue

I suddenly can't tap linuxbrew/fonts. Started a few days ago (well, was working a few weeks ago).

Output of your command with --verbose --debug

(it is without --verbose --debug because I don't think it adds more information, just noise. The error is the same. I can post it separately, though, if really needed)

$ brew tap linuxbrew/fonts
Updating Homebrew...
==> Tapping linuxbrew/fonts
git clone https://github.com/Linuxbrew/homebrew-fonts /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts'...
remote: Enumerating objects: 57771, done.
remote: Total 57771 (delta 0), reused 0 (delta 0), pack-reused 57771
Receiving objects: 100% (57771/57771), 8.08 MiB | 4.09 MiB/s, done.
Resolving deltas: 100% (46156/46156), done.
Error: Invalid formula: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts/Formula/font-source-sans-pro.rb
invalid attribute for formula 'linuxbrew/fonts/font-source-sans-pro': url ("https://github.com/adobe-fonts/source-sans-pro/releases/download/3.028R/source-sans-3\n  v 028R.zip")
Error: Cannot tap linuxbrew/fonts: invalid syntax in tap!

Output of brew cask doctor

$ brew cask doctor
==> Tapping homebrew/cask
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-cask'...
remote: Enumerating objects: 41, done.
remote: Counting objects: 100% (41/41), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 576453 (delta 24), reused 1 (delta 0), pack-reused 576412
Receiving objects: 100% (576453/576453), 241.56 MiB | 3.92 MiB/s, done.
Resolving deltas: 100% (410325/410325), done.
Tapped 1 command and 3751 casks (3,869 files, 260.0MB).
Warning: Calling brew cask doctor is deprecated! Use brew doctor --verbose instead.
==> Homebrew Version
2.6.0
==> macOS

==> SIP
N/A
==> Java
N/A
==> Homebrew Cask Staging Location
/home/linuxbrew/.linuxbrew/Caskroom
==> Homebrew Cask Taps:
/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-cask (3751 casks)
==> $LOAD_PATHS
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/sorbet-runtime-stub-0.2.0/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-2.5.0/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-sorbet-0.5.1/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-2.0.0/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.9.1/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.5.0/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/patchelf-1.3.0/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.7.6/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/elftools-1.1.3/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov_json_formatter-0.1.2/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/bindata-2.4.8/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-6.0.3.4/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/zeitwerk-2.4.1/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-1.2.8/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thread_safe-0.3.6/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.8.5/lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.7/lib/concurrent-ruby
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/x86_64-linux
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew
==> Cask Environment Variables:
BUNDLE_PATH
CHRUBY_VERSION
GEM_HOME
GEM_PATH
HOMEBREW_CASK_OPTS
LC_ALL
PATH
RBENV_VERSION
RUBYLIB
RUBYOPT
RUBYPATH
SHELL
unknown xattr error: No such file or directory - /usr/bin/xattr
There's not a working version of xattr.
Error: There are some problems with your setup.

SF Fonts

I notice that the SF (San Francisco) fonts were explicitly excluded last month in 30d6a41 - I'm assuming because they're packaged in a Mac-specific way.

It is possible to extract *.otf and *.ttf files from the downloaded packages using just p7zip (7z) though:

❯ curl -LO https://devimages-cdn.apple.com/design/resources/download/SF-Font-Pro.dmg
❯ 7z -txar e SF-Font-Pro.dmg SanFranciscoPro.pkg/Payload
❯ 7z -tgzip e Payload
❯ 7z -tcpio -o Fonts e Payload './Library/Fonts/*'
❯ rm SF-Font-Pro.dmg Payload 'Payload~'

I could add this as an install script to the individual formula, but that wouldn't play very nice with the auto-update script; I'm not familiar enough with ruby to add it automatically to the script itself.

Cannot Install font-fira-code

It seems fira-code has no root project directory but has otf/ dir in the product.
To solve this, brew should detect file extraction correctly.

$ brew install font-fira-code

Fonts not showing up to use after successful install

General troubleshooting steps

  • [x ] I have retried my command with --force and the issue is still present.
  • [x ] I have checked the instructions for reporting bugs (or making requests) before opening the issue.
    • [x ] None of the templates was appropriate for my issue, or I’m not sure.
  • [x ] I ran brew update-reset && brew update and retried my command.
  • [x ] I ran brew doctor, fixed as many issues as possible and retried my command.
  • [x ] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue

Tapping the linux-fonts work as well as installing fonts but nothing shows up.... Not sure if this is the culprit, but it seems that they are being installed at /home/linuxbrew/.linuxbrew/Cellar/ and not at my $HOME/.local/share/fonts:

❯ ls $HOME/.local/share/fonts
 1GothicA1-ExtraLight.ttf   Barlow-Light.ttf    'DIN Pro Light 300.otf'        GothicA1-ExtraLight.ttf      IBMPlexSans-ExtraLight.ttf   Jura-Light.ttf    'Promses Broken Dream1.ttf'
 Abel-Regular.ttf           Barlow-Regular.ttf   Dosis-VariableFont_wght.ttf   IBMPlexMono-ExtraLight.ttf   IBMPlexSans-Regular.ttf      Jura-Regular.ttf   scriptina.regular.ttf
 Barlow-ExtraLight.ttf      DEAT+DEAT.ttf        Fester-ExtraLight.otf         IBMPlexMono-Regular.ttf      IBMPlexSans-Thin.ttf         PDRPT.TTF          SpecialElite-Regular.ttf
❯ brew tap linuxbrew/fonts
==> Tapping linuxbrew/fonts
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-fonts'...
remote: Enumerating objects: 77801, done.
remote: Counting objects: 100% (144/144), done.
remote: Compressing objects: 100% (79/79), done.
remote: Total 77801 (delta 115), reused 83 (delta 65), pack-reused 77657
Receiving objects: 100% (77801/77801), 11.06 MiB | 9.44 MiB/s, done.
Resolving deltas: 100% (64010/64010), done.
Tapped 2021 formulae (2,047 files, 14.8MB).


brew install font-victor-mono-nerd-font font-iosevka-nerd-font
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).

==> Fetching linuxbrew/fonts/font-victor-mono-nerd-font
==> Downloading https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.3/VictorMono.zip
Already downloaded: /home/framirez/.cache/Homebrew/downloads/b593aae18f3758e13ad4145dcd6228d4cd1785e769107796ddbd6b8668b7673d--VictorMono.zip
==> Fetching linuxbrew/fonts/font-iosevka-nerd-font
==> Downloading https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.3/Iosevka.zip
Already downloaded: /home/framirez/.cache/Homebrew/downloads/c3c05316ef74cffe0ec41012b5b65f8db2855ecdc2b085057ebd2d926affcb32--Iosevka.zip
==> Installing font-victor-mono-nerd-font from linuxbrew/fonts
🍺  /home/linuxbrew/.linuxbrew/Cellar/font-victor-mono-nerd-font/2.3.3: 46 files, 89.2MB, built in 2 seconds
==> Running `brew cleanup font-victor-mono-nerd-font`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Installing font-iosevka-nerd-font from linuxbrew/fonts
🍺  /home/linuxbrew/.linuxbrew/Cellar/font-iosevka-nerd-font/2.3.3: 112 files, 961.8MB, built in 11 seconds
==> Running `brew cleanup font-iosevka-nerd-font`...

** Will post the output of the debug and verbose as a comment as it's too long to post here...**

Output of brew cask doctor

❯ brew cask doctor
Error: `brew cask` is no longer a `brew` command. Use `brew <command> --cask` instead.

but

❯ brew doctor
Your system is ready to brew.

Cannot install fira-mono due to Formula issue

Cannot install fira-mono:

==> Installing font-fira-mono from linuxbrew/fonts
==> Downloading https://github.com/mozilla/Fira/archive/4.202.tar.gz
Already downloaded: /home/liamdawson/.cache/Homebrew/downloads/98daa07772a1cd2a15163d5e8c73e5951c4d069da440c15f25cc6b7f8f6da8a3--Fira-4.202.tar.gz
Error: An exception occurred within a child process:
  NoMethodError: undefined method `after_comma' for #<Version:0x0000000004001578 @version="3.206,4.202">

Migrate to tani

Hi @tani, would you consider us migrating this repository to your user account e.g. tani/homebrew-fonts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.