Git Product home page Git Product logo

.github's People

Contributors

amokhuginnsson avatar

Watchers

 avatar  avatar  avatar

.github's Issues

Test issue.

brew bottle --merge fails on HEAD of a project after recent change in brew

HOMEBREW_VERSION: 3.3.4-4-gee02773
ORIGIN: https://github.com/Homebrew/brew
HEAD: ee02773c095477638c2dc9dab4889659ee9a9cb6
Last commit: 9 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 446005a8fbbc1a51d0bd8efd8e03bf82f1f78fab
Core tap last commit: 3 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BROWSER: mozilla-firefox
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_EDITOR: vim
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.8 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8/bin/ruby
CPU: quad-core 64-bit kabylake
Clang: 13.0.0 build 1300
Git: 2.30.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.77.0 => /usr/bin/curl
macOS: 12.0.1-x86_64
CLT: 13.1.0.0.1.1633545042
Xcode: 13.1

Your system is ready to brew.

I try to build binary bottle from HEAD of a project for a third party tap.

brew bottle --force-core-tap --root-url https://codestation.org/darwin/ --merge yaal--0.0.45-2111151500.monterey.bottle.json --write --no-commit --no-rebuild

failed with:

brew bottle --force-core-tap --root-url https://codestation.org/darwin/ --merge yaal--0.0.45-2111151500.monterey.bottle.json --write --no-commit --no-rebuild
==> yaal
Error: undefined method `path' for nil:NilClass
Did you mean?  paths
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/formula_versions.rb:25:in `initialize'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/bottle.rb:632:in `new'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/bottle.rb:632:in `block in merge'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/bottle.rb:620:in `each'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/bottle.rb:620:in `merge'
/usr/local/Homebrew/Library/Homebrew/dev-cmd/bottle.rb:100:in `bottle'
/usr/local/Homebrew/Library/Homebrew/brew.rb:110:in `<main>'

Succeed with:

==> yaal
  bottle do
    root_url "https://codestation.org/darwin/"
    sha256 monterey: "29929455d987371e180e78cf3b142b5e199617b78e4480abbb05434f47b8ca9f"
  end

Download project from: https://github.com/AmokHuginnsson/yaal
Run make -C _deploy/darwin -f homebrew.mk clean package bundle BUILD_ID=2111151500.

Internally build invokes:
brew install --build-bottle --fetch-HEAD --force -v --formula yaal.rb

Which succeeds with (last lines only due to size of output):

==> Not running 'post_install' as we're building a bottle
You can run it manually using:
  brew postinstall yaal
==> Summary
๐Ÿบ  /usr/local/Cellar/yaal/0.0.45-2111151500: 421 files, 141.8MB, built in 4 minutes 43 seconds

Next command is:
brew bottle --force-core-tap --root-url https://codestation.org/darwin/ --json yaal.rb --no-rebuild

which succeeds with:

brew bottle --force-core-tap --root-url https://codestation.org/darwin/ --json yaal.rb --no-rebuild                                                          
==> Bottling yaal--0.0.45-2111151500.monterey.bottle.tar.gz...
==> Detecting if yaal--0.0.45-2111151500.monterey.bottle.tar.gz is relocatable...
./yaal--0.0.45-2111151500.monterey.bottle.tar.gz
  bottle do
    root_url "https://codestation.org/darwin/"
    sha256 monterey: "29929455d987371e180e78cf3b142b5e199617b78e4480abbb05434f47b8ca9f"
  end

Then comes last command:
brew bottle --force-core-tap --root-url https://codestation.org/darwin/ --merge yaal--0.0.45-2111151500.monterey.bottle.json --write --no-commit --no-rebuild
that fails in the way mentioned above.

I found that brew bottle --merge started failing on my project after 38ebaac869bacedd89aa885b0dadafa59874774d commit.

If I revert this particular change locally then brew bottle --merge succeeds on my project again.

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.