Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] Unstable Builds Coming!

> In the meanwhile I removed logback 1.0.7/ slf4j 1.7.2 from the build to fix it.

I got a "failed build" message after this ... not sure of exact timing, but I just manually started another, to see if it build without error.




From:        "Kirchev, Lazar" <l.kirchev@xxxxxxx>
To:        Orbit Developer discussion <orbit-dev@xxxxxxxxxxx>,
Date:        12/04/2012 10:30 AM
Subject:        Re: [orbit-dev] Unstable Builds Coming!
Sent by:        orbit-dev-bounces@xxxxxxxxxxx




First I thought the same, but it seems that the problem is different.
The symptoms in the bug are different, and when I debug the local setup there is no race for two fragments to attach to one and the same host – there are two fragments and two hosts and each fragment qualifies only for one host – the version ranges are given in an unambiguous way.
I am continuing to debug. Although I don’t reproduce exactly the same problem, I think that what I observe in the local setup is related to the problem in the build.
 
In the meanwhile I removed logback 1.0.7/ slf4j 1.7.2 from the build to fix it.
 
From: orbit-dev-bounces@xxxxxxxxxxx [mailto:orbit-dev-bounces@xxxxxxxxxxx] On Behalf Of David M Williams
Sent:
Tuesday, December 04, 2012 5:17 PM
To:
Orbit Developer discussion
Subject:
Re: [orbit-dev] Unstable Builds Coming!

 
Are these the same issues discussed in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=388140
(involving fragments only being allowed to attach to one host?)




From:        
"Kirchev, Lazar" <l.kirchev@xxxxxxx>
To:        
Orbit Developer discussion <orbit-dev@xxxxxxxxxxx>,
Date:        
12/04/2012 09:29 AM
Subject:        
Re: [orbit-dev] Unstable Builds Coming!
Sent by:        
orbit-dev-bounces@xxxxxxxxxxx





Hello all,

The log of the failing build shows that if logback 1.07 and slf4j.api 1.7.2 bundles are present, org.slf4j.log4j, org.slf4j.jul, org.slf4j.jcl and org.slf4j.ext all have unsatisfied imports:

[orbit-set1] generateScript:
[orbit-set1] [eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied.
[orbit-set1] [eclipse.buildScript] Bundle org.slf4j.log4j:
[orbit-set1] [eclipse.buildScript]                  Unsatisfied import package org.slf4j_[1.6.4,1.7.0).
[orbit-set1] [eclipse.buildScript]                  Unsatisfied import package org.slf4j.spi_[1.6.4,1.7.0).
[orbit-set1] [eclipse.buildScript] Bundle org.slf4j.jul:
[orbit-set1] [eclipse.buildScript]                  Unsatisfied import package org.slf4j_[1.6.4,1.7.0).
[orbit-set1] [eclipse.buildScript]                  Unsatisfied import package org.slf4j.spi_[1.6.4,1.7.0).
[orbit-set1] [eclipse.buildScript] Bundle org.slf4j.jcl:
[orbit-set1] [eclipse.buildScript]                  Unsatisfied import package org.slf4j_[1.6.4,1.7.0).
[orbit-set1] [eclipse.buildScript]                  Unsatisfied import package org.slf4j.spi_[1.6.4,1.7.0).
[orbit-set1] [eclipse.buildScript] Bundle org.slf4j.ext:
[orbit-set1] [eclipse.buildScript]                  Unsatisfied import package ch.qos.cal10n_0.7.2.
[orbit-set1] [eclipse.buildScript]                  Unsatisfied import package org.slf4j_[1.6.4,1.7.0).
[orbit-set1] [eclipse.buildScript]                  Unsatisfied import package org.slf4j.helpers_[1.6.4,1.7.0).
[orbit-set1] [eclipse.buildScript]                  Unsatisfied import package org.slf4j.spi_[1.6.4,1.7.0).

The imports are unsatisfied although the bundles org.slf4j.api 1.6.4, which exports them, is there.

Any ideas what could be the problem?

I try to reproduce this in a local setup containing only logback/slf4j related bundles, but it does not reproduce. However, in the setup ch.cos.logback.slf4j 1.0.0 cannot be resolved and attached to the host org.slf4j.api 1.6.4 due to "conflicting constraints with the host". I suspect that this could be related to the above problem.

Regards,
Lazar

-----Original Message-----
From: orbit-dev-bounces@xxxxxxxxxxx [
mailto:orbit-dev-bounces@xxxxxxxxxxx] On Behalf Of Kirchev, Lazar
Sent: Tuesday, December 04, 2012 12:00 PM
To: Orbit Developer discussion
Subject: Re: [orbit-dev] Unstable Builds Coming!

Hi,

I found two suspicious manifests, which could eventually cause the failures:

1.
ch.cos.logback.slf4j_1.0.0 imports org.slf4j.* packages with version "1.6.4" - which is open interval to infinity and should be resolved to 1.7.2, since this is the higher version. However, it is a fragment of org.slf4j.api, version 1.6.4, which exports the packages the same packages with version 1.6.4. Probably it is better to import the packages with range, so that there are no ambiguities?

2.
ch.cos.logback.slf4j_1.0.7 has no imports, however it has an exports with a uses clause. Is the import header missing?

Regards,
Lazar

-----Original Message-----
From: orbit-dev-bounces@xxxxxxxxxxx [
mailto:orbit-dev-bounces@xxxxxxxxxxx] On Behalf Of Gunnar Wagenknecht
Sent: Monday, December 03, 2012 2:34 PM
To: Orbit Developer discussion
Subject: [orbit-dev] Unstable Builds Coming!

Sorry folks,

Lazar and I want to investigate the SLF4J resolution issues at build
time. None of us is able to setup an Orbit builder quickly on a local
machine. Thus, we'd like to use build.eclipse.org for a few test builds.

Sorry for any upcoming build breakage mails.

-Gunnar

--
Gunnar Wagenknecht

gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/
_______________________________________________
orbit-dev mailing list

orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev
_______________________________________________
orbit-dev mailing list

orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev
_______________________________________________
orbit-dev mailing list

orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev
_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev


Back to the top