Giter Site home page Giter Site logo

homebrew-tap's People

Contributors

galderz avatar jreleaserbot avatar maxandersen avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

homebrew-tap's Issues

bottle :unneeded is deprecated

when updating HomeBrew we get the following warning:

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the jbangdev/tap tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/jbangdev/homebrew-tap/Formula/jbang.rb:9

Fail to update to 0.67.1

Today, my brew update broke with

❯ brew upgrade
...
==> Upgrading jbangdev/tap/jbang 0.66.1 -> 0.67.1
==> Downloading https://github.com/jbangdev/jbang/releases/download/v0.67.1/jbang-0.67.1.zip
Already downloaded: /Users/mbarbero/Library/Caches/Homebrew/downloads/2f5e6e074832b3443de31177a0f816a66b94a4fec1bae024faff9153dee81b77--jbang-0.67.1.zip
Error: An exception occurred within a child process:
  Utils::Inreplace::Error: inreplace failed
/usr/local/Cellar/jbang/0.67.1/libexec/bin/jbang:
  expected replacement of /^abs_jbang_path=.*/ with "abs_jbang_path=/usr/local/Cellar/jbang/0.67.1/libexec/bin/jbang.jar"

Same error when uninstalling and re-installing:

❯ brew remove jbang
Uninstalling /usr/local/Cellar/jbang/0.66.1... (7 files, 5.8MB)
❯ brew install jbang
...
==> Installing jbang from jbangdev/tap
==> Downloading https://github.com/jbangdev/jbang/releases/download/v0.67.1/jbang-0.67.1.zip
Already downloaded: /Users/mbarbero/Library/Caches/Homebrew/downloads/2f5e6e074832b3443de31177a0f816a66b94a4fec1bae024faff9153dee81b77--jbang-0.67.1.zip
Error: An exception occurred within a child process:
  Utils::Inreplace::Error: inreplace failed
/usr/local/Cellar/jbang/0.67.1/libexec/bin/jbang:
  expected replacement of /^abs_jbang_path=.*/ with "abs_jbang_path=/usr/local/Cellar/jbang/0.67.1/libexec/bin/jbang.jar"

Is this something happening on my machine only? Do you a suggestion?

Installation failure

==> Installing jbang from jbangdev/tap
==> Downloading https://github.com/jbangdev/jbang/releases/download/v0.45.0/jbang-0.45.0.
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/2300
######################################################################## 100.0%
Error: An exception occurred within a child process:
  Utils::Inreplace::Error: inreplace failed
/usr/local/Cellar/jbang/0.45.0/libexec/bin/jbang:
  expected replacement of /^jarPath=.*/ with "jarPath=/usr/local/Cellar/jbang/0.45.0/libexec/bin/jbang.jar"

Impossible to uprade jbang to latest

It seems that there is java version detection issue:

❯ brew upgrade
==> Upgrading 1 outdated package:
jbangdev/tap/jbang 0.53.1 -> 0.53.2
==> Upgrading jbangdev/tap/jbang 0.53.1 -> 0.53.2
jbang: Java 1.8+ is required for this software.
Install AdoptOpenJDK with Homebrew Cask:
  brew cask install adoptopenjdk
Error: jbang: An unsatisfied requirement failed this build.

While I have (multiple) adoptopenjdk casks already installed

❯ brew list --cask
adoptopenjdk                    adoptopenjdk11                  adoptopenjdk8                  
adoptopenjdk-openj9             adoptopenjdk11-openj9           adoptopenjdk8-openj9            

They are all properly listed by the /usr/bin/java system binary

❯ /usr/libexec/java_home -V
Matching Java Virtual Machines (6):
    15.0.1 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK (OpenJ9) 15" /Library/Java/JavaVirtualMachines/adoptopenjdk-15-openj9.jdk/Contents/Home
    15 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK 15" /Library/Java/JavaVirtualMachines/adoptopenjdk-15.jdk/Contents/Home
    11.0.9 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK (OpenJ9) 11" /Library/Java/JavaVirtualMachines/adoptopenjdk-11-openj9.jdk/Contents/Home
    11.0.9 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK 11" /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
    1.8.0_275 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK 8" /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
    1.8.0_275 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK (OpenJ9) 8" /Library/Java/JavaVirtualMachines/adoptopenjdk-8-openj9.jdk/Contents/Home
/Library/Java/JavaVirtualMachines/adoptopenjdk-11-openj9.jdk/Contents/Home

and here is the report for

❯ java -version
openjdk version "11.0.9" 2020-10-20
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9+11)
Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.23.0, JRE 11 Mac OS X amd64-64-Bit Compressed References 20201023_788 (JIT enabled, AOT enabled)
OpenJ9   - 0394ef754
OMR      - 582366ae5
JCL      - 3b09cfd7e9 based on jdk-11.0.9+11)

I also tried to install the openjdk formula, but brew upgrade is still outputting the same issue.

(Note that I switched to Big Sur over the weekend, but I was already hitting the issue last week, while still on Catalina).

Java dependency issues since 0.46

Hello,

the Java dependency makes the upgrade from 0.45 to 0.47.1 impossible:
** depends_on :java => "1.8+"**

This causes:
**Install AdoptOpenJDK with Homebrew Cask:
brew cask install adoptopenjdk
Error: jbang: An unsatisfied requirement failed this build.
**

java -version
**openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.6+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.6+10, mixed mode)
**

I have downloaded OpenJDK from adoptopenjdk site directly and installed it via DMG. Java1.8 as well.

Please, revert the dependecy or fix

Thanks,
Miro

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

homebrew
Formula/jbang.rb
  • jbangdev/jbang v0.110.0

  • Check this box to trigger a request for Renovate to run again on this repository

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.