From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#18033: Add support for 'search-path-specifications' referring to files Date: Fri, 02 Jan 2015 18:30:45 -0500 Message-ID: <87sifs4v6i.fsf@netris.org> References: <1405449096-29230-1-git-send-email-jmd@gnu.org> <1405449096-29230-5-git-send-email-jmd@gnu.org> <87r41ml4nu.fsf@gnu.org> <20140715214338.GB16482@jocasta.intra> <87mwc9irnj.fsf@gnu.org> <20140716100854.GB21262@jocasta.intra> <87k37dh05v.fsf_-_@gnu.org> <8761cxib9q.fsf@gnu.org> <87d274g0q1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7BgR-00015N-1x for bug-guix@gnu.org; Fri, 02 Jan 2015 18:31:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7BgM-0006Js-TM for bug-guix@gnu.org; Fri, 02 Jan 2015 18:31:07 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:54186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7BgM-0006Jn-QM for bug-guix@gnu.org; Fri, 02 Jan 2015 18:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y7BgM-0005NC-Ao for bug-guix@gnu.org; Fri, 02 Jan 2015 18:31:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87d274g0q1.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 27 Dec 2014 23:57:26 +0100") 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: 18033@debbugs.gnu.org Hi Ludovic, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Commit af07095 extends =E2=80=98search-path-specification=E2=80=99 with a= =E2=80=98file-type=E2=80=99 > field, which can be 'regular. > > Then, commit 7b21fe5 adds a =E2=80=98file-pattern=E2=80=99 field, to look= for files > matching a pattern recursively. > > Lastly, commit 2a8d440 uses these features for libxml2 and > $XML_CATALOG_FILES. > > Comments welcome! Something seems to have gone wrong here. Trying to build 'emacs' on current 'core-updates' (bf0baaf) on i686, I get this: --8<---------------cut here---------------start------------->8--- mhw:~/guix-core-updates$ git describe v0.8-499-gbf0baaf mhw:~/guix-core-updates$ ./pre-inst-env guile GNU Guile 2.0.11 Copyright (C) 1995-2014 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> ,use (guix scripts build) scheme@(guile-user)> (guix-build "emacs") ERROR: In procedure concatenate: ERROR: In procedure append: Wrong type argument in position 23 (expecting e= mpty list): #< variable: "XML_CATALOG_FILES" fil= es: ("xml") separator: " " file-type: regular file-pattern: "^catalog\\.xml= $"> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]> ,bt In ice-9/boot-9.scm: 157:17 33 (catch srfi-34 # #<= procedure 927b2c0 at guix/ui.scm:218:2 (key c)> #) 157:17 32 (catch system-error # # =E2=80=A6) In guix/scripts/build.scm: 420:6 31 (#) 318:6 30 (options->derivations # ((argumen= t . "emacs") (system . "i686-linux") (# . #t) =E2=80=A6)) In srfi/srfi-1.scm: 664:12 29 (filter-map # ((argument . #) =E2=80=A6)) In guix/packages.scm: 620:14 28 (cache #= ("i686-linux" . #t) #) 869:10 27 (thunk) 801:6 26 (bag->derivation # #< name: = "emacs-24.4" system: "i686-linux" target: #f b=E2=80=A6> =E2=80=A6) In srfi/srfi-1.scm: 578:27 25 (map #= (("glib:bin" #) =E2=80=A6)) In guix/packages.scm: 662:16 24 (expand-input # # ("gl=E2=80=A6" =E2=80=A6) =E2=80=A6) 620:14 23 (cache # ("i686-linux" . #f) #) 869:10 22 (thunk) 801:6 21 (bag->derivation # #< name: = "glib-2.42.1" system: "i686-linux" target: #f =E2=80=A6> =E2=80=A6) In srfi/srfi-1.scm: 578:27 20 (map #= (("source" #) =E2=80=A6)) In guix/packages.scm: 662:16 19 (expand-input # # ("d=E2=80=A6" =E2=80=A6) =E2=80=A6) 620:14 18 (cache #= ("i686-linux" . #f) #) 869:10 17 (thunk) 801:6 16 (bag->derivation # #< name: = "dbus-1.8.12" system: "i686-linux" target: #f =E2=80=A6> =E2=80=A6) In srfi/srfi-1.scm: 578:27 15 (map #= (("source" #) =E2=80=A6)) In guix/packages.scm: 662:16 14 (expand-input # # ("li=E2=80=A6" =E2=80=A6) =E2=80=A6) 620:14 13 (cache # ("i686-linux" . #f) #) 869:10 12 (thunk) 801:6 11 (bag->derivation # #< name: = "libx11-1.6.2" system: "i686-linux" target: #f=E2=80=A6> =E2=80=A6) In srfi/srfi-1.scm: 576:29 10 (map #= (("source" #) =E2=80=A6)) In guix/packages.scm: 662:16 9 (expand-input # # (# #) =E2=80=A6) 620:14 8 (cache # ("i686-linux" . #f) #) 869:10 7 (thunk) 801:6 6 (bag->derivation # #< name: = "libxcb-1.11" system: "i686-linux" target: #f =E2=80=A6> =E2=80=A6) In srfi/srfi-1.scm: 578:27 5 (map #= (("source" #) =E2=80=A6)) In guix/packages.scm: 662:16 4 (expand-input # # ("=E2=80=A6" =E2=80=A6) =E2=80=A6) 620:14 3 (cache # ("i686-linux" . #f) #) 869:10 2 (thunk) 806:26 1 (bag->derivation # #< name: = "libxslt-1.1.28" system: "i686-linux" target: =E2=80=A6> =E2=80=A6) In unknown file: 0 (concatenate (() () () () () () () () () () () () () () () () = () (#< variabl=E2=80=A6> =E2=80=A6) =E2=80=A6)) scheme@(guile-user) [1]> --8<---------------cut here---------------end--------------->8--- Mark