Problema ao construir o software KDE no OSX

5

Estou tentando criar o Kate em uma máquina OSX, seguindo este procedimento: link

Consegui seguir o HOWTO até o final, mas quando emito emerge Kate , recebo o seguinte erro:

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

Alguma ideia sobre o que está causando isso e como posso resolvê-lo?

edit: novo erro após instalar manualmente os módulos extra-cmake e adicionar o endereço IP a /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

edit 2: depois de usar o repositório anônimo

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.
    
por domenico camasta 17.08.2016 / 17:57

1 resposta

1

Tente instalar manualmente o 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

Isso pressupõe que você tenha o git, make e cmake instalados.

Editar: Eu olhei a saída novamente e percebi que o git estava tentando clonar a partir do hostname kde . Não sei por que isso acontece, mas se estiver simplesmente tentando clonar a partir do repositório do KDE, você pode resolver isso temporariamente com uma entrada em /etc/hosts . A partir de hoje, o endereço IP de git.kde.org é 138.201.41.178 . Então, tente adicionar a linha 138.201.41.178 kde ao seu /etc/hosts . Isso pode funcionar se o git estiver tentando clonar esse repositório específico.

Editar 2:

Acho que posso ter rachado. Parece que você pode substituir os hosts por git no seu ~/.gitconfig . Isso é muito superior ao uso de /etc/hosts porque você pode usar nomes de host e não apenas endereços IP. Por que você não tenta adicionar

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

para o seu ~/.gitconfig . Em seguida, tente usar emerge novamente. Eu imagino que este funcionará porque o site do KDE disse para usar esses repositórios.

    
por 26.08.2016 / 06:34