Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23421 - Portage cannot emerge files during install when using the stage one tarball
Summary: Portage cannot emerge files during install when using the stage one tarball
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-24 16:59 UTC by Jasen Stoeker
Modified: 2011-10-30 22:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jasen Stoeker 2003-06-24 16:59:11 UTC
I have been working on installing gentoo 1.4rc4. When trying to install using 
the stage one tarball on either the basic cd or the 3 stages cd (I burned both 
to verify this isn't a CD corruption problem) I encounter this problem: once I 
emerge sync during my installation, I recieve a message saying that there is a 
newer version of portage and I should get it immediately. I have tried to use 
both emerge portage and emerge -u portage, and every single time the emerge 
suddenly ends with this error:

!!! ERROR: sys-libs/ncurses-5.3-r1 failed.
!!! Function econf, Line 237, Exitcode 1
!!! econf failed

When emerging portage failed, I attempted to just use the portage I had to 
emerge my system. No matter what files I try to emerge, and no matter which CD 
I use, I consistently get the same error message. I attempted to rescue 
portage, but that also didn't work. However, I have discovered that if I 
unpack the stage three tarball I don't have this problem. Although it says 
portage is out of date, it flawlessly emerges it and any other packages I 
want. I have not tested stage 2. In the past, though, I have used gentoo 
1.4rc2, and I was able to build from the stage one tarball perfectly. Nothing 
on my computer has changed since then. I have tried installing from stage one 
multiple times and I always get this error, so this is not a once only 
problem. I believe the basic CD was downloaded from the main server, and the 3 
stages one from the georgia tech mirror. However, I can't remember exactly, 
and they may both have come from Georgia tech.

Reproducible: Always
Steps to Reproduce:
1.I unpack the stage 1 tarball
2.I emerge sync
3.I attempt to emerge anything, whether it be portage like it requests (it 
says portage is out of date and needs to be emerged) or another package, and 
it begins to emerge.
4.At some point it stops and gives me the error message.

Actual Results:  
I recieved this error message:

!!! ERROR: sys-libs/ncurses-5.3-r1 failed.
!!! Function econf, Line 237, Exitcode 1
!!! econf failed


Expected Results:  
I would have expected portage to be emerged, and then to be able to emerge the 
other packages I need to complete the system. Using the stage 3 tarball there 
are no problems whatsoever with portage and everything emerges correctly and I 
get a fully operational system. That is what I would have expected from stage 
1 (albeit after a much longer time of compiling).

I was in the middle of the install process and had no other programs running. 
I was following the process correctly because in the past I was able to 
install gentoo 1.4rc2 from stage 1, as well as 1.4rc4 from stage three, so I 
know I am not goofing things up in my methods of installing. This computer has 
also successfully run other linux distros, including redhat, mandrake, ans 
SuSE.

System Information:
Athlon XP 2100+ processor
VIA KT333 chipset
Gigabyte 7VRXP motherboard
1 GB of RAM
All In Wonder Radeon video card
Sound Blaster Live! X-Gamer sound card

I also have other assorted components, such as an ethernet card, optical 
drives and hard drives. If you have any further questions about any of those, 
please email me at monkey_3x2@email.com. Also, since portage makes extensive 
use of the internet and it may be relevent, my NIC is a fairly generic linksys 
10/100 base card.
Comment 1 SpanKY gentoo-dev 2003-06-24 17:05:38 UTC
please post more of the emerge error with ncurses 
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-24 20:25:27 UTC
did you bootstrap?
Comment 3 Jasen Stoeker 2003-06-29 19:41:39 UTC
That was the entire error. There was no more text to post, unfortunately. No, I didn't bootstrap, although I tried. It failed at some point during the process with that error message as well. I don't know if it uses portage, because if it doesn't perhaps the problem lies with the compiler. At any rate, the bootstrap and emerge attempts with portage failed with that error message, and there was no other text displayed.
Comment 4 Alistair 2003-11-17 16:17:21 UTC
Bug Duplicated:
Dual P166 158Mb 1.5Gb swap
all scsi (intergraph TD-30 box)
using stage1 tarball off liveCD --
   unpacked stage 1 tarball to a disk partiion with 3.5Gb available. 
   NB the base boot is to slackware 9.0 with 2.4.18 kernel.  CD is NOT bootable.  
	Done are:
	chroot /workingdir /bin/bash 
	   source /etc/profile
	   emerge sync
	   emerge -up portage
   indicates update available:
emerge -u portage to update fails at ncurses update r1 (same message as posted)
first run of scripts/bootstrap.sh fails at ncurses update r1 (same message as posted)
currently running *second* pass at scripts/bootstrap.sh. 
(keep in mind that this is NOT a racehorse of a system... its a testbed for Gentoo right now..although I've yet to complete the install.)
System is connected to the internet, has been able to download packages, although it is occasionally complaining about files not ending with newlines.. .it appears to get past this.  
I note that the second run at scripts/bootstrap.sh has made it MUCH farther than the initial run.  Perhaps the emerge of ncurses needs to be in a different spot in the order?
Comment 5 Derek 2003-11-27 00:26:11 UTC
i am recieveing the same error as well. i went to do a emerge -u portage during a stage 1 install 

and twice i recieved this error. it has to do with the C++ preprocessor /lib/cpp failing the sanity check


i then get the error that ncurses has failed to install.
Comment 6 John Davis (zhen) (RETIRED) gentoo-dev 2004-01-23 17:50:03 UTC
you have to bootstrap first to get gcc up and running. try that, and then you should be able to emerge just fine. Updating portage for bootstraping is not really going to change anything.