Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simavr: fix tarball URL #337

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Formula/simavr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
desc "Lean, mean and hackable AVR simulator for Linux & macOS"
homepage "https://github.com/buserror/simavr"

url "https://github.com/buserror/simavr/releases/tag/v1.6"
url "https://github.com/buserror/simavr/archive/refs/tags/v1.6.tar.gz"
sha256 "a55ad04d055eef5656c49f78bc089968b059c6efb6a831618b8d7e67a840936d"
revision 1

head "https://github.com/buserror/simavr.git"

Expand All @@ -15,7 +16,7 @@
depends_on "avr-gcc"
depends_on "libelf"

def install

Check warning on line 19 in Formula/simavr.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-12)

`brew install --verbose --build-bottle osx-cross/avr/simavr` failed on macOS Monterey (12)!

==> Fetching osx-cross/avr/simavr ==> Downloading https://github.com/buserror/simavr/archive/refs/tags/v1.6.tar.gz Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/e7bcafbfc3887045d3c08bc65ca18ffe69b70872259001e2de596a3c087f0d81--simavr-1.6.tar.gz ==> Verifying checksum for 'e7bcafbfc3887045d3c08bc65ca18ffe69b70872259001e2de596a3c087f0d81--simavr-1.6.tar.gz' ==> Installing simavr from osx-cross/avr /usr/bin/env tar --extract --no-same-owner --file /Users/runner/Library/Caches/Homebrew/downloads/e7bcafbfc3887045d3c08bc65ca18ffe69b70872259001e2de596a3c087f0d81--simavr-1.6.tar.gz --directory /private/tmp/homebrew-unpack20240318-11210-vv526p /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240318-11210-vv526p/simavr-1.6/. /private/tmp/simavr-20240318-11210-denhat/simavr-1.6 ==> make all HOMEBREW_PREFIX=/usr/local RELEASE=1 Makefile:33: warning: overriding commands for target `install' Makefile:27: warning: ignoring old commands for target `install' /Applications/Xcode_14.2.app/Contents/Developer/usr/bin/make -C simavr RELEASE=1 fatal: not a git repository (or any of the parent directories): .git ../Makefile.common:70: *** Please install avr-gcc: brew tap osx-cross/homebrew-avr ; brew install avr-libc. Stop. make: *** [build-simavr] Error 2 ==> Formula Tap: osx-cross/avr Path: /usr/local/Homebrew/Library/Taps/osx-cross/homebrew-avr/Formula/simavr.rb ==> Configuration HOMEBREW_VERSION: 4.2.12-70-gbb753a6 ORIGIN: https://github.com/Homebrew/brew HEAD: bb753a6c48575ae018d7ad925d7762d59647fff7 Last commit: 2 days ago Core tap HEAD: a69148704fb6f3f04c5504fddb7aba0fa1c72b99 Core tap last commit: 4 weeks ago Core tap JSON: 18 Mar 04:41 UTC Core cask tap HEAD: 1aaa76a9339dcdd0406eebac85d4a70a99fbb865 Core cask tap last commit: 4 weeks ago Core cask tap JSON: 18 Mar 04:41 UTC HOMEBREW_PREFIX: /usr/local HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /Users/runner/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: ["--no-quarantine"] 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_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /Users/runner/work/homebrew-avr/homebrew-avr/logs HOMEBREW_MAKE_JOBS: 3 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALL_CLEANUP: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_SORBET_RUNTIME: set Homebrew Ruby: 3.1.4 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby CPU: 3-core 64-bit ivybridge Clang: 14.0.0 build 1400 Git: 2.37.1 => /usr/bin/git Curl: 8.4.0 => /usr/bin/curl macOS: 12.7.3-x86_64 CLT: 14.2.0.0.1.1668646533 Xcode: 14.2 => /Applications/Xcode_14.2.app/Contents/Developer ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ CMAKE_PREFIX_PATH: /usr/local CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_PATH: /usr/local/opt/gmp/lib/pkgconfig:/usr/local/opt/isl/lib/pkgconfig:/usr/local/opt/mpfr/lib/pkgconfig:/usr/local/opt/libelf/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/12 HOMEBREW_GIT: /usr/bin/git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk ACLOCAL_PATH: /usr/local/share/aclocal PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/avr-binutils/bin:/usr/local/opt/avr-gcc@9/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /Users/runner/work/homebrew-avr/homebrew-avr/logs/simavr/00.options.out /Users/runner/work/homebrew-avr/homebrew-avr/logs/simavr/01.make /Users/runner/work/homebrew-avr/homebrew-avr/logs/simavr/01.make.cc Error: osx-cross/avr/simavr 1.6 did not build If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/osx-cross/homebrew-avr/issues

Check warning on line 19 in Formula/simavr.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

`brew install --verbose --build-bottle osx-cross/avr/simavr` failed on macOS Ventura (13)!

==> Fetching osx-cross/avr/simavr ==> Downloading https://github.com/buserror/simavr/archive/refs/tags/v1.6.tar.gz Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/e7bcafbfc3887045d3c08bc65ca18ffe69b70872259001e2de596a3c087f0d81--simavr-1.6.tar.gz ==> Verifying checksum for 'e7bcafbfc3887045d3c08bc65ca18ffe69b70872259001e2de596a3c087f0d81--simavr-1.6.tar.gz' ==> Installing simavr from osx-cross/avr /usr/bin/env tar --extract --no-same-owner --file /Users/runner/Library/Caches/Homebrew/downloads/e7bcafbfc3887045d3c08bc65ca18ffe69b70872259001e2de596a3c087f0d81--simavr-1.6.tar.gz --directory /private/tmp/homebrew-unpack20240318-11606-33otug /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240318-11606-33otug/simavr-1.6/. /private/tmp/simavr-20240318-11606-rgpe1p/simavr-1.6 ==> make all HOMEBREW_PREFIX=/usr/local RELEASE=1 Makefile:33: warning: overriding commands for target `install' Makefile:27: warning: ignoring old commands for target `install' /Applications/Xcode_15.0.1.app/Contents/Developer/usr/bin/make -C simavr RELEASE=1 fatal: not a git repository (or any of the parent directories): .git ../Makefile.common:70: *** Please install avr-gcc: brew tap osx-cross/homebrew-avr ; brew install avr-libc. Stop. make: *** [build-simavr] Error 2 ==> Formula Tap: osx-cross/avr Path: /usr/local/Homebrew/Library/Taps/osx-cross/homebrew-avr/Formula/simavr.rb ==> Configuration HOMEBREW_VERSION: 4.2.12-70-gbb753a6 ORIGIN: https://github.com/Homebrew/brew HEAD: bb753a6c48575ae018d7ad925d7762d59647fff7 Last commit: 2 days ago Core tap HEAD: 7987fb379ba90bbd265cb5b41db8086a5e233d39 Core tap last commit: 4 weeks ago Core tap JSON: 18 Mar 04:41 UTC Core cask tap HEAD: 10b89b8ddeac7513b77c0d19afe6b759146b6d65 Core cask tap last commit: 4 weeks ago Core cask tap JSON: 18 Mar 04:41 UTC HOMEBREW_PREFIX: /usr/local HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /Users/runner/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: ["--no-quarantine"] 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_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /Users/runner/work/homebrew-avr/homebrew-avr/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALL_CLEANUP: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_SORBET_RUNTIME: set Homebrew Ruby: 3.1.4 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby CPU: quad-core 64-bit ivybridge Clang: 15.0.0 build 1500 Git: 2.39.3 => /usr/bin/git Curl: 8.4.0 => /usr/bin/curl macOS: 13.6.4-x86_64 CLT: 15.1.0.0.1.1700200546 Xcode: 15.0.1 => /Applications/Xcode_15.0.1.app/Contents/Developer ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ CMAKE_PREFIX_PATH: /usr/local CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_PATH: /usr/local/opt/gmp/lib/pkgconfig:/usr/local/opt/isl/lib/pkgconfig:/usr/local/opt/mpfr/lib/pkgconfig:/usr/local/opt/libelf/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/13 HOMEBREW_GIT: /usr/bin/git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk ACLOCAL_PATH: /usr/local/share/aclocal PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/avr-binutils/bin:/usr/local/opt/avr-gcc@9/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /Users/runner/work/homebrew-avr/homebrew-avr/logs/simavr/00.options.out /Users/runner/work/homebrew-avr/homebrew-avr/logs/simavr/01.make /Users/runner/work/homebrew-avr/homebrew-avr/logs/simavr/01.make.cc Error: osx-cross/avr/simavr 1.6 did not build If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/osx-cross/homebrew-avr/issues

Check warning on line 19 in Formula/simavr.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

`brew install --verbose --build-bottle osx-cross/avr/simavr` failed on macOS Sonoma (14) on Apple Silicon!

==> Fetching osx-cross/avr/simavr ==> Downloading https://github.com/buserror/simavr/archive/refs/tags/v1.6.tar.gz Already downloaded: /Users/runner/Library/Caches/Homebrew/downloads/e7bcafbfc3887045d3c08bc65ca18ffe69b70872259001e2de596a3c087f0d81--simavr-1.6.tar.gz ==> Verifying checksum for 'e7bcafbfc3887045d3c08bc65ca18ffe69b70872259001e2de596a3c087f0d81--simavr-1.6.tar.gz' ==> Installing simavr from osx-cross/avr /usr/bin/env tar --extract --no-same-owner --file /Users/runner/Library/Caches/Homebrew/downloads/e7bcafbfc3887045d3c08bc65ca18ffe69b70872259001e2de596a3c087f0d81--simavr-1.6.tar.gz --directory /private/tmp/homebrew-unpack20240318-7765-pwsk2x /usr/bin/env cp -pR /private/tmp/homebrew-unpack20240318-7765-pwsk2x/simavr-1.6/. /private/tmp/simavr-20240318-7765-envat9/simavr-1.6 ==> make all HOMEBREW_PREFIX=/opt/homebrew RELEASE=1 Makefile:33: warning: overriding commands for target `install' Makefile:27: warning: ignoring old commands for target `install' /Applications/Xcode_15.0.1.app/Contents/Developer/usr/bin/make -C simavr RELEASE=1 fatal: not a git repository (or any of the parent directories): .git ../Makefile.common:70: *** Please install avr-gcc: brew tap osx-cross/homebrew-avr ; brew install avr-libc. Stop. make: *** [build-simavr] Error 2 ==> Formula Tap: osx-cross/avr Path: /opt/homebrew/Library/Taps/osx-cross/homebrew-avr/Formula/simavr.rb ==> Configuration HOMEBREW_VERSION: 4.2.12-70-gbb753a6 ORIGIN: https://github.com/Homebrew/brew HEAD: bb753a6c48575ae018d7ad925d7762d59647fff7 Last commit: 2 days ago Core tap HEAD: 8cb8ab5002f24850e3e34f9dd8010e991b837736 Core tap last commit: 9 weeks ago Core tap JSON: 18 Mar 04:41 UTC Core cask tap HEAD: 319e0f182676ac109b8198c34d349ab25511c79e Core cask tap last commit: 9 weeks ago Core cask tap JSON: 18 Mar 04:41 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /Users/runner/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: ["--no-quarantine"] 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_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /Users/runner/work/homebrew-avr/homebrew-avr/logs HOMEBREW_MAKE_JOBS: 3 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALL_CLEANUP: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_SORBET_RUNTIME: set Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby CPU: 3-core 64-bit dunno Clang: 15.0.0 build 1500 Git: 2.39.3 => /usr/bin/git Curl: 8.4.0 => /usr/bin/curl macOS: 14.2.1-arm64 CLT: 15.1.0.0.1.1700200546 Xcode: 15.0.1 => /Applications/Xcode_15.0.1.app/Contents/Developer Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ CMAKE_PREFIX_PATH: /opt/homebrew CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_PATH: /opt/homebrew/opt/gmp/lib/pkgconfig:/opt/homebrew/opt/isl/lib/pkgconfig:/opt/homebrew/opt/mpfr/lib/pkgconfig:/opt/homebrew/opt/libelf/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/14 HOMEBREW_GIT: /usr/bin/git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/avr-binutils/bin:/opt/homebrew/opt/avr-gcc@9/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /Users/runner/work/homebrew-avr/homebrew-avr/logs/simavr/00.options.out /Users/runner/work/homebrew-avr/homebrew-avr/logs/simavr/01.make /Users/runner/work/homebrew-avr/homebrew-avr/logs/simavr/01.make.cc Error: osx-cross/avr/simavr 1.6 did not build If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/osx-cross/homebrew-avr/issues
ENV.deparallelize
system "make", "all", "HOMEBREW_PREFIX=#{HOMEBREW_PREFIX}", "RELEASE=1"
system "make", "install", "DESTDIR=#{prefix}", "HOMEBREW_PREFIX=#{HOMEBREW_PREFIX}", "RELEASE=1"
Expand Down
Loading