Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo/Portage support for mips
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
manphiz
n00b
n00b


Joined: 01 Dec 2021
Posts: 26

PostPosted: Sat Jan 01, 2022 2:46 pm    Post subject: Gentoo/Portage support for mips Reply with quote

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
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1931

PostPosted: Sat Jan 01, 2022 10:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
manphiz
n00b
n00b


Joined: 01 Dec 2021
Posts: 26

PostPosted: Sun Jan 02, 2022 2:50 am    Post subject: Reply with quote

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
View user's profile Send private message
manphiz
n00b
n00b


Joined: 01 Dec 2021
Posts: 26

PostPosted: Sun Jan 02, 2022 6:03 am    Post subject: Reply with quote

BTW if the ebuild info page is missing mips info, is it a bug?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54028
Location: 56N 3W

PostPosted: Sun Jan 02, 2022 12:36 pm    Post subject: Reply with quote

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
Code:
qgrep -l mips
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
View user's profile Send private message
manphiz
n00b
n00b


Joined: 01 Dec 2021
Posts: 26

PostPosted: Sun Jan 02, 2022 1:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
XiaoaiX
n00b
n00b


Joined: 30 May 2015
Posts: 30

PostPosted: Sun May 01, 2022 7:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3309
Location: Rasi, Finland

PostPosted: Sun May 01, 2022 8:28 am    Post subject: Reply with quote

@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 :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54028
Location: 56N 3W

PostPosted: Sun May 01, 2022 11:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum