Your message dated Thu, 22 Jun 2023 23:25:42 +0000
with message-id <[email protected]>
and subject line Bug#1038654: Removed package(s) from unstable
has caused the Debian Bug report #728063,
regarding bzr-builddeb: fails to get upstream version string via uscan
“dversionmangle”
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
728063: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728063
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bzr-builddeb
Version: 2.8.7
Severity: normal
Howdy,
I've recently switched a package from using the pristine upstream tarball,
to requiring a re-pack of the tarball.
This means the version string specified in ‘debian/changelog’ needs to be
parsed by ‘uscan(1)’, via the ‘debian/watch’ option “dversionmangle”
<URL:http://manpages.debian.net/cgi-bin/man.cgi?sektion=1&query=uscan>.
For example, the Debian version string “3.7+dfsg.2-2” is taken as the
upstream version string “3.7+dfsg.2”, but this needs to be further altered
via the “dversionmangle” option to give the pristine upstream version
string “3.7”.
But this change has caused ‘bzr builddeb --source’ to fail because it is
not getting the correct version string for the pristine upstream tarball:
=====
$ bzr builddeb --source --merge
Building using working tree
Building package in merge mode
Looking for a way to retrieve the upstream tarball
Using apt to look for the upstream tarball.
apt could not find the needed tarball.
Trying to use get-packaged-orig-source to retrieve needed tarball.
make: *** No rule to make target `get-packaged-orig-source'. Stop.
Trying to run get-packaged-orig-source rule failed
Trying to use get-orig-source to retrieve needed tarball (deprecated).
make: *** No rule to make target `get-orig-source'. Stop.
Trying to run get-orig-source rule failed
Using uscan to look for the upstream tarball.
uscan warning: In /tmp/tmp2J8DJz no matching hrefs for version 3.7+dfsg.2 in
watch line
http://pypi.python.org/packages/source/c/coverage/coverage-(.+).tar.gz
debian debian/repack
uscan could not find the needed tarball.
bzr: ERROR: Unable to find the needed upstream tarball for package
python-coverage, version 3.7+dfsg.2.
=====
The ‘builddeb’ command is mistakenly using “3.7+dfsg.2” as the pristine
upstream version string.
Whereas using ‘uscan’ directly succeeds in computing the correct upstream
version string:
=====
$ uscan --verbose --report
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
opts="uversionmangle=s/(\d)([a-z]\d+)$/$1~$2/,dversionmangle=s/\+dfsg\.\d+$//"
http://pypi.python.org/packages/source/c/coverage/coverage-(.+).tar.gz
debian debian/repack
[…]
Newest version on remote site is 3.7, local version is 3.7+dfsg.2
(mangled local version number 3.7)
=> Package is up to date
-- Scan finished
=====
The ‘builddeb’ command should always get the same pristine upstream version
string as does ‘uscan’.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bzr-builddeb depends on:
ii bzr 2.6.0-3
ii devscripts 2.13.4
ii dpkg-dev 1.16.12
ii fakeroot 1.18.4-2
ii patchutils 0.3.2-2
ii pristine-tar 1.28
ii python 2.7.5-5
ii python-apt 0.8.9.1+b1
ii python-debian 0.1.21+nmu2
ii quilt 0.60-10
Versions of packages bzr-builddeb recommends:
ii libalgorithm-merge-perl 0.08-2
ii python-distro-info 0.11
ii python-launchpadlib 1.9.12-2
Versions of packages bzr-builddeb suggests:
ii python-lzma 0.5.3-2+b1
-- no debconf information
--
\ “Always do right. This will gratify some people, and astonish |
`\ the rest.” —Mark Twain |
_o__) |
Ben Finney <[email protected]>
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Version: 2.8.12+brz+rm
Dear submitter,
as the package bzr-builddeb has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1038654
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---