From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: Re: [PATCH] website: Add support for Haunt. Date: Tue, 10 Nov 2015 20:17:52 +0800 Message-ID: References: <87si4mg4fc.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]:49423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zw7s3-00028G-8z for guix-devel@gnu.org; Tue, 10 Nov 2015 07:17:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zw7s2-0005Js-0l for guix-devel@gnu.org; Tue, 10 Nov 2015 07:17:55 -0500 In-Reply-To: <87si4mg4fc.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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mathieu Lirzin Cc: guix-devel@gnu.org Hi, Thanks for making this! I think miss this announcement last week. However, there is a little problem. When I run "haunt build -c guixsd.scm", I get the following: alexvong1995@debian:~/guix-artwork/website$ haunt build -c guixsd.scm Backtrace: In ice-9/boot-9.scm: 1724: 19 [%start-stack load-stack ...] 1729: 18 [#] In unknown file: ?: 17 [primitive-load "/home/alexvong1995/.guix-profile/bin/haunt"] In ice-9/eval.scm: 481: 16 [lp (#) (build)] 411: 15 [eval # #] 411: 14 [eval # #] In ice-9/boot-9.scm: 2401: 13 [save-module-excursion #] 4050: 12 [#] 1724: 11 [%start-stack load-stack ...] 1729: 10 [#] In unknown file: ?: 9 [primitive-load "/home/alexvong1995/guix-artwork/website/guixsd.scm= "] In ice-9/eval.scm: 505: 8 [# (use-modules # # # ...)] In ice-9/psyntax.scm: 1106: 7 [expand-top-sequence ((use-modules (haunt site) (haunt reader) ...)) () ...] 989: 6 [scan ((use-modules (haunt site) (haunt reader) ...)) () ...] 279: 5 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...] In ice-9/boot-9.scm: 3597: 4 [process-use-modules (((haunt site)) ((haunt reader)) ((haunt page)) ...)] 700: 3 [map # #] 3598: 2 [# ((www)= )] 2867: 1 [resolve-interface (www) #:select ...] In unknown file: ?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" (www)) #f] ERROR: In procedure scm-error: ERROR: no code for module (www) Is that because I have some wrong set-up? This is on the tail of the .bashrc: export GUIX_LOCPATH=3D$HOME/.guix-profile/lib/locale export LC_ALL=3Dzh_TW.UTF-8 GUIX_PROFILE=3D"$HOME/.guix-profile" \ source "$HOME/.guix-profile/etc/profile" This are my installed packages: Generation 12 11=E6=9C=88 10 2015 19:41:30 (current) glibc-locales 2.22 out /gnu/store/kiwkawskr79bhvzpm7vcgbj2423jng33-glibc-= locales-2.22 fontconfig 2.11.94 out /gnu/store/nvv5jb11x8pzbsx0y9rhwvaz7kd7j8pi-fontco= nfig-2.11.94 gs-fonts 8.11 out /gnu/store/d0ifp68l2sjnnjx5ajc1fsc6r6wp3afy-gs-fonts-8.= 11 font-dejavu 2.34 out /gnu/store/ll8n6d8vbkx63c1dg01l2m0r77jfak9b-font-dej= avu-2.34 font-gnu-freefont-ttf 20100919 out /gnu/store/8cfhaywjkjs6yv3adzlxcwwx776= pxryc-font-gnu-freefont-ttf-20100919 youtube-dl 2015.11.01 out /gnu/store/l3mxjdiawvjb8x24sidihz9zqj3k5n5m-you= tube-dl-2015.11.01 emacs 24.5 out /gnu/store/3ljzggifgiy9jd4bjqd0dy0fq1s0ddks-emacs-24.5 geiser 0.8.1 out /gnu/store/y9dxdh394q4acmfa7xxwavzmzbqz6k6s-geiser-0.8.1 paredit 23 out /gnu/store/8vrkvkfj0yas370xd1d65hqgz0ra5cy0-paredit-23 git 2.5.0 out /gnu/store/cyvr3gk9whniixxhc1jgmjncx9981vb7-git-2.5.0 magit 2.3.0 out /gnu/store/ip6c3hs3h26qzjjfspykgc4injhj73mq-magit-2.3.0 icecat 38.3.0-gnu1 out /gnu/store/1rsr5a1gl50a1lvp6cg7102g6mjl68i0-icecat= -38.3.0-gnu1 coreutils 8.24 out /gnu/store/q6b4jg9nhsxb6kvn87nzr2w6f2vi1gx3-coreutils-= 8.24 glibc 2.22 out /gnu/store/n96gwg9fwmxmz1bhy219v3vvmsjsk7gz-glibc-2.22 binutils 2.25.1 out /gnu/store/lq595bjrgav37b05bmmafigwargasy8k-binutils-= 2.25.1 gcc 5.2.0 out /gnu/store/0wq6hcbfjh5clyz6pjcqxjkl60rmijjf-gcc-5.2.0 make 4.1 out /gnu/store/6l2c46faxwdim1mniw80lnyd827dpg8z-make-4.1 autoconf 2.69 out /gnu/store/w29nf3k2yclf7b33i8iibblj67687my2-autoconf-2.= 69 automake 1.15 out /gnu/store/n164057v3j5lhihj10apqjkbsm0scl3p-automake-1.= 15 autogen 5.18.6 out /gnu/store/3gsqxw3gw862k1m1zmf2wb9p9fc30k7k-autogen-5.= 18.6 perl 5.16.1 out /gnu/store/czs63sm4l0s4a56ab38dqvkx19yzylbq-perl-5.16.1 python 3.4.3 out /gnu/store/y5x6c38fzrbfl80jxrgjd6py2k88x12a-python-3.4.3 guile 2.0.11 out /gnu/store/5i87jzm90nw8j692y7z1j2qfx16h6ni3-guile-2.0.11 haunt 0.1 out /gnu/store/k0cg8shqs12dh9j3a47b6hkvcrk998zg-haunt-0.1 I also try to install guile-www from tarball, but it doesn't help. I think this make sense since haunt cannot load module from my /usr/share/guile/site. Does anyone know how to fix it? Thanks, Alex On 04/11/2015, Mathieu Lirzin wrote: > Hello Guix, > > Thanks to Alex Vong's impulse, I have implemented a first step in the > use of Dave Thompson's site generator Haunt (http://haunt.dthompson.us/) > for the GuixSD website. > > I will need more details on the deployment of the website on gnu.org to > hopefully get rid of the parameter objects tweaking. > > -- > Mathieu Lirzin > >