Bug#740000: checkstyle: FTBFS: Maven error

Miguel Landaeta nomadium at debian.org
Mon Feb 24 19:55:46 UTC 2014


Package: src:checkstyle
Version: 5.7-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

The full log is attached to this bug report.

Relevant error message:


[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Feb 24 19:05:50 UTC 2014
[INFO] Final Memory: 5M/25M
[INFO] ------------------------------------------------------------------------
mh_resolve_dependencies --non-interactive --offline -pcheckstyle  --javadoc --base-directory=/tmp/buildd/checkstyle-5.7 --non-explore 
Analysing pom.xml...
Feb 24, 2014 7:05:53 PM org.debian.maven.packager.DependenciesSolver resolveDependencies
SEVERE: Error while resolving /tmp/buildd/checkstyle-5.7/pom.xml: null
Feb 24, 2014 7:05:53 PM org.debian.maven.packager.DependenciesSolver resolveDependencies
SEVERE: 
java.lang.NullPointerException
	at org.debian.maven.repo.POMReader.readPom(POMReader.java:125)
	at org.debian.maven.repo.POMReader.readPom(POMReader.java:57)
	at org.debian.maven.repo.POMTransformer.transformPom(POMTransformer.java:226)
	at org.debian.maven.packager.DependenciesSolver.getPOM(DependenciesSolver.java:500)
	at org.debian.maven.packager.DependenciesSolver.resolveDependencies(DependenciesSolver.java:296)
	at org.debian.maven.packager.DependenciesSolver.access$300(DependenciesSolver.java:62)
	at org.debian.maven.packager.DependenciesSolver$1.handlePOM(DependenciesSolver.java:266)
	at org.debian.maven.repo.ListOfPOMs.foreachPoms(ListOfPOMs.java:102)
	at org.debian.maven.packager.DependenciesSolver.solveDependencies(DependenciesSolver.java:263)
	at org.debian.maven.packager.DependenciesSolver.main(DependenciesSolver.java:960)

Can't open debian/checkstyle.substvars: No such file or directory.
cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar  -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/tmp/buildd/checkstyle-5.7/debian/maven-repo  -Ddebian.dir=/tmp/buildd/checkstyle-5.7/debian -Ddebian.package=checkstyle-doc org.debian.maven:debian-maven-plugin:1.6.7:install-doc
[INFO] 
NOTE: Maven is executing in offline mode. Any artifacts not already in your local
repository will be inaccessible.

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building checkstyle
[INFO]    task-segment: [org.debian.maven:debian-maven-plugin:1.6.7:install-doc]
[INFO] ------------------------------------------------------------------------
[INFO] [debian:install-doc {execution: default-cli}]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Feb 24 19:05:55 UTC 2014
[INFO] Final Memory: 5M/25M
[INFO] ------------------------------------------------------------------------
cp debian/checkstyle.substvars debian/checkstyle-doc.substvars
cp: cannot stat 'debian/checkstyle.substvars': No such file or directory
make: *** [common-install-impl] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
 -> Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.22956 


-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at
http://db.debian.org/fetchkey.cgi?fingerprint=4CB7FE1E280ECC90F29A597E6E608B637D8967E9
"Faith means not wanting to know what is true." -- Nietzsche
-------------- next part --------------
A non-text attachment was scrubbed...
Name: checkstyle_5.7-1_amd64.build.gz
Type: application/octet-stream
Size: 33212 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20140224/fe6002ea/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20140224/fe6002ea/attachment-0001.sig>


More information about the pkg-java-maintainers mailing list