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

json-canonicalization バージョン0.3.2 がyankされたため bundle install に失敗する #331

Closed
yuicho opened this issue Dec 5, 2023 · 1 comment · Fixed by #332
Labels
bug Something isn't working

Comments

@yuicho
Copy link

yuicho commented Dec 5, 2023

バグの再現手順

  1. TAGkb5.10-lts もしくは TAGkb9.1に切り替える
  2. リポジトリの最上位ディレクトリで docker build . を実施

期待する動作

イメージのビルドが完了する

実際の動作

エラーが発生してビルドが完了しない

 > [build 7/8] RUN bundle install -j"$(nproc)":                                         
0.848 Bundler 2.4.10 is running, but your lockfile was generated with 2.4.20. Installing Bundler 2.4.20 and restarting using that version.
4.019 Fetching gem metadata from https://rubygems.org/.
4.198 Fetching bundler 2.4.20
4.392 Installing bundler 2.4.20
6.082 Fetching gem metadata from https://rubygems.org/........
19.33 Fetching https://github.com/stanhu/omniauth-cas.git
21.17 Fetching https://github.com/jhawthorn/nsa.git
22.70 Fetching https://github.com/mastodon/rails-settings-cached.git
24.63 Fetching https://github.com/ClearlyClaire/webpush.git
26.62 Your bundle is locked to json-canonicalization (0.3.2) from rubygems repository
26.62 https://rubygems.org/ or installed locally, but that version can no longer be
26.62 found in that source. That means the author of json-canonicalization (0.3.2) has
26.62 removed it. You'll need to update your bundle to a version other than
26.62 json-canonicalization (0.3.2) that hasn't been removed in order to install.

詳しい情報

Gemfileにて json-canonicalization のバージョン 0.3.2 が指定されています。

json-canonicalization (0.3.2)

しかしながら https://rubygems.org/gems/json-canonicalization/versions/0.3.2 を確認したところ、該当バージョンがyankされていました。

このバージョンはヤンクされ、直接のダウンロードや依存関係になっている可能性がある他のgemは利用できません。
バージョン履歴:
1.0.0 - December 04, 2023 (10KB)
0.3.2 - May 02, 2023 (10KB) ヤンク済み
0.3.1 - November 27, 2022 (10KB)
0.3.0 - December 13, 2021 (10KB)
0.2.1 - February 13, 2021 (10KB)
0.2.0 - December 23, 2019 (9.5KB)

バグが発生したkmyblueサーバーのドメイン

mstdn.yuicho.net

バグが発生したkmyblueのバージョン

kb5.10-lts, kb9.1

ブラウザの名前

No response

OS

Debian 11.7

その他の詳細情報

インストールスクリプトにも同様の bundle install が存在します。
試せてはいませんが、非Docker環境でも古いバージョンからのアップデートや新規インストールでは失敗すると思われます。

@yuicho yuicho added the bug Something isn't working label Dec 5, 2023
@kmycode
Copy link
Owner

kmycode commented Dec 5, 2023

ありがとうございます、そちら本家4.2.3で直ってます
kmyblueも本日中にリリース出しますのでお待ちください。
ご迷惑おかけしています

@yuicho yuicho changed the title json-canonicalization 0.3.2 がyankされたため bundle install に失敗する json-canonicalization バージョン0.3.2 がyankされたため bundle install に失敗する Dec 5, 2023
This was referenced Dec 5, 2023
@kmycode kmycode linked a pull request Dec 5, 2023 that will close this issue
@kmycode kmycode closed this as completed Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants