From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: 'gobject-introspection': No such file or directory Date: Mon, 28 Jan 2013 09:45:22 -0500 Message-ID: <87a9rtxt61.fsf@karetnikov.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]:34907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tzpxa-0008Sp-EU for bug-guix@gnu.org; Mon, 28 Jan 2013 09:45:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TzpxS-00076a-9I for bug-guix@gnu.org; Mon, 28 Jan 2013 09:45:22 -0500 Received: from [2a01:7e00::f03c:91ff:fedf:181] (port=36158 helo=cooksoni.karetnikov.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzpxS-000767-0q for bug-guix@gnu.org; Mon, 28 Jan 2013 09:45:14 -0500 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: bug-guix@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Hi, './pre-inst-env guix-build gobject-introspection' fails with the following error: GICOMP gir/cairo-1.0.gir Traceback (most recent call last): File "./g-ir-scanner", line 46, in sys.exit(scanner_main(sys.argv)) File "./giscanner/scannermain.py", line 413, in scanner_main ss = create_source_scanner(options, args) File "./giscanner/scannermain.py", line 335, in create_source_scanner ss.parse_files(filenames) File "./giscanner/sourcescanner.py", line 250, in parse_files self._parse(headers) File "./giscanner/sourcescanner.py", line 283, in _parse stdout=subprocess.PIPE) File "/nix/store/rvbri7f1j91nrblhw8xhp8ik3p89m5hh-python-2.7.3/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/nix/store/rvbri7f1j91nrblhw8xhp8ik3p89m5hh-python-2.7.3/lib/python2.7/subprocess.py", line 1249, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory make[2]: *** [GLib-2.0.gir] Error 1 make[2]: Leaving directory `/tmp/nix-build-gobject-introspection-1.34.2.drv-12/gobject-introspection-1.34.2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/nix-build-gobject-introspection-1.34.2.drv-12/gobject-introspection-1.34.2' make: *** [all] Error 2 The problem isn't version-specific. I tested several versions. I also tried to remove all Cairo-related things from 'Makefile.in', but it didn't help. My guess is that our GLib causes the problem, but I'm not sure. Here's a snippet from Nixpkgs: # Tests depend on cairo, which is undesirable (it pulls in lots of # other dependencies). configureFlags = "--disable-tests"; AFAICT, this flag is useless because the tests are disabled by default. Nikita --=-=-= 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) (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 '(lgpl2+ gpl2+ bsd-2)))) --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJRBo8bAAoJEM+IQzI9IQ386VYP/j8dTpx2PceXBeYUV5D3bApe ukjNZ+UyFPdQ+n/NqBN8jRPJhNl1avHQJLQGB5XzVI6DncYvpTqPQV5nzlH0AdUX XUHqtqhlonkleqQkWljldwLbNwtqHBIzXafZVB9FlKFogmiZodsyna4qX0sav3Hh bPl9kjQqKjEjJwyWNHLkSa+0HQWD34G1OK+qvJtbKIMmZPmEDAjMIB1r8qbywOh1 MN5MJTCm0Q+HKq4/69gujvt+jO0iUAXnoVu31wSHBZtfa8pWPeWLNlG44Rvk7q9h zY7T0OoGa5JTap5OcL2VWr9Zt3aUmHSyfI29gykPd4ikhrkmK9bUKx1LrEo28eWR Bu3gs/518RAZ715Jq39Ys6r+k8uH9muPuhaD9BQXcJdoAmVfS67Dfx1hXZkAQNDl Wy+r5AHfGVEXAzxT7mL8kHPnDpIkjlwUioO0klze8Ho6n4MyXRLV6nlx88FoN1z3 blNouXZGBZFM0uC6ILx2OeffDORhFJSHx5KWXXQuLOB8Pui//jiaj+SM6EXuArSr IleGg6bYeb2TqrT9l0fBeP/TMovaIB/2/IRFwTIkbZf2Y22Tpz/9i01j/J+oilKJ ayDrHuZVM5oYqjRdwwfTd2Evqkx03r2NRKlytvuG6cRI0FnGXac0vQfWzX80U61G rNfbPWVpHRclYFdZVXbp =sF5Z -----END PGP SIGNATURE----- --==-=-=--