From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: 'gobject-introspection': No such file or directory Date: Fri, 01 Feb 2013 13:26:06 -0500 Message-ID: <87lib7gahf.fsf@karetnikov.org> References: <87a9rtxt61.fsf@karetnikov.org> <87pq0p9rwq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1LZw-0004GZ-5D for bug-guix@gnu.org; Fri, 01 Feb 2013 13:47:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1LFa-0001Uw-13 for bug-guix@gnu.org; Fri, 01 Feb 2013 13:26:06 -0500 In-Reply-To: <87pq0p9rwq.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "(unknown date)") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: bug-guix@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > Isn=E2=80=99t there by any chance a /bin/sh behind this? > You can check by running that in =E2=80=98strace -f=E2=80=99, from the fa= iled build tree. I haven't found anything strange in the output. Could you help me to investigate? I've attached the recipe; it's possible that some phases aren't needed. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=gobject-introspection.scm Content-Transfer-Encoding: quoted-printable ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2013 Nikita Karetnikov ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages gobject-introspection) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (gnu packages bison) #:use-module (gnu packages flex) #:use-module (gnu packages glib) #:use-module (gnu packages libffi) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python)) (define-public gobject-introspection (package (name "gobject-introspection") (version "1.34.2") (source (origin (method url-fetch) (uri (string-append "http://ftp.gnome.org/pub/gnome/sources/" name "/1.34/" name "-" version ".tar.xz")) (sha256 (base32 "0a9lq0y67sr3g37l1hy0biqn046jr9wnd05hvwi8j8g2bjilhydw")))) (build-system gnu-build-system) (arguments `(#:phases (alist-cons-before 'configure 'fix-sh (lambda _ (substitute* '("configure" "build-aux/ltmain.sh") (("-/bin/sh") (string-append "-" (which "sh")))) (substitute* '("configure" "build-aux/missing" "build-aux/ltmain.sh" "build-aux/config.guess") ((" /bin/sh") (string-append " " (which "sh"))))) (alist-cons-after 'configure 'fix-python (lambda _ (substitute* '("tools/g-ir-annotation-tool.in" "tools/g-ir-scanner.in") (("@PYTHON@") (which "python")))) (alist-cons-before 'build 'fix-sh (lambda _ (substitute* "libtool" (("-/bin/sh") (string-append "-" (which "sh"))) ((" /bin/sh") (string-append " " (which "sh"))))) %standard-phases))))) (inputs `(("bison" ,bison) ("flex" ,flex) ("glib" ,glib) ("libffi" ,libffi) ("pkg-config" ,pkg-config) ("python" ,python))) (home-page "https://live.gnome.org/GObjectIntrospection") (synopsis "GObject introspection, a middleware layer between C libraries") (description "GObject introspection is a middleware layer between C libraries (using GObject) and language bindings. The C library can be scanned at compile time and generate a metadata file, in addition to the actual native C library. Then at runtime, language bindings can read this metadata and automatically provide bindings to call into the C library.") (license (list lgpl2.0+ gpl2+ bsd-2)))) --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJRDAfyAAoJEM+IQzI9IQ38C40P/3pbV9aM8L39oSIzMwllfnZv FJPlwfP0x0CriGVtAd1v8tv57Rq9oyOmOtlgXLJSUg5QVtOY+16H1NUamkBjPA8B Rgunc57jfJVbs4fHk9xq1zzxYFZyyXdzupHCXTfO7IBOOQhj7axMKw7yeId5Jtaw fFFzxnrqugNARYAEaBFssOO8HlhlCyvFNpbe386NI7xY6oM+vk6Z0XVS2leqpI1P tLCWpQuz4BwlJOfQr1vpIEgYwyts4qQVw8WseViJmx/nz0W5Hld7886Juvmz3D9a iuskWFY1D6M7zKc81p4jAvPRPj3l09iDKpN23QlmH76SUhFPM/mqGIJ2XLE3HEOu I350xVKCfQfiwfaT1iv+1qqYw7n3lUr0jfUNMz3wItCwgB9NJjrbkQzU+rRR1Lwi UctUklGIusYGQ8VPkb8UTkKNBEmsyFRQ8bRY1I7oCTjcR7JJIqYJY4suWSZ6PHrh 8m0qpzs/X6UAng6+3XZTOhkNfQkf3yxtvjtAlSIiP+qBGL2nWgWaaQ9HVJeWAZ2c ghL5auhSMUt2I1MyeLxNBC+4DAuhHud/Vkms1yJ8LBBBe7Io7WlI2q6rY8QxanPB 2sFv7V/956zYDdI6rv3HoNFueJX3IHBUfYhmVSCDGa6rAcm2PerS/QBmimoGaEDR Bb5o5EwLCPl613FyHA11 =SnQK -----END PGP SIGNATURE----- --==-=-=--