Path: csiph.com!feeder.erje.net!1.us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Mehdi Dogguy Newsgroups: linux.debian.maint.java,linux.debian.bugs.dist Subject: Re: Packaging sbt Date: Wed, 06 Jan 2016 02:00:02 +0100 Message-ID: References: X-Original-To: Emmanuel Bourg , Frederic Bonnard , debian-java@lists.debian.org, 639910@bugs.debian.org X-Mailbox-Line: From debian-java-request@lists.debian.org Wed Jan 6 00:58:30 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.101 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, LDO_WHITELIST=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dogguy.org; s=mail; t=1452041895; bh=L7UV2P8cqhhNfCsIBFh2BweiavEHMpgH74K4XpidmDQ=; h=Subject:To:References:From:Date:In-Reply-To; b=Ycqwn0vVlpHT8o2Iw63JCicv34Xt9POVynV5wQd2AHKeWWPBPKuBG2k36Z3wHkQ/Z jmxXDucrLuXlvbgU2uoYtIdsKPuNMtJS0oAHxF5JN5IbsDCwtWz5u6LeO0alqQUhL8 869PDafHqqLqz0HR0a9UwFR4yQeaiPLOfiO9Hfqg= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/19016 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/568C66A5.3060208@dogguy.org Approved: robomod@news.nic.it Lines: 20 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 6 Jan 2016 01:58:13 +0100 X-Original-Message-ID: <568C66A5.3060208@dogguy.org> X-Original-References: <20160105155845.GC29723@kin.test.toulouse-stg.fr.ibm.com> <568BE1F2.7090903@apache.org> Xref: csiph.com linux.debian.maint.java:8697 linux.debian.bugs.dist:706561 Hi, On 05/01/2016 16:32, Emmanuel Bourg wrote: > The "easiest" solution is probably to start with a non-free sbt package > containing a prebuilt version of sbt, and then upload in main a sbt > package depending on itself with the prebuilt sbt removed. I would use > only one sbt package, instead of sbt-bootstrap in non-free and sbt in main. > Note that you can very much include a working sbt binary in the source package and use it the bootstrap sbt. The only condition that we must respect is to not ship that binary in the package, but ship the built binary only. This is done for many packages: OCaml for its bootstrap and most probably ghc (didn't check tbh). Also, compiling gcc requires a gcc. :-P My 2 cents, -- Mehdi