Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Portuguese
  • Search

.desktop e comando para criar um .ebuild

Forum para os utilizadores de Gentoo que falam Português.
Post Reply
Advanced search
96 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
Author
Message
Xinitrc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Aug 06, 2019 6:02 pm
Location: Jaraguá do Su/SC

Ok

  • Quote

Post by Xinitrc » Sun Oct 25, 2020 2:20 am

1)Você é moderador/administrador do fórum Gentoo?
2)Gostaria de uma área para postar programas feitos pelos membros,assim eu postaria meus programas para Gentoo no Lazarus junto com o código fonte de cada programa,não se faz open source sem abrir o código fonte do programa,assim o pessoal talvez confiaria no meus programas,e melhoraria eles.neh?
Top
Xinitrc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Aug 06, 2019 6:02 pm
Location: Jaraguá do Su/SC

Ok

  • Quote

Post by Xinitrc » Sun Oct 25, 2020 4:26 am

Olha o erro:O que estou fazendo de errado?

ebuild VisualizadorDeImagem-bin-9999.ebuild clean install
Appending /home/junior/localrepo to PORTDIR_OVERLAY...
* Visualizador.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
* Visualizador.png BLAKE2B SHA512 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking Visualizador.tar.gz to /var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/work

gzip: /var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/distdir/Visualizador.tar.gz: not in gzip format
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
* ERROR: sci-misc/VisualizadorDeImagem-bin-9999::localrepo failed (unpack phase):
* unpacking /var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/distdir/Visualizador.tar.gz failed (comp=gzip -dc arch=tar --no-same-owner -xof)
*
* Call stack:
* ebuild.sh, line 125: Called src_unpack
* environment, line 1684: Called unpacker_src_unpack
* environment, line 2546: Called unpacker
* environment, line 2541: Called _unpacker 'Visualizador.tar.gz'
* environment, line 558: Called assert 'unpacking /var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/distdir/Visualizador.tar.gz failed (comp=gzip -dc arch=tar --no-same-owner -xof)'
* isolated-functions.sh, line 18: Called die
* The specific snippet of code:
* [[ $x -eq 0 ]] || die "$@"
*
* If you need support, post the output of `emerge --info '=sci-misc/VisualizadorDeImagem-bin-9999::localrepo'`,
* the complete build log and the output of `emerge -pqv '=sci-misc/VisualizadorDeImagem-bin-9999::localrepo'`.
* The complete build log is located at '/var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/temp/environment'.
* Working directory: '/var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/work'
* S: '/var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/work'
junior-aspiref5573g /home/junior/localrepo/sci-misc/VisualizadorDeImagem-bin #
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

Re: Ok

  • Quote

Post by ff11 » Sun Oct 25, 2020 12:12 pm

Xinitrc wrote:1)Você é moderador/administrador do fórum Gentoo?
Não. Sou somente um usuário comum aleatório que pode aparecer hoje e sumir completamente amanhã.
Xinitrc wrote:2)Gostaria de uma área para postar programas feitos pelos membros,assim eu postaria meus programas para Gentoo no Lazarus junto com o código fonte de cada programa,não se faz open source sem abrir o código fonte do programa,assim o pessoal talvez confiaria no meus programas,e melhoraria eles.neh?
Eu acho que isso é contra as regras do Forum Gentoo Linux, e você pode ter problemas se tentar isso.
Xinitrc wrote:Olha o erro:O que estou fazendo de errado?

ebuild VisualizadorDeImagem-bin-9999.ebuild clean install
Oh! O comando para teste está correto. Muito bom.
Xinitrc wrote:gzip: /var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/distdir/Visualizador.tar.gz: not in gzip format
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Como eu disse antes, e está na mensagem de erro, o arquivo Visualizador.tar.gz é um html e não um gzip.
Sua URL está errada.

DICA:
A URL do html tem a palavra blob nele,
enquanto a URL do real arquivo tar.gz (gzip) tem a palavra raw nele.
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
Xinitrc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Aug 06, 2019 6:02 pm
Location: Jaraguá do Su/SC

ok

  • Quote

Post by Xinitrc » Sun Oct 25, 2020 4:54 pm

Como faço para minha html ter o raw invés do blob?
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

Re: ok

  • Quote

Post by ff11 » Sun Oct 25, 2020 5:02 pm

Xinitrc wrote:Como faço para minha html ter o raw invés do blob?
Mudando o blob para raw?!

Exemplo:
* URL com blob:
https://gitlab.com/BuiuDeJaraguaDoSul/g ... epo.tar.gz

* URL com raw:
https://gitlab.com/BuiuDeJaraguaDoSul/g ... epo.tar.gz

perceba que a única mudança foi a palavra blob para raw.
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
Xinitrc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Aug 06, 2019 6:02 pm
Location: Jaraguá do Su/SC

Ok

  • Quote

Post by Xinitrc » Mon Oct 26, 2020 12:13 am

Coloquei raw no link do localrepo,mas aparece o seguinte:

emerge VisualizadorDeImagem-bin
Calculating dependencies ... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sci-misc/VisualizadorDeImagem-bin-9999::localrepo
* VisualizadorDeImagens.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
* Visualizador.png BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking VisualizadorDeImagens.tar.gz to /var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/work

gzip: /var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/distdir/VisualizadorDeImagens.tar.gz: not in gzip format
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
* ERROR: sci-misc/VisualizadorDeImagem-bin-9999::localrepo failed (unpack phase):
* unpacking /var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/distdir/VisualizadorDeImagens.tar.gz failed (comp=gzip -dc arch=tar --no-same-owner -xof)
*
* Call stack:
* ebuild.sh, line 125: Called src_unpack
* environment, line 1686: Called unpacker_src_unpack
* environment, line 2548: Called unpacker
* environment, line 2543: Called _unpacker 'VisualizadorDeImagens.tar.gz'
* environment, line 560: Called assert 'unpacking /var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/distdir/VisualizadorDeImagens.tar.gz failed (comp=gzip -dc arch=tar --no-same-owner -xof)'
* isolated-functions.sh, line 18: Called die
* The specific snippet of code:
* [[ $x -eq 0 ]] || die "$@"
*
* If you need support, post the output of `emerge --info '=sci-misc/VisualizadorDeImagem-bin-9999::localrepo'`,
* the complete build log and the output of `emerge -pqv '=sci-misc/VisualizadorDeImagem-bin-9999::localrepo'`.
* The complete build log is located at '/var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/temp/environment'.
* Working directory: '/var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/work'
* S: '/var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/work'

>>> Failed to emerge sci-misc/VisualizadorDeImagem-bin-9999, Log file:

>>> '/var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/temp/build.log'

* Messages for package sci-misc/VisualizadorDeImagem-bin-9999:

* ERROR: sci-misc/VisualizadorDeImagem-bin-9999::localrepo failed (unpack phase):
* unpacking /var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/distdir/VisualizadorDeImagens.tar.gz failed (comp=gzip -dc arch=tar --no-same-owner -xof)
*
* Call stack:
* ebuild.sh, line 125: Called src_unpack
* environment, line 1686: Called unpacker_src_unpack
* environment, line 2548: Called unpacker
* environment, line 2543: Called _unpacker 'VisualizadorDeImagens.tar.gz'
* environment, line 560: Called assert 'unpacking /var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/distdir/VisualizadorDeImagens.tar.gz failed (comp=gzip -dc arch=tar --no-same-owner -xof)'
* isolated-functions.sh, line 18: Called die
* The specific snippet of code:
* [[ $x -eq 0 ]] || die "$@"
*
* If you need support, post the output of `emerge --info '=sci-misc/VisualizadorDeImagem-bin-9999::localrepo'`,
* the complete build log and the output of `emerge -pqv '=sci-misc/VisualizadorDeImagem-bin-9999::localrepo'`.
* The complete build log is located at '/var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/temp/environment'.
* Working directory: '/var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/work'
* S: '/var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/work'
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

Re: Ok

  • Quote

Post by ff11 » Mon Oct 26, 2020 1:47 pm

Xinitrc wrote:Coloquei raw no link do localrepo,mas aparece o seguinte:

emerge VisualizadorDeImagem-bin
Vejo que você está progredindo. Muito bom, mas:
Xinitrc wrote: gzip: /var/tmp/portage/sci-misc/VisualizadorDeImagem-bin-9999/distdir/VisualizadorDeImagens.tar.gz: not in gzip format
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
A URL ainda está errada no arquivo que você está usando. Você deve ter corrigido somente na sua cópia local.

A sua cópia local, que está provavelmente em:
/home/junior/localrepo/sci-misc/VisualizadorDeImagem-bin-9999/VisualizadorDeImagem-bin-9999.ebuild
Não é a que o portage está usando nesse caso. Mas foi a que você modificou

O portage está usando a cópia dele, que provavelmente está em:
/var/db/repos/localrepo/sci-misc/VisualizadorDeImagem-bin-9999/VisualizadorDeImagem-bin-9999.ebuild

E lembre que ao modificar o ebuild, você precisa gerar novamente o arquivio Manifest (como mencionado anteriormente)
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
Xinitrc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Aug 06, 2019 6:02 pm
Location: Jaraguá do Su/SC

Ok

  • Quote

Post by Xinitrc » Tue Oct 27, 2020 7:55 am

Ultima pergunta mestre:


Qual é a sua idade?


Pergunto isso,porque tu sabe muito de Gentoo etc...
Top
Xinitrc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Aug 06, 2019 6:02 pm
Location: Jaraguá do Su/SC

Erro

  • Quote

Post by Xinitrc » Wed Oct 28, 2020 12:06 am

emerge VisualizadorDeImagem-bin

* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

Calculating dependencies l * Digest verification failed:
* /var/db/repos/localrepo/sci-misc/VisualizadorDeImagem-bin/VisualizadorDeImagem-bin-9999.ebuild
* Reason: Filesize does not match recorded size
* Got: 1733
* Expected: 1721
... done!

!!! All ebuilds that could satisfy "VisualizadorDeImagem-bin" have been masked.
!!! One of the following masked packages is required to complete your request:
- sci-misc/VisualizadorDeImagem-bin-9999::localrepo (masked by: corruption)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Top
Xinitrc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Aug 06, 2019 6:02 pm
Location: Jaraguá do Su/SC

Ok

  • Quote

Post by Xinitrc » Wed Oct 28, 2020 5:01 pm

A calculadora que tu me ensinou a fazer está dando esse erro no computador,depois que formatei o redcore:

junior-aspiref5573g /home/junior/localrepo/sci-calculators/CalculadoraDecimo-bin # repoman manifest
>>> Downloading 'https://gitlab.com/BuiuDeJaraguaDoSul/g ... imo.tar.gz'
--2020-10-28 14:00:29-- https://gitlab.com/BuiuDeJaraguaDoSul/g ... imo.tar.gz
Resolving gitlab.com... 172.65.251.78, 2606:4700:90:0:f22e:fbec:5bed:a9b9
Connecting to gitlab.com|172.65.251.78|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-10-28 14:00:30 ERROR 404: Not Found.

>>> Downloading 'http://mirror.bytemark.co.uk/gentoo/dis ... imo.tar.gz'
--2020-10-28 14:00:30-- http://mirror.bytemark.co.uk/gentoo/dis ... imo.tar.gz
Resolving mirror.bytemark.co.uk... 212.110.163.12, 80.68.83.150, 2001:41c8:20:5e6::150, ...
Connecting to mirror.bytemark.co.uk|212.110.163.12|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-10-28 14:00:30 ERROR 404: Not Found.

!!! Couldn't download 'CalculadoraDecimo.tar.gz'. Aborting.
!!! Fetch failed for CalculadoraDecimo.tar.gz, can't update Manifest
!!! Unable to generate manifest for '/home/junior/localrepo/sci-calculators/CalculadoraDecimo-bin'.
ebuild.notadded 1
manifest.bad [fatal] 1
sci-calculators/CalculadoraDecimo-bin/Manifest
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

Re: Ok

  • Quote

Post by ff11 » Wed Oct 28, 2020 5:23 pm

Xinitrc wrote:...
Qual é a sua idade?
...
Nesse mundo, esse meu pobre corpo, tem 37 anos.
Depois de anos fazendo sempre a mesmas coisa, você se acostuma.
Xinitrc wrote:...
Calculating dependencies l * Digest verification failed:
...
Toda vez que o arquivo muda no servidor, o ebuild precisa ser refeito. Ou pelo menos o arquivo Manifest.
Xinitrc wrote:...
>>> Downloading 'https://gitlab.com/BuiuDeJaraguaDoSul/g ... imo.tar.gz'
...
Olhei no
https://gitlab.com/BuiuDeJaraguaDoSul/g ... rosalario/
e você mudou o arquivo CalculadoraDecimo.tar.gz para CalculadoraDeDecimoTerceiroSalario.tar.gz.
No commit:
https://gitlab.com/BuiuDeJaraguaDoSul/g ... abe894d061
você removeu o arquivo, então o portage não consegue baixar um arquivo que não existe mais.
Esse tipo de mudança faz parte da manutenção dos arquivos ebuild (apesar que nesse caso, foi você mesmo que mudou, acontece também quando o Gentoo Linux muda o nome das dependências).
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
Xinitrc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Aug 06, 2019 6:02 pm
Location: Jaraguá do Su/SC

Re: Ok

  • Quote

Post by Xinitrc » Wed Oct 28, 2020 5:36 pm

ff11 wrote:
Xinitrc wrote:...
Qual é a sua idade?
...
Nesse mundo, esse meu pobre corpo, tem 37 anos.
Depois de anos fazendo sempre a mesmas coisa, você se acostuma.
Xinitrc wrote:...
Calculating dependencies l * Digest verification failed:
...
Toda vez que o arquivo muda no servidor, o ebuild precisa ser refeito. Ou pelo menos o arquivo Manifest.
Xinitrc wrote:...
>>> Downloading 'https://gitlab.com/BuiuDeJaraguaDoSul/g ... imo.tar.gz'
...
Olhei no
https://gitlab.com/BuiuDeJaraguaDoSul/g ... rosalario/
e você mudou o arquivo CalculadoraDecimo.tar.gz para CalculadoraDeDecimoTerceiroSalario.tar.gz.
No commit:
https://gitlab.com/BuiuDeJaraguaDoSul/g ... abe894d061
você removeu o arquivo, então o portage não consegue baixar um arquivo que não existe mais.
Esse tipo de mudança faz parte da manutenção dos arquivos ebuild (apesar que nesse caso, foi você mesmo que mudou, acontece também quando o Gentoo Linux muda o nome das dependências).
Eu tenho quase sua idade,tenho 33 anos,deu quase certo Mestre,parou no seguinte:

emerge CalculadoraDecimo-bin

* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

Calculating dependencies * Digest verification failed:
* /var/db/repos/localrepo/sci-calculators/CalculadoraDecimo-bin/CalculadoraDecimo-bin-9999.ebuild
* Reason: Filesize does not match recorded size
* Got: 1797
* Expected: 1812
... done!

!!! All ebuilds that could satisfy "CalculadoraDecimo-bin" have been masked.
!!! One of the following masked packages is required to complete your request:
- sci-calculators/CalculadoraDecimo-bin-9999::localrepo (masked by: corruption)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Entendi que o motivo(Reason no inglês) é que o tamanho do arquivo não corresponde ao arquivo gravado,entendi certo mestre,seu aluno está progredindo?


Se for isso:

O que faço agora?
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

Re: Ok

  • Quote

Post by ff11 » Wed Oct 28, 2020 6:34 pm

Xinitrc wrote:...
Entendi que o motivo(Reason no inglês) é que o tamanho do arquivo não corresponde ao arquivo gravado,entendi certo mestre,seu aluno está progredindo?

Se for isso:

O que faço agora?
Correto.
Você pode fazer:

* Recriar o Manifest do CalculadoraDecimo-bin-9999.ebuild com o arquivo novo:

Code: Select all

# rm /var/cache/distfiles/CalculadoraDecimo.tar.gz
# cd /var/db/repos/localrepo/sci-calculators/CalculadoraDecimo-bin/
# rm Manifest
# repoman manifest
E tentar novamente o:

Code: Select all

# emerge CalculadoraDecimo-bin
E ter em mente que no Gentoo Linux, qualquer mudança, mesmo que pequena, precisa que o pacote seja atualizado (ou pelo menos o arquivo Manifest).
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
Xinitrc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Aug 06, 2019 6:02 pm
Location: Jaraguá do Su/SC

Re: Ok

  • Quote

Post by Xinitrc » Wed Oct 28, 2020 6:50 pm

ff11 wrote:
Xinitrc wrote:...
Entendi que o motivo(Reason no inglês) é que o tamanho do arquivo não corresponde ao arquivo gravado,entendi certo mestre,seu aluno está progredindo?

Se for isso:

O que faço agora?
Correto.
Você pode fazer:

* Recriar o Manifest do CalculadoraDecimo-bin-9999.ebuild com o arquivo novo:

Code: Select all

# rm /var/cache/distfiles/CalculadoraDecimo.tar.gz
# cd /var/db/repos/localrepo/sci-calculators/CalculadoraDecimo-bin/
# rm Manifest
# repoman manifest
E tentar novamente o:

Code: Select all

# emerge CalculadoraDecimo-bin
E ter em mente que no Gentoo Linux, qualquer mudança, mesmo que pequena, precisa que o pacote seja atualizado (ou pelo menos o arquivo Manifest).
Obrigado Mestre,deu certo,devo todo meu ensino a você,que foi meu Professor,e como todo Professor teve paciência para ensinar ao seu aluno.
Top
Xinitrc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Aug 06, 2019 6:02 pm
Location: Jaraguá do Su/SC

Ok

  • Quote

Post by Xinitrc » Thu Oct 29, 2020 7:54 am

Mestre,aprendi tudo contigo,só não aprendi a resolver problemas,como esse por exemplo:

junior-aspiref5573g /var/db/repos/localrepo/sci-misc/GeradorDeSenhas-bin # emerge GeradorDeSenhas-bin

* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

Calculating dependencies ... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sci-misc/GeradorDeSenhas-bin-9999::localrepo
* Gerador.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
* GeradorDeSenha.png BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking Gerador.tar.gz to /var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/work
>>> Unpacking GeradorDeSenha.png to /var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/work
unpack GeradorDeSenha.png: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/work
>>> Preparing source in /var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/work ...
>>> Source compiled.
>>> Test phase [not enabled]: sci-misc/GeradorDeSenhas-bin-9999

>>> Install sci-misc/GeradorDeSenhas-bin-9999 into /var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/image
cp: cannot stat '/var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/distdir/Gerador.png': No such file or directory
* ERROR: sci-misc/GeradorDeSenhas-bin-9999::localrepo failed (install phase):
* Install failed!
*
* Call stack:
* ebuild.sh, line 125: Called src_install
* environment, line 1675: Called die
* The specific snippet of code:
* cp -L "${DISTDIR}/Gerador.png" "${D}/usr/share/pixmaps/Gerador" || die "Install failed!";
*
* If you need support, post the output of `emerge --info '=sci-misc/GeradorDeSenhas-bin-9999::localrepo'`,
* the complete build log and the output of `emerge -pqv '=sci-misc/GeradorDeSenhas-bin-9999::localrepo'`.
* The complete build log is located at '/var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/temp/environment'.
* Working directory: '/var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/work'
* S: '/var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/work'

>>> Failed to emerge sci-misc/GeradorDeSenhas-bin-9999, Log file:

>>> '/var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/temp/build.log'

* Messages for package sci-misc/GeradorDeSenhas-bin-9999:

* ERROR: sci-misc/GeradorDeSenhas-bin-9999::localrepo failed (install phase):
* Install failed!
*
* Call stack:
* ebuild.sh, line 125: Called src_install
* environment, line 1675: Called die
* The specific snippet of code:
* cp -L "${DISTDIR}/Gerador.png" "${D}/usr/share/pixmaps/Gerador" || die "Install failed!";
*
* If you need support, post the output of `emerge --info '=sci-misc/GeradorDeSenhas-bin-9999::localrepo'`,
* the complete build log and the output of `emerge -pqv '=sci-misc/GeradorDeSenhas-bin-9999::localrepo'`.
* The complete build log is located at '/var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/temp/environment'.
* Working directory: '/var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/work'
* S: '/var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/work'
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

Re: Ok

  • Quote

Post by ff11 » Thu Oct 29, 2020 1:29 pm

Apenas se acalme, respire fundo, e olhe as mensagens com cuidado que você vai descobrir o problema:
Xinitrc wrote:...
* GeradorDeSenha.png BLAKE2B SHA512 size ;-) ... [ ok ]
...
cp: cannot stat '/var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/distdir/Gerador.png': No such file or directory
...
O arquivo baixado foi o GeradorDeSenha.png, mas você está tentando usar o Gerador.png.
Suponho que você esteja referenciando o mesmo arquivo com dois nomes diferentes. E por isso a mensagem de erro, que o arquivo Gerador.png não existe.
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
Xinitrc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Aug 06, 2019 6:02 pm
Location: Jaraguá do Su/SC

Re: Ok

  • Quote

Post by Xinitrc » Fri Oct 30, 2020 2:32 pm

ff11 wrote:Apenas se acalme, respire fundo, e olhe as mensagens com cuidado que você vai descobrir o problema:
Xinitrc wrote:...
* GeradorDeSenha.png BLAKE2B SHA512 size ;-) ... [ ok ]
...
cp: cannot stat '/var/tmp/portage/sci-misc/GeradorDeSenhas-bin-9999/distdir/Gerador.png': No such file or directory
...
O arquivo baixado foi o GeradorDeSenha.png, mas você está tentando usar o Gerador.png.
Suponho que você esteja referenciando o mesmo arquivo com dois nomes diferentes. E por isso a mensagem de erro, que o arquivo Gerador.png não existe.
Deu o seguinte erro abaixo,mas esse erro já aprendemos.


junior-aspiref5573g /home/junior/localrepo/sci-misc/GeradorDeSenhas-bin # ebuild GeradorDeSenhas-bin-9999.ebuild clean install
Appending /home/junior/localrepo to PORTDIR_OVERLAY...
>>> Downloading 'https://gitlab.com/BuiuDeJaraguaDoSul/g ... dor.tar.gz'
--2020-10-30 11:30:13-- https://gitlab.com/BuiuDeJaraguaDoSul/g ... dor.tar.gz
Resolving gitlab.com... 172.65.251.78, 2606:4700:90:0:f22e:fbec:5bed:a9b9
Connecting to gitlab.com|172.65.251.78|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5884390 (5,6M) [application/x-gzip]
Saving to: ‘/var/cache/distfiles/Gerador.tar.gz.__download__’

/var/cache/distfiles/Gerador.tar.gz.__download_ 100%[======================================================================================================>] 5,61M 2,52MB/s in 2,2s

2020-10-30 11:30:17 (2,52 MB/s) - ‘/var/cache/distfiles/Gerador.tar.gz.__download__’ saved [5884390/5884390]

!!! Fetched file: Gerador.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 5884390
!!! Expected: 6406489
Refetching... File renamed to '/var/cache/distfiles/Gerador.tar.gz._checksum_failure_.guf2mglo'

>>> Downloading 'http://mirror.bytemark.co.uk/gentoo/dis ... dor.tar.gz'
--2020-10-30 11:30:17-- http://mirror.bytemark.co.uk/gentoo/dis ... dor.tar.gz
Resolving mirror.bytemark.co.uk... 80.68.83.150, 212.110.163.12, 2001:41c8:20:5fc::12, ...
Connecting to mirror.bytemark.co.uk|80.68.83.150|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-10-30 11:30:18 ERROR 404: Not Found.

!!! Couldn't download 'Gerador.tar.gz'. Aborting.
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

Re: Ok

  • Quote

Post by ff11 » Fri Oct 30, 2020 2:47 pm

Xinitrc wrote:...
junior-aspiref5573g /home/junior/localrepo/sci-misc/GeradorDeSenhas-bin # ebuild GeradorDeSenhas-bin-9999.ebuild clean install
...
!!! Fetched file: Gerador.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 5884390
!!! Expected: 6406489
...
Eu sei que é chato, mas repetirei novamente, toda vez que alguma modificação for feita, não importa quão pequena ela seja, você terá que atualizar pelo menos o arquivo Manifest. E aqui eu estou falando somente de suas modificações, sem levar em conta as modificações nos pacotes de dependências. Basicamente meu ponto era esse quando eu disse que ficar dando manutenção a esses ebuilds seria a pior parte para você e tinha recomendado o uso do AppImage (mas você discorda, então não posso fazer nada a respeito).
E para esse caso:

Code: Select all

# Atualize o Manifest:
$ cd /home/junior/localrepo/sci-misc/GeradorDeSenhas-bin
$ repoman manifest

# então você poderá usar o:
$ ebuild GeradorDeSenhas-bin-9999.ebuild clean install
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
Xinitrc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Aug 06, 2019 6:02 pm
Location: Jaraguá do Su/SC

Re: Ok

  • Quote

Post by Xinitrc » Fri Oct 30, 2020 5:49 pm

ff11 wrote:
Xinitrc wrote:...
junior-aspiref5573g /home/junior/localrepo/sci-misc/GeradorDeSenhas-bin # ebuild GeradorDeSenhas-bin-9999.ebuild clean install
...
!!! Fetched file: Gerador.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 5884390
!!! Expected: 6406489
...
Eu sei que é chato, mas repetirei novamente, toda vez que alguma modificação for feita, não importa quão pequena ela seja, você terá que atualizar pelo menos o arquivo Manifest. E aqui eu estou falando somente de suas modificações, sem levar em conta as modificações nos pacotes de dependências. Basicamente meu ponto era esse quando eu disse que ficar dando manutenção a esses ebuilds seria a pior parte para você e tinha recomendado o uso do AppImage (mas você discorda, então não posso fazer nada a respeito).
E para esse caso:

Code: Select all

# Atualize o Manifest:
$ cd /home/junior/localrepo/sci-misc/GeradorDeSenhas-bin
$ repoman manifest

# então você poderá usar o:
$ ebuild GeradorDeSenhas-bin-9999.ebuild clean install
Tinha colocado lá em cima,que já tinhamos aprendido esse erro abaixo,e que depois que enviei o erro,vi que já tinha aprendido contigo.
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

Re: Ok

  • Quote

Post by ff11 » Fri Oct 30, 2020 5:52 pm

Xinitrc wrote:...
Tinha colocado lá em cima,que já tinhamos aprendido esse erro abaixo,e que depois que enviei o erro,vi que já tinha aprendido contigo.
Não se preocupe com isso. Eu mesmo vivo esquecendo de atualizar o Manifest, e geralmente só percebo quando vejo a mensagem de erro. E por isso que eu digo que qualquer modificação que seja, precisa de atualização (até mesmo um comentário dentro do ebuild que nem mesmo é executado, gera a necessidade de atualização).
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
Xinitrc
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Aug 06, 2019 6:02 pm
Location: Jaraguá do Su/SC

Re: Ok

  • Quote

Post by Xinitrc » Sat Oct 31, 2020 3:25 pm

ff11 wrote:
Xinitrc wrote:...
Tinha colocado lá em cima,que já tinhamos aprendido esse erro abaixo,e que depois que enviei o erro,vi que já tinha aprendido contigo.
Não se preocupe com isso. Eu mesmo vivo esquecendo de atualizar o Manifest, e geralmente só percebo quando vejo a mensagem de erro. E por isso que eu digo que qualquer modificação que seja, precisa de atualização (até mesmo um comentário dentro do ebuild que nem mesmo é executado, gera a necessidade de atualização).
Mestre ainda não aprendi a corrigir problemas,por favor corrija esse para mim:

junior-aspiref5573g /home/junior/localrepo/sci-calculators/CalculadoraDecimo-bin # ebuild CalculadoraDecimo-bin-9999.ebuild clean install
Appending /home/junior/localrepo to PORTDIR_OVERLAY...
>>> Downloading 'https://gitlab.com/BuiuDeJaraguaDoSul/g ... imo.tar.gz'
--2020-10-31 12:19:56-- https://gitlab.com/BuiuDeJaraguaDoSul/g ... imo.tar.gz
Resolving gitlab.com... 172.65.251.78, 2606:4700:90:0:f22e:fbec:5bed:a9b9
Connecting to gitlab.com|172.65.251.78|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5885042 (5,6M) [application/x-gzip]
Saving to: ‘/var/cache/distfiles/CalculadoraDecimo-bin-9999.tar.gz.__download__’

/var/cache/distfiles/CalculadoraDecimo-bin-9999 100%[======================================================================================================>] 5,61M 1,34MB/s in 6,4s

2020-10-31 12:20:03 (903 KB/s) - ‘/var/cache/distfiles/CalculadoraDecimo-bin-9999.tar.gz.__download__’ saved [5885042/5885042]

!!! Fetched file: CalculadoraDecimo-bin-9999.tar.gz VERIFY FAILED!
!!! Reason: Failed on BLAKE2B verification
!!! Got: f05cc6fbc7e6506fa1701b6ffabbd72e2e71c7bd0b254238320a69d3e39bf39a0b7feda9f683ada5a0748accf7402fb8d354a108fc8d5f7ae1f866c5950e77c2
!!! Expected: 2a08eed056cf0046545a9c722808935420d71fb8ee39cf7c16c6d1085556e43c838f9ce37d8285b89b041db6683e159be878d30a15e94554084b215569c9ee3d
Refetching... File renamed to '/var/cache/distfiles/CalculadoraDecimo-bin-9999.tar.gz._checksum_failure_.ml4049dl'

>>> Downloading 'http://mirror.bytemark.co.uk/gentoo/dis ... 999.tar.gz'
--2020-10-31 12:20:04-- http://mirror.bytemark.co.uk/gentoo/dis ... 999.tar.gz
Resolving mirror.bytemark.co.uk... 212.110.163.12, 80.68.83.150, 2001:41c8:20:5fc::12, ...
Connecting to mirror.bytemark.co.uk|212.110.163.12|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-10-31 12:20:04 ERROR 404: Not Found.

!!! Couldn't download 'CalculadoraDecimo-bin-9999.tar.gz'. Aborting.
Top
Post Reply

96 posts
  • Previous
  • 1
  • 2
  • 3
  • 4

Return to “Portuguese”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic