eclipse-equinox / p2

Eclipse Public License 2.0
15 stars 41 forks source link

Weird tycho errors during p2 build during SDK build #158

Closed iloveeclipse closed 1 year ago

iloveeclipse commented 2 years ago

I observed following while running our local SDK builds that just follow master. This is for build I20221023-1800, but I don't know if that is new or already for quite some time.

The error sounds like something that should be fixed. Also the error log seem to be somehow "mixed" with some other output, probably tycho issue.

[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.eclipse.equinox.p2:org.eclipse.equinox.frameworkadmin:eclipse-plugin:2.2.100-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ org.eclipse.equinox.p2:bundles:${releaseVersion}${qualifier}, /data/4x_platform/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/pom.tycho
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.eclipse.equinox.p2:bundles:pom:4.26.0-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ org.eclipse.equinox.p2:bundles:${releaseVersion}${qualifier}, /data/4x_platform/eclipse.platform.releng.aggregator/rt.equinox.p2/bundles/pom.tycho
[WARNING] 'version' contains an expression but should be a constant. @ org.eclipse.equinox.p2:rt.equinox.p2:${releaseVersion}${qualifier}, /data/4x_platform/eclipse.platform.releng.aggregator/rt.equinox.p2/pom.xml, line 25, column 12
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.eclipse.equinox.p2:org.eclipse.equinox.p2.core.feature:eclipse-feature:1.6.1600-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ org.eclipse.equinox.p2:features:${releaseVersion}${qualifier}, /data/4x_platform/eclipse.platform.releng.aggregator/rt.equinox.p2/features/pom.tycho
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.eclipse.equinox.p2:features:pom:4.26.0-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ org.eclipse.equinox.p2:features:${releaseVersion}${qualifier}, /data/4x_platform/eclipse.platform.releng.aggregator/rt.equinox.p2/features/pom.tycho
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.eclipse.equinox.p2:rt.equinox.p2:pom:4.26.0-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ org.eclipse.equinox.p2:rt.equinox.p2:${releaseVersion}${qualifier}, /data/4x_platform/eclipse.platform.releng.aggregator/rt.equinox.p2/pom.xml, line 25, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[ERROR] [cad22bf4-08ba-41f3-82c0-00e9c048ddb6][extension>org.eclipse.tycho:tycho-maven-plugin:3.1.0-SNAPSHOT] org.apache.felix.scr
[ERROR] [cad22bf4-08ba-41f3-82c0-00e9c048ddb6][extension>org.eclipse.tycho:tycho-maven-plugin:3.1.0-SNAPSHOT] FrameworkEvent ERROR
oorg.osgi.framework.BundleExceptionrg.osgi.framework.BundleException::  EError starting module. osgi.identity; osgi.identity="org.apache.felix.scr"; type="orror starting module. osgi.identity; osgi.identity="org.apache.felix.scr"; type="osgi.bundle"; version:Version="sgi.bundle"; version:Version="2.2.2"; tags:List<String>="osgi.connect" [id=70]2.2.2"; tags:List<String>="osgi.connect" [id=70]

        atat org.eclipse.osgi.container.Module.doStart org.eclipse.osgi.container.Module.doStart (Module.java:614)
     (Module.java:614at org.eclipse.osgi.container.Module.start)
     (Moatdule.java:468 org.eclipse)
    .osi.container.Module.start1mat org.e (clipse.osgi.container.ModuleContainer$ContainerStartLevel$2.runModule.java (:468ModuleContainer.java:1852))

     at    orgat. org.eclipse.osgi.container.ModuleCeclipse.osgi.internal.framework.Equontainer$ContainerStartLevel$2.runinoxContainerAdaptor$1$1.execute (Modu (lEquinoxContainerAdaptor.java:136)eContainer.java:1852
) 
       atat org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execut org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevele  ((MEoduleContainer.javaquinoxContainerAdaptor.java:136:1845))

        atat  org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevelorg.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel (ModuleContainer.ja (va:1788ModuleContainer.java:1845))

        aatt org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel org. (eModuleContainer.java:1750clipse.osgi.container.Modul)
eContainer$ContainerStartLevel.incStartLevel    a (tModuleContainer. org.eclijava:1788pse.osgi.conta)
i    neat org.eclipse.osgi.containre.SystemModule.sr.ModuleContainer$ContainerStartLevel.doContainerStartLeveltartWorker (ModuleContainer.java:1750 ()
    Sat org.eclipse.osgi.container.SystemModule.startWorkerystemModule (.SystemModule.java:269java:269)
)    
    t[ org.eclipse.osgi.container.Module.doStart1mat org.eclipse (.Module.java:605osgi.container.Module.doStart)
     (Modulate.j org.eclipse.oavsgi.container.Module.starta:605)
     (Module.java:468)at org.eclipse.osgi.container.Mod
    ule.sattart org.eclipse.osgi.container.SystemModule.start (Module (SystemModule.java:193).java:4
    68)
  at org.eclipse.osgi.internal.framework.EquinoxBundle.start   (at org.eclipse.osgi.containEquinoxBundle.java:445e)
    r.SystemModule.startat org.eclipse.osgi.internal.fr (amework.EquinoxBundle.startSystemModule.java:193 ()EquinoxBundle.java:464)

        at org.eclipse.osgi.lauatnch.Equinox.start org (.eclipse.osgi.internal.framEquinox.java:139e)
    woatrk.Equinox org.eclipse.sisu.osgi.connect.PlexusFrameworkConnectServiceFactory.getFrameworkBundle (.starPlexusFrameworkConnectServiceFactory.java:145)t
     EquinoxBundle.java:445)1mat
     og.e[1maclipse.sisu.osgi.connect.PlexusFrameworkConnectServiceFactory.locateClasst org.ec (lipse.osgi.internal.framework.EqPlexusFrameuinoxBundleworkConnectServiceFactory.start.java:35 (9EquinoxBundle.j)
    av:4641mat)
 org.eclipse.sisu.osgi.connect.PlexusFramew    orkConnectServiceFacat org.eclipse.osgi.launch.Equinox.starttory.getService (Equinox.java:139 ()P
    lat org.eclipse.sisu.osgi.conneexusFrameworkConnectServiceFactory.java:343)
    ctat.PlexusFrameworkConnectServiceF org.eclipse.tycho.osgi.TychoServiceFactory.getServiceactory. (TychoServiceFacgetFrameworktory.jav (a:32PlexusFram)
    ewoatrkConnectServiceFactory.java: org.eclipse.tych145o.p2.resolver.P2DependencyResolver.initi)
    alizeat org.eclipse.sisu.osgi.connect.PlexusFrameworkConnectServiceFacto (ry.locateClassP2DependencyRe (sPlexusFrameworkConnectServolver.java:493i)c
eFactory.java:359    )
    aat org.eclipse.sisu.osgi.connect.PlexusFratmeworkConnectSe org.eclipse.sisu.plexus.PlexrviceFactory.getusLifecycleManager.initializeService ( (PlexusLifecycleManager.jPlexusFrameworkConnectServiceFactory.java:343ava:)
 303   )at
 org.eclipse.tycho.osgi.TychoServiceF    actory.getServiceat org.eclipse.sis u.plexus.PlexusLifecycleManager.activate(TychoServiceFactory.java:32)
     at org.eclipse.tycho.p2.re(sPlexusLifecycleManager.java:207olver.P2DependencyResolver.initialize (P2DependencyResolver.java:493)
    at org.eclipse.sisu.plexus.PlexusLifecycleManager.initialize (PlexusLifecycleManager.java:303)
    at org.eclipse.sisu.plexus.PlexusLifecycleManager.activate (PlexusLifecycleManager.java:207)
    at) org
    .eclipse.sat org.eclipse.sisu.bean.BeanScheduler.scheduleisu.bea (BeanScheduler.java:151n.BeanScheduler.schedule)
     (eanS[1matcheduler.java:151) org.eclipse.s
    iatsu.plexus.PlexusLifecycleManager.manage org.eclipse. (sPlexusLifecycleManager.java:147isu.plexus.PlexusLifecycleManager.manage)
     (Pat org.eclipse.sisu.plexus.PlexusBeanBinder.afterInjectionlexusLif (PlexusBeanBinderecycleManager.java:147.java:72))

        ato1matr com.google.inject.internal.MembersInjectorImpl.notifyListenersg (.eclipse.sisu.plexus.PlexusMembersInjectorImpl.java:131B)
    eaat com.google.inject.internal.ConstructorInjector.provisionnBin (ConstructorInjector.java:125d)
    er.afterInjecat com.gootiongle.in (ject.internal.ConstructorInjePlexusBeanBctor.access$000inder.java:7 (2ConstructorInjector.java:32)
    )
   1matat com.google.inject.intern comal.MembersInjectorImpl.notifyListeners.google.inject.internal.ConstructorInjector$1.call (MembersInjectorImpl.java:131) (ConstructorInjector.java:98
)
        at comat.google.inject.internal.ConstructorInjector.provision com.go (oConstructorInjector.java:125gle.inject.i)nternal.Pro
    viatsionListenerStack comCallback$Provision.provision.google.inje (cProvisionListenerStackCallback.java:112)
    t.internal.ConstructorInjector.access$000at  com.google.inject.internal.ProvisionListenerStackCallback$Provisi(oConstructorInjector.java:32n.provision)
    at com.google.inject.internal.Constr (uProvisionListenerStackCallback.java:127ctorInjector$1.c)all
     (Cato com.googlnstructorInjector.java:98e.inject.internal.ProvisionListenerStackCallback.provision)
     (Pat com.google.inject.internal.ProvisionListenerStackCallback$Provision.provisionrovisionListenerStackCall (ProvisionListenerStackCallback.java:1back.java:661)2)

at  co   m.gooat com.google.inject.internalgle.inject.internal.ConstructorInjector.construct.ProvisionListenerStackCallback$Provision.provision (ConstructorInjector.java:93 (ProvisionListenerStackCallback.java:127))

        atat com.google.inject.internal.ConstructorBindingImpl$Factory.get com.google.inject.internal.ProvisionListenerSta (cConstructorBindingImpl.jakCallback.provisionva:306)
     (at1mPr com.google.inject.internal.InjectorImpl$1.getovisio (InjectornListenerStackCallback.java:66I)mpl.java:1050)

    aat cot com.google.inject.internal.ConstructorInjector.constructm.google.inj (eConstrct.internal.InjectorImpl.getInstanceuctorInjector.java:93)
 (    Inat com.googjectorImpl.java:1086)le.inject.internal.Constr
    uatctorBindingImpl$Factory.g org.eclipse.sisu.space.AbstractDeferredClass.getet (AbstractDeferredClass.java:48 ()Construc
    torBati com.google.injendingImpl.java:306)
    ct.internal.ProviderInternalFactory.provisionat (ProviderInternalFa ctory.java:85)
    com.google.inject.internal.InjectorImpl$1.getat com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InjectorImpl.java:1050) (
InternalFactoryToInitializableAdapter.jav  a:57)
      at at com.google.inject.internal.InjectorImpl.getInstancecom.google (.InjectorImpl.java:1086)
inject.intern    al.ProviderInternalFactory$1.callat org.eclipse.sisu.space.AbstractDeferredClass.get (ProviderInternalFactory.java:66) (
    AbstatractDeferredClass.java:48)
     atcom.google.inject.inter com.google.inject.internal.Provinal.ProvisionListenerStackCallback$Provision.provisionderInternalF (actory.provisionProvisionListenerStackCallback.java:112) (
ProviderInternalFactory.java:85 )   
 at    comat.google.inject.internal.ProvisionListene com.google.inject.internal.InternalFactoryToInitializableAdapter.rStackCallback$Provision.provisionprovision (ProvisionList (eInternalFactoryToInitializableAdapter.java:5nerStackCallback.java:1277))

        at comat.google.inject.internal. com.google.inject.internal.ProviderProvisionListenerStackCallback.provisionInternalFactor (yProvisionListenerStackCallback.java:66$1.call)
    at  com.google.inject.internal.ProviderInternalFactory.circularGet(Provid (eProviderInternalFarIntectory.java:61r)nalFactory.java:66)

        at atcom.google.inj com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:112ect.internal.Intern)alFactoryToInitializableAdapte
r.get    at com.google.in (ject.internal.ProvisionListenerStackCallback$Provision.provision (InternalFactoryToInitializableAdapter.java:47)
ProvisionListenerStackCallback.java:127    )
   at com.google.inject.internal.InjectorImpl$1.get at (InjectorImpl.java:1050)
 com.google.inject.internal.Provisi    onListenerStackCallback.provisionat org.eclipse.sisu.inject.Guice4$1.get (Provisi (Guice4.java:162onListenerStackCallback.java:66))

        at at com.google.inject.internal.Proviorg.eclipse.sisu.inject.LazderInternyalFactory.circularGetBeanEntry.getValu (eProviderInternalFactor (yLazyBeanEntry.jav.java:61)
a:81) 
       atat  com.google.inject.internal.InternalFactoryToInitorg.eclipse.sisu.plexus.LazyPlexusBean.getValueializableAdapter (.LazyPlexusBean.java:51)
get     at( InternalFactoryToInitializableAdapter.java:47)
org.codehaus.pl    exus.DefaultPlexusContainer.lookupat com.google.inject.internal.InjectorImpl$1.get (DefaultPlexusContainer.java:263) 
    (InjecattorImpl.java:1050 org.codehaus.plexus.)
DefaultPl    exusat org.eclipse.sisu.inject.Guice4$1.getContainer.lookup (Guice4.java:162 (DefaultPlexusContainer.java:255))

    atat org.ecli org.eclipse.sisu.inject.LazyBeanEntry.getValuepse.tycho.core.resol (LazyBeanEntry.java:81ver.Defa)
ultDependenc    yatResolverFactory.lookupDepe org.eclipse.sisu.plexus.LazyPlexusBean.getValuendencyResolver (LazyPlexusBean.j (ava:51)
    DefaatultDependencyResolverFactory.java:65) org.codehaus.plexus.DefaultPlexusContainer.lookup
    at org.eclip (DesfaultPlexusContainer.java:263)e.tycho.core.res
    olver.DefaultDependencyResolverFactory.loato org.codehaus.plexus.DefaultPlexuskupDependencyResolverContainer.lookup (DefaultDepen (dencyResolverFactory.java:42)DefaultPlexusContainer.java:255)

      at   at org.eclipse.tycho.core.resolver.DefaultTychoResolver.setupPorg.eclipse.tycho.core.resolverojectr.DefaultDependency (DefaultTychoResolver.java:109)
ResolverFactory.lookupDependencyR    esolverat  org.eclipse.tycho.core.maven.TychoMavenLifecyclePart(DefaultDepicipant.afterProjeectsReadndencyResolverFactory.java:65)
 (TychoMavenLifecycleParticipant.java:139)
     at org.apache.maven.DefaultMaven.doExecute    (DefataultMaven. java:264)org.eclipse.tycho.
    core.resat org.apacholver.DefaultDependencyResolverFactorye.maven.DefaultMaven.doExecute.look (upDependencyResolverDefaultMaven.java:192) (DefaultDependencyResolverFactory.java:42)

     at    org.ate org.apache.maven.DefaultMavclipse.tycho.core.resolver.DefaultTychoResolver.setupProjecten.execute (DefaultTychoResol (DefaultMaven.java:105ver.java:109))

      at   orgat. org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsReadapache.maven (.TychoMcli.MavenCli.execuavenLifecycleParticipant.java:139)te
     (MatavenCli.java:957 org.apache.maven.DefaultMaven.doExecute)
 (DefaultMaven.java:264)
        at org.apache.maven.cli.MavenCli.doMainat org.apache.maven. (MavenCli.java:289)DefaultMaven.doExecute
    at (DefaultMaven.j org.apache.mavava:192)
en.cli.MavenCli.main    at org.apache.maven. (DefaultMaven.executeMavenCli.java:193) (DefaultMaven.java:105
)    
    atat jdk.interna org.apache.maven.cli.MavenCli.executel.reflect.NativeMethodAccessorImpl.invoke0 (MavenCli.j (ava:957Native Method)
)
        aat jdk.internalt.reflect.NativeMethodAccessorImpl.invoke org (NativeMethodAccessorImpl.java:77.apache.maven.cli.MavenCli.doMain)
    at jdk (.internal.reflect.DelegatingMethodAccessorImpl.invokeMavenCli.java:289) 
    (Deatl oregatingMethodAccessorImpl.javag.apache.maven.cli.MavenCli.main:43) (
    Maveat java.lang.reflect.Method.invokenCli (Method.java:568).java:193)

        atat org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Launcher.java:282)
    at org.codehaus.pl (Native Methodexus.classworld)s.launcher.Launcher.launch
     (Latauncher.j jdk.internal.reflect.NativeMethodAccessorImpl.invava:225)oke
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (NativeMethodAcc (Launcher.jaessorIva:406)
    mpl.java:7at org.codehaus.plexus7)
.classw    orlds.launcher.Launchate jr.maindk.inter (nal.reflect.DelegatingMethodAccessLauncher.java:347)orImpl.invoke
Caused by: java.lang.ClassCastException:  (Delegaclass org.apache.felix.scr.impl.tActivator cannot be cast to class org.osgi.framework.BundleActivator (org.apache.felix.scr.impl.AingMethodAccessorImplctivator is in unnamed module of l.java:43)oader org.codehaus
.pl    eat java.lang.reflect.Methodxus.class.invokeworlds.realm.ClassRealm  (@76db9048; org.osgiMethod.java:568).fr
    aat org.codehaus.plexus.classworlds.launcher.Lamework.BundleAcuncher.launchEnhancedtivator is in unnamed module of loader org.codehaus.plexus.classworlds.realm.ClassRealm @46e32574) 
(    Launat org.eclcher.jaipse.osgi.internal.framework.BundleContextImpl.loadBundva:2leActivator82)
     (atBundleContextImpl.java:801 org.codehaus.plexus.classworlds.la)
    uat org.eclipse.osgi.internncher.Launcher.launchal. (fLauncher.java:225)ramework.BundleCon
    tat org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCodeextImpl.start (Launcher.java:406) (
    Batundl org.codehaus.peContextImpl.java:753lexus.classworlds.launcher.Launcher.)main
     (Lat org.eclipse.osgi.internal.framework.EquinoxBundle.staauncrtWorker0her.java:347 (EquinoxBundle.java:1032)
    )at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxM
odule.CstartWorkerau sed by: java.lang.ClassCastException: (cEquinoxBundle.java:371)
lass org.apache.felix.scr.im    plat org.eclipse.osgi.contai.Activator cannot be cast to class org.osgi.framework.BundleActivator (org.apache.felix.scr.impner.Module.doStartl.Activator is in unnamed module of loader org.codehaus.p (Module.java:605)
    at org.eclipse.oslexus.classworlds.rgi.container.Modealm.ClassRealm @76db9048; org.osgi.framework.BundleActivator is in unnamed module ule.starof loader org.codehaus.plexus.classworlds.realm.ClassRealm @46e32574)t
     (Mato org.ecldule.java:468ipse.osgi.internal.framework.BundleContextImpl.load)
    BunatdleActivator org.eclipse.osgi.c (BundleContextImpl.java:801)ontainer.Mod
 uleContainer$ContainerStartLevel$2.run   at org.eclip (se.osgi.internal.framewoModuleContainer.java:1852)rk.BundleContextImpl.start
    at  org.eclipse.osgi.internal.framework.E(BundleContextImpl.java:753)
quinoxContainerAdaptor$1$1.e    xecat org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0ute (EquinoxBundle.java:1032) 
    (Eat org.eclipsequi.osgi.internal.framework.EquinoxBundle$noxContainerAdaptoEquinoxModule.startWorkerr.java:136) (
EquinoxBundle.java:371    )
at     oat org.eclipse.osgi.container.Module.doStartrg.eclipse.osgi.container.ModuleContainer$ContainerStartL (Module.java:605)
evel.incStartLevel     (Mat org.eclipse.osgi.container.Module.startoduleCon tain(er.java:1845Module.java:468)
)
     at org.eclipse.osgi.container   .ModuleContaiatn org.eclipseer$ContainerStartLevel$2.run.osgi.con (tainer.ModuleContaModuleContainer.java:1852iner)
$ContainerStartLevel.incStartLevel     at org.eclipse.osgi.internal.framework.EquinoxCo(ModuleContainer.java:1788ntainerAdaptor)$1$1.execute
    at  org.eclip(EquinoxContainerAdapse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevelt (ModuleContainer.java:1750)
or.java:136)
        atat org.eclipse.osgi.container.SystemMo org.eclipsedule.startWorker.osgi. (SystemModule.java:269container.ModuleContainer$ContainerStartLevel.incStartLevel)
     (ModuleContainer.java:1845)a
t org.eclipse.osgi.container.Module.doStart     (Matodule.java:605)
     atorg.ec org.eclipse.osgi.container.Module.startlipse.osgi.container. (ModuleContainer$ContainerStartLevel.incStartLevelModule.java:468)
     (ModuleContainer.java:1at org.eclipse.osgi.container.SystemModule.start788 (Sys)
    tatemModule.java:193 org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel)
 (ModuleContainer.java:1750)
      at org.eclipse.osgi.inte rnal.framework.EquinoxBundle.start at (Eq org.eclipse.osgi.container.SystemModule.startWorkeruinoxBundle.java:445) (SystemModule.java:269)

at org.eclipse.osgi.container.    Mat org.eclipse.osgi.internal.framework.EquinoxBundle.startodule.doStar (tEquinoxBundle.java:464) (Module.java:605)

at     orat org.eclipsg.eclipse.osge.osgi.container.Module.starti.launch.Equinox. (Module.jastartva:468) (Equinox.java:139)

        atat org.ecli org.eclipse.osgi.container.SystemModule.startpse.sisu.osgi.connect.PlexusFrameworkConnectServic (SystemModule.javaeFactory.getFramework:193)
 (PlexusFrameworkConnectServiceFactory.java:145)    
at org.eclipse.osgi.internal.framework.Equinox    Bunatdle.start org.e (EquinoxBundle.java:445)
clipse.sisu.osgi.connect.PlexusFrameworkConnectServiceFactory.locateClass     (aPlexusFrameworkConnectServiceFactory.java:359)t
     org.eclipse.osgi.internal.framework.EquinoxBundle.startat org.eclipse.sisu.osgi.connect.PlexusFrameworkConnectServiceFactory.get (EquinoxBundle.java:464)
Service    at org.eclipse.osgi.launch.Equinox.start (PlexusFrameworkConnectServiceFactory.java:343) (Equinox.j
    aat org.eclipse.tycho.osgi.TychoServiceFactory.getServiceva:139 (TychoServiceFactory.java:32)
    )
   maat org.eclipse.tycho.p2.resolver.P2DependencyResolver.initializet (P2DependencyResolver.java:493 org.eclip)se.sisu.osgi.connect.PlexusFrameworkC
    oat org.eclipse.sisu.plexus.PlexusLifecycleManager.initializenne (PlexusLifecycleManager.java:303ctServiceFactory.getFramework)
     (PalexusFrameworkConnectServiceFactory.java:145t)
     at org.eclipse.sisu.osgi.connect.Plexorg.eclipse.sisu.plexus.PlexusLifecycleManager.activateusFrameworkConnectServiceFactory.locateClass (PlexusLifecycleManager.java:20 (PlexusFrameworkConnectSe7rviceFactory.ja)va:35
    9)at org.eclipse.sisu.bean.BeanScheduler.schedule
 (BeanScheduler.java:151)    
at org.eclipse.sisu.osgi.co    nneat org.eclipse.sisu.plexus.PlexusLifecycleManager.managect.PlexusFrameworkConnectServiceFactory.getSe (PlexusLifecycleManager.java:147rvice)
     (Pat lexusFrameworkConnectServiceFactory.java:343org.eclipse.sisu.plexus.PlexusBeanBinder.afterInjection)
     (PalexusBeanBindert.java:72 org.eclipse.tycho.osgi.TychoServiceFactory.getServi)
    ceat com.google.inject.internal.MembersInjectorImpl.notifyListeners (TychoServiceFactory.java:32 (MembersInjectorImpl.java:131)
)    
at     coatm.google.inject.internal.ConstructorInjector.provision org.eclipse.tycho.p2.resolver.P2DependencyResolver.initialize ( ConstructorInjector.java:125)
    (Pat2DependencyResolv com.google.inject.internal.ConstructorInjector.access$000er.java:493 (ConstructorInjector.java:32))

        atat org.eclipse.sisu.plexus.PlexusLifecycleManager.initialize com.google.inject.internal.C (PlexusLifecycleManager.java:303)
onstructorInjector$1.call     at org.eclipse.sisu.plexus.PlexusLifecycleManager.activate(ConstructorInjector.java:98) (
PlexusLifecycleManager.java:207)
       at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision at org.eclipse.sisu.bea (Provin.BeanScheduler.schedulesionListenerStackCallback.java:112)
     at (com.google.inject.internal.ProvisionListenerStackCallback$ProvisBeanScheduler.java:151)ion.provision
    at org.eclipse.sisu.plexus.PlexusLifecycleManager.manage (ProvisionLi (stenerStackCallback.java:127)
PlexusLifecycleManager.java:147    )at
 com.google.inj    eatct.internal.ProvisionListenerStackCallback.provision org.e (ProvisionListenerStackCalclipse.silback.java:66su.plexus.PlexusBeanBinder.afterInjection)
     (Pat com.goolgle.inject.internal.ConstructorInjector.constructexusBea (ConstructorInjector.java:93)
nBinder.java:72    )at com.google.inject.internal.ConstructorBindingImpl$Factory.get
     (Cat com.google.onstructorinject.internal.MembersInjectorImpl.notifyListenersBinding (MembersInjectorImpl.java:131Impl.java:306)
    )at
 com.googl    eat com.google.inject.internal.ConstructorInjector.provision.inject.internal.InjectorImpl$1.get (Co (nstructorInjector.java:125)
InjectorImpl.java:1050)    
    atat  com.google.inject.internal.InjectorImpl.getInstanceco (m.google.inject.internal.ConstructorInjectorImpl.java:1086)
    at org.eclipse.sisu.space.AbstractDeferredClass.getInje (ctor.access$000AbstractDeferredClass.java:48 (ConstructorInjector.java:32))

      at com.google.inject .internal.ConstructorInjector$1.call  (CatonstructorInjector.java:98 )
    com.google.inject.inatternal.ProviderInternalFactory.provision com.googl (ProviderInternalFactory.java:85e.inject.internal.ProvisionListenerStackCallback$Provision.provision)
     (ProvisionListenerStackCallback.java:112)at com.google.inject.internal.InternalFactoryToInitializableAd
  apter.provision   (Iatn com.google.inject.internternalFactoryToInitializableAdapter.java:57al.ProvisionListenerStackCallback$Provision.)
    pat com.google.inject.internal.ProviderInternalFactory$1.callrovision (ProviderInternalFactory.java:66)
 (  ProvisionListenerStac  kat com.gooCallback.java:127)
gle.inject.inte    rat com.google.inject.internal.ProvisionListenenal.ProvisionListenerStackCallback$rStackCallback.provisionPr (ProvisionListenerStackCallback.java:66)
    ovision.provisionat com.g (Proogle.inject.internal.ConstructorInjector.ovisionListenerStackCallback.java:112construct)
   ( ConstructorInjector.java:93) 
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision     (atProvisionListenerStackCallback.java: com.google.inject.internal.ConstructorBindingImpl$Factory.get127)
 (    Constratu com.google.inject.internal.ProvisionListenerSctorBindingImpl.java:306tackCallback.provision)
     (ProvisionListeanterStackCallback.java:66) com.google.inject.internal.InjectorImpl$1.get
     (IatnjectorImpl.java:1050 com.)google.inject.internal.ProviderInternalFactory.circularGet
     (PatroviderInternalFactory.java:61 com.google.inject.internal.InjectorImpl.getInstance)
     (IatnjectorImpl.java:1086 com.google.inject.internal.InternalFactoryToInitializableAdapter.get)
    at (InternalFactoryToInitializable org.eclipse.sisu.space.AbsAdapter.jtractDeferredClass.getava:47) (
A    bstatr com.google.inject.interactDeferredClass.java:48)
    at com.google.inject.internal.ProviderInternalFactory.provision (Provnal.InjectorImpl$1.getiderInternalFactory.java:85 (InjectorImp)
l.java:1050    )at
  com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (Inte rnalFactoryToInitializableAdapter.java:57)
     at  oat com.google.inject.internal.ProviderInternalFactorg.eclipse.sisu.inject.Guice4$1.getry$1.call (Guice4.java:162 (ProviderInternalFactory.java:66))

        atat com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision org.eclipse.sisu.inject.LazyBeanEntry.getValue (ProvisionListenerStackCallback.java:112) (
LazyBeanEntry.java:81    )at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision
     at org.eclipse.sisu.plexus.LazyPlexusB(ean.getValueProvisionListenerStackCallback.java:127 (LazyPlexu)
    sat com.google.inject.internal.ProvisionListenerStackCallback.provisionBean.java:51) (
ProvisionListenerStackCallback.java:66    )
at org.codehau    s.patlexus.DefaultPlex com.google.inject.internal.ProusContainer.lookupviderInternalFactory.circularGet (DefaultPlexusContainer.j (ProviderInternalFactory.java:61)
    aatva:263)
     com.googlat org.codehaus.plexus.DefaultPlexusContainer.lookupe.inject.inte (rDefaultPlexusContainer.java:255)
nal.InternalFactoryToInitializableAdapter.get     (atInternalFactoryToInitializa org.eclipse.tycho.core.resolver.DefaultDependencyResolverFactory.lookupDependencyRebleAdapter.java:47solver)
     (aDefaultDependencyResolverFactory.java:65t) com.goog
    leat org.eclipse.tycho.core.reso.inject.internal.InjectorImpl$1.getlver.DefaultDependencyResolverFactory.lookupDepende ncyResolver(InjectorImpl.java:1050 )(
DefaultDependencyResolverFactory.java:42)    
 at org.eclipse.sisu.inject.Guice4$1.get    (atGuice4.java:162 org.eclipse.tycho.core.resolve)
    r.at org.eclipse.sisu.inject.DefauLazyBeanEntry.getlValuetTychoResolver.setupProject (LazyBeanEntry.java:81 (DefaultTychoResolver.java:109))

  at org.eclipse.sisu.plexus.LazyPlexusBean.getValue  at org.eclipse.tych (o.core.maven.TychoMavenLifecyclePLazyPlexusBean.java:51articipant.afterProjectsRead)
     (TatychoMavenLifecycleParticipant.java org.codehaus.plexus.DefaultPlexusContainer.lookup:139) (
DefaultPlexus    Conatt org.apache.maven.DefaultMaven.doExecuteainer.java:263 ()DefaultMaven.java:264
)
     at    oat org.codehaus.plexus.DefaultPlexusContainer.lookuprg.apache.maven.DefaultMaven.doExecute (DefaultPlexusContainer.java:255)
     (atDefaultMaven.java:192 org.eclipse.tycho.core.resolver.DefaultDependencyResolverFactory.lookupDependencyResolver)
     (DatefaultDependencyResolverFactory.java:65 org.apache.maven.Defau)
ltMaven.execute    at ( org.eclipse.tycho.core.resolver.DefaultDependencyResolverFactory.lookupDependencyResolveDefaultMaven.java:105r) (
DefaultDependencyResolverFactory.java:42    )at
 org.apache.maven.cli.MavenCli.execute    at org.eclipse.ty (MavenCli.java:957)cho.core.resolver.
    Date org.afaultTychoResolver.setupProjectpache.maven.cli.MavenCli.doMain (DefaultTychoResolver.java:109) (MavenCli.java:289
)
     at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead   a (TychoMavenLifecyt org.apache.maven.ccleParticipant.java:139li.MavenCli.main)
     (at org.apacMavenCli.java:193)
h    eat.maven.DefaultMaven. jdk.internal.reflect.NativdoExecuteeMethodAccessorImpl.invoke0 (DefaultMaven.java:264) (Native Method)

      at jdk.internal.reflect.Nativ  eMeatthodAccessorImpl.inv org.apache.maven.DefaultMaven.doExecuteoke ( DefaultMaven.java:192()NativeMethodAccessorImpl.java:77
    )at
 org.apache.maven.DefaultMaven.execute    at (DefaultMaven.java:105) jdk.internal.reflect.DelegatingMethodAcc
essorImpl.invoke    at (DelegatingMet org.apache.hodAccessorImpl.jmaven.cli.MavenCli.executeava:43)
 ( MavenCli.java:957)
       atat  java.lang.rorg.apache.maven.cli.MavenCli.doMaineflect.Method.invoke (MavenCli.java:289) (
Method.java:568    )at org.apache.maven.cli.MavenCli.main
     (at org.coMdehaus.plexus.classworlds.launcher.Launcher.launchEavenCli.java:193)nhanced
     (Launatc jdk.internalher.java:282.reflect.NativeMethodAcc)essorImpl.invoke0
 (Native Method)
       at  oat jdk.internal.reflect.NativeMethodAccessorImpl.invokerg.codehaus.plexus.classworlds.launcher.Launcher.launch (NativeMethodAccessorImpl.java:77)
 ( Launcher.java:225   )a
t     atjdk.intern org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCodeal.reflect.DelegatingMethodAccessorImpl.invoke (Launcher.ja (DelegatingMethodAccessorImpl.java:43)
va:406 )
    at java.lang.reflect.Method.invoke (   Metathod.java:568 org.cod)ehaus.
plexus.classworlds.launcher.Launcher.main    at org.cod (Launcher.java:347)ehaus.plexus.classworlds.l
auncher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
iloveeclipse commented 2 years ago

@laeubi : FYI. I haven't checked if "official" SDK logs also show same error, in theory our build shouldn't differ except the local system environment.

laeubi commented 2 years ago

Can you make sure that Maven 3.8.6 is used and Tycho 3.0?

Also the Tycho-build extension should be enabled like here: https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/master/.mvn/extensions.xml

iloveeclipse commented 2 years ago

OK, I see Maven 3.6.3 is being used and tycho seem to be at 3.1.0?

So if maven 3.8.6 is required, shouldn't we fail the build early?

[ERROR] [cad22bf4-08ba-41f3-82c0-00e9c048ddb6][extension>org.eclipse.tycho:tycho-maven-plugin:3.1.0-SNAPSHOT] org.apache.felix.scr
[ERROR] [cad22bf4-08ba-41f3-82c0-00e9c048ddb6][extension>org.eclipse.tycho:tycho-maven-plugin:3.1.0-SNAPSHOT] FrameworkEvent ERROR

Also the Tycho-build extension should be enabled like here https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/master/.mvn/extensions.xml

I run SDK aggregator build "as is", with all defaults, does it mean, I have to configure anything for the user to use the "Tycho-build extension"? Means, that /.mvn/extensions.xml thing should be copied to the user home?

laeubi commented 2 years ago

Tycho uses / requires 3.8.6 but I think due to

this is not enforced yet.

The 3.1.0-SNAPSHOT you see is the Tycho version not the maven version!

iloveeclipse commented 2 years ago

Means, that /.mvn/extensions.xml thing should be copied to the user home?

@laeubi : is this required or not?

laeubi commented 2 years ago

You do not need to copy it, its fine at the checkout location.

iloveeclipse commented 1 year ago

With proposed changes the build builds...