From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: GNU Smalltalk: libtool: link: cannot find name of link library for `*/libc.la' Date: Sat, 02 Feb 2013 21:38:57 -0500 Message-ID: <87r4kyxgrt.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]:43316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1pTt-00023z-9t for bug-guix@gnu.org; Sat, 02 Feb 2013 21:38:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1pTq-0001E1-SD for bug-guix@gnu.org; Sat, 02 Feb 2013 21:38:57 -0500 Received: from [2a01:7e00::f03c:91ff:fedf:181] (port=36190 helo=cooksoni.karetnikov.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1pTq-0001Dw-Jh for bug-guix@gnu.org; Sat, 02 Feb 2013 21:38:54 -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, The 'build' phase fails with this error: libtool: link: cannot find name of link library for `/tmp/nix-build-smalltalk-3.2.4.drv-1/smalltalk-3.2.4/libc.la' The attached recipe is my attempt to fix the problem. Unfortunately, it doesn't work. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=smalltalk.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 smalltalk) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (gnu packages zip)) (define-public smalltalk (package (name "smalltalk") (version "3.2.4") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/smalltalk/smalltalk-" version ".tar.xz")) (sha256 (base32 "1bdhbppjv1fswh4ls9q90zix38l1hg9qd4c4bz1pbg1af991xq3a")))) (build-system gnu-build-system) (inputs `(("zip" ,zip))) (arguments `(#:phases (alist-cons-before 'build 'fix-libc (lambda* (#:key outputs #:allow-other-keys) (let ((libc (assoc-ref %build-inputs "libc")) (out (assoc-ref outputs "out"))) (substitute* "libc.la.in" (("@LIBC_SO_NAME@") libc) (("@LIBC_SO_DIR@") out)))) %standard-phases))) (home-page "https://www.gnu.org/software/smalltalk/") (synopsis "GNU Smalltalk, a free implementation of the Smalltalk-80 language") (description "GNU Smalltalk is a free implementation of the Smalltalk-80 language. In the Smalltalk language, everything is an object. This includes numbers, executable procedures (methods), stack frames (called method contexts or bl= ock contexts), etc. Each object is an \"instance\" of a \"class\". A class can be thought of as a datatype and the set of functions that operate on that datatype. An instance is a particular variable of that datatype. When you want to perform an operation on an object, you send it a \"message\", and t= he object performs an operation that corresponds to that message.") (license gpl2+))) --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJRDc3dAAoJEM+IQzI9IQ38SDIQAID6kTyRCogKdm548+sWEgAM mpYZ5ub35nQ0au7hll67XfRWgGcpUwWGRnT2R3fWf00vktYfUZSE9fTYluXnAv5Y t206pveMG0osVAcCKtXpSZ3U11YAXMBe7JFCpNUVRNYS1FIeRN1/PL5n/tW+uqE8 gJtmQTIxjaoQHwFHNms0PdX5Cl8M4XDk5WVDYtZHR6abVAk0ACsI40ioEa/g97sz 5FXUtDtdw/MJ9GNoaBJAnNIfvHk89cAiyP1D0EtCAlaj661NfaSOi088RT0+7BSF L3CS0MYnmbwvEETpblB5CrPEIbM+Z7Frfx+Z8GoFj/k2QfWhuLY3R+rLma9micAg xegyI0P46XfQ+ahvzqM6D1naEqRcf1csyVbZupDSaYrZRP2Y/yOYfL0HQQpAvtdF 6w2MER2u+wtuX267DrY8KG+Hp+y9dvQdeRExYmbDhcvER+3o/apNu5jyOdQ9BTyA FO+CgcKJp9pibQlaCmW8h+Q63e2wSo0uv82u2HK4esCn5SB9ZQpu7+nBjfl1LmNy Mxrl80wVyMKV5TPxpoWvYh2o7U7i6b2KFFsDziJceklhPlRJWGMZF5F/nHJvLoEN ihSUlAfFZM0v5FeUs/caApADQH4i6h2mmkmzVNEYFZYRcKrfRaCpZy8ES7ZirSDq MrlafrxT2DgNwVnGCu4e =cqLF -----END PGP SIGNATURE----- --==-=-=--