Your message dated Fri, 28 Oct 2016 23:25:56 +0000
with message-id <e1c0gx6-0001rs...@franck.debian.org>
and subject line Bug#820163: fixed in maven-debian-helper 2.1.2
has caused the Debian Bug report #820163,
regarding mh_resolve_dependencies exception when run with --non-interactive
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 ow...@bugs.debian.org
immediately.)


-- 
820163: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820163
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: maven-debian-helper
Version: 2.0.6
Severity: normal

Dear Maintainer,

mh_resolve_dependencies throws an exception when run with the --non-interactive 
option, unless --no-parent has been set for the pom in debian/.poms

e.g.

~/java/drools-6.3.0$ mh_resolve_dependencies --non-interactive --verbose
dh_listpackages: cannot read debian/control: No such file or directory

Analysing pom.xml...
> dpkg --search /usr/share/maven-repo/org/kie/kie-parent-with-dependencies/*/* 
dpkg failed to execute successfully
> apt-file search /usr/share/maven-repo/org/kie/kie-parent-with-dependencies 
Apr 06, 2016 3:30:12 AM org.debian.maven.packager.DependenciesSolver 
resolveDependencies
SEVERE: Error while resolving ./pom.xml: Dependency not found 
org.kie:kie-parent-with-dependencies:pom:6.3.0.Final
Apr 06, 2016 3:30:12 AM org.debian.maven.packager.DependenciesSolver 
resolveDependencies
SEVERE: 
org.debian.maven.repo.DependencyNotFoundException: Dependency not found 
org.kie:kie-parent-with-dependencies:pom:6.3.0.Final
        at 
org.debian.maven.packager.DependenciesSolver.resolveDependency(DependenciesSolver.java:760)
        at 
org.debian.maven.packager.DependenciesSolver.resolveDependencies(DependenciesSolver.java:306)
        at 
org.debian.maven.packager.DependenciesSolver.solveDependencies(DependenciesSolver.java:261)
        at 
org.debian.maven.packager.DependenciesSolver.main(DependenciesSolver.java:960)

(Similar behaviour has been seen running mh_resolve_dependencies in 
non-interactive mode on other packages)

The underlying problem appears to be that the askIgnoreDependency in 
maven-packager-utils/src/main/java/org/debian/maven/packager/util/IgnoreDependencyQuestions.java
 will always return false in non-interactive mode.

My suggested fix would be that askIgnoreDependency should return 
defaultToIgnore in non-interactive mode (i.e. true in this case) which is what 
I would consider to be the expected behaviour.

Thanks.

Christopher Hoskin

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages maven-debian-helper depends on:
ii  default-jdk                     2:1.8-57
ii  libmaven-clean-plugin-java      2.5-1
ii  libmaven-compiler-plugin-java   3.2-5
ii  libmaven-jar-plugin-java        2.4-1
ii  libmaven-resources-plugin-java  2.6-1
ii  libmaven-site-plugin-java       2.1-4
ii  libplexus-velocity-java         1.1.8-1
ii  libsurefire-java                2.17-2
ii  libxml2-utils                   2.9.3+dfsg1-1
ii  maven                           3.3.9-3
ii  maven-repo-helper               1.8.12
ii  unzip                           6.0-20
ii  velocity                        1.7-4

maven-debian-helper recommends no packages.

Versions of packages maven-debian-helper suggests:
ii  apt-file                      2.5.5
ii  devscripts                    2.16.2
pn  libmaven-javadoc-plugin-java  <none>
ii  subversion                    1.9.3-3

-- no debconf information

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

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 820...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebo...@apache.org> (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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 29 Oct 2016 00:43:17 +0200
Source: maven-debian-helper
Binary: maven-debian-helper
Architecture: source all
Version: 2.1.2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebo...@apache.org>
Description:
 maven-debian-helper - Helper tools for building Debian packages with Maven
Closes: 820163 826430
Changes:
 maven-debian-helper (2.1.2) unstable; urgency=medium
 .
   * Team upload.
 .
   [ tony mancill ]
   * Update mh_make to no longer always be --verbose (Closes: #826430)
     - Thank you Christopher Hoskin for the patch.
   * Resolve mh_resolve_dependencies exception when run with --non-interactive
     - Thank you Christopher Hoskin for the patch.  (Closes: #820163)
 .
   [ Emmanuel Bourg ]
   * Generate DH 10 compliant packages
   * Switch to debhelper level 10
Checksums-Sha1:
 cb3e41caebc9a8203847fc4e155f440a4d82cac1 2126 maven-debian-helper_2.1.2.dsc
 ad1b8a0521487b6fe68991e184b86d5c41835883 87916 maven-debian-helper_2.1.2.tar.xz
 a5dd9c0faa873fd1df49c339566213112e45c132 120160 
maven-debian-helper_2.1.2_all.deb
Checksums-Sha256:
 885545d6be25ed6c79d0bdf3104ed79aecf052a32a458147adebd35d61a9f5df 2126 
maven-debian-helper_2.1.2.dsc
 43bab17e603fbeb844a68784190c0cc664d11462516af24c2b2b77d889f0ded1 87916 
maven-debian-helper_2.1.2.tar.xz
 58c5b488cc48cef912ec61dd6ac535d6332ebf6a53755067b150171c8e1e55e4 120160 
maven-debian-helper_2.1.2_all.deb
Files:
 9bcd30998337b59c6268af074624e5ae 2126 java optional 
maven-debian-helper_2.1.2.dsc
 7664b58c5cdf45d4b68f2a508d6ea033 87916 java optional 
maven-debian-helper_2.1.2.tar.xz
 4745f1e061a1d7cfa3c87138f0793eaa 120160 java optional 
maven-debian-helper_2.1.2_all.deb

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

iQIcBAEBCAAGBQJYE9UsAAoJEPUTxBnkudCsiNsQAKtzifL9KU0f9RvWcKGMT7Gu
hS8SKNwV2TOLJ1qEMFnTkYgPTyW9LBaVWvuJdmITnhWLJVKQokbOaUKjkOn1xrSx
YAfvh1NRRmr9TIwrVLFVtiRaqzOjcDMazFYAOdEMfqdzdiz8TqWSHNQhebVSBFC/
aTg9n6ms1K9zCBbIWgTcx3HXD/6VSB7c464Zj1OyBRFaKFk0EdmAK2EFAcmfapoi
erPbTZ8BSEaBAcnRuPiGDLIVBrf7rY0ihi/UXLgfu3n7w1G9AOHDWPTQlLxj39e8
IWUaIJk0kAfbJv4idYIv5X4Ldz5FjERbEBxlq/Z9PJPOjc0RFsVI31aDC6/9QhO1
FHfe4jrCfm2662ioflD4KtnGS1UJo+Uh5SbeQgyPDLOXEOJJ5EvymZxnGCkxrRh0
WBSi3KP+IQBumI22gYGl75tC6my4IciEYwqdeLcfxsR+3nDNR6iPRUmtkUccNs54
tbzlGO3PdWo+XdmuZikMg0BE0xovU/BoWyU+uINT/Xla7kGhMlQbMqzncQbPPn1u
Lowlnh8P3+pGUbeeYm+EQC/bSoIrV6cNN3K0oTR70J6cPCbxqYqt52eAAjnUSo1/
VuiZL91hU17xrnVfFqF8ORmdJ0R0rj/zotG7mQFedPocMXY+qyo+RDFHHaXlDQYD
sQtWRHGwpXE8TvCYGKZ/
=eOls
-----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
debian-j...@lists.debian.org for discussions and questions.

Reply via email to