Bug#903328: cobertura: FTBFS in buster/sid (dh_installdocs: Cannot find "README")

Santiago Vila sanvila at debian.org
Sun Jul 8 21:26:43 BST 2018


Package: src:cobertura
Version: 2.1.1-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with javahelper
   dh_update_autotools_config -i
   dh_autoreconf -i
   dh_auto_configure -i
	mh_patchpoms -plibcobertura-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
[ERROR] Cannot find parent dependency net.sourceforge.cobertura.poms:cobertura-api-parent:pom:2.1.1, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency net.sourceforge.cobertura.poms:cobertura-parent:pom:2.1.1, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
   jh_linkjars -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
WARNING: An illegal reflective access operation has occurred

[... snipped ...]

[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- debian-maven-plugin:2.3:install (default-cli) @ cobertura-runtime ---
[INFO] Cleaning pom file: /<<PKGBUILDDIR>>/cobertura-runtime/pom.xml.save with options:
[INFO] 	--keep-pom-version --package=libcobertura-java --has-package-version
[INFO] 	--rules=/<<PKGBUILDDIR>>/debian/maven.rules
[INFO] 	--ignore-rules=/<<PKGBUILDDIR>>/debian/maven.ignoreRules
[INFO] 	--published-rules=/<<PKGBUILDDIR>>/debian/maven.ignoreRules
[INFO] 	--no-parent
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] cobertura-parent ................................... SUCCESS [  0.469 s]
[INFO] cobertura-api-parent ............................... SUCCESS [  0.190 s]
[INFO] cobertura-reactor 2.1.1 ............................ SUCCESS [  0.044 s]
[INFO] cobertura-poms-reactor ............................. SUCCESS [  0.097 s]
[INFO] cobertura-annotations-api .......................... SUCCESS [  0.087 s]
[INFO] cobertura-interaction-reactor ...................... SUCCESS [  0.026 s]
[INFO] cobertura-annotations-reactor ...................... SUCCESS [  0.032 s]
[INFO] Cobertura code coverage ............................ SUCCESS [  0.180 s]
[INFO] Cobertura Limited Runtime 2.1.1 .................... SUCCESS [  0.034 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.551 s
[INFO] Finished at: 2018-07-08T09:42:45Z
[INFO] ------------------------------------------------------------------------
	mh_resolve_dependencies --non-interactive --offline --build -plibcobertura-java --base-directory=/<<PKGBUILDDIR>> --non-explore
Analysing pom.xml...
Analysing cobertura/pom.xml...
Analysing cobertura-runtime/pom.xml...
Analysing interaction/pom.xml...
Checking the parent dependency in the sub project interaction/pom.xml
Analysing interaction/annotations/pom.xml...
Checking the parent dependency in the sub project interaction/annotations/pom.xml
Analysing interaction/annotations/annotations-api/pom.xml...
Analysing poms/pom.xml...
Checking the parent dependency in the sub project poms/pom.xml
Analysing poms/cobertura-api-parent/pom.xml...
Analysing poms/cobertura-parent/pom.xml...
	mh_unpatchpoms -plibcobertura-java
   dh_install -i
   jh_installjavadoc -i
   dh_installdocs -i
dh_installdocs: Cannot find (any matches for) "README" (tried in .)

debian/rules:4: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/cobertura.html

[ Note: There has been a recent change in debhelper behaviour, the current
  behaviour is the intended one. See Bug #903133 for details ].

Thanks.



More information about the pkg-java-maintainers mailing list