Bug#866549: antlr3: FTBFS: Missing Build-Depends on junit4

Daniel Schepler dschepler at gmail.com
Fri Jun 30 02:09:25 UTC 2017


Source: antlr3
Version: 3.5.2-6
Severity: serious

>From my pbuilder build log:

...
 debian/rules build
test -x debian/rules
mkdir -p "."
/usr/share/maven-debian-helper/copy-repo.sh /build/antlr3-3.5.2/debian
find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compiler/*/*.jar':
No such file or directory
find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compilers/*/*.jar':
No such file or directory
find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar':
No such file or directory
mh_patchpoms -pantlr3 --debian-build --keep-pom-version
--maven-repo=/build/antlr3-3.5.2/debian/maven-repo
touch debian/stamp-poms-patched
mh_unpatchpoms -pantlr3
rm -f -f debian/stamp-poms-patched
cp -r debian/generated-sources/antlr3/* tool/src/main/java
rm -Rf debian/maven-repo/org/antlr/antlr
rm -Rf debian/maven-repo/org/antlr/antlr-master
rm -Rf debian/maven-repo/org/antlr/antlr-runtime
rm -Rf debian/maven-repo/org/antlr/antlr3-maven-plugin
mh_patchpoms -pantlr3 --debian-build --keep-pom-version
-idebian/maven.bootstrap.ignoreRules
--maven-repo=/build/antlr3-3.5.2/debian/maven-repo
cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp
/usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar
-Dproperties.file.manual=/build/antlr3-3.5.2/debian/maven.properties
-Dclasswor
lds.conf=/etc/maven/m2-debian.conf -Dmaven.home=/usr/share/maven
-Dmaven.multiModuleProjectDirectory=/build/antlr3-3.5.2
org.codehaus.plexus.classworlds.launcher.Launcher
-s/etc/maven/settings-debian.xml -Dmaven.repo.local=/b
uild/antlr3-3.5.2/debian/maven-repo -DbuildNumber="debian-6"
-Ddebian.dir=/build/antlr3-3.5.2/debian -Ddebian.package=antlr3
-Dmaven.repo.local=/build/antlr3-3.5.2/debian/maven-repo
-Dinstall.to.usj=false -Dmaven.test.skip=tr
ue -Duse.maven.repo.local=true -N package install
org.debian.maven:debian-maven-plugin:2.2.1:install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ANTLR 3 Master build control POM 3.5.2
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @
antlr-master ---
[INFO] Installing /build/antlr3-3.5.2/pom.xml to
/build/antlr3-3.5.2/debian/maven-repo/org/antlr/antlr-master/3.5.2/antlr-master-3.5.2.pom
[INFO]
[INFO] --- debian-maven-plugin:2.2.1:install (default-cli) @ antlr-master ---
[WARNING] The POM for junit:junit:jar:4.x is missing, no dependency
information available
[INFO] Cleaning pom file: /build/antlr3-3.5.2/pom.xml.save with options:
[INFO]  --keep-pom-version --package=libantlr3-runtime-java
[INFO]  --rules=/build/antlr3-3.5.2/debian/maven.rules
[INFO]  --ignore-rules=/build/antlr3-3.5.2/debian/maven.ignoreRules
[INFO]  --published-rules=/build/antlr3-3.5.2/debian/maven.publishedRules
[INFO]  --no-parent
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.515 s
[INFO] Finished at: 2017-06-30T01:50:47Z
[INFO] Final Memory: 7M/150M
[INFO] ------------------------------------------------------------------------
cd runtime/Java        && cd . && /usr/lib/jvm/default-java/bin/java
-noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar
-Dproperties.file.manual=/build/antlr3-3.5.2/debian/m
aven.properties -Dclassworlds.conf=/etc/maven/m2-debian.conf
-Dmaven.home=/usr/share/maven
-Dmaven.multiModuleProjectDirectory=/build/antlr3-3.5.2
org.codehaus.plexus.classworlds.launcher.Launcher
-s/etc/maven/settings-debian
.xml -Dmaven.repo.local=/build/antlr3-3.5.2/debian/maven-repo
-DbuildNumber="debian-6" -Ddebian.dir=/build/antlr3-3.5.2/debian
-Ddebian.package=antlr3
-Dmaven.repo.local=/build/antlr3-3.5.2/debian/maven-repo
-Dinstall.to.usj=
false -Dmaven.test.skip=true -Duse.maven.repo.local=true package
install org.debian.maven:debian-maven-plugin:2.2.1:install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ANTLR 3 Runtime 3.5.2
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for junit:junit:jar:4.x is missing, no dependency
information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.193 s
[INFO] Finished at: 2017-06-30T01:50:48Z
[INFO] Final Memory: 7M/150M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project antlr-runtime: Could not
resolve dependencies for project org.antlr:antlr-runtime:jar:3.5.2:
Cannot access central (https://repo.maven.apache.org/maven2) in
offline mode and the artif
act junit:junit:jar:4.x has not been downloaded from it before. ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
debian/rules:21: recipe for target 'before-mvn-build' failed
make: *** [before-mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler



More information about the pkg-java-maintainers mailing list