🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4569

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

#4569
From: Ian Jackson
Date: Sun, 15 Nov 2026 11:50
54 lines
4605 bytes
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 <ijackson@chiark.greenend.org.uk>   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.
Technical Details
Message-ID: <NZGU9-c1Wg-17@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NZDMB-c0hT-1@gated-at.bofh.it> <NZFbH-c0Xr-1@gated-at.bofh.it> <NZDMB-c0hT-1@gated-at.bofh.it> <NZFbH-c0Xr-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Ian Jackson <ijackson@chiark.greenend.org.uk>
Newsgroups: linux.debian.bugs.dist
Subject: 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
Date: Sun, 15 Nov 2026 12:50:01 +0100
Message-ID: <NZGU9-c1Wg-17@gated-at.bofh.it>
References: <NZDMB-c0hT-1@gated-at.bofh.it> <NZFbH-c0Xr-1@gated-at.bofh.it> <NZDMB-c0hT-1@gated-at.bofh.it> <NZFbH-c0Xr-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov 15 11:47:15 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.207
Reply-To: Ian Jackson <ijackson@chiark.greenend.org.uk>, 1154016@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: ntyni@debian.org, dgit-owner@debian.org
X-Debian-Pr-Message: followup 1154016
X-Debian-Pr-Package: src:perl, src:dgit
X-Debian-Pr-Keywords: forky sid
X-Debian-Pr-Source: perl, src:dgit
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: VM 8.2.0b under 27.1 (x86_64-pc-linux-gnu)
Dkim-Signature-Warning: NOTE REGARDING DKIM KEY COMPROMISE https://www.chiark.greenend.org.uk/dkim-rotate/README.txt https://www.chiark.greenend.org.uk/dkim-rotate/1b/1b52e6f7881b3393662b703e677883f1.pem
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002713
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 54
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Paul Gevers <elbrus@debian.org>,
    Salvatore Bonaccorso <carnil@debian.org>
X-Original-Date: Sun, 15 Nov 2026 11:44:58 +0000
X-Original-Message-ID: <27385.39738.465732.336930@chiark.greenend.org.uk>
X-Original-References: <6766cb23-7fc9-4ba9-a5a8-0def05af7fbb@debian.org> <avmCGkBQtgLWMkDN@app-dd> <6766cb23-7fc9-4ba9-a5a8-0def05af7fbb@debian.org> <avmCGkBQtgLWMkDN@app-dd>