Skip to main content

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

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


Back to the top