all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 'gobject-introspection': No such file or directory
@ 2013-01-28 14:45 Nikita Karetnikov
  2013-01-28 16:46 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Nikita Karetnikov @ 2013-01-28 14:45 UTC (permalink / raw)
  To: bug-guix


[-- Attachment #1.1: Type: text/plain, Size: 1739 bytes --]

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 <module>
    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


[-- Attachment #1.2: gobject-introspection.scm --]
[-- Type: text/plain, Size: 2430 bytes --]

;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;;
;;; 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 <http://www.gnu.org/licenses/>.

(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))))

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-02-07  8:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-28 14:45 'gobject-introspection': No such file or directory Nikita Karetnikov
2013-01-28 16:46 ` Ludovic Courtès
2013-02-01 18:26   ` Nikita Karetnikov
2013-02-04 22:36     ` Ludovic Courtès
2013-02-05  0:43       ` Nikita Karetnikov
2013-02-05  9:00         ` Ludovic Courtès
2013-02-07  8:56           ` Nikita Karetnikov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.