Bug#712506: dh_make: java.lang.NullPointerException during documentation dependencies checking
Gilles Filippini
pini at debian.org
Sun Jun 16 15:05:10 UTC 2013
Package: maven-debian-helper
Version: 1.6.2
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
I'm giving a try at mh_make to package the new release of Sikuli which
is now based on Maven.
dh_make fails with java.lang.NullPointerException when ckecking for the
documentation package dependencies:
$ mh_make -psikuli-api -blibsikuli-api-java -ttrue -dfalse
Environment variable DEBLICENSE not set, using GPL-3+ by default
Checking that apt-file is installed and has been configured...
Warning: apt-file doesn't seem to be configured
Downloading Index http://ftp.fr.debian.org/debian/dists/testing/main/Contents-i386.diff/Index:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Index is up-to-date.
Downloading Index http://ftp.fr.debian.org/debian/dists/testing/contrib/Contents-i386.diff/Index:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Index is up-to-date.
Downloading Index http://ftp.fr.debian.org/debian/dists/testing/non-free/Contents-i386.diff/Index:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Index is up-to-date.
Ignoring source without Contents File:
http://security.debian.org/dists/testing/updates/main/Contents-i386.gz
Ignoring source without Contents File:
http://security.debian.org/dists/testing/updates/contrib/Contents-i386.gz
Ignoring source without Contents File:
http://security.debian.org/dists/testing/updates/non-free/Contents-i386.gz
Ignoring source without Contents File:
http://pini.free.fr/debian/dists/testing/main/Contents-i386.gz
Checking that licensecheck is installed...
[ok]
Solving dependencies for package libsikuli-api-java (tests are included) (documentation is included)
Analysing pom.xml...
Enter the upstream version for the package. If you press <Enter> it will default to 1.0
> 1.0.0
Version of org.sikuli:SikuliX-API is 1.x
Choose how it will be transformed:
[0] - Replace all versions starting by 1. with 1.x
1 - Change the version to the symbolic 'debian' version
2 - Keep the version
3 - Custom rule
>
of scope runtime ...
Dependency commons-cli:commons-cli:jar:1.2 found in package libcommons-cli-java
[ok]
of scope runtime ...
Dependency jxgrabkey:jxgrabkey:jar:1.0 found in package libjxgrabkey-java
[ok]
of scope test ...
Dependency junit:junit:jar:4.x found in package junit4
[ok]
of scope runtime ...
Dependency org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.2 found in package libmaven-compiler-plugin-java
[ok]
of scope runtime ...
In pom.xml:This plugin may be ignored in some cases. Ignore this plugin? org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-beta-5
[y]/n > n
Dependency org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2-beta-5 found in package libmaven-assembly-plugin-java
[ok]
of scope runtime ...
Dependency org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.2 found in package libmaven-jar-plugin-java
[ok]
of scope runtime ...
[skipped dependency or plugin management]
Checking dependencies for documentation packages...
> dpkg --search /usr/share/doc/libcommons-cli-java/api/index.html
dpkg failed to execute successfully
> apt-file search /usr/share/doc/libcommons-cli-java/api/index.html
Exception in thread "main" java.lang.NullPointerException
at org.debian.maven.util.Preconditions.checkNotNull(Preconditions.java:6)
at org.debian.maven.util.Preconditions.checkNotEmpty(Preconditions.java:11)
at org.debian.maven.packager.DebianDependency.checkPackageName(DebianDependency.java:48)
at org.debian.maven.packager.DebianDependency.<init>(DebianDependency.java:17)
at org.debian.maven.packager.DebianDependency.<init>(DebianDependency.java:22)
at org.debian.maven.packager.util.PackageScanner.searchPkg(PackageScanner.java:125)
at org.debian.maven.packager.util.PackageScanner.searchJavaDocPkg(PackageScanner.java:92)
at org.debian.maven.packager.util.PackageScanner.addDocDependencies(PackageScanner.java:173)
at org.debian.maven.packager.DependenciesSolver.saveSubstvars(DependenciesSolver.java:193)
at org.debian.maven.packager.DependenciesSolver.main(DependenciesSolver.java:900)
Thanks in advance,
_g.
- -- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-486
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages maven-debian-helper depends on:
ii default-jdk 1:1.6-47
ii libmaven-clean-plugin-java 2.5-1
ii libmaven-compiler-plugin-java 2.0.2-6
ii libmaven-jar-plugin-java 2.2-6
ii libmaven-resources-plugin-java 2.3-7
ii libmaven-site-plugin-java 2.1-2
ii libplexus-velocity-java 1.1.7-5
ii libsurefire-java 2.10-4
ii maven-repo-helper 1.8.3
ii maven2 2.2.1-12
ii velocity 1.7-4
maven-debian-helper recommends no packages.
Versions of packages maven-debian-helper suggests:
ii apt-file 2.5.2
ii devscripts 2.13.2
pn libmaven-javadoc-plugin-java <none>
ii subversion 1.7.9-1
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQEcBAEBCAAGBQJRvdQaAAoJEO/obGx//s+DchYH/0Tu5LJ6dQg+qBhHW7sbTR16
LOhJa6D0iG5/DncZV+KO3d8VfGGwF283ZQaSjqr0Xi/f8rO7DUNnvQCNoC3lLq2N
LRUMejg+JPxoT75DDZEE6xiOy6JirPomHZ1iw52mpjJhH3QyRvHTsseBK1mNfv5D
9zRbki2QXX7ehzl1cW8UMZ2xkgcFcXnaRCmHhZjY3BqghBKR/rYmqDnm1OlF1eLX
3O5m7uPhgd6tuKvxSa4tKeJW5NaFNk1+VDpwz78YVp8uaGwF2qIFm53B8cHPbIF7
wJzFvNZXwI/zMC1ZbQfo62lhJ4RtJiyJqWWRoIgkrXb9SpL9SkN4w9PW9IUV2bM=
=9WhP
-----END PGP SIGNATURE-----
More information about the pkg-java-maintainers
mailing list