On Tue, Feb 24, 2026 at 07:23:26PM +0800, Kevin J. McCarthy wrote:
> On Mon, Feb 23, 2026 at 02:59:46PM +0100, Rene Kita wrote:
> > Debian is already used in the GitLab CI, pick something more bleeding
> > edge here.
>
> Thanks for the patches, Rene! They all look okay except for the
> archlinux.yml below. I'll commit patches 1-5 now and wait on this one.
>
> >
> > sr.ht only allows four parallel builds. Disable the Debian manifest, but
> > keep it around as a starter for someone wanting to test Debian with
> > sr.ht.
> > ---
> > .builds/archlinux.yml | 53 +++++++++++++++++++++++++++++++++++++++++++
> > .builds/debian.yml | 3 +++
> > 2 files changed, 56 insertions(+)
> > create mode 100644 .builds/archlinux.yml
> >
> > diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml
> > new file mode 100644
> > index 00000000..3b59fc63
> > --- /dev/null
> > +++ b/.builds/archlinux.yml
> > @@ -0,0 +1,53 @@
> > +image: alpine/edge
>
> Looks like this should be a different image?
This explains why it went so smooth with Arch. m-(
Running the build on Arch I get multiple errors of this kind:
browser.c:548:17: error: initialization discards 'const' qualifier from
pointer target type [-Werror=discarded-qualifiers]
548 | char *c = strrchr (d, '/');
| ^~~~~~~
This is in function:
static int examine_directory (MUTTMENU *menu, struct browser_state *state,
const char *d, const char *prefix).
AFAIU, strrchr is defined as: char * strrchr(const char *s, int c).
*c is changed later in that function, so we can't make it const. Any
ideas what's the best way forward from here?