On 17/06/17 11:09, Catonano wrote: > 2017-06-17 17:46 GMT+02:00 sirgazil <sirga...@zoho.com > <mailto:sirga...@zoho.com>>: > > On 17/06/17 02:16, Catonano wrote: >> >> >> 2017-06-17 6:57 GMT+02:00 Catonano <caton...@gmail.com >> <mailto:caton...@gmail.com>>: >> >> >> >> 2017-06-16 16:46 GMT+02:00 sirgazil <sirga...@zoho.com >> <mailto:sirga...@zoho.com>>: >> >> >> >> I'm fine with investigating the missing parts before or >> after moving to >> guix-artwork.git. >> >> >> For what it's worth, I vouch for moving all to gnu.org >> <http://gnu.org> and possibly expressing the issues in the >> appropriate debbugs instance >> >> Then, I might be able to collaborate in sorting out some issues >> >> I never used Mercurial. I should learn from scratch. >> >> Also, I can't access the issues on bitbucket because the >> login doesn't work in Icecat (plus some nonsense about >> upgrading my account and coming mobile apps that require me >> some voodoo right now) >> >> So I can't see the issues at >> >> https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open >> >> <https://bitbucket.org/sirgazil/guixsd-website/issues?status=new&status=open> >> >> >> I managed to install mercurial, but I can't build it >> >> [env]$ haunt build >> Backtrace: >> In ice-9/boot-9.scm: >> 2986:16 19 (try-module-autoload _ _) >> 2316:4 18 (save-module-excursion #<procedure 11b0d50 at >> ice-9/boo…>) >> 3006:22 17 (_) >> In unknown file: >> 16 (primitive-load-path "apps/blog/utils" #<procedure >> 11d0…>) >> In ice-9/eval.scm: >> 721:20 15 (primitive-eval (define-module (apps blog utils) # >> (…) …)) >> In ice-9/psyntax.scm: >> 1234:36 14 (expand-top-sequence ((define-module (apps blog #) # >> …)) …) >> 1181:24 13 (parse _ (("placeholder" placeholder)) ((top) #(# # >> …)) …) >> 284:10 12 (parse _ (("placeholder" placeholder)) (()) _ c&e >> (eval) …) >> In ice-9/eval.scm: >> 293:34 11 (_ #<module (#{ g66}#) 11c2d20>) >> In ice-9/boot-9.scm: >> 2866:4 10 (define-module* _ #:filename _ #:pure _ #:version _ >> # _ …) >> 2879:24 9 (_) >> 230:29 8 (map1 (((apps aux lists)) ((apps aux web)) ((haunt >> …)) …)) >> 230:29 7 (map1 (((apps aux web)) ((haunt post)) ((ice-9 #)) >> (#) …)) >> 230:29 6 (map1 (((haunt post)) ((ice-9 match)) ((srfi >> srfi-1)) …)) >> 230:29 5 (map1 (((ice-9 match)) ((srfi srfi-1)) ((srfi #)) >> (#) …)) >> 230:29 4 (map1 (((srfi srfi-1)) ((srfi srfi-19)) ((#)) ((# >> #)) #)) >> 230:29 3 (map1 (((srfi srfi-19)) ((syntax-highlight)) ((# #)) #)) >> 230:17 2 (map1 (((syntax-highlight)) ((syntax-highlight #)) (#))) >> 2795:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ >> # _ …) >> In unknown file: >> 0 (scm-error misc-error #f "~A ~S" ("no code for >> modu…" …) …) >> > > Catonano, could you try without an environment? > > $ cd /path/to/guixsd-website > $ guix package -i git glibc-locales guile@2.2 <mailto:guile@2.2> > guile-syntax-highlight guix haunt > > I actually work without environments, and it works, but will try > to reproduce that error. > > > You're right. Like this, it's working > > It's building the pages right now !
Catonano, to avoid building all the packages (3-4 minutes in this machine), you should run the build like this: $ GUIX_WEB_SITE_LOCAL=yes haunt build Also, this way, the website URLs are modified to work locally, and only 300 packages will be built for testing. If you run: $ haunt build It will build the website for production, which uses the gnu.org URL path for projects, so running "haunt serve" after that won't display the website correctly. In this case, what I do is use python server, and not haunt server. Like so: $ haunt build $ cd /tmp/gnu/ $ python3 -m http.server Then you can visit http://localhost:8000/, and the site should work as if it were in production. -- https://sirgazil.bitbucket.io/