| View previous topic :: View next topic |
| Author |
Message |
Jinidog Guru


Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Sun May 08, 2005 2:00 pm Post subject: Portage doesn't work, always "function not implemented& |
|
|
Hello,
I'm trying to make an arm-install for a PDA.
I used the experimental 2004.3 embedded stage1 starge archive.
At the moment I don't get portage working.
It worked one week ago, but now, everytime I try a emerge sync or emerge-websync I get errormessages like this:
| Quote: |
# emerge -Op portage
These are the packages that I would merge, in order:
Calculating dependencies
!!! Problem in sys-apps/portage dependencies.
!!! [Errno 38] Function not implemented: '/var/cache/edb/dep//usr/portage/sys-apps/portage-2.0.51.19' exceptions
# |
I'm getting really tired now, I restarted three times now and it takes much time again and again.
emerge metadata gives me crap like that:
| Quote: |
# emerge metadata
skipping sync
>>> Updating Portage cache... -
Failed cache update: app-admin/addpatches-0.2 [Errno 38] Function not implemented: '/var/cache/edb/dep//usr/portage/app-admin/addpatches-0.2'
\
Failed cache update: app-admin/amanda-2.4.4-r3 [Errno 38] Function not implemented: '/var/cache/edb/dep//usr/portage/app-admin/amanda-2.4.4-r3'
|
...
|
It's a fresh stage 1, only the make.conf and resolv.conf is configured.
I've no explanation for that. As I said, it worked only one week ago.
Please help. _________________ Just unused Microsoft-Software is good Microsoft-Software
Last edited by Jinidog on Sun May 08, 2005 6:31 pm; edited 2 times in total |
|
| Back to top |
|
 |
Jinidog Guru


Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Sun May 08, 2005 2:28 pm Post subject: |
|
|
Nothing works.
A try to bootstrap:
| Quote: |
# scripts/bootstrap.sh
Gentoo Linux 2005.0; http://www.gentoo.org/
Copyright 1999-2005 Gentoo Foundation; Distributed under the GPLv2
Starting Bootstrap of base system ...
-------------------------------------------------------------------------------
[[ (0/3) Locating packages ]]
* Using baselayout : virtual/baselayout
* Using portage : >=sys-apps/portage-2.0.51
* 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
-------------------------------------------------------------------------------
[[ (1/3) 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 -march=armv5te -mtune=xscale -fomit-frame-pointer -ffast-math'
* CHOST='armv5tel-pc-linux-gnu'
* CXXFLAGS='-Os -pipe -march=armv5te -mtune=xscale -fomit-frame-pointer -ffast-math'
* MAKEOPTS='-j3'
* ACCEPT_KEYWORDS='arm'
* FEATURES='autoaddcvs autoconfig ccache distcc nodoc noinfo noman sandbox sfperms'
* STAGE1_USE='uclibc'
-------------------------------------------------------------------------------
[[ (2/3) Updating portage ]]
Calculating dependencies
!!! Problem in >=sys-apps/portage-2.0.51 dependencies.
!!! [Errno 38] Function not implemented: '/var/cache/edb/dep//usr/portage/sys-apps/portage-2.0.51.19' exceptions
|
_________________ Just unused Microsoft-Software is good Microsoft-Software |
|
| Back to top |
|
 |
Jinidog Guru


Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Sun May 08, 2005 4:15 pm Post subject: |
|
|
I'm really getting sick of this now.
I really make a fresh stage-directory and do emerge sync.
Two hours later only this error occurs.
Has something changed in the portage-tree that makes it incompatible with any 2004.3?
What the hell can that be?
I even tried to put a binary package with the latest portage over this stage archive.
The error differs but I still cannot merge.
HELP!!! _________________ Just unused Microsoft-Software is good Microsoft-Software |
|
| Back to top |
|
 |
Jinidog Guru


Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Sun May 08, 2005 6:36 pm Post subject: |
|
|
And again, for the fifth time today I deleted everything and tried it with a fresh unpacked stage2.
emerge-websync and that comes when I say emerge metadata.
(emerge sync or emerge-webrsync takes everytime about three ours.
The PDA is connected via USB and has access to the installation environment via NFS)
| Quote: |
# emerge metadata
Performing Global Updates: /usr/portage/profiles/updates/3Q-2003
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
....................................................................................................................................
Performing Global Updates: /usr/portage/profiles/updates/3Q-2004
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
....................................................................................................................................................................................................
Performing Global Updates: /usr/portage/profiles/updates/4Q-2004
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
......................................s..............................................................................................................................................................................................................
Performing Global Updates: /usr/portage/profiles/updates/1Q-2005
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
.....................................................................................................................................................................................................................................................
skipping sync
>>> Updating Portage cache... -
Failed cache update: app-accessibility/SphinxTrain-0.9.1-r1 [Errno 38] Function not implemented: '/var/cache/edb/dep//usr/portage/app-accessibility/SphinxTrain-0.9.1-r1'
\
Failed cache update: app-accessibility/at-poke-0.2.1 [Errno 38] Function not implemented: '/var/cache/edb/dep//usr/portage/app-accessibility/at-poke-0.2.1'
|
Failed cache update: app-accessibility/at-poke-0.2.2 [Errno 38] Function not implemented: '/var/cache/edb/dep//usr/portage/app-accessibility/at-poke-0.2.2'
/
Failed cache update: app-accessibility/brltty-3.4.1 [Errno 38] Function not implemented: '/var/cache/edb/dep//usr/portage/app-accessibility/brltty-3.4.1'
-
Failed cache update: app-accessibility/brltty-3.5 [Errno 38] Function not implemented: '/var/cache/edb/dep//usr/portage/app-accessibility/brltty-3.5'
\ |
I'm no noob. I searched through this board and I googled.
I couldn't find anything useful.
I can not explain this.
Please, help! _________________ Just unused Microsoft-Software is good Microsoft-Software |
|
| Back to top |
|
 |
cokey Advocate


Joined: 23 Apr 2004 Posts: 3355
|
Posted: Sun May 08, 2005 6:51 pm Post subject: Re: Portage doesn't work, always "function not implemen |
|
|
| Jinidog wrote: | Hello,
I'm trying to make an arm-install for a PDA.
I used the experimental 2004.3 embedded stage1 starge archive.
At the moment I don't get portage working.
It worked one week ago, but now, everytime I try a emerge sync or emerge-websync I get error messages. | Thats because -O is nodeps You merged specified packages but didn't merge any dependencies. Therefore some of the programs wont work because they dont have the deps they need. re-emerge portage if its not too messed up. emerge -pv portage will tell you what you need  _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
| Back to top |
|
 |
Jinidog Guru


Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Sun May 08, 2005 7:00 pm Post subject: |
|
|
Sorry, I didn't merge anything because all I'm talking about is a fresh unpacked stage1-archive.
emerge -O portage was just an example what doesn't work.
No emerge blabla works, there are always the same errors.
I tell it in detail.
I unpack the stage1-arm-uclibc-2004.3.tar.bz2 file into /arm of my PC.
I have an entry in my /etc/exports:
/arm 192.168.4.2(rw,all_squash,anonuid=0,anongid=0,async)
Now I can mount this environment on the PDA and chroot into it.
I did that one week before (I had some problems that have been solved by passing nolock as mouting-option and I had problems with breaking rsync-connections, but emerge-websync solved that) and it worked!
So, on the PDA I chroot into the environment, configure /etc/resolv.conf and then I do emerge-websync.
You can see the results above.
I tried emerge sync (what only worked together with a local rsync-server on my PC), same result.
That's all really really strange.
I try to websync with an one week old portage snapshot that worked previously. _________________ Just unused Microsoft-Software is good Microsoft-Software |
|
| Back to top |
|
 |
cokey Advocate


Joined: 23 Apr 2004 Posts: 3355
|
Posted: Sun May 08, 2005 7:11 pm Post subject: |
|
|
if it worked before and doesn't now, what have you done in the meantime? _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
| Back to top |
|
 |
Jinidog Guru


Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Sun May 08, 2005 7:15 pm Post subject: |
|
|
I destroyed the working install by merging binutils with a misstyped CTARGET.
I tried three hours to save five days of work without success.
So I had to start again (arount two days of compile time)
Sadly I have lost one day now because of this damn problem and I don't see a solution. _________________ Just unused Microsoft-Software is good Microsoft-Software |
|
| Back to top |
|
 |
cokey Advocate


Joined: 23 Apr 2004 Posts: 3355
|
Posted: Sun May 08, 2005 8:01 pm Post subject: |
|
|
i think you'd probably get more help from #gentoo-embedded on freenode, chat to the devs there _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
| Back to top |
|
 |
Jinidog Guru


Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Sun May 08, 2005 8:42 pm Post subject: |
|
|
I'll do tomorrow.
Using an old portage snapshot with emerge-websync failed as the ones before. _________________ Just unused Microsoft-Software is good Microsoft-Software |
|
| Back to top |
|
 |
Jinidog Guru


Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Mon May 09, 2005 9:09 am Post subject: |
|
|
Okay, I had to learn that the arm-uclibc stage1 is causing the problem.
It works with a normal glibc arm-stage1.
I'll try to contact the devs about that. _________________ Just unused Microsoft-Software is good Microsoft-Software |
|
| Back to top |
|
 |
ferringb Retired Dev


Joined: 03 Apr 2003 Posts: 357
|
Posted: Mon May 09, 2005 11:21 am Post subject: |
|
|
| Please follow bug 91990 (got a patch there to get more info)... |
|
| Back to top |
|
 |
Jinidog Guru


Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Mon May 09, 2005 3:26 pm Post subject: |
|
|
https://bugs.gentoo.org/show_bug.cgi?id=91990 (direct link)
It is said that the uclibc stages are built agains 2.6 kernel-headers.
You cannot use a 2.4 kernel together with the uclibc stages.
If you have a 2.4 kernel and don't have the option to update (as it is with me), you will have to take a normal arm stage1 and bootstrap it with the uclibc profiles. _________________ Just unused Microsoft-Software is good Microsoft-Software |
|
| Back to top |
|
 |
|