On Tue, Aug 24, 2021 at 4:46 PM Mat Booth <fedora(a)matbooth.co.uk> wrote:
On Tue, 24 Aug 2021 at 15:25, Sérgio Basto <sergio(a)serjux.com> wrote:
> [1]
> %add_maven_depmap org.eclipse.tycho:tycho-bundles-
> external:txt:manifest:%{version} tycho/tycho-bundles-external-
> manifest.txt
This is probably a question for Mikolaj (CC'd).
Mikolaj, in this case tycho is trying to install a text file. Is it
possible to do it with %mvn_artifact?
Yes, sure it is possible. Everything that can be done with
%add_maven_depmap can also be achieved with %mvn_artifact and
%mvn_install.
--
Mikolaj
>
> > For example, to start you off, I fixed the tycho bootstrap issue in
> > this change:
> >
> >
https://src.fedoraproject.org/rpms/tycho/c/be3860f37b8eb2c52079fac0deeac9...
> >
> > It was due to an ambiguous requirement on a package that is split
> > between multiple bundles -- a "split-package." Adding an explicit
> > require-bundle directive gives tycho enough information to correctly
> > resolve the correct bundle.
> >
> > So bootstrap mode should now work on F34.
> >
> > For F35+ there are still multiple issues to resolve before you can
> > begin to bootstrap tycho and eclipse there:
> >
> > * tycho and eclipse BR maven-install-plugin is retired
> > * eclipse itself is retired
> > * aqute-bnd has missing osgi metadata since the upgrade to 5.2 (I
> > believe this is causing the issue in your original mail)
> > * hamcrest has missing osgi metadata since the upgrade to 2.2
> > (therefore junit 4 almost certainly has a unsatisfiable osgi dep and
> > probably will need rebuild after fixing hamcrest)
> > * objectweb-asm has missing osgi metadata since the upgrade to 9.1
> > * atinject has broken osgi metadata since the upgrade to 1.0.3
> > * felix-scr has broken osgi metadata since the upgrade to 2.1.26
> > * Various eclipse deps are orphaned and will be retired soon: lucene,
> > icu4j, jetty, felix-scr, felix-gogo-parent, felix-gogo-runtime,
> > felix-gogo-shell, felix-gogo-command, takari-polyglot, cbi-plugins,
> > eclipse-license, eclipse-emf and eclipse-ecf
>
> I opened some bug reports:
>
https://bugzilla.redhat.com/show_bug.cgi?id=1996621
>
https://bugzilla.redhat.com/show_bug.cgi?id=1996787
>
> aqute-bnd is fixed .
> atinject seems is also fixed .
>
>
>
> > And that's just the things that I can immediately see without actually
> > trying to build it on F35. There are probably more problems that I've
> > missed.
> >
> > Once all that is all fixed, the general process of bootstrapping
> > eclipse into a new buildroot is as follows:
> >
> > 1. Build tycho -- (bootstrap)
> > 2. Build cbi-plugins
> > 3a. Build eclipse-license
> > 3b. Build eclipse-emf -- (bootstrap)
> > 3c. Build eclipse-ecf
> > 4. Build eclipse -- (bootstrap)
> > 5. Rebuild tycho -- (full build)
> > 6. Rebuild eclipse -- (full build)
> > 7. Rebuild eclipse-emf -- (full build)
> >
> > I can answer questions about the process, but I don't have time any
> > more to do any real maintenance.
> >
> > Hope this helps.
>
> yes it helps , as you wrote many updates on rawhide missing osgi
> metadata etc , it will be a long way . I will not rush myself .
>
>
> Thank you.
> --
> Sérgio M. B.
>
--
Mat Booth
http://fedoraproject.org/get-fedora