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

ipopt: undefined method `build_bottle?' for ["--full", "staticfloat/juliadeps"]:Array #270

Closed
ageron opened this issue Jul 8, 2020 · 2 comments

Comments

@ageron
Copy link

ageron commented Jul 8, 2020

Hi @staticfloat,

I'm running into an issue when installing Homebrew.jl on MacOSX Catalina (10.15.5), using Julia version 1.4.2. I think the relevant error message is:

│ ipopt: undefined method `build_bottle?' for ["--full", "staticfloat/juliadeps"]:Array

It seems that ARGV.build_bottle? is deprecated (see this Homebrew PR).

It seems that ARGV.build_bottle? should be replaced with Homebrew.args.build_bottle. I'll submit a PR.

Here's the full error log:

(@v1.4) pkg> add Homebrew
    Cloning default registries into `~/.julia`
    Cloning registry from "https://github.com/JuliaRegistries/General.git"
      Added registry `General` to `~/.julia/registries/General`
  Resolving package versions...
  Installed Compat ──── v2.2.0
  Installed Homebrew ── v0.7.1
  Installed URIParser ─ v0.4.1
  Installed BinDeps ─── v0.8.10
  Installed Parsers ─── v1.0.7
  Installed JSON ────── v0.21.0
   Updating `~/.julia/environments/v1.4/Project.toml`
  [d9be37ee] + Homebrew v0.7.1
   Updating `~/.julia/environments/v1.4/Manifest.toml`
  [9e28174c] + BinDeps v0.8.10
  [34da2185] + Compat v2.2.0
  [d9be37ee] + Homebrew v0.7.1
  [682c06a0] + JSON v0.21.0
  [69de0a69] + Parsers v1.0.7
  [30578b45] + URIParser v0.4.1
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8bb1440f] + DelimitedFiles
  [8ba89e20] + Distributed
  [b77e0a4c] + InteractiveUtils
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [1a1011a3] + SharedArrays
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
   Building Homebrew → `~/.julia/packages/Homebrew/s09IX/deps/build.log`
┌ Error: Error building `Homebrew`, showing the last 100 of log:
│  * [new tag]             1.6.7      -> 1.6.7
│  * [new tag]             1.6.8      -> 1.6.8
│  * [new tag]             1.6.9      -> 1.6.9
│  * [new tag]             1.7.0      -> 1.7.0
│  * [new tag]             1.7.1      -> 1.7.1
│  * [new tag]             1.7.2      -> 1.7.2
│  * [new tag]             1.7.3      -> 1.7.3
│  * [new tag]             1.7.4      -> 1.7.4
│  * [new tag]             1.7.5      -> 1.7.5
│  * [new tag]             1.7.6      -> 1.7.6
│  * [new tag]             1.7.7      -> 1.7.7
│  * [new tag]             1.8.0      -> 1.8.0
│  * [new tag]             1.8.1      -> 1.8.1
│  * [new tag]             1.8.2      -> 1.8.2
│  * [new tag]             1.8.3      -> 1.8.3
│  * [new tag]             1.8.4      -> 1.8.4
│  * [new tag]             1.8.5      -> 1.8.5
│  * [new tag]             1.8.6      -> 1.8.6
│  * [new tag]             1.9.0      -> 1.9.0
│  * [new tag]             1.9.1      -> 1.9.1
│  * [new tag]             1.9.2      -> 1.9.2
│  * [new tag]             1.9.3      -> 1.9.3
│  * [new tag]             2.0.0      -> 2.0.0
│  * [new tag]             2.0.1      -> 2.0.1
│  * [new tag]             2.0.2      -> 2.0.2
│  * [new tag]             2.0.3      -> 2.0.3
│  * [new tag]             2.0.4      -> 2.0.4
│  * [new tag]             2.0.5      -> 2.0.5
│  * [new tag]             2.0.6      -> 2.0.6
│  * [new tag]             2.1.0      -> 2.1.0
│  * [new tag]             2.1.1      -> 2.1.1
│  * [new tag]             2.1.10     -> 2.1.10
│  * [new tag]             2.1.11     -> 2.1.11
│  * [new tag]             2.1.12     -> 2.1.12
│  * [new tag]             2.1.13     -> 2.1.13
│  * [new tag]             2.1.14     -> 2.1.14
│  * [new tag]             2.1.15     -> 2.1.15
│  * [new tag]             2.1.16     -> 2.1.16
│  * [new tag]             2.1.2      -> 2.1.2
│  * [new tag]             2.1.3      -> 2.1.3
│  * [new tag]             2.1.4      -> 2.1.4
│  * [new tag]             2.1.5      -> 2.1.5
│  * [new tag]             2.1.6      -> 2.1.6
│  * [new tag]             2.1.7      -> 2.1.7
│  * [new tag]             2.1.8      -> 2.1.8
│  * [new tag]             2.1.9      -> 2.1.9
│  * [new tag]             2.2.0      -> 2.2.0
│  * [new tag]             2.2.1      -> 2.2.1
│  * [new tag]             2.2.10     -> 2.2.10
│  * [new tag]             2.2.11     -> 2.2.11
│  * [new tag]             2.2.12     -> 2.2.12
│  * [new tag]             2.2.13     -> 2.2.13
│  * [new tag]             2.2.14     -> 2.2.14
│  * [new tag]             2.2.15     -> 2.2.15
│  * [new tag]             2.2.16     -> 2.2.16
│  * [new tag]             2.2.17     -> 2.2.17
│  * [new tag]             2.2.2      -> 2.2.2
│  * [new tag]             2.2.3      -> 2.2.3
│  * [new tag]             2.2.4      -> 2.2.4
│  * [new tag]             2.2.5      -> 2.2.5
│  * [new tag]             2.2.6      -> 2.2.6
│  * [new tag]             2.2.7      -> 2.2.7
│  * [new tag]             2.2.8      -> 2.2.8
│  * [new tag]             2.2.9      -> 2.2.9
│  * [new tag]             2.3.0      -> 2.3.0
│  * [new tag]             2.4.0      -> 2.4.0
│  * [new tag]             2.4.1      -> 2.4.1
│  * [new tag]             2.4.2      -> 2.4.2
│  * [new tag]             2.4.3      -> 2.4.3
│  * [new tag]             2.4.4      -> 2.4.4
│ HEAD is now at e09802b8a Merge pull request #7886 from EricFromCanada/conflicts-reason-audit
│ ==> Tapping homebrew/core
│ Cloning into '/Users/ageron/.julia/packages/Homebrew/s09IX/deps/usr/Library/Taps/homebrew/homebrew-core'...
│ Tapped 2 commands and 5101 formulae (5,374 files, 331.7MB).
│ ==> Tapping staticfloat/juliadeps
│ Cloning into '/Users/ageron/.julia/packages/Homebrew/s09IX/deps/usr/Library/Taps/staticfloat/homebrew-juliadeps'...
│ Error: Invalid formula: /Users/ageron/.julia/packages/Homebrew/s09IX/deps/usr/Library/Taps/staticfloat/homebrew-juliadeps/ipopt.rb
│ ipopt: undefined method `build_bottle?' for ["--full", "staticfloat/juliadeps"]:Array
│ Error: Cannot tap staticfloat/juliadeps: invalid syntax in tap!
│ [ Info: Downloading brew...
│ ERROR: LoadError: InitError: failed process: Process(`/Users/ageron/.julia/packages/Homebrew/s09IX/deps/usr/bin/brew tap --full staticfloat/juliadeps`, ProcessExited(1)) [1]
│
│ Stacktrace:
│  [1] pipeline_error at ./process.jl:525 [inlined]
│  [2] run(::Cmd; wait::Bool) at ./process.jl:440
│  [3] run at ./process.jl:438 [inlined]
│  [4] brew(::Cmd; no_stderr::Bool, no_stdout::Bool, verbose::Bool, force::Bool, quiet::Bool) at /Users/ageron/.julia/packages/Homebrew/s09IX/src/API.jl:19
│  [5] tap(::String; full::Bool, verbose::Bool) at /Users/ageron/.julia/packages/Homebrew/s09IX/src/API.jl:619
│  [6] tap at /Users/ageron/.julia/packages/Homebrew/s09IX/src/API.jl:599 [inlined]
│  [7] install_brew() at /Users/ageron/.julia/packages/Homebrew/s09IX/src/private_API.jl:55
│  [8] __init__() at /Users/ageron/.julia/packages/Homebrew/s09IX/src/Homebrew.jl:37
│  [9] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:697
│  [10] _require_from_serialized(::String) at ./loading.jl:748
│  [11] _require(::Base.PkgId) at ./loading.jl:1039
│  [12] require(::Base.PkgId) at ./loading.jl:927
│  [13] require(::Module, ::Symbol) at ./loading.jl:922
│  [14] top-level scope at /Users/ageron/.julia/packages/Homebrew/s09IX/deps/build.jl:2
│  [15] include(::String) at ./client.jl:439
│  [16] top-level scope at none:5
│ during initialization of module Homebrew
│ in expression starting at /Users/ageron/.julia/packages/Homebrew/s09IX/deps/build.jl:1
│
│ Full log at /Users/ageron/.julia/packages/Homebrew/s09IX/deps/build.log
└ @ Pkg.Operations /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:899
@staticfloat
Copy link
Member

Note that this package is essentially unmaintained anymore; Ipopt.jl should be using Ipopt_jll, which does not use Homebrew at all, if you're running on Julia 1.3+

@ageron
Copy link
Author

ageron commented Jul 9, 2020

Ah, thanks for the heads up.

@ageron ageron closed this as completed Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants