View previous topic :: View next topic |
Author |
Message |
manphiz n00b
Joined: 01 Dec 2021 Posts: 26
|
Posted: Sat Jan 01, 2022 2:46 pm Post subject: Gentoo/Portage support for mips |
|
|
It looks like some time ago the mips support for portage was removed as there is no mips column in ebuild status. However the Gentoo mips install guide is still available. I wonder what's the status of the current Gentoo/Portage support on mips? Is it still possible to use the current portage on such systems? |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1932
|
Posted: Sat Jan 01, 2022 10:37 pm Post subject: |
|
|
Why do you say mips was removed? It doesn't look like there's "stable" mips, but plenty of packages have ~mips keywords and there's recent mips-related activity in the portage tree:
Code: | /var/db/repos/gentoo $ git log --grep mips
commit b72382bd0fa91cdfa39178ae2d662935bde1ebb1
Author: Sam James <sam@…>
Date: Wed Dec 29 01:48:59 2021 +0000
dev-libs/apr: libatomic workaround needed for mips too
Bug: https://bugs.gentoo.org/815265
Reported-by: John Hansen <john@…>
Signed-off-by: Sam James <sam@…>
commit 165025e64d1f892618caacf230f005752f91fb7b
Author: Joshua Kinard <kumba@…>
Date: Tue Dec 7 03:39:30 2021 -0500
dev-python/wrapt: Added ~mips to KEYWORDS
Signed-off-by: Joshua Kinard <kumba@…>
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
|
|
Back to top |
|
|
manphiz n00b
Joined: 01 Dec 2021 Posts: 26
|
Posted: Sun Jan 02, 2022 2:50 am Post subject: |
|
|
Thanks Etal! It's just that if I visit the package page of dev-libs/apr[1] mips is not listed in the available versions which gives me the impression that mips is not supported. Good to know it's not the case!
[1] https://packages.gentoo.org/packages/dev-libs/apr |
|
Back to top |
|
|
manphiz n00b
Joined: 01 Dec 2021 Posts: 26
|
Posted: Sun Jan 02, 2022 6:03 am Post subject: |
|
|
BTW if the ebuild info page is missing mips info, is it a bug? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54667 Location: 56N 3W
|
Posted: Sun Jan 02, 2022 12:36 pm Post subject: |
|
|
manphiz,
Maybe its a bug but not in portage. However, /var/db/repos/gentoo/dev-libs/apr/apr-1.7.0-r3.ebuild: |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
~mips is listed.
Try to list packages with mips or ~mips KEYWORDS.
Unkeyworded packages are untested on mips, not always broken. Someone has to be first testing, why not you. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Last edited by NeddySeagoon on Sun Jan 02, 2022 2:12 pm; edited 1 time in total |
|
Back to top |
|
|
manphiz n00b
Joined: 01 Dec 2021 Posts: 26
|
Posted: Sun Jan 02, 2022 1:52 pm Post subject: |
|
|
NeddySeagoon wrote: | [..snip..]
Someone has to be first testing, why not you. |
Actually I'm intended to Though I need to figure out how to get out of the mess I'm currently in when starting from the 2014 yeeloong image. I'll post more questions with more details soon. |
|
Back to top |
|
|
XiaoaiX n00b
Joined: 30 May 2015 Posts: 30
|
Posted: Sun May 01, 2022 7:55 am Post subject: |
|
|
I am just upgrading from the 2014 stage3 image to current snapshot. hehe
manphiz wrote: | NeddySeagoon wrote: | [..snip..]
Someone has to be first testing, why not you. |
Actually I'm intended to Though I need to figure out how to get out of the mess I'm currently in when starting from the 2014 yeeloong image. I'll post more questions with more details soon. |
|
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3821 Location: Rasi, Finland
|
Posted: Sun May 01, 2022 8:28 am Post subject: |
|
|
@manphiz on what MIPS hardware are you running Gentoo?
I have one surveillance camera that has MIPS CPU and it is running Linux. I have full root access to it and would really like to have portage at least in it. I hope I could have full Gentoo system there, but first I need to grab (backup) all the modules (if closed source) and possibly kernel too. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54667 Location: 56N 3W
|
Posted: Sun May 01, 2022 11:44 am Post subject: |
|
|
XiaoaiX,
You probably don't want to do that on MIPS hardware.
That leaves you with two paths.
Install a suitable MIPS toolchain on a more capable system then cross compile whatever your need.
That's easier said than done. Lots of things just work. Some need to be coaxed and others are cross compile hostile.
If QEMU supports your CPU, build QEMU with static-user, untar the 2014 stage into a directory on a more capable non MIPS system, install the QEMU-static and chroot into the MIPS stage 3. Now update there. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|