Your message dated Sat, 19 Mar 2016 18:49:05 +0000
with message-id <[email protected]>
and subject line Bug#816645: fixed in devscripts 2.16.2
has caused the Debian Bug report #816645,
regarding devscripts testsuite failure on raspbian and presumablly other 
deratives that are not special-cased.
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.)


-- 
816645: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816645
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.15.10

Note: this started as a mailing list post on devscripts-devel ( http://lists.alioth.debian.org/pipermail/devscripts-devel/2016-January/004781.html http://lists.alioth.debian.org/pipermail/devscripts-devel/2016-February/004793.html )

Starting with version 2.15.10 devscripts started failing to build in raspbian stretch. Sepcifically it failed with

testFileExclusion
uupdate --no-symlink --upstream-version 1+dfsg1 ../foo_1+dfsg1.orig.tar.xz
uupdate: New Release will be 1+dfsg1-0raspbian1.
uupdate: Untarring the new sourcecode archive ../foo_1+dfsg1.orig.tar.xz
uupdate: debian/source/format is "3.0 (quilt)".
uupdate: Auto-generating foo_0+dfsg1-1.debian.tar.xz
uupdate: Unpacking the debian/ directory from version 0+dfsg1-1 worked fine.
uupdate: Remember: Your current directory is the OLD sourcearchive!
uupdate: Do a "cd ../foo-1+dfsg1" to see the new package
ASSERT:uscan: Version should be 1+dfsg1-1 but 1+dfsg1-0raspbian1 
expected:<1+dfsg1-0raspbian1>  but was:<1+dfsg1-1>


In version 2.15.10 the method used in uupdate to generate version suffixes was changed.

 SUFFIX="1"

 if which dpkg-vendor >/dev/null 2>&1; then
-    case "$(dpkg-vendor --query Vendor 2>/dev/null)" in
- "Ubuntu")
-            SUFFIX="0ubuntu1"
-            ;;
-    esac
+  VENDER="$(dpkg-vendor --query Vendor 2>/dev/null|tr 'A-Z' 'a-z')"
+  case "$VENDER" in
+  debian) SUFFIX="1" ;;
+  *) SUFFIX="0${VENDER}1" ;;
+  esac
+else
+  SUFFIX="1"
 fi

It's not clear to me why this change was made, the only thing I see in the changelog that seems related is

  [ Benjamin Drung ]
  * test_uscan: Fix failure in testFileExclusion due to wrong tarfile name
    test on Ubuntu.

but that talks about changing the test, not about changing uscan itself. It also doesn't seem to match up as the changelog entry talks about fixing Ubuntu but the change changes the behaviour for everything except Debian and Ubuntu.

If I modify test_uscan to expect -0<vendor>1 suffixes then testFileExclusion passes but other tests that passed before start to fail.

testWatch4WebNonNativeBZ2
uscan warn: Possible OpenPGP signature found at:
   http://localhost:50014/2.0/foo/ooo/foo-2.0.tar.gz.asc.
   Please consider adding opts=pgpsigurlmangle=s/$/.asc/
   to debian/watch.  see uscan(1) for more details.
uscan: Newest version of foo on remote site is 2.0, local version is 1.0
uscan:    => Newer package available from
      http://localhost:50014/2.0/foo/ooo/foo-2.0.tar.gz
ASSERT:uscan: Version should be 2.0-1 but 2.0-0raspbian1 expected:<2.0-0raspbian1> but was:<2.0-1>

So it seems that uupdate is now using -0<vendor>1 on unknown derivatives but other tools are still using -1 on unknown derivatives. Thoughts on the best way to resolve this? (it seems to me that ideally the knowlage of how to generate version numbers for different derivatives would be centralised rather than duplicated).

Reverting the change to version number generation in uupdate results in a successful build on Raspbian.
--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.16.2

We believe that the bug you reported is fixed in the latest version of
devscripts, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James McCoy <[email protected]> (supplier of updated devscripts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 19 Mar 2016 14:34:39 -0400
Source: devscripts
Binary: devscripts
Architecture: source
Version: 2.16.2
Distribution: unstable
Urgency: medium
Maintainer: Devscripts Devel Team <[email protected]>
Changed-By: James McCoy <[email protected]>
Closes: 497320 610048 675867 679763 770642 794538 797858 809318 810976 814049 
814686 815645 816022 816231 816645 816723 816910 818275 818299
Description: 
 devscripts - scripts to make the life of a Debian Package maintainer easier
Changes:
 devscripts (2.16.2) unstable; urgency=medium
 .
   [ Osamu Aoki ]
   * uscan:
     + Print proper warnings for bad rules.  Closes: #814049
     + Fix glitches around rules such as "s<...> <...>g" and add their
       tests.
     + Reactivate --no-verbose mode.  Closes: #815645
     + Fix --destdir for version 4.  Closes:#814686
     + Always use uscan_warn and uscan_die.
     + Die if the action script fails.  Closes: #810976
   * test_uscan:
     + Fix non-{Debian,Ubuntu} cases.  Closes: #816645
   * debsnap:
     + Add --list option.  Closes: #610048, #679763, #816910
   * manpage-alert:
     + Show package name etc.  Closes: #497320
   * bts:
     + Fail if --sendmail is broken.  Closes: #809318
 .
   [ Dominique Dumont ]
   * licensecheck:
     + parse (c) owner with email like [email protected]
 .
   [ James McCoy ]
   * debsnap:
     + Only make the destination directory if there is something to download.
       (Closes: #816022)
     + Add --first & --last options to define a range of versions to download.
       Based on a patch by Ivo De Decker.  (Closes: #675867)
   * uscan:
     + Fix typo in dirversionmangle help.  (Closes: #816231)
   * grep-excuses:
     + Report excuses even when autoremoval info isn't reachable.  (Closes:
       #816723)
   * Replace references to debbindiff with diffoscope.  (Closes: #818299)
   * Declare compliance with policy 3.9.7, no changes required.
 .
   [ Johannes Schauer ]
   * build-rdeps:
     + Generate correct dependency for cross builds.  Closes: #794538
     + Improve dependency resolver using dose3.  Closes: #797858
 .
   [ Andreas Bombe ]
   * mk-build-deps:
     + Typo fix. Closes: #770642
 .
   [ Adam D. Barratt ]
   * dcmd:
     + Correctly filter .buildinfo files.  This also avoids listing .dsc
       files twice.  (Closes: #818275)
Checksums-Sha1: 
 920f48f1eb0944d3e3ffb9b2ef42645fe70ca1fd 2368 devscripts_2.16.2.dsc
 dfb03e9df365684987d833b490cfc2ec0c025f0c 686080 devscripts_2.16.2.tar.xz
Checksums-Sha256: 
 2a347cc8b012237b483809677c68d17f50b32344229c1e59343448d0458b17d1 2368 
devscripts_2.16.2.dsc
 847507a2636c4e2eb0bea50b77be70b52e149496a603c78b0c0143e763649f62 686080 
devscripts_2.16.2.tar.xz
Files: 
 6958ee678512d435c259ed40a6ae4d44 2368 devel optional devscripts_2.16.2.dsc
 13f69bef89b3b9c0b9f6198ce86dbf07 686080 devel optional devscripts_2.16.2.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJW7Z29XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5MUJGQkY0RDY5NTZCRDVERjdCNzJEMjNE
RkU2OTFBRTMzMUJBM0RCAAoJEN/mka4zG6PbyT4P/20o6P2bkF73qVQfUuptzujY
whd6XwM1K/KiVvE2FZCysYaxpCXGQuWizX/itjTAffg6vfXxgqsXeUEgMVuSYGuo
Pbl52VElJSVeoZLG5bOPSYKKfH4e7HzGP6WKTeeKqYAxwkjurunGT/M9ZqAMCIBH
g+3FI7B/hmFP1LB6zff0br01d0jWHrxq8dsHvGLbRfAVMYStUy0NNREEWjuq7KX6
E/dPiqVH2CpO6cEHO5+VsiVIwammR/RmLARHvMBDcg2m7Fh1o23X6GrEGLFCZRaF
qlkALWNZeUNJKsCUy13CTH2cAc40wzr11BjZF+Ho6FpHOTv/oWnn9fvggpLp/fC/
h2GHZDv1EtmziQXJXubDXi1bPk6FbPFZEngpBN2NadVJXGYCiRSVIHnQirZDlg/J
/B3EOso7svbu4bc0jwzYXL7seutPrhx7IzorBv3aB05xKUcHJvAa9CBUph/C7vc0
b/Hmbo44SoduJ1er3qM4P1QMdvfBbRfXq/om9zThCWHpyp8j5scGDc1nIkGNBvi/
9CCs+2AUBF848WRLLjGrMfLRnEe5lFsf1W2k7f7Jj9TeAxXEnKEmp+PRKIGrCapc
tPlSWnqCutJfxQgNUB7lCnGnCMxZAuOrp8Y0N0NHmM4U0jQNDIRRu2e/ApR5LZXZ
S351RZUI/hkqWNP7bd0Q
=SU2Q
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to