Gentoo Archives: gentoo-embedded

From: "enderlord@×××××××.net" <enderlord@×××××××.net>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] Problems with uclibc stage1
Date: Sun, 12 Sep 2004 20:46:11
Message-Id: 20040912.134522.1142.616711@webmail26.nyc.untd.com
1 Filip,
2
3 This same script worked with the stage1 from gentoo image 2004.2, but not the stage1 for uclibc? That is not strange considering when your output of bootstrap-cascade.sh shows your libc as:
4
5 <snip>
6 * Using libc : virtual/libc
7 </snip>
8
9 It is my understanding that you need to open that tarball from within a directory that would be visible within the gentoo chroot environment. (i.e. /mnt/gentoo/tmp, /mnt/gentoo/temp, or anything within your /mnt/gentoo directory. Second, aren't you supposed to copy portage next before you chroot into your build environment? Did you do that step at all? HTH
10
11 altoine
12
13
14 Filip Joelsson wrote:
15
16 Hi!
17
18 I have been trying to get my hands dirty with the uclibc stage1 that
19 Mike Frysinger announced two days ago, and I get a strange error from
20 portage.
21
22 Since I'm lazy, and have tried the install _many_ times with different
23 tweaks, I have separated the install into two scripts:
24 ---
25 #! /bin/bash
26 # Begin unpack.sh - A script to unpack and make ready a gentoo stage
27 STAGE="stage1-x86-uclibc-20040909.tar.bz2"
28 cd /mnt/gentoo &&
29 tar -xvjpf /mnt/temp1/$STAGE &&
30 mkdir /mnt/gentoo/usr/portage &&
31 chmod 755 /mnt/gentoo/usr/portage &&
32 mount -t nfs 10.0.0.2:/usr/portage /mnt/gentoo/usr/portage &&
33 cp -L /etc/resolv.conf etc &&
34 mount -t proc none /mnt/gentoo/proc &&
35 chroot /mnt/gentoo /bin/bash
36 --- and ---
37 #! /bin/bash
38 # Begin the-rest.sh - A script to take the gentoo installation past
39 # bootstrap
40 env-update &&
41 source /etc/profile &&
42 cd /usr/portage &&
43 scripts/bootstrap-cascade.sh &&
44 echo "Success!"
45 ---
46
47 This is the output of bootstrap-cascade.sh:
48 ---
49 Gentoo Linux; http://www.gentoo.org/
50 Copyright 2001-2004 Gentoo Foundation.; Distributed under the GPLv2
51 Starting Bootstrap of base system ...
52 -------------------------------------------------------------------------------
53
54 * Using baselayout : >=sys-apps/baselayout-1.9.4-r2
55 * Using portage : >=sys-apps/portage-2.0.50-r8
56 * Using os-headers : virtual/os-headers
57 * Using binutils : sys-devel/binutils
58 * Using gcc : sys-devel/gcc
59 * Using libc : virtual/libc
60 * Using texinfo : sys-apps/texinfo
61 * Using zlib : zlib
62 * Using ncurses : sys-libs/ncurses
63 -------------------------------------------------------------------------------
64
65 Configuring environment ...
66 * GENTOO_MIRRORS='http://gentoo.osuosl.org
67 http://distro.ibiblio.org/pub/Linux/distributions/gentoo'
68 * PORTDIR='/usr/portage/'
69 * DISTDIR='/usr/portage/distfiles'
70 * PKGDIR='/usr/portage//packages//'
71 * PORTAGE_TMPDIR='/var/tmp'
72 * CFLAGS='-Os -pipe'
73 * CHOST='i386-pc-linux-uclibc'
74 * CXXFLAGS='-Os -pipe'
75 * MAKEOPTS='-j2'
76 * ACCEPT_KEYWORDS='x86'
77 * FEATURES='autoaddcvs autoconfig ccache nodoc noinfo noman sandbox
78 sfperms strict'
79 * STAGE1_USE='uclibc'
80 -------------------------------------------------------------------------------
81
82 Calculating dependencies
83 !!! Problem in >=sys-apps/portage-2.0.50-r8 dependencies.
84 !!! [Errno 38] Function not implemented:
85 '/var/cache/edb/dep//sys-apps/portage-2.0.50-r9'
86 ---
87
88 I have tried with ACCEPT_KEYWORDS="~x86" too, and with two different
89 portage snapshots instead of the NFS share - but no luck. It's always
90 the same error.
91
92 My system is a Pentium2, 350MHz with 512kb cache (Deschutes), 128MB RAM,
93 and I'm starting from a gentoo-based rescue cd (sysresccd.org).
94
95 I have also tried with the ordinary 2004.2 stage1, and that got through
96 bootstrap ok.
97
98 So, any ideas anyone? <:)
99
100 TI
101
102 ________________________________________________________________
103 Get your name as your email address.
104 Includes spam protection, 1GB storage, no ads and more
105 Only $1.99/ month - visit http://www.mysite.com/name today!
106
107 --
108 gentoo-embedded@g.o mailing list