Gentoo Archives: gentoo-embedded

From: Filip Joelsson <filip@××××××××××××.se>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] Problems with uclibc stage1
Date: Sun, 12 Sep 2004 19:56:05
Message-Id: 1095019522.3628.21.camel@tadeus.bebistrallarna
1 Hi!
2
3 I have been trying to get my hands dirty with the uclibc stage1 that
4 Mike Frysinger announced two days ago, and I get a strange error from
5 portage.
6
7 Since I'm lazy, and have tried the install _many_ times with different
8 tweaks, I have separated the install into two scripts:
9 ---
10 #! /bin/bash
11 # Begin unpack.sh - A script to unpack and make ready a gentoo stage
12 STAGE="stage1-x86-uclibc-20040909.tar.bz2"
13 cd /mnt/gentoo &&
14 tar -xvjpf /mnt/temp1/$STAGE &&
15 mkdir /mnt/gentoo/usr/portage &&
16 chmod 755 /mnt/gentoo/usr/portage &&
17 mount -t nfs 10.0.0.2:/usr/portage /mnt/gentoo/usr/portage &&
18 cp -L /etc/resolv.conf etc &&
19 mount -t proc none /mnt/gentoo/proc &&
20 chroot /mnt/gentoo /bin/bash
21 --- and ---
22 #! /bin/bash
23 # Begin the-rest.sh - A script to take the gentoo installation past
24 # bootstrap
25 env-update &&
26 source /etc/profile &&
27 cd /usr/portage &&
28 scripts/bootstrap-cascade.sh &&
29 echo "Success!"
30 ---
31
32 This is the output of bootstrap-cascade.sh:
33 ---
34 Gentoo Linux; http://www.gentoo.org/
35 Copyright 2001-2004 Gentoo Foundation.; Distributed under the GPLv2
36 Starting Bootstrap of base system ...
37 -------------------------------------------------------------------------------
38 * Using baselayout : >=sys-apps/baselayout-1.9.4-r2
39 * Using portage : >=sys-apps/portage-2.0.50-r8
40 * Using os-headers : virtual/os-headers
41 * Using binutils : sys-devel/binutils
42 * Using gcc : sys-devel/gcc
43 * Using libc : virtual/libc
44 * Using texinfo : sys-apps/texinfo
45 * Using zlib : zlib
46 * Using ncurses : sys-libs/ncurses
47 -------------------------------------------------------------------------------
48 Configuring environment ...
49 * GENTOO_MIRRORS='http://gentoo.osuosl.org
50 http://distro.ibiblio.org/pub/Linux/distributions/gentoo'
51 * PORTDIR='/usr/portage/'
52 * DISTDIR='/usr/portage/distfiles'
53 * PKGDIR='/usr/portage//packages//'
54 * PORTAGE_TMPDIR='/var/tmp'
55 * CFLAGS='-Os -pipe'
56 * CHOST='i386-pc-linux-uclibc'
57 * CXXFLAGS='-Os -pipe'
58 * MAKEOPTS='-j2'
59 * ACCEPT_KEYWORDS='x86'
60 * FEATURES='autoaddcvs autoconfig ccache nodoc noinfo noman sandbox
61 sfperms strict'
62 * STAGE1_USE='uclibc'
63 -------------------------------------------------------------------------------
64 Calculating dependencies
65 !!! Problem in >=sys-apps/portage-2.0.50-r8 dependencies.
66 !!! [Errno 38] Function not implemented:
67 '/var/cache/edb/dep//sys-apps/portage-2.0.50-r9'
68 ---
69
70 I have tried with ACCEPT_KEYWORDS="~x86" too, and with two different
71 portage snapshots instead of the NFS share - but no luck. It's always
72 the same error.
73
74 My system is a Pentium2, 350MHz with 512kb cache (Deschutes), 128MB RAM,
75 and I'm starting from a gentoo-based rescue cd (sysresccd.org).
76
77 I have also tried with the ordinary 2004.2 stage1, and that got through
78 bootstrap ok.
79
80 So, any ideas anyone? <:)
81
82 TIA
83 /Filip
84
85
86 --
87 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] Problems with uclibc stage1 Mike Frysinger <vapier@g.o>