Bug#975842: google-api-client-java: FTBFS: Could not resolve dependencies for project com.google.api-client:google-api-client:jar:1.27.1

Lucas Nussbaum lucas at debian.org
Wed Nov 25 20:56:24 GMT 2020


Source: google-api-client-java
Version: 1.27.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201125 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package google-api-client-java
> dpkg-buildpackage: info: source version 1.27.1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Andreas Tille <tille at debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean
>    dh_auto_clean
> 	bash -c "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 -plibgoogle-api-client-java
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building google-api-client-java using existing ./google-api-client-java_1.27.1.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building google-api-client-java in google-api-client-java_1.27.1-1.debian.tar.xz
> dpkg-source: info: building google-api-client-java in google-api-client-java_1.27.1-1.dsc
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	mh_patchpoms -plibgoogle-api-client-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    dh_auto_build
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.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 --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> [INFO] Scanning for projects...
> [WARNING] The project com.google.api-client:google-api-client-parent:pom:1.27.1 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] Parent for the Google API Client Library for Java                  [pom]
> [INFO] Google APIs Client Library for Java                                [jar]
> [INFO] Jackson 2 extensions to the Google APIs Client Library for Java    [jar]
> [INFO] 
> [INFO] -----------< com.google.api-client:google-api-client-parent >-----------
> [INFO] Building Parent for the Google API Client Library for Java 1.27.1  [1/3]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] --------------< com.google.api-client:google-api-client >---------------
> [INFO] Building Google APIs Client Library for Java 1.27.1                [2/3]
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The POM for io.grpc:grpc-context:jar:debian is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Parent for the Google API Client Library for Java 1.27.1:
> [INFO] 
> [INFO] Parent for the Google API Client Library for Java .. SUCCESS [  0.003 s]
> [INFO] Google APIs Client Library for Java ................ FAILURE [  0.118 s]
> [INFO] Jackson 2 extensions to the Google APIs Client Library for Java SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  0.238 s
> [INFO] Finished at: 2020-11-25T12:27:31Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project google-api-client: Could not resolve dependencies for project com.google.api-client:google-api-client:jar:1.27.1: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact io.grpc:grpc-context: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 <args> -rf :google-api-client
> dh_auto_build: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.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 --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make: *** [debian/rules:8: binary] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/11/25/google-api-client-java_1.27.1-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