From: ludo@gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita@karetnikov.org>
Cc: bug-guix@gnu.org
Subject: Re: 'gobject-introspection': No such file or directory
Date: Mon, 04 Feb 2013 23:36:39 +0100 [thread overview]
Message-ID: <87halrogeg.fsf@gnu.org> (raw)
In-Reply-To: <87lib7gahf.fsf@karetnikov.org> (Nikita Karetnikov's message of "Fri, 01 Feb 2013 13:29:44 -0500")
Nikita Karetnikov <nikita@karetnikov.org> skribis:
>> Isn’t there by any chance a /bin/sh behind this?
The build fails like this:
--8<---------------cut here---------------start------------->8---
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/l99188aprsmzdkxkkmk2nibwwc0zz84c-python-2.7.3/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/nix/store/l99188aprsmzdkxkkmk2nibwwc0zz84c-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
--8<---------------cut here---------------end--------------->8---
Looking at subprocess.py above, I see this:
--8<---------------cut here---------------start------------->8---
if shell:
args = ["/bin/sh", "-c"] + args
if executable:
args[0] = executable
--8<---------------cut here---------------end--------------->8---
The solution is to patch Python to refer to our ‘sh’ instead of /bin/sh
(as is done for Guile’s ice-9/popen.scm).
Can you do that?
TIA,
Ludo’.
next prev parent reply other threads:[~2013-02-04 22:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2013-02-05 0:43 ` Nikita Karetnikov
2013-02-05 9:00 ` Ludovic Courtès
2013-02-07 8:56 ` Nikita Karetnikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87halrogeg.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=bug-guix@gnu.org \
--cc=nikita@karetnikov.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).