Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11693

Re: Bug#959829: [covid-19] Help needed to finalise bazel predependency google-api-client-java

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Andreas Tille <tille@debian.org>
Newsgroups linux.debian.maint.java, linux.debian.bugs.dist
Subject Re: Bug#959829: [covid-19] Help needed to finalise bazel predependency google-api-client-java
Date Wed, 17 Jun 2020 18:20:01 +0200
Message-ID <AiIX7-3ei-1@gated-at.bofh.it> (permalink)
References <A3gzL-7Qi-1@gated-at.bofh.it> <AieZ3-24V-5@gated-at.bofh.it> <AifLr-2B1-7@gated-at.bofh.it> <Aig4N-2Hv-1@gated-at.bofh.it> <Aiy1H-51d-5@gated-at.bofh.it> <AiBsC-7bk-5@gated-at.bofh.it> <AiDNM-8tU-9@gated-at.bofh.it>
X-Original-To Sudip Mukherjee <sudipm.mukherjee@gmail.com>
X-Mailbox-Line From debian-java-request@lists.debian.org Wed Jun 17 16:19:45 2020
Old-Return-Path <tille@debian.org>
X-Amavis-Spam-Status No, score=-3.88 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, COMPANYSYMBOLPRICE=3, FOURLA=0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -3.5
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.10.1 (2018-07-13)
X-Mailing-List <debian-java@lists.debian.org> archive/latest/22274
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/20200617161930.GI11589@an3as.eu
Approved robomod@news.nic.it
Lines 94
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Debian Java List <debian-java@lists.debian.org>, Olek Wojnar <olek@debian.org>, 959829@bugs.debian.org
X-Original-Date Wed, 17 Jun 2020 18:19:30 +0200
X-Original-Message-ID <20200617161930.GI11589@an3as.eu>
X-Original-References <158872656729.29608.4303427659074751784.reportbug@friday> <20200616081216.GT5717@an3as.eu> <CAJj0crRm8=f6-c2ZGoFBCqb3_5e1=WLqxDb1AM_9_aUWcmS4Tg@mail.gmail.com> <20200616091945.GU5717@an3as.eu> <20200617043420.vz3z27bdpfkgjprb@lark> <20200617081314.GB11589@an3as.eu> <CADVatmMFJ-kqKRZf-_Xi1ecbAKO26NEqf6_h4wW6HPu+_TVeCA@mail.gmail.com>
Xref csiph.com linux.debian.maint.java:11693 linux.debian.bugs.dist:1014225

Cross-posted to 2 groups.

Show key headers only | View raw


Hi Sudip,

On Wed, Jun 17, 2020 at 11:42:52AM +0100, Sudip Mukherjee wrote:
> 
> I have taken the liberty to push to "tmancill" branch and the issue

As I tried to express:  I wished you all would take the freedom to
simply push to the master branch which is perfectly fine for me. ;-)
Thanks a lot for providing some fix in any case!

> with "com.google.api.client.util" is now resolved. It needs to depend
> on "libgoogle-oauth-client-java" which is still in NEW.

I've a local repository and can deal with this.

> But, it now fails with:
> 
> google-api-client/src/main/java/com/google/api/client/googleapis/services/AbstractGoogleClientRequest.java:[435,16]
> cannot find symbol
> [ERROR]   symbol:   method setResponseReturnRawInputStream(boolean)
> [ERROR]   location: variable httpRequest of type
> com.google.api.client.http.HttpRequest
> 
> And, indeed https://salsa.debian.org/java-team/google-http-client-java/-/blob/master/google-http-client/src/main/java/com/google/api/client/http/HttpRequest.java
> is not having the method "setResponseReturnRawInputStream". And, it
> seems the packaged version of libgoogle-http-client-java in Debian is
> 1.27 and "setResponseReturnRawInputStream" was added in v1.29.0. So,
> we will need to update  libgoogle-http-client-java to 1.29.0 atleast.

I somehow ignored Olek's hint that we should rather start with version
1.27 to avoid issues with circular (and more) dependencies.  That's
why I downgraded the version in Git now and merged tmancill branch to
master. 

I have the feeling we are coming closer to a solution iteratively now
but there are some remaining errors unfortunately:


...
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ google-api-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 27 source files to /build/google-api-client-java-1.27.1/google-api-client/target/test-classes
[INFO] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java: Some input files use or override a deprecated API.
[INFO] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java: Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[29,38] package com.google.api.client.protobuf does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[182,43] package ErrorOutput does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[192,38] package ErrorOutput does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[228,39] package MockData does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[235,35] package MockData does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[244,39] package MockData does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[251,35] package MockData does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/auth/oauth2/CloudShellCredentialTest.java:[36,39] package com.google.api.client.json.gson does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/auth/oauth2/GoogleClientSecretsTest.java:[18,39] package com.google.api.client.json.gson does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[196,20] package ErrorOutput does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[207,25] package ErrorOutput does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[333,50] package MockData does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[339,50] package MockData does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[348,41] package ErrorOutput does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[345,36] package ErrorOutput does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[344,57] package ErrorOutput does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[506,26] cannot find symbol
  symbol:   class ProtoObjectParser
  location: class com.google.api.client.googleapis.batch.BatchRequestTest
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[522,44] package MockData does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[522,70] package ErrorOutput does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[524,44] package MockData does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/batch/BatchRequestTest.java:[524,70] package ErrorOutput does not exist
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/auth/oauth2/CloudShellCredentialTest.java:[80,36] cannot find symbol
  symbol:   variable GsonFactory
  location: class com.google.api.client.googleapis.auth.oauth2.CloudShellCredentialTest
[ERROR] /build/google-api-client-java-1.27.1/google-api-client/src/test/java/com/google/api/client/googleapis/auth/oauth2/GoogleClientSecretsTest.java:[38,38] cannot find symbol
  symbol:   class GsonFactory
  location: class com.google.api.client.googleapis.auth.oauth2.GoogleClientSecretsTest
[INFO] 23 errors 
[INFO] -------------------------------------------------------------
[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.005 s]
[INFO] Google APIs Client Library for Java ................ FAILURE [  1.869 s]


Any further patches (preferably in master branch but anywhere else is fine
as well) would be really appreciated.

Kind regards

       Andreas.

-- 
http://fam-tille.de

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Bug#959829: [covid-19] Help needed to finalise bazel predependency google-api-client-java Andreas Tille <andreas@an3as.eu> - 2020-06-16 10:20 +0200
  Bug#959829: [covid-19] Help needed to finalise bazel predependency google-api-client-java Andreas Tille <tille@debian.org> - 2020-06-16 11:30 +0200
    Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Andreas Tille <andreas@an3as.eu> - 2020-06-17 10:20 +0200
      Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-06-17 12:50 +0200
        Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Andreas Tille <tille@debian.org> - 2020-06-17 18:20 +0200
          Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Olek Wojnar <olek@debian.org> - 2020-06-17 19:00 +0200
            Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-06-17 19:40 +0200
              Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Olek Wojnar <olek@debian.org> - 2020-06-17 20:40 +0200
                Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Andreas Tille <tille@debian.org> - 2020-06-17 21:30 +0200

csiph-web