From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH 08/10] gnu: Add ocaml-oasis. Date: Wed, 18 Jan 2017 23:14:20 +0100 Message-ID: <87vatc6mo3.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <20170118202802.5073-1-julien@lepiller.eu> <20170118202802.5073-9-julien@lepiller.eu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTyUt-0005Oy-Q4 for guix-devel@gnu.org; Wed, 18 Jan 2017 17:14:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTyUq-0002Y3-Nc for guix-devel@gnu.org; Wed, 18 Jan 2017 17:14:27 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:57926) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTyUq-0002Xd-IH for guix-devel@gnu.org; Wed, 18 Jan 2017 17:14:24 -0500 In-Reply-To: <20170118202802.5073-9-julien@lepiller.eu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Julien Lepiller , guix-devel@gnu.org --=-=-= Content-Type: text/plain Julien Lepiller writes: > * gnu/packages/ocaml.scm (ocaml-oasis): New variable. > --- > gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > > diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm > index 6d033ebfe..35e0d081e 100644 > --- a/gnu/packages/ocaml.scm > +++ b/gnu/packages/ocaml.scm > @@ -1897,3 +1897,33 @@ can match the question using a regular expression or a timeout.") > (description "Library to provide pure OCaml functions to manipulate real > file (POSIX like) and filename.") > (license license:lgpl2.1))) > + > +(define-public ocaml-oasis > + (package > + (name "ocaml-oasis") > + (version "0.4.8") > + (source (origin > + (method url-fetch) > + (uri (ocaml-forge-uri name version 1669)) > + (sha256 > + (base32 > + "1ln7vc7ip6s5xbi20mhnn087xi4a2m5vqawx0703qqnfkzhmslqy")))) > + (build-system ocaml-build-system) > + (native-inputs > + `(("ocamlify" ,ocamlify) > + ("ocamlmod" ,ocamlmod) > + ("ounit" ,ocaml-ounit) > + ("omake" ,omake) > + ("ocaml-expect" ,ocaml-expect) > + ("ocaml-pcre" ,ocaml-pcre) > + ("ocaml-fileutils" ,ocaml-fileutils) > + ("camlp4" ,camlp4) > + ("texlive" ,texlive) > + ("pkg-config" ,pkg-config))) > + (arguments `(#:tests? #f)) ; 33.33% test failures... ld cannot find crti.o This has been discussed a couple of times on the mailing list. IIRC setting up LD_LIBRARY_PATH to point to $glibc/lib fixes it. See e.g. https://lists.gnu.org/archive/html/help-guix/2017-01/msg00028.html or https://lists.gnu.org/archive/html/guix-devel/2016-11/msg01104.html for a patch with a (suboptimal) fix. I should brush up this package.. :P > + (home-page "https://oasis.forge.ocamlcore.org") > + (synopsis "Integrates a configure, build, install system in OCaml projects") > + (description "OASIS is a tool to integrate a configure, build and install > +system in your OCaml projects. It helps to create standard entry points in your > +build system and allows external tools to analyse your project easily.") > + (license license:lgpl2.1))) ; with an exception Please clarify what the exception is, or where to find the full text. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlh/6LwACgkQoqBt8qM6 VPqZ8Af/WdROH4skBgG1HcXWtjMpCDMB225RNOUBl4Y61HWyO9wrHIPBbGsw8Z/y N+gIBSLyB3vjd9wrc+02k7YhOut/SSeC5cuME5SApH+ihEMKqzGxlaiiCizJ6j0P QP1wc4nyKXvwVENoOC1HSSsU43gC+i84ldt4DmQyRBI0RmFV2QzV0CT84f9p1GII 4oDoBEJ6bX5g/FPM2zyh8GCtHnven9boGpdZfdnlGTvK5q6KDofBDufrw6+rPcto CHIF/8PwcnnLh04jtMvsBagNOrjfWZKDcBvmNDnW5dZAPek/MI+0ihCoPMlL1dNk qVTh/eiELK1zYkGjmOrbjSoxjqAU7w== =4SkL -----END PGP SIGNATURE----- --=-=-=--