Erro - emerge genkernel [RESOLVIDO]

1. Erro - emerge genkernel [RESOLVIDO]

Luiz Henrique Lisboa
luizlisboa

(usa Ubuntu)

Enviado em 23/08/2012 - 17:31h

Boa tarde pessoal,

Estou com o seguinte problema ao executar o emerge genkernel:


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

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) app-arch/cpio-2.11
* cpio-2.11.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking cpio-2.11.tar.bz2 to /var/tmp/portage/app-arch/cpio-2.11/work
>>> Source unpacked in /var/tmp/portage/app-arch/cpio-2.11/work
>>> Preparing source in /var/tmp/portage/app-arch/cpio-2.11/work/cpio-2.11 ...
* Applying cpio-2.11-stat.patch ... [ ok ]
* Applying cpio-2.11-no-gets.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-arch/cpio-2.11/work/cpio-2.11 ...
* econf: updating cpio-2.11/build-aux/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating cpio-2.11/build-aux/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-nls --bindir=/bin --with-rmt=/usr/sbin/rmt
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: in `/var/tmp/portage/app-arch/cpio-2.11/work/cpio-2.11':
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-arch/cpio-2.11/work/cpio-2.11/config.log
* ERROR: app-arch/cpio-2.11 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 85: Called src_configure
* environment, line 1975: Called econf '--enable-nls' '--bindir=/bin' '--with-rmt=/usr/sbin/rmt'
* phase-helpers.sh, line 467: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =app-arch/cpio-2.11',
* the complete build log and the output of 'emerge -pqv =app-arch/cpio-2.11'.
* The complete build log is located at '/var/tmp/portage/app-arch/cpio-2.11/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-arch/cpio-2.11/temp/environment'.
* S: '/var/tmp/portage/app-arch/cpio-2.11/work/cpio-2.11'

>>> Failed to emerge app-arch/cpio-2.11, Log file:

>>> '/var/tmp/portage/app-arch/cpio-2.11/temp/build.log'

* Messages for package app-arch/cpio-2.11:

* ERROR: app-arch/cpio-2.11 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 85: Called src_configure
* environment, line 1975: Called econf '--enable-nls' '--bindir=/bin' '--with-rmt=/usr/sbin/rmt'
* phase-helpers.sh, line 467: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =app-arch/cpio-2.11',
* the complete build log and the output of 'emerge -pqv =app-arch/cpio-2.11'.
* The complete build log is located at '/var/tmp/portage/app-arch/cpio-2.11/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-arch/cpio-2.11/temp/environment'.
* S: '/var/tmp/portage/app-arch/cpio-2.11/work/cpio-2.11'

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

Se alguém souber o que pode estar ocorrendo de errado agradeço!

Abraço



  


2. Re: Erro - emerge genkernel [RESOLVIDO]

groki
Stinky_F00t

(usa Crunchbang)

Enviado em 23/08/2012 - 17:49h

Antes de vc "chrootar" dentro do Gentoo vc montou as partições proc, dev e sys?

#mount -t proc none /mnt/gentoo/proc
#mount --rbind /dev /mnt/gentoo/dev
#mont --rbind /sys /mnt/gentoo/sys

Se não tiver montado é só sair do ambiente do chroot as montar na pasta raiz do Gentoo em que vc vai "chrootar", como feito nos comandos acima. Volte pra dizer se deu certo!

Abraços!


3. Sim

Luiz Henrique Lisboa
luizlisboa

(usa Ubuntu)

Enviado em 23/08/2012 - 18:00h

Montei as 3 partições

# mount -t proc none /mnt/gentoo/proc
# mount --rbind /sys /mnt/gentoo/sys
# mount --rbind /dev /mnt/gentoo/dev

já sai do "chroot" e montei novamente, para se acaso tenha ocorrido algum erro na primeira vez mas continua o mesmo erro.


4. Re: Erro - emerge genkernel [RESOLVIDO]

groki
Stinky_F00t

(usa Crunchbang)

Enviado em 23/08/2012 - 18:33h

Tenta montar a partição /dev assim, então:

#mount -o bind /dev /mnt/gentoo/dev


Depois posta se deu certo.

Abraço, irmão!


5. Continua

Luiz Henrique Lisboa
luizlisboa

(usa Ubuntu)

Enviado em 24/08/2012 - 11:00h

Desculpa a demora para postar o resultado...segue erro após montar de outra forma...

(chroot) livecd / # emerge genkernel

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

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) app-arch/cpio-2.11
* cpio-2.11.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking cpio-2.11.tar.bz2 to /var/tmp/portage/app-arch/cpio-2.11/work
>>> Source unpacked in /var/tmp/portage/app-arch/cpio-2.11/work
>>> Preparing source in /var/tmp/portage/app-arch/cpio-2.11/work/cpio-2.11 ...
* Applying cpio-2.11-stat.patch ... [ ok ]
* Applying cpio-2.11-no-gets.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-arch/cpio-2.11/work/cpio-2.11 ...
* econf: updating cpio-2.11/build-aux/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating cpio-2.11/build-aux/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-nls --bindir=/bin --with-rmt=/usr/sbin/rmt
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: in `/var/tmp/portage/app-arch/cpio-2.11/work/cpio-2.11':
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-arch/cpio-2.11/work/cpio-2.11/config.log
* ERROR: app-arch/cpio-2.11 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 85: Called src_configure
* environment, line 1975: Called econf '--enable-nls' '--bindir=/bin' '--with-rmt=/usr/sbin/rmt'
* phase-helpers.sh, line 467: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =app-arch/cpio-2.11',
* the complete build log and the output of 'emerge -pqv =app-arch/cpio-2.11'.
* The complete build log is located at '/var/tmp/portage/app-arch/cpio-2.11/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-arch/cpio-2.11/temp/environment'.
* S: '/var/tmp/portage/app-arch/cpio-2.11/work/cpio-2.11'

>>> Failed to emerge app-arch/cpio-2.11, Log file:

>>> '/var/tmp/portage/app-arch/cpio-2.11/temp/build.log'

* Messages for package app-arch/cpio-2.11:

* ERROR: app-arch/cpio-2.11 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 85: Called src_configure
* environment, line 1975: Called econf '--enable-nls' '--bindir=/bin' '--with-rmt=/usr/sbin/rmt'
* phase-helpers.sh, line 467: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =app-arch/cpio-2.11',
* the complete build log and the output of 'emerge -pqv =app-arch/cpio-2.11'.
* The complete build log is located at '/var/tmp/portage/app-arch/cpio-2.11/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-arch/cpio-2.11/temp/environment'.
* S: '/var/tmp/portage/app-arch/cpio-2.11/work/cpio-2.11'

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

Abraços



  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts