OSXでKDEソフトウェアを構築する際の問題

OSXでKDEソフトウェアを構築する際の問題

次のようにOSXシステムでKateをビルドしようとしています。https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Mac

HOWTOを最後までフォローしましたが、発行するとemerge Kate次のエラーが発生します。

emerge warning: dev-util/extra-cmake-modules failed: Could not find package 

for dev-util/extra-cmake-modules as a dependency of kde/gpgmepp
*** Handling package: extra-cmake-modules, action: all ***
*** Action: fetch for frameworks/extra-cmake-modules ***
Cloning into '.'...
ssh: Could not resolve hostname kde: nodename nor servname provided, or not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
emerge warning: while running  cmd: git clone  kde:extra-cmake-modules .
emerge warning: Action: fetch for frameworks/extra-cmake-modules FAILED
*** Emerge all failed: all of frameworks/extra-cmake-modules failed after 0:00:00 ***
emerge error: fatal error: package frameworks/extra-cmake-modules all failed

原因と解決策を知っていますか?

編集:extra-cmake-modulesを手動でインストールし、次にIPアドレスを追加した後に新しいエラーが発生します/etc/hosts

*** Action: fetch for frameworks/extra-cmake-modules ***
Cloning into '.'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
emerge warning: while running  cmd: git clone  kde:extra-cmake-modules .
emerge warning: Action: fetch for frameworks/extra-cmake-modules FAILED
*** Emerge all failed: all of frameworks/extra-cmake-modules failed after 0:00:01 ***
emerge error: fatal error: package frameworks/extra-cmake-modules all failed*** Action: fetch for frameworks/extra-cmake-modules ***
Cloning into '.'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
emerge warning: while running  cmd: git clone  kde:extra-cmake-modules .
emerge warning: Action: fetch for frameworks/extra-cmake-modules FAILED
*** Emerge all failed: all of frameworks/extra-cmake-modules failed after 0:00:01 ***
emerge error: fatal error: package frameworks/extra-cmake-modules all failed

編集2:匿名ストアを使用した後

Cloning into '.'...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for kde has changed,
and the key for the corresponding IP address 138.68.4.10
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:00FsaU0+NXKMqBhWLLHhWQpCtHpf35m8UCtSNSnvZbQ.
Please contact your system administrator.
Add correct host key in /Users/<name>/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/<name>/.ssh/known_hosts:2
ECDSA host key for kde has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.

ベストアンサー1

手動でインストールしてみてくださいextra-cmake modules

  1. git clone https://github.com/KDE/extra-cmake-modules.git
  2. cd extra-cmake-modules
  3. cmake .
  4. make
  5. sudo make install

これはgit、make、cmakeがインストールされていると仮定します。

編集:出力を見直すと、gitがホスト名から複製しようとしていることがわかりましたkde。なぜこれが起こるのかわかりませんが、KDEリポジトリから複製したい場合は、/etc/hosts現在のIPアドレスgit.kde.org138.201.41.178。したがって、その行を138.201.41.178 kde.git/etc/hostsが特定のリポジトリから複製しようとすると機能する可能性があります。

編集2:

私が壊したかもしれないと思います。これは、IPアドレスの代わりにホスト名を使用できるため、使用するよりもはるかgit~/.gitconfig優れています。/etc/hosts追加してみてはいかがですか?

[url "git://anongit.kde.org/"]
   insteadOf = kde:
[url "ssh://[email protected]/"]
   pushInsteadOf = kde:

あなたのためにラーメンを~/.gitconfigもう一度試してくださいemerge。 KDEのウェブサイトにこのリポジトリを使用するように言われているので、これがうまくいくと思いました。

おすすめ記事