On 8/29/23 23:28, Ashlin Inwood wrote:
> Thank you, very much.
>
> That looks to have fixed the problem, and probably many others I
> am unaware of.
Glad to hear.
> Are there any other build options I should know of?
Using libsolv is probably the only impactful change necessary.
OpenEmbedded is the primary user for the yocto/opkg fork. You can
reference the default configuration here [1] for a view of what is most
thoroughly tested.
[1]
https://gitlab.com/astewart.49c6/opkg/-/blob/dev/testing/.gitlab-ci.yml?ref_type=heads#L99
> I will look into making a PR for Buildroot, as this will surely affect
> others, Buildroot uses the internal solver but an older version of
> opkg 0.4.5.
> Is there anything that I should take into consideration when using
> libsolv over the internal solver?
Switching to libsolv doesn't imply any necessary changes to your
configuration or inputs. It's mostly an internal logic change.
The one exception is in the error output you see when opkg encounter
solving failures. The libsolv output is differently formatted, and more
informative. So if you have scripting or code that parses error output,
you'll want to revalidate.
> I'll let people more skilled than I decided on a fix for the internal
> solver, perhaps officially deprecate it and add a build warning.
Yeah; the internal solver hasn't seen active development for many years,
and isn't recommended. It's probably a good idea to just deprecate it at
this point. I'll motion to do that sometime soon.
I'll mark the bug associated with this thread as internal-solver-only.
Which realistically means that it will go on the pile and get closed
when we deprecate the internal solver. :)
>
https://groups.google.com/d/msgid/opkg-devel/2522d81a-bab1-4391-a949-3f85f2ce1877n%40googlegroups.com
> <
https://groups.google.com/d/msgid/opkg-devel/2522d81a-bab1-4391-a949-3f85f2ce1877n%40googlegroups.com?utm_medium=email&utm_source=footer>.