{"action":"opened","issue":{"url":"https://api.github.com/repos/JuliaPackaging/Homebrew.jl/issues/246","repository_url":"https://api.github.com/repos/JuliaPackaging/Homebrew.jl","labels_url":"https://api.github.com/repos/JuliaPackaging/Homebrew.jl/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/JuliaPackaging/Homebrew.jl/issues/246/comments","events_url":"https://api.github.com/repos/JuliaPackaging/Homebrew.jl/issues/246/events","html_url":"https://github.com/JuliaPackaging/Homebrew.jl/issues/246","id":357697596,"node_id":"MDU6SXNzdWUzNTc2OTc1OTY=","number":246,"title":"Get out of the business of duplicating Homebrew","user":{"login":"lewisl","id":1149741,"node_id":"MDQ6VXNlcjExNDk3NDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1149741?v=4","gravatar_id":"","url":"https://api.github.com/users/lewisl","html_url":"https://github.com/lewisl","followers_url":"https://api.github.com/users/lewisl/followers","following_url":"https://api.github.com/users/lewisl/following{/other_user}","gists_url":"https://api.github.com/users/lewisl/gists{/gist_id}","starred_url":"https://api.github.com/users/lewisl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewisl/subscriptions","organizations_url":"https://api.github.com/users/lewisl/orgs","repos_url":"https://api.github.com/users/lewisl/repos","events_url":"https://api.github.com/users/lewisl/events{/privacy}","received_events_url":"https://api.github.com/users/lewisl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-06T15:01:00Z","updated_at":"2018-09-06T15:01:00Z","closed_at":null,"author_association":"NONE","body":"I read the reasons for this special version of Homebrew:\r\nSome of the formulae in the staticfloat/juliadeps tap are specifically patched to work with Julia. Some of these patches have not (or will not) be merged back into Homebrew mainline, so we don't want to conflict with any packages the user may or may not have installed.\r\nI realize there is also a problem with paths.\r\n\r\nI would suggest creating a special \"cask\" of Julia dependencies must be different than standard system packages.  When this is installed, the system brew can draw from a special repository.  Users will need to know to \"brew cask install Julia-<something>\".  Cask is meant to install binaries.  Maybe it won't work; but wouldn't it be nice to work on Julia needs and new capabilities and not duplicate work that others admirably maintain?  Maybe this won't work. Seems like it's worth a shot to get out of the duplication business.\r\n\r\nIt's not that there is anything wrong with doing Homebrew.jl.  It's just a lot of work to keep a lot of infrastructure working and keep tracking (the incessant) changes to Homebrew.  That doesn't feel like a priority.  Julia is still playing catchup to a certain extent on needed packages (acknowledging _impressive_ progress to date...).  Why not focus on functionality Julia users can benefit from and not duplicate system plumbing.  I realize it seems easier to go self-contained.  I don't understand why the cask and special repository approach won't work.  Some Python dependencies use this.\r\n\r\nI don't have time to figure this out.  I just hope it doesn't matter and I can ignore it.\r\n\r\nCan I run brew doctor on the private Julia version?\r\n\r\nHere is the latest problem.  Sorry it is so long:  \r\n```\r\nBuilding Homebrew ────────→ `~/.julia/packages/Homebrew/l8kUw/deps/build.log`\r\n┌ Error: Error building `Homebrew`, showing the last 100 of log: \r\n│ quicktype\r\n│ rclone\r\n│ shibboleth-sp\r\n│ skaffold\r\n│ sphinx-doc\r\n│ swiftformat\r\n│ tarantool\r\n│ template-glib\r\n│ tile38\r\n│ topgrade\r\n│ travis\r\n│ uftp\r\n│ unrar\r\n│ v8\r\n│ vagrant-completion\r\n│ vala\r\n│ valabind\r\n│ vault\r\n│ vte3\r\n│ webpack\r\n│ wildfly-as\r\n│ wireguard-tools\r\n│ wp-cli-completion\r\n│ xml-tooling-c\r\n│ yelp-tools\r\n│ youtube-dl\r\n│ zabbix\r\n│ zsh\r\n│ ==> Renamed Formulae\r\n│ rebar@3 -> rebar3\r\n│ Uninstalling adwaita-icon-theme... (5,566 files, 25MB)\r\n│ ==> Installing adwaita-icon-theme from staticfloat/juliatranslated\r\n│ ==> Downloading https://homebrew.bintray.com/bottles/adwaita-icon-theme-3.30.0.high_sierra.bottle.tar.gz\r\n│ ==> Pouring adwaita-icon-theme-3.30.0.high_sierra.bottle.tar.gz\r\n│ 🍺  /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/usr/Cellar/adwaita-icon-theme/3.30.0: 5,713 files, 23.3MB\r\n│ Warning: Already linked: /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/usr/Cellar/adwaita-icon-theme/3.30.0\r\n│ Uninstalling gdk-pixbuf... (200 files, 4.4MB)\r\n│ ==> Installing gdk-pixbuf from staticfloat/juliatranslated\r\n│ ==> Downloading https://homebrew.bintray.com/bottles/gdk-pixbuf-2.38.0.high_sierra.bottle.tar.gz\r\n│ ==> Pouring gdk-pixbuf-2.38.0.high_sierra.bottle.tar.gz\r\n│ ==> /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/usr/Cellar/gdk-pixbuf/2.38.0/bin/gdk-pixbuf-query-loaders --update-cache\r\n│ 🍺  /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/usr/Cellar/gdk-pixbuf/2.38.0: 147 files, 3.2MB\r\n│ Warning: Already linked: /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/usr/Cellar/gdk-pixbuf/2.38.0\r\n│ Uninstalling glib... (435 files, 18.4MB)\r\n│ ==> Installing glib from staticfloat/juliatranslated\r\n│ ==> Downloading https://homebrew.bintray.com/bottles/glib-2.58.0_1.high_sierra.bottle.tar.gz\r\n│ ==> Pouring glib-2.58.0_1.high_sierra.bottle.tar.gz\r\n│ 🍺  /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/usr/Cellar/glib/2.58.0_1: 435 files, 18.4MB\r\n│ Warning: Already linked: /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/usr/Cellar/glib/2.58.0_1\r\n│ Uninstalling fontconfig... (511 files, 3.2MB)\r\n│ ==> Installing fontconfig from staticfloat/juliatranslated\r\n│ ==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.13.0.high_sierra.bottle.tar.gz\r\n│ ==> Pouring fontconfig-2.13.0.high_sierra.bottle.tar.gz\r\n│ ==> Regenerating font cache, this may take a while\r\n│ ==> /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/usr/Cellar/fontconfig/2.13.0/bin/fc-cache -frv\r\n│ Last 15 lines from /Users/lewis/Library/Logs/Homebrew/fontconfig/post_install.01.fc-cache:\r\n│ 2018-09-06 07:43:51 -0700\r\n│ \r\n│ /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/usr/Cellar/fontconfig/2.13.0/bin/fc-cache -frv\r\n│ \r\n│ /usr/share/fonts: skipping, no such directory\r\n│ /System/Library/Fonts: caching, new cache contents: 339 fonts, 0 dirs\r\n│ /Library/Fonts: /Library/Fonts: failed to write cache\r\n│ caching, new cache contents: 374 fonts, 0 dirs\r\n│ /Users/lewis/Library/Fonts: caching, new cache contents: 0 fonts, 0 dirs\r\n│ /Users/lewis/.local/share/fonts: skipping, no such directory\r\n│ /Users/lewis/.fonts: skipping, no such directory\r\n│ /usr/local/var/cache/fontconfig: not cleaning unwritable cache directory\r\n│ /Users/lewis/.cache/fontconfig: not cleaning non-existent cache directory\r\n│ /Users/lewis/.fontconfig: not cleaning non-existent cache directory\r\n│ /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/usr/Cellar/fontconfig/2.13.0/bin/fc-cache: failed\r\n│ Warning: The post-install step did not complete successfully\r\n│ You can try again using `brew postinstall staticfloat/juliatranslated/fontconfig`\r\n│ ==> Summary\r\n│ 🍺  /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/usr/Cellar/fontconfig/2.13.0: 511 files, 3.2MB\r\n│ ERROR: LoadError: failed process: Process(`/Users/lewis/.julia/packages/Homebrew/l8kUw/deps/usr/bin/brew install --ignore-dependencies staticfloat/juliatranslated/fontconfig`, ProcessExited(1)) [1]\r\n│ Stacktrace:\r\n│  [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42\r\n│  [2] pipeline_error at ./process.jl:712 [inlined]\r\n│  [3] #run#509(::Bool, ::Function, ::Cmd) at ./process.jl:670\r\n│  [4] run at ./process.jl:668 [inlined]\r\n│  [5] #brew#4(::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Function, ::Cmd) at /Users/lewis/.julia/packages/Homebrew/l8kUw/src/API.jl:19\r\n│  [6] #brew at ./none:0 [inlined]\r\n│  [7] #install_and_link#38(::Bool, ::Function, ::String) at /Users/lewis/.julia/packages/Homebrew/l8kUw/src/API.jl:492\r\n│  [8] (::getfield(Homebrew, Symbol(\"#kw##install_and_link\")))(::NamedTuple{(:verbose,),Tuple{Bool}}, ::typeof(Homebrew.install_and_link), ::String) at ./none:0\r\n│  [9] macro expansion at ./logging.jl:310 [inlined]\r\n│  [10] #add#29(::Bool, ::Bool, ::Function, ::String) at /Users/lewis/.julia/packages/Homebrew/l8kUw/src/API.jl:449\r\n│  [11] #add at ./none:0 [inlined]\r\n│  [12] #add#36(::Bool, ::Bool, ::Function, ::Homebrew.BrewPkg) at /Users/lewis/.julia/packages/Homebrew/l8kUw/src/API.jl:472\r\n│  [13] #add at ./none:0 [inlined]\r\n│  [14] #upgrade#8(::Bool, ::Function) at /Users/lewis/.julia/packages/Homebrew/l8kUw/src/API.jl:144\r\n│  [15] #upgrade at ./none:0 [inlined]\r\n│  [16] #update#6(::Bool, ::Function) at /Users/lewis/.julia/packages/Homebrew/l8kUw/src/API.jl:56\r\n│  [17] update() at /Users/lewis/.julia/packages/Homebrew/l8kUw/src/API.jl:50\r\n│  [18] top-level scope at /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/build.jl:3\r\n│  [19] include at ./boot.jl:317 [inlined]\r\n│  [20] include_relative(::Module, ::String) at ./loading.jl:1038\r\n│  [21] include(::Module, ::String) at ./sysimg.jl:29\r\n│  [22] include(::String) at ./client.jl:398\r\n│  [23] top-level scope at none:0\r\n│ in expression starting at /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/build.jl:1\r\n│ \r\n│ Full log at /Users/lewis/.julia/packages/Homebrew/l8kUw/deps/build.log\r\n└ @ Pkg.Operations /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:1068\r\n```\r\n"}}
{"actor":{"display_login":"lewisl"}}