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

Replay attackの翻訳 #776

Open
sshida opened this issue Jun 23, 2024 · 3 comments
Open

Replay attackの翻訳 #776

sshida opened this issue Jun 23, 2024 · 3 comments
Labels

Comments

@sshida
Copy link

sshida commented Jun 23, 2024

翻訳対象ページ (原文 URL)

https://developer.mozilla.org/en-US/docs/Glossary/Replay_attack

備考・ヘルプ

(特になし)

@sshida sshida added the MDN label Jun 23, 2024
@sshida
Copy link
Author

sshida commented Jun 23, 2024

raspi5 + ubuntu 22.04でyarn installを試しましたがautoreconfがARM64 ELF binaryではないらしいエラーがあり、今回は断念しました。

.../mdn/content$ npx yarn install
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning "@mdn/yari > @use-it/[email protected]" has unmet peer dependency "react@>=16.8".
warning "@mdn/yari > [email protected]" has unmet peer dependency "@types/react@>=18".
warning "@mdn/yari > [email protected]" has unmet peer dependency "react@>=18".
warning "@mdn/yari > [email protected]" has unmet peer dependency "react@^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18".
warning "@mdn/yari > [email protected]" has unmet peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18".
warning "@mdn/yari > @codemirror/lang-css > @codemirror/[email protected]" has unmet peer dependency "@codemirror/view@^6.0.0".
warning "@mdn/yari > @sentry/node > @opentelemetry/instrumentation-connect > @opentelemetry/[email protected]" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.9.0".
warning "@mdn/yari > @sentry/node > @opentelemetry/instrumentation-mongodb > @opentelemetry/[email protected]" has incorrect peer dependency "@opentelemetry/api@>=1.3.0 <1.9.0".
warning "@mdn/yari > @sentry/node > @opentelemetry/instrumentation-mongodb > @opentelemetry/sdk-metrics > @opentelemetry/[email protected]" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.9.0".
[5/5] Building fresh packages...
[-/5] ⠠ waiting...
[2/5] ⠠ gifsicle
[3/5] ⠠ mozjpeg
[4/5] ⠠ pngquant-bin

error /home/ss/mdn/content/node_modules/gifsicle: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments: 
Directory: /home/ss/mdn/content/node_modules/gifsicle
Output:
(node:9628) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Command failed: /home/ss/mdn/content/node_modules/gifsicle/vendor/gifsicle --version
/home/ss/mdn/content/node_modules/gifsicle/vendor/gifsicle: 1: ELF: not found
/home/ss/mdn/content/node_modules/gifsicle/vendor/gifsicle: 2: @8: not found
/home/ss/mdn/content/node_modules/gifsicle/vendor/gifsicle: 3: Syntax error: ")" unexpected


gifsicle pre-build test failed
compiling from source
Error: Command failed: /bin/sh -c autoreconf -ivf
/bin/sh: 1: autoreconf: not found

@gurezo
Copy link
Member

gurezo commented Jun 23, 2024

@sshida
今まで、Raspberry Pi系で翻訳環境を作っていなかったのでわかりませんが、
下記コマンドを実行しても駄目でしょうか?

sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y autoremove
sudo apt-get -y autoclean

@hATrayflood
Copy link
Member

gifsicle/lib/install.js を見た感じ、同梱のビルド済みバイナリが動くか確認し、ダメならソースからビルドするようです。
https://github.com/imagemin/gifsicle-bin/blob/main/lib/install.js

で、ソースビルドに必要な autoreconf がないと怒られてるので、まずは以下のコマンドで autoreconf をインストールしてください。パッケージ名は autoreconf ではなく autoconf です。
sudo apt-get install autoconf

コンパイラなども必要になるはずなので、エラーメッセージから必要なコマンドを都度インストールしてください。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants