Your message dated Fri, 11 Dec 2020 11:17:55 +0100
with message-id 
<cacxppitfba2o5wwry-hyhkocpzfndgck7mcsm4-urrdryyh...@mail.gmail.com>
and subject line Re: Bug#977038: Confirmed: build-dep on libgrpc-java fixes the 
issue
has caused the Debian Bug report #977038,
regarding google-oauth-client-java: FTBFS: Failed to execute goal on project 
google-oauth-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.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
977038: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977038
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: google-oauth-client-java
Version: 1.28.0-1
Severity: serious

This can likely be fixed with a build dependency on grpc-java

[ERROR] Failed to execute goal on project google-oauth-client: Could not
resolve dependencies for project
com.google.oauth-client:google-oauth-client:jar:1.28.0: 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]

--- End Message ---
--- Begin Message ---
Looks like you are right:

libopencensus-java is used via libgoogle-http-client-java
In there,
/usr/share/maven-repo/io/opencensus/opencensus-api/0.23.0/opencensus-api-0.23.0.pom
has this:

        <dependencies>
                <dependency>
                        <groupId>io.grpc</groupId>
                        <artifactId>grpc-context</artifactId>
                        <version>debian</version>
                        <scope>compile</scope>
                </dependency>
        </dependencies>

So libopencensus-java depends on grpc-context in io.grpc (provided by
package libgrpc-java).
But it turns out that we rebuild against debian-testing as of early
November, which had version: 0.23.0+ds-1 - and that had no declared
dependency on libgrpc-java.
0.24.0-1 does have that dependency.

Sorry for the noise.


Am Fr., 11. Dez. 2020 um 10:41 Uhr schrieb Sven Mueller <
sven.muelle...@gmail.com>:

> Hi Tony.
>
> You might be right and I'll try to debug a little more.
> I'll share the build log with you directly. As it is from an internal
> build, I suspect I might have missed removing some internal names that I
> don't want to see published on bugs.debian.org.
>
> Cheers,
> Sven
>
> Am Do., 10. Dez. 2020 um 18:45 Uhr schrieb tony mancill <
> tmanc...@debian.org>:
>
>> On Thu, Dec 10, 2020 at 04:51:53PM +0100, Sven Mueller wrote:
>> > Hi.
>> >
>> > I just re-ran tests after adding a build dependency on libgrpc-java and
>> > that fixed the reported issue.
>>
>> Hi Sven,
>>
>> Would you mind sharing the build logs for the failed build?  It's fine
>> if you send them to me directly.
>>
>> I'm not able to reproduce the build failure locally in a clean sid
>> chroot, and the build failure doesn't occur on the buildds [1], so I
>> just want to make sure that we're addressing the right package and/or
>> root cause.
>>
>> It feels like it might be a transitive dependency issue, like the one
>> addressed in #975842 [2].
>>
>> Thanks,
>> tony
>>
>> [1]
>> https://buildd.debian.org/status/package.php?p=google-oauth-client-java
>> [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975842
>>
>

--- End Message ---

Reply via email to