From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id DE9DC7F890 for ; Wed, 26 Mar 2014 02:13:41 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of berenger@riken.jp) identity=pra; client-ip=134.160.33.175; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="berenger@riken.jp"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of berenger@riken.jp designates 134.160.33.175 as permitted sender) identity=mailfrom; client-ip=134.160.33.175; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="berenger@riken.jp"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of postmaster@postman.riken.jp designates 134.160.33.175 as permitted sender) identity=helo; client-ip=134.160.33.175; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="postmaster@postman.riken.jp"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8BAH8oMlOGoCGvnGdsb2JhbABZg0HDUYEwDgEBAQEBCAsJCRQogiUBAQEDAThABgsLGAkWBAsJAwIBAgFFBg0IAQGHbQgNz08XjG6BPkmEOAEDiVCOfYEyknCBTYFc X-IPAS-Result: Ao8BAH8oMlOGoCGvnGdsb2JhbABZg0HDUYEwDgEBAQEBCAsJCRQogiUBAQEDAThABgsLGAkWBAsJAwIBAgFFBg0IAQGHbQgNz08XjG6BPkmEOAEDiVCOfYEyknCBTYFc X-IronPort-AV: E=Sophos;i="4.97,732,1389740400"; d="scan'208";a="54116522" Received: from postman3.riken.jp (HELO postman.riken.jp) ([134.160.33.175]) by mail3-smtp-sop.national.inria.fr with ESMTP; 26 Mar 2014 02:13:34 +0100 Received: from postman.riken.jp (postman3.riken.jp [127.0.0.1]) by postman.riken.jp (Postfix) with SMTP id A7DB238380D7 for ; Wed, 26 Mar 2014 10:13:31 +0900 (JST) Received: from watson.prg.gsc.riken.jp (ipm04.gsc.riken.go.jp [134.160.83.74]) by postman.riken.jp (Postfix) with ESMTPA id 4D59638202AA for ; Wed, 26 Mar 2014 10:13:31 +0900 (JST) Message-ID: <533229BB.3010008@riken.jp> Date: Wed, 26 Mar 2014 10:13:31 +0900 From: Francois Berenger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: caml-list References: <532F8D40.4030007@riken.jp> <20140324083301.GE10374@annexia.org> <532FF7C6.8010608@riken.jp> <20140324110120.GM3162@annexia.org> In-Reply-To: <20140324110120.GM3162@annexia.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.3.26.10315 Subject: Re: [Caml-list] Anybody interested in creating binary RPMs for each official release of the compiler? On 03/24/2014 08:01 PM, Richard W.M. Jones wrote: > On Mon, Mar 24, 2014 at 06:15:50PM +0900, Francois Berenger wrote: >> On 03/24/2014 05:33 PM, Richard W.M. Jones wrote: >>> On Mon, Mar 24, 2014 at 10:41:20AM +0900, Francois Berenger wrote: >>>> I'm always annoyed when I have to wait ~20mn to install OCaml on a machine. >>>> >>>> Nowadays, thanks to OPAM, I think only a compiler is needed to >>>> bootstrap quickly an OCaml environment for developers. >>> >>> Binary RPMs for which distro? >> >> I am personally interested into: >> >> CentOS release 6.4 (Final) >> CentOS release 6.5 (Final) >> >> But ideally, any rpm-based distro should have access >> to the recent OCaml compilers, I fell (or I am just dreaming). > > We have to stick with the original OCaml compiler on RHEL releases > because of binary compatibility. Also EPEL policy doesn't allow us to > ship an upgrading OCaml compiler in EPEL, since we can't replace > packages from the original RHEL. > >> I don't know anything yet about RPM packaging. > > Start with the RPM spec file from Fedora Rawhide: > > http://pkgs.fedoraproject.org/cgit/ocaml.git/tree/ After some more thoughts, I will give a shot at Jordan Sissel's fpm: https://github.com/jordansissel/fpm This way, I should be able to create both deb and rpms in the near future. Hopefully, without too much pain. > Use fedpkg to build an SRPM from that. > >> I don't know how the src RPMs are portable across >> distros and if they allow easily to create binary RPMs. > > It's very difficult to have a binary RPM that would work on any > distro. I would say practically impossible. > > However you could conceivably have a source RPM that can be rebuilt on > several RPM-based distros, using rpmbuild --rebuild ocaml-XXX.src.rpm. > It would have lots of %-conditionals ... > > Rich. -- Best regards, Francois Berenger.