Niko Tyni writes ("Bug#1154016: perl breaks dgit autopkgtest: fetch of 
http://127.0.0.1:41875//pool/main/example_1.0-1.dsc gave HTTP code 500"):
> On Sun, Nov 15, 2026 at 09:23:38AM +0100, Paul Gevers wrote:
> > http://127.0.0.1:41875//pool/main/example_1.0-1.dsc gave HTTP code 500
> 
> My quick tests indicate that this is a change in libcgi-pm-perl 5.02
> (rather than perl) and the handling of the double // in the URL path.

Ah, thanks for the lead.  I can confirm that doubled slashes in URLs
are implicated.

> Hope this helps,

Very much, thanks!  That shortcut a lot of digging, for me.  I had
suspected another signal-handling bug.  This is much simpler :-).

> I suspect the dgit test needs to adapt.

I think this should be fixed in dgit itself, rather than in the tests.
Previously, dgit's config system was inconsistent about which config
URLs are supposed to end in /.  That's not great.

Instead, I now have a WIP branch with new code to normalise the number
of /'s when building URLs.  It needs a bit more validation and tidying
up.

> Copying Salvatore as a heads-up as libcgi-pm-perl will probably 
> need an update in trixie also, and this might bite there as well.

Currently some of the src:dgit autopkgtests in trixie are already
broken because I haven't backported the workarounds for the
ill-advised time-based SHA1 expiry in sqv.

If the libcgi-pm-perl update in trixie tightens things up the same
way, then yes, this will break the tests more.  In src:dgit,
libcgi-pm-perl is only used by the tests.

The fixes in dgit are to heavily config-influenced url building
codepaths, so are very hard to test.  Downstreamk users might have
configs that would be affected.  I don't think the whole patch would
be a good candidate for a Debian stable update.

Alternatives might be to backport to trixie the one change site where
the test suite breaks.  I have done a bit of ad-hoc testing and I
think it should be OK to include in a trixie update.

But I think it would be best to leave things as they are in trixie.

Ian.

-- 
Ian Jackson <[email protected]>   These opinions are my own.  

Pronouns: they/he.  If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.

Reply via email to