View previous topic :: View next topic |
Author |
Message |
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Wed Apr 09, 2008 10:13 pm Post subject: New TinyGentoo env-update Problems.. |
|
|
I've been wanting to build a TinyGentoo install for my BBS. So far, everything works well except when I try to do an env-update:
slappy / # env-update
Traceback (most recent call last):
File "/usr/sbin/env-update", line 27, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 6871, in ?
init_legacy_globals()
File "/usr/lib/portage/pym/portage.py", line 6827, in init_legacy_globals
db = create_trees(**kwargs)
File "/usr/lib/portage/pym/portage.py", line 6780, in create_trees
config_incrementals=portage_const.INCREMENTALS)
File "/usr/lib/portage/pym/portage.py", line 902, in __init__
addProfile(os.path.realpath(self.profile_path))
File "/usr/lib/portage/pym/portage.py", line 896, in addProfile
addProfile(parentPath)
File "/usr/lib/portage/pym/portage.py", line 896, in addProfile
addProfile(parentPath)
File "/usr/lib/portage/pym/portage.py", line 889, in addProfile
raise portage_exception.ParseError(
NameError: global name 'parents_file' is not defined
I've been using stage1-x86-uclibc-2006.1.tar.bz2 and the SystemRescueCD. |
|
Back to top |
|
|
Januszzz Guru
Joined: 04 Feb 2006 Posts: 367 Location: Opole, Poland
|
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Thu Apr 10, 2008 3:59 pm Post subject: |
|
|
I went with the newer stage. I've been compiling and it's been working quite well.
Thanks. |
|
Back to top |
|
|
m_snoby n00b
Joined: 22 May 2008 Posts: 4
|
Posted: Sat May 24, 2008 5:10 pm Post subject: |
|
|
Hi,
I decided to take the newer Stage3 package (stage3-x86-uclibc-2008.0_beta2.tar.bz2) and I've attempt to follow the instructions on Embedded_x86_Gentoo, however when I execute the command:
emerge sync && emerge -Du Linux-headers gentoo-sources gcc
I get this log:
<snippet>
xfce-extra/xfwm4-themes/ChangeLog
xfce-extra/xfwm4-themes/Manifest
xfce-extra/xfwm4-themes/metadata.xml
xfce-extra/xfwm4-themes/xfwm4-themes-4.4.2.ebuild
Number of files: 126095
Number of files transferred: 107079
Total file size: 158606077 bytes
Total transferred file size: 158604020 bytes
Literal data: 158604912 bytes
Matched data: 0 bytes
File list size: 3075905
File list generation time: 27.695 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 2470057
Total bytes received: 166834354
sent 2470057 bytes received 166834354 bytes 107392.59 bytes/sec
total size is 158606077 speedup is 0.94
Traceback (most recent call last):
File "/usr/bin/emerge", line 4049, in ?
emerge_main()
File "/usr/bin/emerge", line 4006, in emerge_main
action_sync(settings, trees, mtimedb, myopts, myaction)
File "/usr/bin/emerge", line 2920, in action_sync
settings, trees, mtimedb = load_emerge_config(trees=trees)
File "/usr/bin/emerge", line 3679, in load_emerge_config
trees = portage.create_trees(trees=trees, **kwargs)
File "/usr/lib/portage/pym/portage.py", line 6780, in create_trees
config_incrementals=portage_const.INCREMENTALS)
File "/usr/lib/portage/pym/portage.py", line 902, in __init__
addProfile(os.path.realpath(self.profile_path))
File "/usr/lib/portage/pym/portage.py", line 896, in addProfile
addProfile(parentPath)
File "/usr/lib/portage/pym/portage.py", line 896, in addProfile
addProfile(parentPath)
File "/usr/lib/portage/pym/portage.py", line 889, in addProfile
raise portage_exception.ParseError(
NameError: global name 'parents_file' is not defined
gentoo / #
</snippet>
I've got a brand new install of gentoo 2008 beta2, i haven't done any type of updating to the system. Any suggestions?
Thanks, |
|
Back to top |
|
|
m_snoby n00b
Joined: 22 May 2008 Posts: 4
|
Posted: Mon May 26, 2008 1:04 pm Post subject: |
|
|
I’m not 100% sure how to get the kernel config off of the live CD or where to copy it to in the chroot'ed tree.
I guess I'm pretty much off in the weeds right now on this topic.
Can someone point me to a webpage to help me get past this problem?
Thanks, |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Thu May 29, 2008 10:58 am Post subject: |
|
|
m_snoby wrote: | I’m not 100% sure how to get the kernel config off of the live CD or where to copy it to in the chroot'ed tree.
I guess I'm pretty much off in the weeds right now on this topic.
Can someone point me to a webpage to help me get past this problem?
Thanks, | If I am not wrong, then in /proc you should have the kernel config as a tar.gz or gz file. Just extract it into the unpacked source tree in the chroot environment and then continue as you would do with a normal kernel update.
// SteveB |
|
Back to top |
|
|
m_snoby n00b
Joined: 22 May 2008 Posts: 4
|
Posted: Sun Jun 01, 2008 3:52 pm Post subject: |
|
|
The Stage3 uclibc 2006 that I extracted didn't have any kernel sources in them /usr/src, that i could find, ( I'm sure I'm going to get flamed for this)l, but where in the chroot should I extract the config.gz file to? |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sun Jun 01, 2008 10:19 pm Post subject: |
|
|
m_snoby wrote: | The Stage3 uclibc 2006 that I extracted didn't have any kernel sources in them /usr/src, that i could find, | This is normal. The stages do not have the kernel sources included.
m_snoby wrote: | ( I'm sure I'm going to get flamed for this) | You have a wrong impression of the Gentoo community. I allow myself to write in the name of our community telling you that we don't flame anyone here.
m_snoby wrote: | l, but where in the chroot should I extract the config.gz file to? | First you need to install/emerge any of the available kernel sources and then you extract the config.gz into /usr/src/linux/ directory.
// SteveB |
|
Back to top |
|
|
quickshiftin Guru
Joined: 27 Jul 2004 Posts: 345 Location: Denver, CO
|
Posted: Mon Jul 07, 2008 11:37 pm Post subject: |
|
|
umm..., does anybody know where these magic 2008 uclibc stages can be found now that 2008.0 has gone live? none of the mirrors have the beta1 or beta2 links anymore, and i cant find something like, stage3-x86-uclibc-2008.0.tar.bz2 and neither can google
if someone could show where one of these is, or offer their previous download of one of the beta builds, that would be awesome
~quickshiftin |
|
Back to top |
|
|
quickshiftin Guru
Joined: 27 Jul 2004 Posts: 345 Location: Denver, CO
|
|
Back to top |
|
|
|
|
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
|
|