From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Luis_Felipe_L=C3=B3pez_Acevedo?= Subject: Re: Website development questions Date: Wed, 23 Nov 2016 20:24:41 -0500 Message-ID: <2b25dade990d69b1237f4dc78fed8f50@openmailbox.org> References: <1e6da887355434e25f4190b53cdb2f26@openmailbox.org> <877f85gj51.fsf@gnu.org> <4c33f39cbd6c869e205ba58503e93bf4@openmailbox.org> <87shqlvsnc.fsf@gnu.org> <87vavf86v0.fsf@gnu.org> <87fumh4zjl.fsf@gnu.org> 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]:50320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9imb-00014M-MH for guix-devel@gnu.org; Wed, 23 Nov 2016 20:25:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9imX-0001TK-KP for guix-devel@gnu.org; Wed, 23 Nov 2016 20:25:01 -0500 Received: from smtp5.openmailbox.org ([62.4.1.39]:51020) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9imX-0001SU-DD for guix-devel@gnu.org; Wed, 23 Nov 2016 20:24:57 -0500 In-Reply-To: <87fumh4zjl.fsf@gnu.org> 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" To: ludo@gnu.org Cc: guix-devel@gnu.org On 2016-11-23 17:11, ludo@gnu.org wrote: > Luis Felipe L=C3=B3pez Acevedo skribis: >=20 >> On 2016-11-22 17:52, ludo@gnu.org wrote: >>> Luis Felipe L=C3=B3pez Acevedo skribis= : >>>=20 >>>> However, I have another problem: >>>>=20 >>>> scheme@(guile-user)> (export-web-page packages-page >>>> "site/packages/index.html") >>>> gnu/packages/databases.scm:87:21: In procedure #>>> c375ef0 >>>> at gnu/packages/databases.scm:80:12 ()>: >>>> gnu/packages/databases.scm:87:21: Throw to key `srfi-34' with=20 >>>> args >>>> `(#>>> patch >>>> not found"] d5b3220>)'. >>>>=20 >>>> Entering a new prompt. Type `,bt' for a backtrace or `,q' to >>>> continue. >>>=20 >>> Somehow =E2=80=98search-patch=E2=80=99 from (gnu packages) doesn=E2=80= =99t find the patch or=20 >>> is >>> not looking in the right places. >>>=20 >>> Could you check the value of (%patch-path)? >>>=20 >>> ,use(gnu packages) >>> (%patch-path) >>=20 >> Ok, this is what I have: >>=20 >> ("/home/anonimo/Documentos/guix-artwork/website" >> "/home/anonimo/.guix-profile/share/guile/site/2.0" >> "/home/anonimo/Documentos/guix/" >> =20 >> "/gnu/store/dw907d51axf5xcz6qkngdb8mv1x6ja9m-guile-2.0.13/share/guile/= 2.0" >> =20 >> "/gnu/store/dw907d51axf5xcz6qkngdb8mv1x6ja9m-guile-2.0.13/share/guile/= site/2.0" >> =20 >> "/gnu/store/dw907d51axf5xcz6qkngdb8mv1x6ja9m-guile-2.0.13/share/guile/= site" >> =20 >> "/gnu/store/dw907d51axf5xcz6qkngdb8mv1x6ja9m-guile-2.0.13/share/guile"= ) >>=20 >> What should be there? I haven't added any patches directory to PATH, >> nor do I know where patches are... >=20 > =E2=80=98%patch-path=E2=80=99 is defined like this: >=20 > --8<---------------cut here---------------start------------->8--- > (define %patch-path > ;; Define it after '%package-module-path' so that '%load-path'=20 > contains user > ;; directories, allowing patches in $GUIX_PACKAGE_PATH to be found. > (make-parameter > (map (lambda (directory) > (if (string=3D? directory %distro-root-directory) > (string-append directory "/gnu/packages/patches") > directory)) > %load-path))) > --8<---------------cut here---------------end--------------->8--- >=20 > So patches are looked up in the =E2=80=9Cgnu/packages/patches=E2=80=9D = sub-directory > relative to the load path entry that contains =E2=80=9Cguix.scm=E2=80=9D= . >=20 > Presumably /home/anonimo/Documentos/guix/ contains guix.scm and so > patches are expected to be in > /home/anonimo/Documentos/guix/gnu/packages/patches. >=20 > Is it the case? Or could it be that only=20 > =E2=80=9C4store-fix-buildsystem.patch=E2=80=9D > is missing? hmm, patches are in that location, and the patch not found is actually=20 there as well: $ find -name "4store-fix-buildsystem.patch" ./gnu/packages/patches/4store-fix-buildsystem.patch :( --=20 Luis Felipe L=C3=B3pez Acevedo http://sirgazil.bitbucket.org/