Giter Site home page Giter Site logo

z80oolong / homebrew-tmux Goto Github PK

View Code? Open in Web Editor NEW
20.0 4.0 1.0 1.02 MB

z80oolong/tmux -- tmux に野良差分ファイルを適用するための Formula 群

Home Page: https://gist.github.com/z80oolong/e65baf0d590f62fab8f4f7c358cbcc34

License: BSD 2-Clause "Simplified" License

Ruby 100.00%
linuxbrew tmux formula linuxbrew-tap tap linux eastasianwidth eaw east-asian-characters homebrew-tap

homebrew-tmux's People

Contributors

z80oolong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

tokoyax

homebrew-tmux's Issues

brew install z80oolong/tmux/powerline-statusでpkg_resources.DistributionNotFoundが発生

以下のエラーが発生しています。
申し訳ありませんが、pythonはよく分からず、当方の環境によるエラーなのかが判断できておりません。

まずは入力したコマンドと標準出力の内容です。

$ brew install z80oolong/tmux/powerline-status
==> Installing powerline-status from z80oolong/tmux
==> Downloading https://files.pythonhosted.org/packages/06/8c/eb8a0ae49eba5be054ca32b3a1dca432baee1d83c4f125d276c6a5fd2d20/virtualenv-20.1.0.tar.gz
Already downloaded: /home/onoo/.cache/Homebrew/downloads/b4e86049c816dde47c7a914a6db0f94a5688cb385de88d3bb08edd041e561aa6--virtualenv-20.1.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/d7/d8/05696357e0311f5b5c316d7b95f46c669dd9c15aaeecbb48c7d0aeb88c40/appdirs-1.4.4.tar.gz
Already downloaded: /home/onoo/.cache/Homebrew/downloads/d46628d315f103ea527907020cf5f6c94365bbb549783f75a794526482afb672--appdirs-1.4.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/2f/83/1eba07997b8ba58d92b3e51445d5bf36f9fba9cb8166bcae99b9c3464841/distlib-0.3.1.zip
Already downloaded: /home/onoo/.cache/Homebrew/downloads/b25916e85753e80fccf86f2f1ba088b86d1a82c93cd36bdb72613c81cb830c55--distlib-0.3.1.zip
==> Downloading https://files.pythonhosted.org/packages/14/ec/6ee2168387ce0154632f856d5cc5592328e9cf93127c5c9aeca92c8c16cb/filelock-3.0.12.tar.gz
Already downloaded: /home/onoo/.cache/Homebrew/downloads/6132211d03cc3113b135a5b72510e3b6ea1df5bf527eb89d71c3f45085c252a7--filelock-3.0.12.tar.gz
==> Downloading https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426/six-1.15.0.tar.gz
Already downloaded: /home/onoo/.cache/Homebrew/downloads/e99698a932bde9f5fb8ca552923ae339984f284e1c7764df95c12175f573c0d7--six-1.15.0.tar.gz
==> Downloading https://github.com/powerline/powerline/archive/2.7.tar.gz
Already downloaded: /home/onoo/.cache/Homebrew/downloads/ea0571b921a807c14141d2f76c214a3d1cc07b0f8bf2d352e503d2a0efe9707f--powerline-2.7.tar.gz
==> Patching
==> python2 -c import setuptools... --no-user-cfg install --prefix=/tmp/powerline-status--homebrew-virtualenv-20201204-32181-124r9tj/target/vendor --install-scripts=/tmp/powerline-status--homebrew-virtualenv-20201204-32181-124r9
==> python2 -c import setuptools... --no-user-cfg install --prefix=/tmp/powerline-status--homebrew-virtualenv-20201204-32181-124r9tj/target/vendor --install-scripts=/tmp/powerline-status--homebrew-virtualenv-20201204-32181-124r9
==> python2 -c import setuptools... --no-user-cfg install --prefix=/tmp/powerline-status--homebrew-virtualenv-20201204-32181-124r9tj/target/vendor --install-scripts=/tmp/powerline-status--homebrew-virtualenv-20201204-32181-124r9
==> python2 -c import setuptools... --no-user-cfg install --prefix=/tmp/powerline-status--homebrew-virtualenv-20201204-32181-124r9tj/target/vendor --install-scripts=/tmp/powerline-status--homebrew-virtualenv-20201204-32181-124r9
==> python2 -c import setuptools... --no-user-cfg install --prefix=/tmp/powerline-status--homebrew-virtualenv-20201204-32181-124r9tj/target --install-scripts=/tmp/powerline-status--homebrew-virtualenv-20201204-32181-124r9tj/targ
==> python2 -s /tmp/powerline-status--homebrew-virtualenv-20201204-32181-124r9tj/target/bin/virtualenv -p python2 /home/onoo/.linuxbrew/Cellar/powerline-status/2.7/libexec

ここでエラーが発生しています。
エラー内容は以下です。

2020-12-04 16:10:19 +0900

python2
-s
/tmp/powerline-status--homebrew-virtualenv-20201204-1550-14m8o2i/target/bin/virtualenv
-p
python2
/home/onoo/.linuxbrew/Cellar/powerline-status/2.7/libexec

Traceback (most recent call last):
File "/tmp/powerline-status--homebrew-virtualenv-20201204-1550-14m8o2i/target/bin/virtualenv", line 6, in
from pkg_resources import load_entry_point
File "/home/onoo/.linuxbrew/opt/python@2/lib/python2.7/site-packages/pkg_resources/init.py", line 3250, in
@_call_aside
File "/home/onoo/.linuxbrew/opt/python@2/lib/python2.7/site-packages/pkg_resources/init.py", line 3234, in _call_aside
f(*args, **kwargs)
File "/home/onoo/.linuxbrew/opt/python@2/lib/python2.7/site-packages/pkg_resources/init.py", line 3263, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/home/onoo/.linuxbrew/opt/python@2/lib/python2.7/site-packages/pkg_resources/init.py", line 583, in _build_master
ws.require(requires)
File "/home/onoo/.linuxbrew/opt/python@2/lib/python2.7/site-packages/pkg_resources/init.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/onoo/.linuxbrew/opt/python@2/lib/python2.7/site-packages/pkg_resources/init.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'importlib-metadata<3,>=0.12' distribution was not found and is required by virtualenv

tmuxでEAWの問題解決を探っていて貴方のパッチにたどり着きました。
解決できると非常にありがたいです。

brew install z80oolong/tmux/tmux 実行時に ChecksumMismatchError が発生する

brew install z80oolong/tmux/tmuxを実行したところ、パッチファイルtmux-2.9a-fix.diffのSHA256が合致せずにエラーとなってしまいます。
以下が実際の出力です。

==> Installing z80oolong/tmux/tmux
==> Downloading https://github.com/tmux/tmux/releases/download/2.9a/tmux-2.9a.tar.gz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/36836475/34410200-6be1-11e9-9f3b-32952993b35e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Creden
######################################################################## 100.0%
==> Downloading https://github.com/z80oolong/tmux-eaw-fix/raw/master/tmux-2.9a-fix.diff
==> Downloading from https://raw.githubusercontent.com/z80oolong/tmux-eaw-fix/master/tmux-2.9a-fix.diff
######################################################################## 100.0%
Error: An exception occurred within a child process:
  ChecksumMismatchError: SHA256 mismatch
Expected: 5225429d53b01119dfba3326d4f420ab3851d8da8b00e44dd7dbb4d5f4713ed4
  Actual: 67afd90e4120c7c7a7e84b767b23b9eb49cb3b6c9cb2e062f2f9d37d53c24285
 Archive: /Users/yuta/Library/Caches/Homebrew/downloads/77897f055d0e148cdf2d368d5d4ab875f8619a7d647f6948fd94b2dbc22e381e--tmux-2.9a-fix.diff
To retry an incomplete download, remove the file above.

なお、brew install z80oolong/tmux/[email protected]を実行するとインストールは正常に完了しました。
[email protected]に記載のpatchのsha256が正しく、tmux.rbのstableの場合のpatchのsha256が誤っているのではないかと思います。

brew install(upgrade) z80oolong/tmux/tmux で "patchelf: not an ELF executable" となる

tmux 2.9a から 3.1c へのバージョンアップの際、表題のエラーでインストールが完了しませんでした。
インストール済みのtmuxを削除し、brew untap z80oolong/tmux も試してみましたが、状況は変わりません。
OS は macOS BigSur 11.0.1 です。

自分の環境依存であるものか、判断がつかないため、お手数ですがご確認いただけますでしょうか。
以下がインストール時のログになります。
よろしくお願いいたします。

$ brew install z80oolong/tmux/tmux
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
bettertouchtool                              cloudflare-warp                              dwgsee                                       wondershare-filmora

==> Installing tmux from z80oolong/tmux
==> Downloading https://raw.githubusercontent.com/imomaliev/tmux-bash-completion/homebrew_1.0.0/completions/tmux
Already downloaded: /Users/wing/Library/Caches/Homebrew/downloads/e069f5feda8ac439eb1c96ee32db3eacfb99b6d0a93568076ff762daa1270dc1--tmux
==> Downloading https://github.com/tmux/tmux/releases/download/3.1c/tmux-3.1c.tar.gz
Already downloaded: /Users/wing/Library/Caches/Homebrew/downloads/51f5047541024217e23b08286fc442e5163dceca3f3201b1627e2144b0f5fa12--tmux-3.1c.tar.gz
==> Patching
==> ./configure --disable-Dependency-tracking --prefix=/usr/local/Cellar/tmux/3.1c_6 --sysconfdir=/usr/local/etc
==> make install
patchelf: not an ELF executable
==> /usr/local/opt/patchelf/bin/patchelf --set-rpath /usr/local/opt/[email protected]/lib /usr/local/Cellar/tmux/3.1c_6/bin/tmux
Last 15 lines from /Users/wing/Library/Logs/Homebrew/tmux/03.patchelf:
2020-12-21 17:02:48 +0900

/usr/local/opt/patchelf/bin/patchelf
--set-rpath
/usr/local/opt/[email protected]/lib
/usr/local/Cellar/tmux/3.1c_6/bin/tmux

patchelf: not an ELF executable

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/z80oolong/homebrew-tmux/issues

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.