Bug#812472: commons-beanutils: FTBFS: Error resolving version for plugin 'org.apache.felix:maven-bundle-plugin' from the repositories

Chris Lamb lamby at debian.org
Sun Jan 24 08:48:30 UTC 2016


Source: commons-beanutils
Version: 1.9.2-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

commons-beanutils fails to build from source in unstable/amd64:

  [..]

   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: source package commons-beanutils
  dpkg-buildpackage: source version 1.9.2-2
  dpkg-buildpackage: source distribution unstable
  dpkg-buildpackage: source changed by Emmanuel Bourg <ebourg at apache.org>
   dpkg-source --before-build commons-beanutils-1.9.2
  dpkg-buildpackage: 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 -plibcommons-beanutils-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
  	mh_patchpoms -plibcommons-beanutils-java --debian-build --keep-pom-version --maven-repo=/home/lamby/temp/cdt.20160124093511.GZQfmBZrLJ/commons-beanutils-1.9.2/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=/home/lamby/temp/cdt.20160124093511.GZQfmBZrLJ/commons-beanutils-1.9.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/home/lamby/temp/cdt.20160124093511.GZQfmBZrLJ/commons-beanutils-1.9.2/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/home/lamby/temp/cdt.20160124093511.GZQfmBZrLJ/commons-beanutils-1.9.2/debian -Dmaven.repo.local=/home/lamby/temp/cdt.20160124093511.GZQfmBZrLJ/commons-beanutils-1.9.2/debian/maven-repo package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US
  [INFO] Scanning for projects...
  [WARNING] 
  [WARNING] Some problems were encountered while building the effective model for commons-beanutils:commons-beanutils:jar:1.9.2
  [WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @ org.apache.commons:commons-parent:debian, /home/lamby/temp/cdt.20160124093511.GZQfmBZrLJ/commons-beanutils-1.9.2/debian/maven-repo/org/apache/commons/commons-parent/debian/commons-parent-debian.pom, line 322, column 12
  [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.apache.commons:commons-parent:debian, /home/lamby/temp/cdt.20160124093511.GZQfmBZrLJ/commons-beanutils-1.9.2/debian/maven-repo/org/apache/commons/commons-parent/debian/commons-parent-debian.pom, line 289, 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] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 0.161 s
  [INFO] Finished at: 2016-01-24T09:37:14+01:00
  [INFO] Final Memory: 6M/236M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Error resolving version for plugin 'org.apache.felix:maven-bundle-plugin' from the repositories [local (/home/lamby/temp/cdt.20160124093511.GZQfmBZrLJ/commons-beanutils-1.9.2/debian/maven-repo), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository -> [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/PluginVersionResolutionException
  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=/home/lamby/temp/cdt.20160124093511.GZQfmBZrLJ/commons-beanutils-1.9.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/home/lamby/temp/cdt.20160124093511.GZQfmBZrLJ/commons-beanutils-1.9.2/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/home/lamby/temp/cdt.20160124093511.GZQfmBZrLJ/commons-beanutils-1.9.2/debian -Dmaven.repo.local=/home/lamby/temp/cdt.20160124093511.GZQfmBZrLJ/commons-beanutils-1.9.2/debian/maven-repo package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
  debian/rules:6: recipe for target 'build' failed
  make: *** [build] Error 1

  [..]

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: commons-beanutils.1.9.2-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 1522 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20160124/fcdbbcc8/attachment.obj>


More information about the pkg-java-maintainers mailing list