Skip to content

Commit

Permalink
Update firefox.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev committed Apr 24, 2024
1 parent aa0bec1 commit 858384a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Formula/firefox.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
class Firefox < Formula

Check failure on line 1 in Formula/firefox.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Don't use 'git' as a dependency (it's always available)
desc "you know"
desc "You know"
homepage "https://mozilla.org"
url "https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py"
version "1.2"
sha256 "348d4dd6222fa5a5a796f4edc51228905a7f0a67f5301eb054e2f24640f76e82"
license ""
license "MIT"

depends_on "mercurial"
depends_on "git-cinnabar"

uses_from_macos "python"
depends_on "git" => :build
depends_on "git-cinnabar" => :build
depends_on "mercurial" => :build
depends_on "python@3.11" => :build
uses_from_macos "curl" => :build

def install

Check failure on line 15 in Formula/firefox.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

`brew install --verbose --build-bottle smillerdev/tap/firefox` failed on Linux!

==> Fetching smillerdev/tap/firefox ==> Downloading https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py Already downloaded: /home/runner/.cache/Homebrew/downloads/a038439a055a83c9324901f078f7b2cfd9c68cf2042b6468546c08ec3331c3e2--bootstrap.py ==> Verifying checksum for 'a038439a055a83c9324901f078f7b2cfd9c68cf2042b6468546c08ec3331c3e2--bootstrap.py' ==> Installing firefox from smillerdev/tap cp -p /home/runner/.cache/Homebrew/downloads/a038439a055a83c9324901f078f7b2cfd9c68cf2042b6468546c08ec3331c3e2--bootstrap.py /tmp/firefox-20240424-9938-1bgvvd/bootstrap.py ==> python3 bootstrap.py --vcs=git --no-interactive Cloning into '/tmp/firefox-20240424-9938-1bgvvd/mozilla-unified'... fatal: called `Result::unwrap()` on an `Err` value: "unable to access 'https://hg.mozilla.org/mozilla-unified': Protocol \"https\" not supported or disabled in libcurl" Run the command again with `git -c cinnabar.check=traceback <command>` to see the full traceback. error: git-remote-hg died of signal 6 Cloning into mozilla-unified using Git... Cloning Firefox Git repository to /tmp/firefox-20240424-9938-1bgvvd/mozilla-unified Could not bootstrap Firefox! Consider filing a bug. Traceback (most recent call last): File "/tmp/firefox-20240424-9938-1bgvvd/bootstrap.py", line 446, in <module> sys.exit(main(sys.argv)) ^^^^^^^^^^^^^^ File "/tmp/firefox-20240424-9938-1bgvvd/bootstrap.py", line 413, in main srcdir = clone(options) ^^^^^^^^^^^^^^ File "/tmp/firefox-20240424-9938-1bgvvd/bootstrap.py", line 359, in clone return git_clone_firefox(binary, dest, watchman, head_repo, head_rev) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/firefox-20240424-9938-1bgvvd/bootstrap.py", line 204, in git_clone_firefox subprocess.check_call( File "/home/linuxbrew/.linuxbrew/opt/python@3.11/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/git', '-c', 'fetch.prune=true', 'clone', '--no-checkout', 'hg::https://hg.mozilla.org/mozilla-unified', '/tmp/firefox-20240424-9938-1bgvvd/mozilla-unified']' returned non-zero exit status 128. ==> Formula Tap: smillerdev/tap Path: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/smillerdev/homebrew-tap/Formula/firefox.rb ==> Configuration HOMEBREW_VERSION: 4.2.19-63-g0612657 ORIGIN: https://github.com/Homebrew/brew HEAD: 06126572b3c1173428768377669b42fcaee90845 Last commit: 8 hours ago Core tap JSON: 24 Apr 07:47 UTC HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /home/runner/.cache/Homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: 3650 HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GIT_EMAIL: 1589480+BrewTestBot@users.noreply.github.com HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_LOGS: /home/runner/work/homebrew-tap/homebrew-tap/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set Homebrew Ruby: 3.1.4 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby CPU: quad-core 64-bit zen3 Clang: 14.0.0 Git: 2.44.0 => /home/linuxbrew/.linuxbrew/bin/git Curl: 7.81.0 => /usr/bin/curl Kernel: Linux 6.5.0-1018-azure x86_64 GNU/Linux OS: Ubuntu 22.04.4 LTS (jammy) Host glibc: 2.35 /usr/bin/gcc: 11.4.0 /usr/bin/ruby: 3.0.2 glibc: N/A gcc@11: N/A gcc: N/A xorg: N/A ==> ENV HOMEBREW_CC: gcc-11 HOMEBREW_CXX: g++-11 MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew PKG_CONFIG_PATH: /home/linuxbrew/.linuxbrew/opt/python@3.11/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/curl/lib/pkgconfig HOMEBREW_GIT: git ACLOCAL_PATH: /home/linuxbrew/.linuxbrew/share/aclocal PATH: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/git/bin:/home/linuxbrew/.linuxbrew/opt/git-cinnabar/bin:/home/linuxbrew/
system "python3", "bootstrap.py", "--vcs=git"
system "python3", "bootstrap.py", "--vcs=git", "--no-interactive"
system "hg", "up", "-C", "central"
system "./mach", "build"
end
Expand Down

0 comments on commit 858384a

Please sign in to comment.