Bug#830430: apache-curator: FTBFS: Failed to execute goal on project curator-client: Could not resolve dependencies for project org.apache.curator:curator-client:jar:2.7.1: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.ant:ant:jar:debian has not been downloaded from it before. -> [Help 1]

Lucas Nussbaum lucas at debian.org
Fri Jul 8 07:30:31 UTC 2016


Source: apache-curator
Version: 2.7.1-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160707 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_listpackages: -s/--same-arch is deprecated; please use -a/--arch instead
> test -x debian/rules
> mkdir -p "."
> /usr/share/maven-debian-helper/copy-repo.sh /«PKGBUILDDIR»/debian
> 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 -plibcurator-parent-java --debian-build --keep-pom-version --maven-repo=/«PKGBUILDDIR»/debian/maven-repo  --build-no-docs
> touch debian/stamp-poms-patched
> # Regenerate the Java classes from the Thrift files
> sed -i 's/^namespace java.swift/\/\/namespace java.swift/g' curator-x-rpc/src/main/thrift/curator.thrift
> cd curator-x-rpc/src/main/scripts && bash apply-thrift.sh java
> # 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/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/«PKGBUILDDIR»/debian/maven.properties -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/«PKGBUILDDIR» org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Dmaven.repo.local=/«PKGBUILDDIR»/debian/maven-repo  package -DskipTests
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] Apache Curator
> [INFO] Curator Testing
> [INFO] Curator Client
> [INFO] Curator Framework
> [INFO] Curator Recipes
> [INFO] Curator Service Discovery
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Curator 2.7.1
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ apache-curator ---
> [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, war, bundle]
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Curator Testing 2.7.1
> [INFO] ------------------------------------------------------------------------
> [WARNING] The artifact javassist:javassist:jar:debian has been relocated to org.javassist:javassist:jar:debian
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ curator-test ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources to META-INF
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ curator-test ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 14 source files to /«PKGBUILDDIR»/curator-test/target/classes
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ curator-test ---
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ curator-test ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ curator-test ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ curator-test ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ curator-test ---
> [INFO] Building jar: /«PKGBUILDDIR»/curator-test/target/curator-test-2.7.1.jar
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Curator Client 2.7.1
> [INFO] ------------------------------------------------------------------------
> [WARNING] The POM for org.apache.ant:ant:jar:debian is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Curator ..................................... SUCCESS [  0.067 s]
> [INFO] Curator Testing .................................... SUCCESS [  1.622 s]
> [INFO] Curator Client ..................................... FAILURE [  0.017 s]
> [INFO] Curator Framework .................................. SKIPPED
> [INFO] Curator Recipes .................................... SKIPPED
> [INFO] Curator Service Discovery .......................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.399 s
> [INFO] Finished at: 2016-07-06T21:00:01+00:00
> [INFO] Final Memory: 20M/305M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project curator-client: Could not resolve dependencies for project org.apache.curator:curator-client:jar:2.7.1: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.ant:ant: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 :curator-client
> make: *** [mvn-build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/07/apache-curator_2.7.1-1_unstable_reb.normal.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