On Sat, 13 Jul 2019 at 09:59, Julius Schwartzenberg <julius.schwartzenberg@gmail.com> wrote:
>
> чт, 27 июн. 2019 г. в 17:23, Mikolaj Izdebski <mizdebsk@redhat.com>:
> >
> > On Thu, Jun 27, 2019 at 3:01 PM Julius Schwartzenberg
> > <julius.schwartzenberg@gmail.com> wrote:
> > > I'm trying to do a bootstrap build of tycho from Fedora 30. This
> > > quickly fails with tar:
> > > /home/julius/rpmbuild/SOURCES/eclipse-bootstrap-photon.tar.xz: Cannot
> > > open: No such file or directory
> > > however as I just grabbed the regular source RPM from Fedora 30 which
> > > does not include it.
> > >
> > > Where can I find this file?
> >
> > https://src.fedoraproject.org/lookaside/pkgs/tycho/eclipse-bootstrap-photon.tar.xz/sha512/f696947d2deedcc85739a91ca0d5b3312756d8575226aab6e8021ea1983630f951fff1f9ae5de953d14ac57a285cca3183469960466977301cda4cc3fe722e49/eclipse-bootstrap-photon.tar.xz
>
> Thanks a lot! This helped me further and I could build Tycho. I'm
> stuck now with building the Eclipse package. Maybe you have an idea
> where I should look. Everything compiles successfully, but then this
> command is executed:
> xmvn-install    -R .xmvn-reactor -n eclipse  -d
> "/home/julius/rpmbuild/BUILDROOT/eclipse-4.11-4.el7.x86_64"
>
> It tries to launch Equinox, but fails. I ran the command with -X to
> get debug output and then I see this:
> [INFO] Launching Equinox...
> Debug options:
>     file:/home/julius/rpmbuild/BUILD/eclipse-4.11/true not found
> [ERROR] Failed to launch Equinox
> [ERROR] Artifact installation failed
>
> I'm not sure where the path ~/rpmbuild/BUILD/eclipse-4.11/true is
> coming from or how it's built up, but I guess some substitution is
> going wrong. Where should I look?
>
> Thanks,
> Julius

I don't have enough information here, can you post your build logs some place?

One thing to check is to ensure the bootstrap version of Tycho is installed into the buildroot when you try to build Eclipse.

Due to the mutual dependency between Tycho and Eclipse it's kind of a multi-step bootstrap process:

1 Build bootstrap version of Tycho
1a Install bootstrapped Tycho into buildroot
2 Build bootstrap version of Eclipse
2a Install bootstrapped version of Eclipse into buildroot
3 Build full version of Tycho
3a Install full version of Tycho into buildroot
4 Build full version of Eclipse

--
Mat Booth
http://fedoraproject.org/get-fedora