From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia@riseup.net Subject: Guile 2.0.11 error during test of package definition on Trisquel 7 Date: Fri, 22 Jan 2016 20:58:08 +0000 Message-ID: <3a810622e2df254ebd0f9233c55f3020@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMimc-0006pB-IX for guix-devel@gnu.org; Fri, 22 Jan 2016 15:58:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMimY-0005Wk-2H for guix-devel@gnu.org; Fri, 22 Jan 2016 15:58:14 -0500 Received: from mx1.riseup.net ([198.252.153.129]:58564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMimX-0005Wd-QT for guix-devel@gnu.org; Fri, 22 Jan 2016 15:58:09 -0500 Received: from cotinga.riseup.net (unknown [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 894B81A14E2 for ; Fri, 22 Jan 2016 20:58:08 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel Hi I tried following the manual build* from a fresh git pull. From 7.6: " ./pre-inst-env guix build gnew --keep-failed If the package is unknown to the =E2=80=98guix=E2=80=99 command, it m= ay be that the source file contains a syntax error, or lacks a =E2=80=98define-public=E2= =80=99 clause to export the package variable. To figure it out, you may load the module from Guile to get more information about the actual error: ./pre-inst-env guile -c '(use-modules (gnu packages gnew))'" After putting the new package definition below into python.scm: (define-public python-twisted (package (name "python-twisted") (version "15.5.0") (source (origin (method url-fetch) ; (extension "tar.bz2") ; (uri (pypi-uri "Twisted" version extension)) (uri (pypi-uri "Twisted" version)) (sha256 (base32 "0zy18lcrris4aaslil5k12i13k56c32hzfdv6h10kbnzl026h158")))) (build-system python-build-system) (inputs `(("python-setuptools" ,python-setuptools))) (home-page "http://twistedmatrix.com/") (synopsis "An asynchronous networking framework written in Python") (description "An asynchronous networking framework written in Python") (license license:expat))) ./pre-inst-env guix build cannot find it. I then do: $ ./pre-inst-env guile -c '(use-modules (gnu packages python))' but it tries to auto-compile python.scm and fails with: ;;; ERROR: failed to create path for auto-compiled file "path/to/file" WTF? From within guix environment guix --container: it compiles without errors. cheers swedebugia