Bug#730953: maven-common-artifact-filters: FTBFS: [ERROR] required: IMocksControl

David Suárez david.sephirot at gmail.com
Sat Nov 30 16:38:39 UTC 2013


Source: maven-common-artifact-filters
Version: 1.2-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131128 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
> test -x debian/rules
> mkdir -p "."
> /usr/share/maven-debian-helper/copy-repo.sh /«PKGBUILDDIR»/debian
> mh_patchpoms -plibmaven-common-artifact-filters-java --debian-build --keep-pom-version --maven-repo=/«PKGBUILDDIR»/debian/maven-repo 
> touch debian/stamp-poms-patched
> # before-build target may be used to unpatch the pom files, so we need to check if
> # patching the pom files is needed here, normally not
> if [ ! -f pom.xml.save ]; then \
> 		/usr/bin/make -f debian/rules patch-poms; \
> 	fi
> cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/«PKGBUILDDIR»/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/«PKGBUILDDIR»/debian/maven-repo  package
> [INFO] 
> NOTE: Maven is executing in offline mode. Any artifacts not already in your local
> repository will be inaccessible.
> 
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Common Artifact Filters
> [INFO]    task-segment: [package]
> [INFO] ------------------------------------------------------------------------
> [INFO] [resources:resources {execution: default-resources}]
> [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»/src/main/resources
> [WARNING] POM for 'org.codehaus.plexus:plexus-compiler-api:pom:debian:runtime' is invalid.
> 
> Its dependencies (if any) will NOT be available to the current build.
> [WARNING] POM for 'org.codehaus.plexus:plexus-compiler-javac:pom:debian:runtime' is invalid.
> 
> Its dependencies (if any) will NOT be available to the current build.
> [INFO] [compiler:compile {execution: default-compile}]
> [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»/target/classes
> [INFO] [resources:testResources {execution: default-testResources}]
> [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»/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
> [INFO] Compiling 15 source files to /«PKGBUILDDIR»/target/test-classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /«PKGBUILDDIR»/src/test/java/org/apache/maven/shared/artifact/filter/ScopeArtifactFilterTest.java:[340,23] error: method add in class MockManager cannot be applied to given types;
> [ERROR]   required: IMocksControl
>   found: MockControl
>   reason: actual argument MockControl cannot be converted to IMocksControl by method invocation conversion
> /«PKGBUILDDIR»/src/test/java/org/apache/maven/shared/artifact/filter/PatternArtifactFilterTCK.java:[412,23] error: method add in class MockManager cannot be applied to given types;
> [INFO] 2 errors 
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> /«PKGBUILDDIR»/src/test/java/org/apache/maven/shared/artifact/filter/ScopeArtifactFilterTest.java:[340,23] error: method add in class MockManager cannot be applied to given types;
>   required: IMocksControl
>   found: MockControl
>   reason: actual argument MockControl cannot be converted to IMocksControl by method invocation conversion
> /«PKGBUILDDIR»/src/test/java/org/apache/maven/shared/artifact/filter/PatternArtifactFilterTCK.java:[412,23] error: method add in class MockManager cannot be applied to given types;
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 5 seconds
> [INFO] Finished at: Thu Nov 28 01:55:46 UTC 2013
> [INFO] Final Memory: 13M/58M
> [INFO] ------------------------------------------------------------------------
> make: *** [mvn-build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/11/28/maven-common-artifact-filters_1.2-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