[SOLVED] Gentoo begginers problems on Sony VAIO-VGN-NW21MF emerge portage failed
GentooThis forum is for the discussion of Gentoo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Gentoo begginers problems on Sony VAIO-VGN-NW21MF emerge portage failed
Hello Dear Community,
This is my first post on this forum so probably i should first tell a few words about me. I am just starting the adventure with linux and I will try to do it with Gentoo. For now I don't have any knowledge about linux system but I really want to learn sth and I think the Gentoo is the best way to get familiar with linux concepts in general. I;m trying to build "professional dektop". I tried Ubuntu but I don't like when I have a dozens of packages that I will never use and obviously there is no fun.Ok i think this is enough I am installing it from stage3 for i686 and doing the same as it is written in the handbook but I am not able to do emerge portage. Im chrooting from ubuntu 9.10. Here is my make.conf
ubuntu / # emerge portage
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-apps/portage-2.1.7.16 [2.1.6.13] USE="-build -doc -epydoc -python3% (-selinux)" LINGUAS="-pl" 0 kB
Total: 1 package (1 upgrade), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-apps/portage-2.1.7.16
openpty failed: 'out of pty devices'
* portage-2.1.7.16.patch.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* portage-2.1.7.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking portage-2.1.7.16.patch.bz2 to /var/tmp/portage/sys-apps/portage-2.1.7.16/work
>>> Unpacking portage-2.1.7.tar.bz2 to /var/tmp/portage/sys-apps/portage-2.1.7.16/work
>>> Source unpacked in /var/tmp/portage/sys-apps/portage-2.1.7.16/work
>>> Preparing source in /var/tmp/portage/sys-apps/portage-2.1.7.16/work/portage-2.1.7 ...
* Applying portage-2.1.7.16.patch ... [ ok ]
* Setting portage.VERSION to 2.1.7.16 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/portage-2.1.7.16/work/portage-2.1.7 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/portage-2.1.7.16/work/portage-2.1.7 ...
>>> Source compiled.
>>> Test phase [not enabled]: sys-apps/portage-2.1.7.16
>>> Install portage-2.1.7.16 into /var/tmp/portage/sys-apps/portage-2.1.7.16/image/ category sys-apps
patching file make.conf
rm: cannot remove directory `/var/tmp/portage/sys-apps/portage-2.1.7.16/work/portage-2.1.7/bin/ebuild-helpers/3': Directory not empty
/usr/lib/portage/bin/ebuild-helpers/doexe: at least one argument needed
*
* ERROR: sys-apps/portage-2.1.7.16 failed.
* Call stack:
* ebuild.sh, line 49: Called src_install
* environment, line 3337: Called die
* The specific snippet of code:
* doexe $(find . -mindepth 1 -maxdepth 1 -type f ! -type l) || die "doexe failed";
* The die message:
* doexe failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-apps/portage-2.1.7.16/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-2.1.7.16/temp/environment'.
*
>>> Failed to emerge sys-apps/portage-2.1.7.16, Log file:
>>> '/var/tmp/portage/sys-apps/portage-2.1.7.16/temp/build.log'
* Messages for package sys-apps/portage-2.1.7.16:
*
* ERROR: sys-apps/portage-2.1.7.16 failed.
* Call stack:
* ebuild.sh, line 49: Called src_install
* environment, line 3337: Called die
* The specific snippet of code:
* doexe $(find . -mindepth 1 -maxdepth 1 -type f ! -type l) || die "doexe failed";
* The die message:
* doexe failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-apps/portage-2.1.7.16/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-2.1.7.16/temp/environment'.
And here is the var file
Ohh it so huge:/ I hope that information i post above will be enough to slove the problem if not then i will post the var file. I'm doing emerge portage because command emerge --sync suggested it
Greetings,
Artur
P.S Mods- I choose to post it here because I don't think that is hard problem for sb who have a little experience with linux and for sure this is newbie question
Exactly 6.b. Configuring Portage. So far I am not familiar with USE flags but are they necessary to happily end installation process?
Thx for replay
Greetings
Artur
no, the USE-flags are not necessary but very useful. For example if you don't need support for ipv6 you may set
Code:
USE="-ipv6"
I'd also recommend to set the language in make.conf, I'm using
Code:
LINGUAS="de"
for Germany. Even if you only need english support, you should set "-nls" in the USE-flags (nls = national-language-support). This keeps the system smaller.
Ok, to your first question: your portage-version should be recent enough so that you do not have to emerge it at first. Provided you have successfully chrooted into the Gentoo-partition, you should run
Code:
emerge --sync
which will update the portage tree. Then you can do the configurations like described in the handbook. I'd recommend at least to take a look at the USE-flags and also make entries for VIDEO_CARD and INPUT_DEVICES.
Ok tomorrow I will try to get familiar myself with USE flags. I done emerge --sync and it was written that is higly suggested to run emerge portage first before any extra packages will be install. So may I ignore that and go on with documentation?
Greetings,
Artur,
and rebuilding the kernel.
Afterwards you may update the system and see if portage is updated correctly. I think it would be difficult to find a failure in an ebuild (or to find out if it is a failure in an ebuild or a configurationproblem) for a new Gentoo user. By the way, I'm running Gentoo amd64 and my portageversion is 2.1.6.13 and the latest available for my system. So it may not be a problem to use this version on your i686 system.
So this error cannot be fixed easy way? I don't have kernel so far but emerge system is used to update system right? And this command does more less the same that emerge --newuse --update --deep world
I don't know if this error can be fixed in an easy way. But I don't think that the version of portage is as important that one has to fix this problem at first. Maybe also that someone reads this thread who has an idea how to fix this error.
Well, emerge system emerges the ebuilds (builds and installs) the packages for the current portage-tree (which is up to date so far). The --newuse --update --deep options will perform an update. Normally on a new system both commands should have the same effect.
Well just an example: If you compile open office it takes up more than 8 gigs of space, although there's a binary for Ooo, but assuming you want to compile many apps and would also like to save cached source packages I'd say around 20gigs minimum. this is no hard and fast rule, just a personal experience from my gentoo days. I would rather wait for a Gentoo user to come here and comment.
This is a normal Gentoo-Desktop machine with Open Office and KDE4 (which I don't use because I'm running fvwm).
I'd further recommend to use ccache and set the size to 3GB (this resides in the /var directory).
Markus
Last edited by markush; 12-28-2009 at 11:39 AM.
Reason: added some text
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.