On 2025-02-19, Stuart Longland VK4MSL <m...@vk4msl.com> wrote:
> Hi all,
>
> I've dusted off my old Lemote Yeeloong and gotten OpenBSD 7.6 going on 
> it (it was running 6.9 I think… I just did a fresh install) and am in 
> the process of installing software.
>
> I note there seem to be no `mips64el` packages available on the mirrors, 
> but no biggie, that's what ports are for.
>
> Wondering if there was a Mastodon client in OpenBSD's ports tree, I did 
> a `make search key=mastodon` and was promptly told I need to install 
> `portslist` before I can do that.

net/toot if you can get python to build. (others are either too heavy
for mips64el, or tut is written in go which is not available on mips64el).

> Now, it suggests I run `pkg_add portslist`, which fails because there's 
> no package repository.
>
> I did a `find` to see if I could locate a "portslist" package in the 
> ports tree… and still no luck.  `sqlports` is there, and that may be the 
> ultimate answer, but those docs (and the error message in ports) could 

That one is indeed produced by the sqlports package;

$ pkglocate portslist
portslist-7.52:databases/sqlports,-list:/usr/local/share/ports-INDEX
portslist-7.52:databases/sqlports,-list:/usr/local/share/sqlports.list

It will take quite some time to produce (starting with building sqlite
and DBI).

Doing searches on another arch (or manually extracting ports-INDEX from
another arch's package and placing in /usr/local/share/ports-INDEX)
would be quicker.

> probably use a pointer to the appropriate port name which installs 
> `portslist` -- for those second-class architectures where packages are 
> not being built.

I'd worry that people will then try to use it when they don't need to,
and if their ports tree is not particularly clean they'll run into
problems and ask questions about it without giving full information
about what they're doing, which often results in wasting a bunch
of time trying to figure out what's going on...

-- 
Please keep replies on the mailing list.

Reply via email to