Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Luca Vercelli Newsgroups: linux.debian.maint.java Subject: Re: plans for eclipse luna in debian Date: Sat, 31 Oct 2015 13:30:02 +0100 Message-ID: References: X-Original-To: Markus Koschany , debian-java@lists.debian.org X-Mailbox-Line: From debian-java-request@lists.debian.org Sat Oct 31 12:24:01 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.099 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -7 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=DywPaxxxB6F1vRFhAXEAGn64Usi1HbhGdn2tF+b3sMI=; b=bTn1Eul3AdkC8F5Lw8QXucMblLkMuX9LpX1d/bhciWaGAwl0+US/p8dlMs/kkFCR3d 7xLvNE8W9StEqwq8q8n3V99x39cbaZa/CGdoulCGocmrjvJ9wXVf2o/+XpbSWGB2d/H0 X5nSKseqtt5L6WELuqxeRadgAznEaXtmaAZW8JiNKk9yRPGbY0Hj2mezqXoN8uxwtucs owBCRH7a1lmoBw15pp8QGCRACX21Aa0wjNxY3lO7IG+/se2e+xXTRUXPpjcjpRinGC/H 9jOXftqQChsjyGzJL0iawRsINXQMd4UDNAfztkHw8GQFoj2bfP5Rt060sM40nfR1G2bg 8mUw== X-Received: by 10.28.141.136 with SMTP id p130mr3579034wmd.56.1446294224259; Sat, 31 Oct 2015 05:23:44 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/18841 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/5634B2CD.6060409@gmail.com Approved: robomod@news.nic.it Lines: 48 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 31 Oct 2015 13:23:41 +0100 X-Original-Message-ID: <5634B2CD.6060409@gmail.com> X-Original-References: <551EA3D7.30105@onenetbeyond.org> <5617EEA7.6030803@gmail.com> <5617F732.6060202@gambaru.de> <562246E8.7050209@gmail.com> <5622636C.2030008@gambaru.de> <5623BF70.3040907@gambaru.de> <56261E4C.8010503@gmail.com> <56267489.3040909@gambaru.de> Xref: csiph.com linux.debian.maint.java:8522 I found out that eclipse depends on sat4j 2.3.4, and we have 2.3.3. There are some classes more in 2.3.4, so it is required. I have built 2.3.4 from source, it's quite easy. I just had to write some pom's myself. how can I share these? Thank you. Il 20/10/2015 19:06, Markus Koschany ha scritto: > Am 20.10.2015 um 12:58 schrieb Luca Vercelli: >> I am not an expert with mh_make, however I see a problem here. >> Eclipse build depends on Tycho, however Tycho build depends on both >> Eclipse and Tycho itself! > Indeed that is nasty. But it looks like the Fedora maintainers have > solved this issue too. [1] We need to do something similar for Debian to > break this circular dependency. > >> So, two problems: >> (1) mh_make fails for both projects. >> Markus, can you explain me how were you able to build the base structure >> of Eclipse without mh_make? I should do the same with Tycho. > mh_make often chokes on bigger projects with a lot of unpackaged > dependencies. I simply ignored as many dependencies as I could and you > can find the end result in maven.rules and maven.ignoreRules. Then I > used the current packaging for Eclipse as a template. It should be > sufficient to start with a minimal debian/rules files. In the first > phase we only have to modify the maven.* files and debian/control. For > Tycho you can basically do the same. > > If you can answer the question why mh_make fails with Tycho, you will > know what dependency we should package first. Just let me know what > dependencies we need for Tycho and I can lend you a hand. > > >> (2) How to build everything? >> Fedora packagers were able to build just a tiny part of Tycho (a >> "bootstrap"), then a tiny part of Eclipse, then Tycho, and at last >> Eclipse. What about Debian? > AFAIK they provide different build options. The bootstrap is one of them > but otherwise Eclipse and Tycho build-depend on each other. I don't know > how to solve this properly yet but I expect we will end up with doing > something similar. Remember that the optimization step is always the > last part, so feel free to solve this issue with the least amount of effort. > > Markus > > > [1] http://pkgs.fedoraproject.org/cgit/tycho.git/tree/ >