From: Nikita Karetnikov <nikita@karetnikov.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: bug-guix@gnu.org
Subject: Re: 'gobject-introspection': No such file or directory
Date: Fri, 01 Feb 2013 13:26:06 -0500 [thread overview]
Message-ID: <87lib7gahf.fsf@karetnikov.org> (raw)
In-Reply-To: <87pq0p9rwq.fsf@gnu.org> ("Ludovic Courtès"'s message of "(unknown date)")
[-- Attachment #1.1: Type: text/plain, Size: 301 bytes --]
> Isn’t there by any chance a /bin/sh behind this?
> You can check by running that in ‘strace -f’, from the failed 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.
[-- Attachment #1.2: gobject-introspection.scm --]
[-- Type: text/plain, Size: 4001 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)
(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))))
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2013-02-01 18:47 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 [this message]
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
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=87lib7gahf.fsf@karetnikov.org \
--to=nikita@karetnikov.org \
--cc=bug-guix@gnu.org \
--cc=ludo@gnu.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).