Package: src:surefire
Version: 2.17-2
Severity: serious

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh_listpackages: -s/--same-arch is deprecated; please use -a/--arch instead
test -x debian/rules
mkdir -p "."
cd . && /usr/lib/jvm/default-java/bin/java -classpath 
/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/maven-core.jar:/usr/share/java/maven-model.jar:/usr/share/java/maven-plugin-api.jar:/usr/share/java/maven-project.jar:/usr/share/java/plexus-utils.jar:/usr/share/java/plexus-container-default-alpha.jar:/usr/lib/jvm/default-java/lib/tools.jar
 -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dpackage=surefire 
-Dversion=2.17 -buildfile debian/build.xml package 
Buildfile: /<<PKGBUILDDIR>>/debian/build.xml

package:
    [mkdir] Created dir: 
/<<PKGBUILDDIR>>/surefire-grouper/target/generated-sources
   [javacc] Java Compiler Compiler Version 5.0 (Parser Generator)
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file 
/<<PKGBUILDDIR>>/surefire-grouper/src/main/javacc/category-expression.jj . . .
   [javacc] File "TokenMgrError.java" does not exist.  Will create one.

[... snipped ...]

     [java] 1) org.apache.commons:commons-lang3:jar:3.x
     [java] 
     [java]   Try downloading the file manually from the project website.
     [java] 
     [java]   Then, install it using the command: 
     [java]       mvn install:install-file -DgroupId=org.apache.commons 
-DartifactId=commons-lang3 -Dversion=3.x -Dpackaging=jar -Dfile=/path/to/file
     [java] 
     [java]   Alternatively, if you host your own repository you can deploy the 
file there: 
     [java]       mvn deploy:deploy-file -DgroupId=org.apache.commons 
-DartifactId=commons-lang3 -Dversion=3.x -Dpackaging=jar -Dfile=/path/to/file 
-Durl=[url] -DrepositoryId=[id]
     [java] 
     [java]   Path to dependency: 
     [java]     1) 
org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.17
     [java]     2) org.apache.maven.surefire:maven-surefire-common:jar:debian
     [java]     3) org.apache.commons:commons-lang3:jar:3.x
     [java] 
     [java] ----------
     [java] 1 required artifact is missing.
     [java] 
     [java] for artifact: 
     [java]   org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.17
     [java] 
     [java] from the specified remote repositories:
     [java]   central (https://repo1.maven.org/maven2)
     [java] 
     [java] 
     [java]     at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:361)
     [java]     at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
     [java]     at 
org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499)
     [java]     at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442)
     [java]     at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
     [java]     ... 9 more
     [java] [INFO] 
------------------------------------------------------------------------
     [java] [INFO] Total time: 1 second
     [java] [INFO] Finished at: Tue Aug 16 17:42:30 CEST 2016
     [java] [INFO] Final Memory: 5M/13M
     [java] [INFO] 
------------------------------------------------------------------------

BUILD FAILED
/<<PKGBUILDDIR>>/debian/build.xml:111: The following error occurred while 
executing this line:
/<<PKGBUILDDIR>>/debian/build.xml:34: The following error occurred while 
executing this line:
/usr/share/maven-ant-helper/maven-build.xml:325: The following error occurred 
while executing this line:
/usr/share/maven-ant-helper/maven-build.xml:320: The following error occurred 
while executing this line:
/usr/share/maven-ant-helper/maven-build.xml:297: Java returned: 1

Total time: 48 seconds
/usr/share/cdbs/1/class/ant.mk:39: recipe for target 'debian/stamp-ant-build' 
failed
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Because this source package only generates "Arch: all" packages, this
is the same as a FTBFS bug in the usual sense and the fact that I was
using "dpkg-buildpackage -A" is quite irrelevant.

For this particular package, I've also checked that it fails to build
from source in the reproducible builds site:

https://tests.reproducible-builds.org/

Thanks.

__
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