Bug#863223: maven-plugin-tools: FTBFS: maven/tools/plugin/generator/PluginHelpGenerator.java:[300,61] unreported exception java.io.IOException; must be caught or declared to be thrown
Chris Lamb
lamby at debian.org
Tue May 23 21:56:36 UTC 2017
Source: maven-plugin-tools
Version: 3.3-5
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Dear Maintainer,
maven-plugin-tools fails to build from source in unstable/amd64:
[…]
Setting up default-jre-headless (2:1.8-58) ...
Setting up default-jdk-headless (2:1.8-58) ...
Setting up openjdk-8-jdk:amd64 (8u131-b11-2) ...
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/appletviewer to provide /usr/bin/appletviewer (appletviewer) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
Setting up default-jre (2:1.8-58) ...
Setting up ant-optional (1.9.9-1) ...
Setting up libxbean-java (4.5-4) ...
Setting up default-jdk (2:1.8-58) ...
Setting up libplexus-containers-java (1.0~beta3.0.7-8) ...
Setting up libplexus-build-api-java (0.0.7-1) ...
Setting up libplexus-io-java (1.0~alpha5-2) ...
Setting up libplexus-interactivity-api-java (1.0-alpha-6-7) ...
Setting up libplexus-container-default1.5-java (1.6-3) ...
Setting up libwagon-java (1.0.0-9) ...
Setting up libplexus-i18n-java (1.0-beta-10-3) ...
Setting up libplexus-cli-java (1.2-5) ...
Setting up libwagon2-java (2.10-6) ...
Setting up libplexus-velocity-java (1.2-1) ...
Setting up libplexus-archiver-java (2.2-1) ...
Setting up libdoxia-java (1.1.4-6) ...
Setting up libmaven2-core-java (2.2.1-26) ...
Setting up libeclipse-aether-java (1.0.2-1) ...
Setting up libmodello-java (1.8.3-3) ...
Setting up libmaven-common-artifact-filters-java (1.4-1) ...
Setting up libmodello-maven-plugin-java (1.8.3-1) ...
Setting up libdoxia-sitetools-java (1.1.4-1.1) ...
Setting up libmaven3-core-java (3.3.9-4) ...
Setting up libmaven-filtering-java (1.1-1) ...
Setting up libmaven-clean-plugin-java (2.5-1) ...
Setting up maven (3.3.9-4) ...
update-alternatives: using /usr/share/maven/bin/mvn to provide /usr/bin/mvn (mvn) in auto mode
Setting up libplexus-compiler-java (2.4-3) ...
Setting up libplexus-component-metadata-java (1.6-3) ...
Setting up libmaven-resources-plugin-java (2.6-1) ...
Setting up libmaven-archiver-java (2.6-3) ...
Setting up libmaven-shared-incremental-java (1.1-1) ...
Setting up libmaven-doxia-tools-java (1.2.1-2) ...
Setting up libmaven-compiler-plugin-java (3.2-5) ...
Setting up libmaven-site-plugin-java (2.1-4) ...
Setting up libmaven-jar-plugin-java (2.4-1) ...
Processing triggers for sgml-base (1.29) ...
Setting up libmaven-reporting-impl-java (2.3-1) ...
Setting up libmaven-plugin-tools-java (3.3-5) ...
Setting up libsurefire-java (2.17-3) ...
Setting up maven-debian-helper (2.1.3) ...
Setting up maven-plugin-tools-build-deps (3.3-5) ...
Processing triggers for libc-bin (2.24-10) ...
Processing triggers for systemd (232-23) ...
Processing triggers for ca-certificates (20161130) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
done.
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.36.5-2) ...
**************************************************************************************
** Environment **
**************************************************************************************
PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=63b9f2da964e
TERM=xterm
PAGER=more
DISPLAY=:0
DOCKER_IMAGE=lamby-debian-sid
DEB_BUILD_OPTIONS=parallel=9
DEB_BUILD_PROFILES=
PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
HOME=/home/lamby
LOGNAME=lamby
SHLVL=1
PWD=/home/lamby/temp/cdt.20170523225408.mDMW4OzuJ6.db.maven-plugin-tools/maven-plugin-tools-3.3
OLDPWD=/home/lamby/temp/cdt.20170523225408.mDMW4OzuJ6.db.maven-plugin-tools
GPG_TTY=/dev/console
QUILT_PATCHES=debian/patches
QUILT_NO_DIFF_INDEX=1
QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
DEBEMAIL=lamby at debian.org
DEBFULLNAME=Chris Lamb
EDITOR=vim
LESS=-cgiFx4M
GPG_KEY=1E953E27D4311E58
BLASTER=A220 I5 D1 H5 P330 T6
_=/usr/bin/env
**************************************************************************************
** Building maven-plugin-tools 3.3-5 on amd64 **
**************************************************************************************
dpkg-buildpackage -rfakeroot -us -uc -b
dpkg-buildpackage: info: source package maven-plugin-tools
dpkg-buildpackage: info: source version 3.3-5
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Emmanuel Bourg <ebourg at apache.org>
dpkg-source --before-build maven-plugin-tools-3.3
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean --buildsystem=maven
dh_testdir -O--buildsystem=maven
dh_auto_clean -O--buildsystem=maven
"for dir in \$(find . -name target -type d); do if [ -f \$(echo \$dir | sed -e s/target\$/pom.xml/) ]; then rm -Rf \$dir; fi done"
mh_unpatchpoms -plibmaven-plugin-tools-java
dh_clean -O--buildsystem=maven
debian/rules build
dh build --buildsystem=maven
dh_testdir -O--buildsystem=maven
dh_update_autotools_config -O--buildsystem=maven
dh_auto_configure -O--buildsystem=maven
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 -plibmaven-plugin-tools-java --debian-build --keep-pom-version --maven-repo=«BUILDDIR»/debian/maven-repo
dh_auto_build -O--buildsystem=maven
/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 -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=«BUILDDIR» -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/home/lamby/temp/cdt.20170523225408.mDMW4OzuJ6.db.maven-plugin-tools/maven-plugin-tools-3.3/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/home/lamby/temp/cdt.20170523225408.mDMW4OzuJ6.db.maven-plugin-tools/maven-plugin-tools-3.3/debian -Dmaven.repo.local=/home/lamby/temp/cdt.20170523225408.mDMW4OzuJ6.db.maven-plugin-tools/maven-plugin-tools-3.3/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.maven.plugin-tools:maven-plugin-tools-java:jar:3.3
[WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ line 102, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.maven.plugin-tools:maven-plugin-tools-annotations:jar:3.3
[WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ line 121, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.maven.plugin-tools:maven-plugin-tools-ant:jar:3.3
[WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ line 82, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.maven.plugin-tools:maven-plugin-tools-beanshell:jar:3.3
[WARNING] 'build.plugins.plugin.version' for org.codehaus.plexus:plexus-component-metadata is missing. @ line 71, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Maven Plugin Tools
[INFO] Maven Script Mojo Support
[INFO] Maven Ant Mojo Support
[INFO] Maven Beanshell Mojo Support
[INFO] Maven Plugin Tools APIs
[INFO] Maven Plugin Tools Generators
[INFO] Maven Plugin Tool for Java with Mojo Javadoc Tags
[INFO] Maven Plugin Tools Javadoc
[INFO] Maven Plugin Tools Java 5 Annotations
[INFO] Maven Plugin Tool for Java with Annotations
[INFO] Maven Plugin Metadata Model
[INFO] Maven Plugin Tool for Ant
[INFO] Maven Plugin Tool for Beanshell
[INFO] Maven Plugin Plugin
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Plugin Tools 3.3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Script Mojo Support 3.3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Ant Mojo Support 3.3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ maven-script-ant ---
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ maven-script-ant ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] Compiling 3 source files to «BUILDDIR»/maven-script/maven-script-ant/target/classes
[INFO] «BUILDDIR»/maven-script/maven-script-ant/src/main/java/org/apache/maven/script/ant/AntPropertyHelper.java: Some input files use or override a deprecated API.
[INFO] «BUILDDIR»/maven-script/maven-script-ant/src/main/java/org/apache/maven/script/ant/AntPropertyHelper.java: Recompile with -Xlint:deprecation for details.
[INFO] «BUILDDIR»/maven-script/maven-script-ant/src/main/java/org/apache/maven/script/ant/AntMojoWrapper.java: /home/lamby/temp/cdt.20170523225408.mDMW4OzuJ6.db.maven-plugin-tools/maven-plugin-tools-3.3/maven-script/maven-script-ant/src/main/java/org/apache/maven/script/ant/AntMojoWrapper.java uses unchecked or unsafe operations.
[INFO] «BUILDDIR»/maven-script/maven-script-ant/src/main/java/org/apache/maven/script/ant/AntMojoWrapper.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ maven-script-ant ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ maven-script-ant ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ maven-script-ant ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ maven-script-ant ---
[INFO] Building jar: «BUILDDIR»/maven-script/maven-script-ant/target/maven-script-ant-3.3.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Beanshell Mojo Support 3.3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ maven-script-beanshell ---
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory «BUILDDIR»/maven-script/maven-script-beanshell/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ maven-script-beanshell ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] Compiling 1 source file to «BUILDDIR»/maven-script/maven-script-beanshell/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ maven-script-beanshell ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ maven-script-beanshell ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ maven-script-beanshell ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ maven-script-beanshell ---
[INFO] Building jar: «BUILDDIR»/maven-script/maven-script-beanshell/target/maven-script-beanshell-3.3.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Plugin Tools APIs 3.3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ maven-plugin-tools-api ---
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ maven-plugin-tools-api ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] Compiling 9 source files to «BUILDDIR»/maven-plugin-tools-api/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ maven-plugin-tools-api ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ maven-plugin-tools-api ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ maven-plugin-tools-api ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ maven-plugin-tools-api ---
[INFO] Building jar: «BUILDDIR»/maven-plugin-tools-api/target/maven-plugin-tools-api-3.3.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Plugin Tools Generators 3.3
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ maven-plugin-tools-generators ---
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ maven-plugin-tools-generators ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] Compiling 6 source files to «BUILDDIR»/maven-plugin-tools-generators/target/classes
[INFO] «BUILDDIR»/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java: Some input files use or override a deprecated API.
[INFO] «BUILDDIR»/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java: Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] «BUILDDIR»/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java:[300,61] unreported exception java.io.IOException; must be caught or declared to be thrown
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Maven Plugin Tools ................................. SUCCESS [ 0.040 s]
[INFO] Maven Script Mojo Support .......................... SUCCESS [ 0.001 s]
[INFO] Maven Ant Mojo Support ............................. SUCCESS [ 1.503 s]
[INFO] Maven Beanshell Mojo Support ....................... SUCCESS [ 0.100 s]
[INFO] Maven Plugin Tools APIs ............................ SUCCESS [ 0.325 s]
[INFO] Maven Plugin Tools Generators ...................... FAILURE [ 0.450 s]
[INFO] Maven Plugin Tool for Java with Mojo Javadoc Tags .. SKIPPED
[INFO] Maven Plugin Tools Javadoc ......................... SKIPPED
[INFO] Maven Plugin Tools Java 5 Annotations .............. SKIPPED
[INFO] Maven Plugin Tool for Java with Annotations ........ SKIPPED
[INFO] Maven Plugin Metadata Model ........................ SKIPPED
[INFO] Maven Plugin Tool for Ant .......................... SKIPPED
[INFO] Maven Plugin Tool for Beanshell .................... SKIPPED
[INFO] Maven Plugin Plugin ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.651 s
[INFO] Finished at: 2017-05-23T22:56:04+01:00
[INFO] Final Memory: 19M/297M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project maven-plugin-tools-generators: Compilation failure
[ERROR] «BUILDDIR»/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java:[300,61] unreported exception java.io.IOException; must be caught or declared to be thrown
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :maven-plugin-tools-generators
dh_auto_build: /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 -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=«BUILDDIR» -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/home/lamby/temp/cdt.20170523225408.mDMW4OzuJ6.db.maven-plugin-tools/maven-plugin-tools-3.3/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/home/lamby/temp/cdt.20170523225408.mDMW4OzuJ6.db.maven-plugin-tools/maven-plugin-tools-3.3/debian -Dmaven.repo.local=/home/lamby/temp/cdt.20170523225408.mDMW4OzuJ6.db.maven-plugin-tools/maven-plugin-tools-3.3/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
[…]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maven-plugin-tools.3.3-5.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 20871 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20170523/b3a98b80/attachment-0001.obj>
More information about the pkg-java-maintainers
mailing list