Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1286022

Bug#1122181: Bug#1130447: Acknowledgement (devscripts: uscan - upgrade to devscripts to 2.26.x breaks versionmangle)

From Thomas Dickey <dickey@invisible-island.net>
Newsgroups linux.debian.bugs.dist
Subject Bug#1122181: Bug#1130447: Acknowledgement (devscripts: uscan - upgrade to devscripts to 2.26.x breaks versionmangle)
Date 2026-03-15 00:30 +0100
Message-ID <MyGAF-7yug-1@gated-at.bofh.it> (permalink)
References <MyCx4-7vUb-9@gated-at.bofh.it> <LZHUB-1hXn-1@gated-at.bofh.it> <MyCx4-7vUb-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Mar 14, 2026 at 08:07:52PM +0100, Agustin Martin wrote:
> On Thu, 12 Mar 2026 10:04:45 -0400 Thomas Dickey
> <dickey@invisible-island.net> wrote:
> > Revisiting #1122181, I see that its proposed patch fixes the issue which
> > I reported in #1130447.
> 
> Hi Thomas,
> 
> I am not one of uscan maintainers nor know about its internals, but
> thanks a lot for all the detailed analysis. By the way, this seems to
> be the same problem as #1112388. Cc'ing.
> 
> The problem with the patch proposed by Uwe is that on package build it
> breaks one test (with 6 ASSERT error messages)
> ...
> testWatch4NonNativeDlUversion_uversionmangle
> uscan warn: In debian/watch no matching files for version 1.0-rc-1 in watch line
> ASSERT:uscan: exit_code!=0 but exit_code=0 expected:<1> but was:<0>
> ASSERT:foo-1.0-rc-1.tar.gz missing:
> opts="uversionmangle=s/-([a-z]+-)/~$1/"
> @@@url@@@/([\d][\d\.a-z-]+)/@PACKAGE@/ooo/
> @PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate
> ASSERT:foo_1.0~rc-1.orig.tar.gz missing:
> opts="uversionmangle=s/-([a-z]+-)/~$1/"
> @@@url@@@/([\d][\d\.a-z-]+)/@PACKAGE@/ooo/
> @PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate
> ./test_uscan_mangle: line 327: cd:
> /tmp/shunit.mjso1e/tmp/uscan_mangle.24LyCq/foo-1.0~rc-1: No such file
> or directory
> ASSERT:pristine tarball is not extracted
> dpkg-parsechangelog: error: cannot open file debian/changelog: No such
> file or directory
> ASSERT:uscan: Version should be 1.0~rc-1-1 but  found expected:<> but
> was:<1.0~rc-1-1>
> ASSERT:file that must be present is excluded in the tarball
> ...
> Ran 75 tests.
> 
> FAILED (failures=6)
> 
> Change you propose causes even more ASSERT lines (34).

I realized that Uwe's patch was an improvement
(which is why I said I'd close #1130447 -- actually on
that, I saw the progress on #1122181 made it too late for
me to suggest merging).

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1122181: Bug#1130447: Acknowledgement (devscripts: uscan - upgrade to devscripts to 2.26.x breaks versionmangle) Agustin Martin <agmartin@debian.org> - 2026-03-14 20:10 +0100
  Bug#1122181: Bug#1130447: Acknowledgement (devscripts: uscan - upgrade to devscripts to 2.26.x breaks versionmangle) Thomas Dickey <dickey@invisible-island.net> - 2026-03-15 00:30 +0100
    Bug#1122181: Bug#1130447: Acknowledgement (devscripts: uscan - upgrade to devscripts to 2.26.x breaks versionmangle) Agustin Martin <agmartin@debian.org> - 2026-03-15 12:00 +0100
      Bug#1112388: Bug#1130447: Acknowledgement (devscripts: uscan - upgrade to devscripts to 2.26.x breaks versionmangle) Agustin Martin <agmartin@debian.org> - 2026-03-18 00:20 +0100

csiph-web