[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
'gobject-introspection': No such file or directory
From: |
Nikita Karetnikov |
Subject: |
'gobject-introspection': No such file or directory |
Date: |
Mon, 28 Jan 2013 09:45:22 -0500 |
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
gobject-introspection.scm
Description: Text document
pgpVDnl5qJ_gG.pgp
Description: PGP signature
- 'gobject-introspection': No such file or directory,
Nikita Karetnikov <=