Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3037 - Chrooting from another distro breaks ncurses ebuild
Summary: Chrooting from another distro breaks ncurses ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-26 00:01 UTC by ckelsh
Modified: 2006-02-04 06:03 UTC (History)
0 users

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 ckelsh 2002-05-26 00:01:51 UTC
If you attempt an install by chrooting from an already installed distro, "emerge system" stops during the ncurses ebuild. It says:

The ebuild did not complete successfully
Function src-compile, line16, Exitcode 2
(no error message)

emerge avorting on /user/portage/sys-
libs/ncurses/ncurse5.5.2.20020511.ebuild

(On a related note, I wouldn't be chrooting from another distro if it wasn't for bug 2109.)

Thanks!
Comment 1 Spider (RETIRED) gentoo-dev 2002-05-28 04:56:29 UTC
yes, this is true even from gentoo chroot.. 

bad ncurses. 
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-29 15:02:27 UTC
Matt, any ideas on this?  the version of ncurses leads me to think it is gcc-3
related.


ckelsh, is it a gcc-3 profile?
Comment 3 Mark Guertin 2002-06-03 23:33:12 UTC
> ckelsh, is it a gcc-3 profile?

there is no gcc-3.1 profile for ppc (yet), so I would have to think no
Comment 4 Mark Guertin 2002-06-07 14:05:48 UTC
http://bugs.gentoo.org/show_bug.cgi?id=3491

this has some (possibly) helpful info for this issue?
Comment 5 Dan Armak (RETIRED) gentoo-dev 2002-06-08 17:34:00 UTC
I think I know the cause of this: there is a patch that fixes it, but it's  bzipped. bzip was missing as a dep and so the aptch wasn't applied in  src_unpack and the ebuild failed compiling. I've now added the bzip2 dep to ncurses (it just rearranges the  emerge system order a little), please check if that helps.  
Comment 6 Mark Guertin 2002-06-24 18:22:23 UTC
It worked for me on a new bootsrap I did 2 days ago, so it must clear up the
problem (?)
Comment 7 Mark Guertin 2002-06-26 09:34:48 UTC
This was fixed by adding the bzip2 dep to ncurses
Comment 8 Mark Guertin 2002-06-26 22:13:23 UTC
Actually it is now fixed, bzcat does not exist at this early stage of a build
(if building ala autobuildimg style), modified to use bunzip2 -c instead of bzcat.