Hi!
I have been trying to get my hands dirty with the uclibc stage1 that
Mike Frysinger announced two days ago, and I get a strange error from
portage.
Since I'm lazy, and have tried the install _many_ times with different
tweaks, I have separated the install into two scripts:
---
#! /bin/bash
# Begin unpack.sh - A script to unpack and make ready a gentoo stage
STAGE="stage1-x86-uclibc-20040909.tar.bz2"
cd /mnt/gentoo &&
tar -xvjpf /mnt/temp1/$STAGE &&
mkdir /mnt/gentoo/usr/portage &&
chmod 755 /mnt/gentoo/usr/portage &&
mount -t nfs 10.0.0.2:/usr/portage /mnt/gentoo/usr/portage &&
cp -L /etc/resolv.conf etc &&
mount -t proc none /mnt/gentoo/proc &&
chroot /mnt/gentoo /bin/bash
--- and ---
#! /bin/bash
# Begin the-rest.sh - A script to take the gentoo installation past
# bootstrap
env-update &&
source /etc/profile &&
cd /usr/portage &&
scripts/bootstrap-cascade.sh &&
echo "Success!"
---
This is the output of bootstrap-cascade.sh:
---
Gentoo Linux; http://www.gentoo.org/
Copyright 2001-2004 Gentoo Foundation.; Distributed under the GPLv2
Starting Bootstrap of base system ...
-------------------------------------------------------------------------------
* Using baselayout : >=sys-apps/baselayout-1.9.4-r2
* Using portage : >=sys-apps/portage-2.0.50-r8
* Using os-headers : virtual/os-headers
* Using binutils : sys-devel/binutils
* Using gcc : sys-devel/gcc
* Using libc : virtual/libc
* Using texinfo : sys-apps/texinfo
* Using zlib : zlib
* Using ncurses : sys-libs/ncurses
-------------------------------------------------------------------------------
Configuring environment ...
* GENTOO_MIRRORS='http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo'
* PORTDIR='/usr/portage/'
* DISTDIR='/usr/portage/distfiles'
* PKGDIR='/usr/portage//packages//'
* PORTAGE_TMPDIR='/var/tmp'
* CFLAGS='-Os -pipe'
* CHOST='i386-pc-linux-uclibc'
* CXXFLAGS='-Os -pipe'
* MAKEOPTS='-j2'
* ACCEPT_KEYWORDS='x86'
* FEATURES='autoaddcvs autoconfig ccache nodoc noinfo noman sandbox
sfperms strict'
* STAGE1_USE='uclibc'
-------------------------------------------------------------------------------
Calculating dependencies
!!! Problem in >=sys-apps/portage-2.0.50-r8 dependencies.
!!! [Errno 38] Function not implemented:
'/var/cache/edb/dep//sys-apps/portage-2.0.50-r9'
---
I have tried with ACCEPT_KEYWORDS="~x86" too, and with two different
portage snapshots instead of the NFS share - but no luck. It's always
the same error.
My system is a Pentium2, 350MHz with 512kb cache (Deschutes), 128MB RAM,
and I'm starting from a gentoo-based rescue cd (sysresccd.org).
I have also tried with the ordinary 2004.2 stage1, and that got through
bootstrap ok.
So, any ideas anyone? <:)
TIA
/Filip
--
gentoo-embedded@gentoo.org mailing list
I have been trying to get my hands dirty with the uclibc stage1 that
Mike Frysinger announced two days ago, and I get a strange error from
portage.
Since I'm lazy, and have tried the install _many_ times with different
tweaks, I have separated the install into two scripts:
---
#! /bin/bash
# Begin unpack.sh - A script to unpack and make ready a gentoo stage
STAGE="stage1-x86-uclibc-20040909.tar.bz2"
cd /mnt/gentoo &&
tar -xvjpf /mnt/temp1/$STAGE &&
mkdir /mnt/gentoo/usr/portage &&
chmod 755 /mnt/gentoo/usr/portage &&
mount -t nfs 10.0.0.2:/usr/portage /mnt/gentoo/usr/portage &&
cp -L /etc/resolv.conf etc &&
mount -t proc none /mnt/gentoo/proc &&
chroot /mnt/gentoo /bin/bash
--- and ---
#! /bin/bash
# Begin the-rest.sh - A script to take the gentoo installation past
# bootstrap
env-update &&
source /etc/profile &&
cd /usr/portage &&
scripts/bootstrap-cascade.sh &&
echo "Success!"
---
This is the output of bootstrap-cascade.sh:
---
Gentoo Linux; http://www.gentoo.org/
Copyright 2001-2004 Gentoo Foundation.; Distributed under the GPLv2
Starting Bootstrap of base system ...
-------------------------------------------------------------------------------
* Using baselayout : >=sys-apps/baselayout-1.9.4-r2
* Using portage : >=sys-apps/portage-2.0.50-r8
* Using os-headers : virtual/os-headers
* Using binutils : sys-devel/binutils
* Using gcc : sys-devel/gcc
* Using libc : virtual/libc
* Using texinfo : sys-apps/texinfo
* Using zlib : zlib
* Using ncurses : sys-libs/ncurses
-------------------------------------------------------------------------------
Configuring environment ...
* GENTOO_MIRRORS='http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo'
* PORTDIR='/usr/portage/'
* DISTDIR='/usr/portage/distfiles'
* PKGDIR='/usr/portage//packages//'
* PORTAGE_TMPDIR='/var/tmp'
* CFLAGS='-Os -pipe'
* CHOST='i386-pc-linux-uclibc'
* CXXFLAGS='-Os -pipe'
* MAKEOPTS='-j2'
* ACCEPT_KEYWORDS='x86'
* FEATURES='autoaddcvs autoconfig ccache nodoc noinfo noman sandbox
sfperms strict'
* STAGE1_USE='uclibc'
-------------------------------------------------------------------------------
Calculating dependencies
!!! Problem in >=sys-apps/portage-2.0.50-r8 dependencies.
!!! [Errno 38] Function not implemented:
'/var/cache/edb/dep//sys-apps/portage-2.0.50-r9'
---
I have tried with ACCEPT_KEYWORDS="~x86" too, and with two different
portage snapshots instead of the NFS share - but no luck. It's always
the same error.
My system is a Pentium2, 350MHz with 512kb cache (Deschutes), 128MB RAM,
and I'm starting from a gentoo-based rescue cd (sysresccd.org).
I have also tried with the ordinary 2004.2 stage1, and that got through
bootstrap ok.
So, any ideas anyone? <:)
TIA
/Filip
--
gentoo-embedded@gentoo.org mailing list