Bug#808852: elasticsearch: FTBFS: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.google.guava:guava:jar:18.0

Chris Lamb lamby at debian.org
Wed Dec 23 19:28:31 UTC 2015


Source: elasticsearch
Version: 1.7.3+dfsg-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,

elasticsearch fails to build from source in unstable/amd64:

  [..]

          -Dfile=/usr/share/java/jts.jar \
          -DgroupId=com.vividsolutions \
          -DartifactId=jts \
          -Dversion=fake \
          -Dpackaging=jar
  [INFO] Scanning for projects...
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building elasticsearch 1.7.3
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- maven-install-plugin:2.5.2:install-file (default-cli) @ elasticsearch ---
  [INFO] Installing /usr/share/java/jts.jar to /home/lamby/temp/cdt.20151223192417.KQbN7JxyDK/elasticsearch-1.7.3+dfsg/debian/maven-repo/com/vividsolutions/jts/fake/jts-fake.jar
  [INFO] Installing /tmp/mvninstall1889937690685813395.pom to /home/lamby/temp/cdt.20151223192417.KQbN7JxyDK/elasticsearch-1.7.3+dfsg/debian/maven-repo/com/vividsolutions/jts/fake/jts-fake.pom
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 0.801 s
  [INFO] Finished at: 2015-12-23T19:27:13+00:00
  [INFO] Final Memory: 8M/236M
  [INFO] ------------------------------------------------------------------------
  make[1]: Leaving directory '/home/lamby/temp/cdt.20151223192417.KQbN7JxyDK/elasticsearch-1.7.3+dfsg'
     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.20151223192417.KQbN7JxyDK/elasticsearch-1.7.3\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/home/lamby/temp/cdt.20151223192417.KQbN7JxyDK/elasticsearch-1.7.3\+dfsg/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/home/lamby/temp/cdt.20151223192417.KQbN7JxyDK/elasticsearch-1.7.3\+dfsg/debian -Dmaven.repo.local=/home/lamby/temp/cdt.20151223192417.KQbN7JxyDK/elasticsearch-1.7.3\+dfsg/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US
  [INFO] Scanning for projects...
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building elasticsearch 1.7.3
  [INFO] ------------------------------------------------------------------------
  [WARNING] The POM for com.google.guava:guava:jar:18.0 is missing, no dependency information available
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 0.792 s
  [INFO] Finished at: 2015-12-23T19:27:16+00:00
  [INFO] Final Memory: 7M/236M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal on project elasticsearch: Could not resolve dependencies for project org.elasticsearch:elasticsearch:jar:1.7.3: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.google.guava:guava:jar:18.0 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
  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.20151223192417.KQbN7JxyDK/elasticsearch-1.7.3+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/home/lamby/temp/cdt.20151223192417.KQbN7JxyDK/elasticsearch-1.7.3+dfsg/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/home/lamby/temp/cdt.20151223192417.KQbN7JxyDK/elasticsearch-1.7.3+dfsg/debian -Dmaven.repo.local=/home/lamby/temp/cdt.20151223192417.KQbN7JxyDK/elasticsearch-1.7.3+dfsg/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
  debian/rules:22: 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: elasticsearch.1.7.3+dfsg-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 1740 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20151223/24bcc68b/attachment.obj>


More information about the pkg-java-maintainers mailing list