Thanks again! I'm rather excited about getting portage up and running. I've been learning a lot about portage trying to work around these problems, but I still haven't finished the bootstrap yet.
stuart wrote:
bash-3.2 and bash-4.0 should both work on IRIX, so long as they are not compiled above '-O1' (at which points MIPSpro optimisations break it quite badly). This should all be dealt with by the ebuild, though.
What might be happening here is that a recent 'portage' update changed the ebuild semantics from
requiring
'EAPI="prefix"' to breaking with a similar error if that directive is present.
It looks like the bootstrap-prefix.sh builds bash with -O2, causing the problem.
stuart wrote:
If this is the cause of the problem, then either re-syncing portage (from the already-installed binaries) with 'emerge --sync' and/or re-installing the latest portage if the necessary dependencies are present ('USE="-*" FEATURES="-test" emerge --oneshot -v portage') should fix the problem.
I can't run emerge --sync as I'm still midway through bootstrapping portage. To do a sync, I need rsync, but rsync depends on baselayout-prefix which is giving me circular dependency problems.
stuart wrote:
(Or, alternatively, the overlay packages I included may now be out of date - try re-downloading
http://files.irix-tools.homeunix.net/irix/IRIX-MIPSpro-wrapper.tar.bz2
, which I have just updated,
or
run 'PORTDIR_OVERLAY="" emerge --oneshot -v =perl-5.8.8-r5' and please let me know if either works)
[/quote]
I went ahead and started again from scratch following your instructions. I downloaded your overlays and bootstrap-prefix.sh fresh. Here are the results
1. Bash built by the bootstrap-prefix.sh is built -O2, so I had to manually link in nekoware bash
2. trying to do the initial emerge reveals a circular dependency in baselayout-prefix.
Code:
-bash-3.2$ USE="-*" emerge --oneshot -v --keep-going sed wget bash baselayout-prefix lzma-utils m4 flex bison coreutils findutils tar grep patch gawk make
These are the packages that would be merged, in order:
Calculating dependencies... done!
[nomerge ] sys-apps/baselayout-prefix-1.12.5-r6 USE="-prefix-chaining"
[nomerge ] sys-apps/portage-2.2.00.13621 USE="-build -doc -epydoc -prefix-chaining (-selinux)" LINGUAS="-pl"
[nomerge ] dev-lang/python-2.6.2 USE="-berkdb -build -doc -examples -gdbm (-ipv6) -ncurses -readline -sqlite -ssl -threads -tk -ucs2 -wininst -xml"
[ebuild N ] app-admin/eselect-python-20080925
[ebuild N ] app-admin/eselect-1.0.12 USE="-bash-completion -doc"
[ebuild N ] sys-apps/file-5.03 USE="-python"
[ebuild N ] dev-lang/python-2.6.2 USE="-berkdb -build -doc -examples -gdbm (-ipv6) -ncurses -readline -sqlite -ssl -threads -tk -ucs2 -wininst -xml"
* Error: circular dependencies:
('ebuild', '/', 'app-admin/eselect-python-20080925', 'merge') depends on
('ebuild', '/', 'app-admin/eselect-1.0.12', 'merge') (runtime)
('ebuild', '/', 'sys-apps/file-5.03', 'merge') depends on
('ebuild', '/', 'dev-lang/python-2.6.2', 'merge') (buildtime)
('ebuild', '/', 'app-admin/eselect-1.0.12', 'merge') depends on
('ebuild', '/', 'sys-apps/file-5.03', 'merge') (runtime)
('ebuild', '/', 'dev-lang/python-2.6.2', 'merge') depends on
('ebuild', '/', 'app-admin/eselect-python-20080925', 'merge') (buildtime)
* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.
-bash-3.2$