Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] installing gentoo from debian
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
med-gentoo
n00b
n00b


Joined: 07 Jul 2012
Posts: 36

PostPosted: Sat Aug 18, 2012 5:15 pm    Post subject: [SOLVED] installing gentoo from debian Reply with quote

hi
I used debian to install gentoo but when I arrive to this command emerge gentoo-sources
it shows me that
Code:
 * ERROR: dev-lang/perl-5.12.4-r1 failed (install phase):
 *   Unable to remove module man pages
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_install
 *   environment, line 2560:  Called die
 * The specific snippet of code:
 *       rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pages";
 *
 * If you need support, post the output of `emerge --info '=dev-lang/perl-5.12.4-r1'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/perl-5.12.4-r1'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/perl-5.12.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.12.4-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/perl-5.12.4-r1/work/perl-5.12.4'
 * S: '/var/tmp/portage/dev-lang/perl-5.12.4-r1/work/perl-5.12.4'

>>> Failed to emerge dev-lang/perl-5.12.4-r1, Log file:

>>>  '/var/tmp/portage/dev-lang/perl-5.12.4-r1/temp/build.log'

 * Messages for package dev-lang/perl-5.12.4-r1:

 * ERROR: dev-lang/perl-5.12.4-r1 failed (install phase):
 *   Unable to remove module man pages
 *
 * Call stack:
 *     ebuild.sh, line  85:  Called src_install
 *   environment, line 2560:  Called die
 * The specific snippet of code:
 *       rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pages";
 *
 * If you need support, post the output of `emerge --info '=dev-lang/perl-5.12.4-r1'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/perl-5.12.4-r1'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/perl-5.12.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.12.4-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/perl-5.12.4-r1/work/perl-5.12.4'
 * S: '/var/tmp/portage/dev-lang/perl-5.12.4-r1/work/perl-5.12.4'


Last edited by med-gentoo on Sun Aug 19, 2012 5:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
med-gentoo
n00b
n00b


Joined: 07 Jul 2012
Posts: 36

PostPosted: Sat Aug 18, 2012 5:29 pm    Post subject: Reply with quote

you'll find /var/tmp/portage/dev-lang/perl-5.12.4-r1/temp/build.log in page http://pastebin.mozilla.org/1763907 or this http://pastebin.ca/2196176
Back to top
View user's profile Send private message
loki_val
Retired Dev
Retired Dev


Joined: 13 Nov 2006
Posts: 408
Location: Denmark

PostPosted: Sat Aug 18, 2012 8:12 pm    Post subject: Reply with quote

This smells like /proc and/or /dev not being mounted.
Back to top
View user's profile Send private message
med-gentoo
n00b
n00b


Joined: 07 Jul 2012
Posts: 36

PostPosted: Sat Aug 18, 2012 9:47 pm    Post subject: Reply with quote

loki_val wrote:
This smells like /proc and/or /dev not being mounted.


exept /boot all my files are in the same partition . should I separate them in different partitions :?:
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Sat Aug 18, 2012 10:38 pm    Post subject: Reply with quote

med-gentoo wrote:

exept /boot all my files are in the same partition . should I separate them in different partitions :?:


You should mount /gentoo/dev and /gentoo/proc to appropriate directories of host system (debian)

Code:
# mount -t proc none /mnt/gentoo/proc
# mount --rbind /sys /mnt/gentoo/sys
# mount --rbind /dev /mnt/gentoo/dev
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Sun Aug 19, 2012 6:14 am    Post subject: Reply with quote

perl was reported as blocking emerge gentoo sources in another recent thread.
I tend to suspect that the /dev-lang/perl-5.12.4-r1 package is the problem.
Your build log shows multiple lines like
Quote:
rm: cannot remove `/var/tmp/portage/dev-lang/perl-5.12.4-r1/image//usr/share/man/man3/Time::gmtime.3pm': Bad file descriptor
the //is a bad entry. It appears that ${D} in rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pages"; has been misparsed as
/var/tmp/portage/dev-lang/perl-5.12.4-r1/image/ instead of
/var/tmp/portage/dev-lang/perl-5.12.4-r1/image
Having a die because man pages cannot be removed from a temporary image file seems to be an overreaction.

Suggest you boot debian and, as root, (using your partition scheme if different from handbook)
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
to enter the chroot and then run
Code:
USE="-doc -man" emerge -av perl
USE="-doc -man" emerge -av gentoo-sources

_________________
Defund the FCC.
Back to top
View user's profile Send private message
med-gentoo
n00b
n00b


Joined: 07 Jul 2012
Posts: 36

PostPosted: Sun Aug 19, 2012 5:32 pm    Post subject: Reply with quote

DONAHUE I used your commands and it works thank you
and thank you all for your help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum