Red Hat Bugzilla – Bug 839261
Build hangs when building mylyn
Last modified: 2014-01-12 19:27:21 EST
I'm not sure if this is tycho or maven, but
(1) install eclipse and mylyn
(2) import eclipse-mylyn from fedora git
(3) fedpkg local
The build will be scanning projects forever. After uninstalling mylyn, build completes normally.
The phase when Tycho is scanning for projects is where the p2 repository gets created. I can add some debug messages here to make it more clear.
Can you try performing the build as above, but when it gets to scanning for projects, go into .m2/p2/repo/plugins (relative to the source folder) and run : watch -n1 -d 'ls | wc -l' . This is just to confirm that the publisher is adding jars to the repo. It might take a few seconds for this folder to be created, but once it exists, the number of jars should be increasing.
The completion of the p2 repo took some time for me (~4 min), but after that the build proceeded as expected. I'm not sure why mylyn would be slowing it down by that much.
eclipse-mylyn has been built since, so it seems like this is either not an issue, or perhaps a case of too many bundles on the machine used for building. Looking at my previous comment it seems the build was working, but perhaps the creation of the p2 repository took longer. I'll be closing this as WORKSFORME.