Your message dated Mon, 04 Dec 2017 22:20:50 +0000
with message-id <[email protected]>
and subject line Bug#883239: fixed in maven-debian-helper 2.2.8
has caused the Debian Bug report #883239,
regarding maven-debian-helper: quilt and mh_patchpom sequence
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.)


-- 
883239: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883239
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: maven-debian-helper
Version: 2.2.7
Severity: normal

Dear Maintainer,

In order to achieve a successful build, it is sometimes it is necessary to 
modify a pom.xml file in a way which cannot be achieved purely through using 
mh_patchpoms. In these cases, one falls back on using quilt as the standard 
mechanism for patching an upstream source. See for example:

https://anonscm.debian.org/cgit/pkg-java/dropwizard-metrics.git/tree/debian/patches/drop-graphite-rabbitmq-support.patch?id=f2a998aeeaa7e4e3f209a37cc79fe0a168281561

However, this now means that there are two mechanisms modifying the same file, 
quilt and mh_(un)patchpom, which can be confusing.

In particular, I would normally expect running debuild followed by debclean in 
an unpacked source package to build the package and then return the package to 
its original state. However, this is not what happens at the moment:

Sequence during debuild:

dpkg-source --before-build dropwizard-metrics
  (This applies the quilt patch to the original pom.xml)
mh_unpatchpoms -plibdropwizard-metrics-java
  (This shouldn't do anything, as there are no mh patched poms at this stage)
mh_patchpoms -plibdropwizard-metrics-java --debian-build --keep-pom-version 
--maven-repo=/home/mans0954/src/pkg-java/dropwizard-metrics/debian/maven-repo
  (This copies the quilt patched pom.xml to pom.xml.save and then writes a mh 
modified pom to pom.xml)
dpkg-source --after-build dropwizard-metrics
  (This then attempts to unapply the quilt patch from the mh modified pom.xml, 
but not pom.xml.save.)

Sequence during debclean

mh_unpatchpoms -plibdropwizard-metrics-java
  (This moves pom.xml.save to pom.xml, so that pom.xml no longer has the mh 
modifications, but still has the quilt patch applied. Running "quilt pop -a" 
has no effect as quilt has previously unapplied the patch to the mh-modified 
pom.xml which has just been over-written))

This problem, workarounds and possible fixes have been discussed on the 
debian-java list, and a fix proposed:

https://lists.debian.org/debian-java/2017/11/msg00030.html

Christopher Hoskin

--- End Message ---
--- Begin Message ---
Source: maven-debian-helper
Source-Version: 2.2.8

We believe that the bug you reported is fixed in the latest version of
maven-debian-helper, 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.
Christopher Hoskin <[email protected]> (supplier of updated 
maven-debian-helper 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: Mon, 04 Dec 2017 21:53:56 +0000
Source: maven-debian-helper
Binary: maven-debian-helper
Architecture: source
Version: 2.2.8
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Christopher Hoskin <[email protected]>
Description:
 maven-debian-helper - Helper tools for building Debian packages with Maven
Closes: 826410 883239
Changes:
 maven-debian-helper (2.2.8) unstable; urgency=medium
 .
   * Team upload.
   * Fix "quilt and mh_patchpom sequence" by inserting extra calls to
     mh_(un)patchpoms in share/perl/maven.pm (Closes: #883239)
   * Fix file-contains-trailing-whitespace in changelog and rules
   * Fix homepage-field-uses-insecure-uri in control
   * Fix "Add non-interactive option to mh_make" (Closes: #826410)
   * Remove unnecessary greater-than versioned dependency
Checksums-Sha1:
 ca3c1d6490a4eeea05ffae1795edd35f1a922f86 2154 maven-debian-helper_2.2.8.dsc
 107a27331415220114807ef90c722fa3d2e3d6a9 88184 maven-debian-helper_2.2.8.tar.xz
 14d367eea2f29af429e6519503bbafe3c0d2daa7 10066 
maven-debian-helper_2.2.8_amd64.buildinfo
Checksums-Sha256:
 6aca83814bcff6868db05e394a161260105d63f58b340774a93110e8e367f9ca 2154 
maven-debian-helper_2.2.8.dsc
 1f8cdd8f1a0bb960650b76e683a3be6e497c2eb100dedb3a113272e160e099c6 88184 
maven-debian-helper_2.2.8.tar.xz
 3117cc3465503cd1e2d7db94440c623d5fed19f0a8714142f8645fd2e844a4a3 10066 
maven-debian-helper_2.2.8_amd64.buildinfo
Files:
 53b208388bb7aac6edaccc5018decd0f 2154 java optional 
maven-debian-helper_2.2.8.dsc
 c6110830e80e431c99004b3eafdd582b 88184 java optional 
maven-debian-helper_2.2.8.tar.xz
 e9bcaa5d6623acb1f5ba0b82d58f91d4 10066 java optional 
maven-debian-helper_2.2.8_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEbctJ5K6JlvFsvhGhf6qUsnUUSpoFAlolxvQACgkQf6qUsnUU
SprPCQ/9GCGbvn2OAZB5A39Kn3pyqdH3Yaj3GHCQ+uTC5U9v90h5jWJ8+rpqrQ3b
lEk0J2rY/DZ4XOGCOCn5m2z5qLDKYxzs1bYY/MasBEbQFtU5IUVzduPkyqC1E61U
uR0SPPdM5sEzmxvYXwjjmj2dHFNmYBn5AhMfC/Fnq2Bvgu+1rLXZkyKNKG9ARhlp
LMZTh9yNNSrJdoLM2Qw+c6Seh0nG4BabK0+nkt8oQF1k4ZEs8kMLQn/yUVvaeVtE
UC6q6M0vpC2jVAg0f19mCBvwhHyZ9Ze8HxnWe+nXp2XBB+SmeMU46QgUJJej8Kw6
ktoJhFhp/AKjh4QTcsROdtdsBtgI1vzI0fdDh5/5cr4XIKFh+zvL/RTiYRml6HUs
5B0zrvkRWYsReRpdCQLEem0h40TuHdP2RvjMY6uUgOxRc1K1kBF3dLHAA3wfEoyf
cppyDW4SEPk2QIr1w/GGkoBt4SoNIWjOC+pgnUfSjgapif1eS1vWp8Ekdbc9Ni1X
Go2bR9mPsMcYo9AOh1K08kf7Tu0lHLlHH4NwkEIShc2nssGcB1CTleXJEBXolLtS
SRlC38cTZveUjhlvOnQ99fPi7ScPWQhmb9N839Ix/wBJMTR3hg4IB87SCWxLiqGR
9s9Qo9IHxigD0oyf9ULFjK4Oyro2zLMMNyiSOSpHsEfm+hCTmOc=
=QfxB
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
[email protected] for discussions and questions.

Reply via email to