Bug#860632: libmiglayout-java: FTBFS on i386: find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such file or directory

Lucas Nussbaum lucas at debian.org
Wed Apr 19 07:40:55 UTC 2017


Source: libmiglayout-java
Version: 4.2-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170418-i386 qa-ftbfs
Justification: FTBFS in stretch on i386

Hi,

During a rebuild of all packages in stretch (in a stretch chroot, not a
sid chroot), your package failed to build on i386.

Relevant part (hopefully):
>  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 -plibmiglayout-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/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=/<<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] MiGLayout
> [INFO] MiGLayout Core
> [INFO] MiGLayout Swing
> [INFO] MiGLayout SWT
> [INFO] MiGLayout IDEUtil
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building MiGLayout 4.2
> [INFO] ------------------------------------------------------------------------
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building MiGLayout Core 4.2
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ miglayout-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.2:compile (default-compile) @ miglayout-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 17 source files to /<<PKGBUILDDIR>>/core/target/classes
> [INFO] /<<PKGBUILDDIR>>/core/src/main/java/net/miginfocom/layout/Grid.java: /<<PKGBUILDDIR>>/core/src/main/java/net/miginfocom/layout/Grid.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/core/src/main/java/net/miginfocom/layout/Grid.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ miglayout-core ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ miglayout-core ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ miglayout-core ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ miglayout-core ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/core/target/miglayout-core-4.2.jar
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building MiGLayout Swing 4.2
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ miglayout-swing ---
> [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>>/swing/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ miglayout-swing ---
> [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>>/swing/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ miglayout-swing ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ miglayout-swing ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ miglayout-swing ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ miglayout-swing ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/swing/target/miglayout-swing-4.2.jar
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building MiGLayout SWT 4.2
> [INFO] ------------------------------------------------------------------------
> [WARNING] The POM for org.eclipse.swt.gtk.linux:x86:jar:debian is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] MiGLayout .......................................... SUCCESS [  0.002 s]
> [INFO] MiGLayout Core ..................................... SUCCESS [  1.474 s]
> [INFO] MiGLayout Swing .................................... SUCCESS [  0.128 s]
> [INFO] MiGLayout SWT ...................................... FAILURE [  0.003 s]
> [INFO] MiGLayout IDEUtil .................................. SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.717 s
> [INFO] Finished at: 2017-04-18T22:27:53+00:00
> [INFO] Final Memory: 15M/278M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project miglayout-swt: Could not resolve dependencies for project com.miglayout:miglayout-swt:jar:4.2: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.eclipse.swt.gtk.linux:x86:jar:debian 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
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :miglayout-swt
> 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:4: recipe for target 'build' failed
> make: *** [build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/04/18/libmiglayout-java_4.2-2_testing-i386.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