Bug#869017: powermock: FTBFS: find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such file or directory

Lucas Nussbaum lucas at debian.org
Thu Jul 20 05:41:03 UTC 2017


Source: powermock
Version: 1.6.6-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170719 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build
>    dh_testdir
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 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 -plibpowermock-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    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=/<<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 package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] powermock
> [INFO] powermock-reflect
> [INFO] powermock-core
> [INFO] powermock-api
> [INFO] powermock-api-support
> [INFO] powermock-api-easymock
> [INFO] powermock-api-mockito-common
> [INFO] powermock-api-mockito
> [INFO] powermock-modules
> [INFO] powermock-module-junit4-common
> [INFO] powermock-module-junit4
> [INFO] powermock-classloading-base
> [INFO] powermock-module-junit4-rule
> [INFO] powermock-module-javaagent
> [INFO] powermock-module-junit4-rule-agent
> [INFO] powermock-module-testng-common
> [INFO] powermock-module-testng
> [INFO] powermock-module-testng-agent
> [INFO] powermock-modules-impl
> [INFO] powermock-classloading-module
> [INFO] powermock-classloading-objenesis
> [INFO] powermock-classloading-xstream
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock 1.6.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock ---
> [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock-reflect 1.6.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ powermock-reflect ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/reflect/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ powermock-reflect ---
> [WARNING] The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [WARNING] The POM for org.codehaus.plexus:plexus-compiler-javac:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [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 27 source files to /<<PKGBUILDDIR>>/reflect/target/classes
> [INFO] /<<PKGBUILDDIR>>/reflect/src/main/java/org/powermock/reflect/Whitebox.java: /<<PKGBUILDDIR>>/reflect/src/main/java/org/powermock/reflect/Whitebox.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/reflect/src/main/java/org/powermock/reflect/Whitebox.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock-reflect ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ powermock-reflect ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ powermock-reflect ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ powermock-reflect ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ powermock-reflect ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/reflect/target/powermock-reflect-1.6.6.jar
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock-core 1.6.6
> [INFO] ------------------------------------------------------------------------
> [WARNING] The artifact javassist:javassist:jar:debian has been relocated to org.javassist:javassist:jar:debian
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ powermock-core ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/core/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ powermock-core ---
> [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 85 source files to /<<PKGBUILDDIR>>/core/target/classes
> [INFO] /<<PKGBUILDDIR>>/core/src/main/java/org/powermock/mockpolicies/impl/MockPolicyInterceptionSettingsImpl.java: /<<PKGBUILDDIR>>/core/src/main/java/org/powermock/mockpolicies/impl/MockPolicyInterceptionSettingsImpl.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/core/src/main/java/org/powermock/mockpolicies/impl/MockPolicyInterceptionSettingsImpl.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock-core ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ powermock-core ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ powermock-core ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ powermock-core ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ powermock-core ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/core/target/powermock-core-1.6.6.jar
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock-api 1.6.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock-api ---
> [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock-api-support 1.6.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ powermock-api-support ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/api/support/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ powermock-api-support ---
> [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 13 source files to /<<PKGBUILDDIR>>/api/support/target/classes
> [INFO] /<<PKGBUILDDIR>>/api/support/src/main/java/org/powermock/api/support/ClassLoaderUtil.java: /<<PKGBUILDDIR>>/api/support/src/main/java/org/powermock/api/support/ClassLoaderUtil.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/api/support/src/main/java/org/powermock/api/support/ClassLoaderUtil.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock-api-support ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ powermock-api-support ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ powermock-api-support ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ powermock-api-support ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ powermock-api-support ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/api/support/target/powermock-api-support-1.6.6.jar
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock-api-easymock 1.6.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ powermock-api-easymock ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/api/easymock/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ powermock-api-easymock ---
> [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 31 source files to /<<PKGBUILDDIR>>/api/easymock/target/classes
> [INFO] /<<PKGBUILDDIR>>/api/easymock/src/main/java/org/powermock/api/easymock/internal/mockstrategy/impl/DefaultMockStrategy.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/api/easymock/src/main/java/org/powermock/api/easymock/internal/mockstrategy/impl/DefaultMockStrategy.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock-api-easymock ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ powermock-api-easymock ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ powermock-api-easymock ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ powermock-api-easymock ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ powermock-api-easymock ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/api/easymock/target/powermock-api-easymock-1.6.6.jar
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock-api-mockito-common 1.6.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ powermock-api-mockito-common ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/api/mockito-common/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ powermock-api-mockito-common ---
> [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 19 source files to /<<PKGBUILDDIR>>/api/mockito-common/target/classes
> [INFO] /<<PKGBUILDDIR>>/api/mockito-common/src/main/java/org/powermock/api/mockito/internal/expectation/AbstractConstructorExpectationSetup.java: /<<PKGBUILDDIR>>/api/mockito-common/src/main/java/org/powermock/api/mockito/internal/expectation/AbstractConstructorExpectationSetup.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/api/mockito-common/src/main/java/org/powermock/api/mockito/internal/expectation/AbstractConstructorExpectationSetup.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock-api-mockito-common ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ powermock-api-mockito-common ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ powermock-api-mockito-common ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ powermock-api-mockito-common ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ powermock-api-mockito-common ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/api/mockito-common/target/powermock-api-mockito-common-1.6.6.jar
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock-api-mockito 1.6.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ powermock-api-mockito ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 2 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ powermock-api-mockito ---
> [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 43 source files to /<<PKGBUILDDIR>>/api/mockito/target/classes
> [INFO] /<<PKGBUILDDIR>>/api/mockito/src/main/java/org/powermock/api/extension/listener/AnnotationEnabler.java: /<<PKGBUILDDIR>>/api/mockito/src/main/java/org/powermock/api/extension/listener/AnnotationEnabler.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/api/mockito/src/main/java/org/powermock/api/extension/listener/AnnotationEnabler.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/api/mockito/src/main/java/org/powermock/api/mockito/internal/mockmaker/PowerMockMaker.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/api/mockito/src/main/java/org/powermock/api/mockito/internal/mockmaker/PowerMockMaker.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock-api-mockito ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ powermock-api-mockito ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ powermock-api-mockito ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ powermock-api-mockito ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ powermock-api-mockito ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/api/mockito/target/powermock-api-mockito-1.6.6.jar
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock-modules 1.6.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock-modules ---
> [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle]
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock-module-junit4-common 1.6.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ powermock-module-junit4-common ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/modules/module-impl/junit4-common/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ powermock-module-junit4-common ---
> [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 /<<PKGBUILDDIR>>/modules/module-impl/junit4-common/target/classes
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock-module-junit4-common ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ powermock-module-junit4-common ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ powermock-module-junit4-common ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ powermock-module-junit4-common ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ powermock-module-junit4-common ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/modules/module-impl/junit4-common/target/powermock-module-junit4-common-1.6.6.jar
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock-module-junit4 1.6.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ powermock-module-junit4 ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/modules/module-impl/junit4/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ powermock-module-junit4 ---
> [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 /<<PKGBUILDDIR>>/modules/module-impl/junit4/target/classes
> [INFO] /<<PKGBUILDDIR>>/modules/module-impl/junit4/src/main/java/org/powermock/modules/junit4/internal/impl/testcaseworkaround/PowerMockJUnit4MethodValidator.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/modules/module-impl/junit4/src/main/java/org/powermock/modules/junit4/internal/impl/testcaseworkaround/PowerMockJUnit4MethodValidator.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/modules/module-impl/junit4/src/main/java/org/powermock/modules/junit4/internal/impl/PowerMockJUnit47RunnerDelegateImpl.java: /<<PKGBUILDDIR>>/modules/module-impl/junit4/src/main/java/org/powermock/modules/junit4/internal/impl/PowerMockJUnit47RunnerDelegateImpl.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/modules/module-impl/junit4/src/main/java/org/powermock/modules/junit4/internal/impl/PowerMockJUnit47RunnerDelegateImpl.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock-module-junit4 ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ powermock-module-junit4 ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ powermock-module-junit4 ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ powermock-module-junit4 ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ powermock-module-junit4 ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/modules/module-impl/junit4/target/powermock-module-junit4-1.6.6.jar
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock-classloading-base 1.6.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ powermock-classloading-base ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/classloading/classloading-base/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ powermock-classloading-base ---
> [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 5 source files to /<<PKGBUILDDIR>>/classloading/classloading-base/target/classes
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock-classloading-base ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ powermock-classloading-base ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ powermock-classloading-base ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ powermock-classloading-base ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ powermock-classloading-base ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/classloading/classloading-base/target/powermock-classloading-base-1.6.6.jar
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock-module-junit4-rule 1.6.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ powermock-module-junit4-rule ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/modules/module-impl/junit4-rule/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ powermock-module-junit4-rule ---
> [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 /<<PKGBUILDDIR>>/modules/module-impl/junit4-rule/target/classes
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock-module-junit4-rule ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ powermock-module-junit4-rule ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ powermock-module-junit4-rule ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ powermock-module-junit4-rule ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ powermock-module-junit4-rule ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/modules/module-impl/junit4-rule/target/powermock-module-junit4-rule-1.6.6.jar
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building powermock-module-javaagent 1.6.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ powermock-module-javaagent ---
> [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/modules/module-impl/agent/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ powermock-module-javaagent ---
> [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 44 source files to /<<PKGBUILDDIR>>/modules/module-impl/agent/target/classes
> [ERROR] /<<PKGBUILDDIR>>/modules/module-impl/agent/src/main/java/org/powermock/modules/agent/AgentLoader.java:[3,31] unmappable character for encoding ASCII
> [ERROR] /<<PKGBUILDDIR>>/modules/module-impl/agent/src/main/java/org/powermock/modules/agent/AgentLoader.java:[3,32] unmappable character for encoding ASCII
> [ERROR] /<<PKGBUILDDIR>>/modules/module-impl/agent/src/main/java/org/powermock/modules/agent/PowerMockAgent.java:[3,31] unmappable character for encoding ASCII
> [ERROR] /<<PKGBUILDDIR>>/modules/module-impl/agent/src/main/java/org/powermock/modules/agent/PowerMockAgent.java:[3,32] unmappable character for encoding ASCII
> [ERROR] /<<PKGBUILDDIR>>/modules/module-impl/agent/src/main/java/org/powermock/modules/agent/AgentInitialization.java:[3,31] unmappable character for encoding ASCII
> [ERROR] /<<PKGBUILDDIR>>/modules/module-impl/agent/src/main/java/org/powermock/modules/agent/AgentInitialization.java:[3,32] unmappable character for encoding ASCII
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default) @ powermock-module-javaagent ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/modules/module-impl/agent/target/powermock-module-javaagent-1.6.6.jar
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ powermock-module-javaagent ---
> Jul 19, 2017 11:59:10 AM java.util.jar.Attributes read
> WARNING: Duplicate name in Manifest: Manifest-Version.
> Ensure that the manifest does not have duplicate entries, and
> that blank lines separate individual sections in both your
> manifest and in the META-INF/MANIFEST.MF entry in the jar file.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ powermock-module-javaagent ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ powermock-module-javaagent ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ powermock-module-javaagent ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ powermock-module-javaagent ---
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] powermock .......................................... SUCCESS [  0.364 s]
> [INFO] powermock-reflect .................................. SUCCESS [  1.265 s]
> [INFO] powermock-core ..................................... SUCCESS [  0.651 s]
> [INFO] powermock-api ...................................... SUCCESS [  0.002 s]
> [INFO] powermock-api-support .............................. SUCCESS [  0.144 s]
> [INFO] powermock-api-easymock ............................. SUCCESS [  0.304 s]
> [INFO] powermock-api-mockito-common ....................... SUCCESS [  0.167 s]
> [INFO] powermock-api-mockito .............................. SUCCESS [  0.340 s]
> [INFO] powermock-modules .................................. SUCCESS [  0.002 s]
> [INFO] powermock-module-junit4-common ..................... SUCCESS [  0.138 s]
> [INFO] powermock-module-junit4 ............................ SUCCESS [  0.162 s]
> [INFO] powermock-classloading-base ........................ SUCCESS [  0.062 s]
> [INFO] powermock-module-junit4-rule ....................... SUCCESS [  0.064 s]
> [INFO] powermock-module-javaagent ......................... FAILURE [  0.463 s]
> [INFO] powermock-module-junit4-rule-agent ................. SKIPPED
> [INFO] powermock-module-testng-common ..................... SKIPPED
> [INFO] powermock-module-testng ............................ SKIPPED
> [INFO] powermock-module-testng-agent ...................... SKIPPED
> [INFO] powermock-modules-impl ............................. SKIPPED
> [INFO] powermock-classloading-module ...................... SKIPPED
> [INFO] powermock-classloading-objenesis ................... SKIPPED
> [INFO] powermock-classloading-xstream ..................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4.296 s
> [INFO] Finished at: 2017-07-19T11:59:10Z
> [INFO] Final Memory: 26M/870M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar (default-jar) on project powermock-module-javaagent: You have to use a classifier to attach supplemental artifacts to the project instead of replacing them. -> [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/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :powermock-module-javaagent
> 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=/<<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 package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> debian/rules:6: recipe for target 'build' failed
> make: *** [build] Error 2

The full build log is available from:
   http://aws-logs.debian.net/2017/07/19/powermock_1.6.6-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-java-maintainers mailing list