Running the script triggers the install of the quicklisp dependencies for the forgerie
source to run. It's not within the docker layers yet because it needs some mountpoint
and i did not figure out yet how to provide this at build time.
Run (with what's important):
```
$ docker run -v $SWH_ENVIRONMENT_HOME/../forgerie:/opt/forgerie -it forgerie /opt/forgerie/bin/build-config-tmpl
...
; Loading "forgerie"
[package forgerie-core]...........................
[package forgerie-phabricator]....................
[package forgerie-gitlab].............
```
Full log (with failure at the end because there is no config.lisp yet):
```
$ docker run -v $SWH_ENVIRONMENT_HOME/../forgerie:/opt/forgerie -it forgerie /opt/forgerie/bin/build-config-tmpl
To load "forgerie":
Load 1 ASDF system:
forgerie
; Loading "forgerie"
To load "cl-mysql":
Load 2 ASDF systems:
asdf uiop
Install 5 Quicklisp releases:
alexandria babel cffi cl-mysql trivial-features
; Fetching #<URL "http://beta.quicklisp.org/archive/trivial-features/2021-12-09/trivial-features-20211209-git.tgz">
; 11.11KB
==================================================
11,377 bytes in 0.00 seconds (0.00KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/babel/2020-09-25/babel-20200925-git.tgz">
; 266.93KB
==================================================
273,336 bytes in 0.07 seconds (3925.44KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/alexandria/2022-03-31/alexandria-20220331-git.tgz">
; 55.51KB
==================================================
56,840 bytes in 0.01 seconds (4625.65KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cffi/2021-04-11/cffi_0.24.1.tgz">
; 255.97KB
==================================================
262,118 bytes in 0.04 seconds (6399.37KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-mysql/2020-06-10/cl-mysql-20200610-git.tgz">
; 25.15KB
==================================================
25,756 bytes in 0.00 seconds (6288.09KB/sec)
; Loading "cl-mysql"
[package alexandria]..............................
[package alexandria-2]............................
[package babel-encodings].........................
[package babel]...................................
..................................................
[package cffi-sys]................................
[package cffi]....................................
..................................................
[package cffi-features]...........................
[package com.hackinghat.cl-mysql-system]..........
..................................................
[package com.hackinghat.cl-mysql]
To load "forgerie":
Load 1 ASDF system:
forgerie
; Loading "forgerie"
To load "drakma":
Load 5 ASDF systems:
alexandria asdf cffi trivial-features uiop
Install 13 Quicklisp releases:
bordeaux-threads chipz chunga cl+ssl cl-base64 cl-ppcre
drakma flexi-streams puri split-sequence
trivial-garbage trivial-gray-streams usocket
; Fetching #<URL "http://beta.quicklisp.org/archive/puri/2020-10-16/puri-20201016-git.tgz">
; 28.49KB
==================================================
29,178 bytes in 0.01 seconds (2374.51KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-ppcre/2022-02-20/cl-ppcre-20220220-git.tgz">
; 153.70KB
==================================================
157,392 bytes in 0.05 seconds (2955.83KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-base64/2020-10-16/cl-base64-20201016-git.tgz">
; 10.13KB
==================================================
10,373 bytes in 0.00 seconds (2532.47KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/split-sequence/2021-05-31/split-sequence-v2.0.1.tgz">
; 11.43KB
==================================================
11,705 bytes in 0.00 seconds (0.00KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/usocket/2022-03-31/usocket-0.8.4.tgz">
; 87.67KB
==================================================
89,771 bytes in 0.02 seconds (5479.19KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/trivial-garbage/2021-12-30/trivial-garbage-20211230-git.tgz">
; 10.74KB
==================================================
10,996 bytes in 0.00 seconds (0.00KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/flexi-streams/2022-02-20/flexi-streams-20220220-git.tgz">
; 435.47KB
==================================================
445,922 bytes in 0.15 seconds (2864.96KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/bordeaux-threads/2020-06-10/bordeaux-threads-v0.8.8.tgz">
; 23.15KB
==================================================
23,709 bytes in 0.00 seconds (5788.33KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl+ssl/2022-03-31/cl+ssl-20220331-git.tgz">
; 68.90KB
==================================================
70,556 bytes in 0.01 seconds (5741.86KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/trivial-gray-streams/2021-01-24/trivial-gray-streams-20210124-git.tgz">
; 7.86KB
==================================================
8,046 bytes in 0.00 seconds (0.00KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/chunga/2022-03-31/chunga-20220331-git.tgz">
; 20.31KB
==================================================
20,800 bytes in 0.00 seconds (5078.13KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/chipz/2022-02-20/chipz-20220220-git.tgz">
; 36.30KB
==================================================
37,175 bytes in 0.01 seconds (4537.96KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/drakma/2021-08-07/drakma-v2.0.8.tgz">
; 72.70KB
==================================================
74,447 bytes in 0.01 seconds (6058.51KB/sec)
; Loading "drakma"
[package puri]....................................
[package cl-base64]...............................
[package impl-specific-gray]......................
[package trivial-gray-streams]....................
[package chunga]..................................
[package flexi-streams]...........................
..................................................
..................................................
..................................................
[package cl-ppcre]................................
..................................................
[package chipz]...................................
[package split-sequence]..........................
[package usocket].................................
[package cl+ssl/config]...........................
[package bordeaux-threads]........................
[package trivial-garbage].........................
[package cl+ssl]..................................
[package drakma]........
To load "forgerie":
Load 1 ASDF system:
forgerie
; Loading "forgerie"
To load "jsown":
Load 1 ASDF system:
asdf
Install 1 Quicklisp release:
jsown
; Fetching #<URL "http://beta.quicklisp.org/archive/jsown/2020-02-18/jsown-20200218-git.tgz">
; 14.63KB
==================================================
14,981 bytes in 0.01 seconds (1828.74KB/sec)
; Loading "jsown"
[package jsown].........
To load "forgerie":
Load 1 ASDF system:
forgerie
; Loading "forgerie"
To load "cl-csv":
Load 3 ASDF systems:
alexandria asdf cl-ppcre
Install 5 Quicklisp releases:
cl-csv cl-interpol cl-unicode iterate named-readtables
; Fetching #<URL "http://beta.quicklisp.org/archive/iterate/2021-05-31/iterate-release-b0f9a9c6-git.tgz">
; 338.01KB
==================================================
346,126 bytes in 0.08 seconds (4225.17KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/named-readtables/2022-03-31/named-readtables-20220331-git.tgz">
; 25.99KB
==================================================
26,611 bytes in 0.02 seconds (1624.21KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-unicode/2021-02-28/cl-unicode-20210228-git.tgz">
; 1260.39KB
==================================================
1,290,638 bytes in 0.20 seconds (6430.59KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-interpol/2020-12-20/cl-interpol-20201220-git.tgz">
; 42.69KB
==================================================
43,712 bytes in 0.01 seconds (5335.94KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-csv/2020-10-16/cl-csv-20201016-git.tgz">
; 24.61KB
==================================================
25,202 bytes in 0.00 seconds (6152.83KB/sec)
; Loading "cl-csv"
[package iterate].................................
[package cl-unicode]..............................
[package cl-unicode-names]........................
[package editor-hints.named-readtables]...........
[package editor-hints.named-readtables]...........
[package cl-interpol].............................
[package cl-csv]......
To load "forgerie":
Load 1 ASDF system:
forgerie
; Loading "forgerie"
To load "cl-fad":
Load 3 ASDF systems:
alexandria asdf bordeaux-threads
Install 1 Quicklisp release:
cl-fad
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-fad/2022-02-20/cl-fad-20220220-git.tgz">
; 24.69KB
==================================================
25,285 bytes in 0.04 seconds (685.90KB/sec)
; Loading "cl-fad"
[package cl-fad]..................................
[package path].....
To load "forgerie":
Load 1 ASDF system:
forgerie
; Loading "forgerie"
To load "ironclad":
Load 2 ASDF systems:
asdf bordeaux-threads
Install 1 Quicklisp release:
ironclad
; Fetching #<URL "http://beta.quicklisp.org/archive/ironclad/2022-02-20/ironclad-v0.57.tgz">
; 1500.88KB
==================================================
1,536,896 bytes in 0.42 seconds (3539.79KB/sec)
; Loading "ironclad"
..................................................
[package ironclad]................................
[package ironclad-vm].............................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
.................
To load "forgerie":
Load 1 ASDF system:
forgerie
; Loading "forgerie"
[package forgerie-core]...........................
[package forgerie-phabricator]....................
[package forgerie-gitlab].............
Unhandled SB-INT:SIMPLE-FILE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
{10018984C3}>:
The path #P"/config/config.lisp.tmpl" does not exist.
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10018984C3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SB-INT:SIMPLE-FILE-ERROR "~@<The path ~2I~_~S ~I~_does not exist.~:>" {1005EE03C3}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SB-INT:SIMPLE-FILE-ERROR "~@<The path ~2I~_~S ~I~_does not exist.~:>" {1005EE03C3}>)
2: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-FILE-ERROR "~@<The path ~2I~_~S ~I~_does not exist.~:>" {1005EE03C3}>)
3: (ERROR SB-INT:SIMPLE-FILE-ERROR :PATHNAME #P"/config/config.lisp.tmpl" :FORMAT-CONTROL "~@<The path ~2I~_~S ~I~_does not exist.~:>" :FORMAT-ARGUMENTS (#P"/config/config.lisp.tmpl"))
4: (SB-KERNEL::%FILE-ERROR #P"/config/config.lisp.tmpl" "~@<The path ~2I~_~S ~I~_does not exist.~:>" #P"/config/config.lisp.tmpl")
5: (SB-IMPL::%OPEN-ERROR #P"/config/config.lisp.tmpl" 2 :SUPERSEDE :CREATE)
6: (OPEN "config/config.lisp.tmpl" :DIRECTION :OUTPUT :ELEMENT-TYPE BASE-CHAR :IF-EXISTS :SUPERSEDE :IF-DOES-NOT-EXIST NIL :EXTERNAL-FORMAT :DEFAULT :CLASS SB-SYS:FD-STREAM)
7: ((LAMBDA NIL :IN "/opt/forgerie/bin/build-config-tmpl"))
8: (SB-INT:SIMPLE-EVAL-IN-LEXENV (WITH-OPEN-FILE (STR "config/config.lisp.tmpl" :DIRECTION :OUTPUT :IF-EXISTS :SUPERSEDE) (FORMAT STR ";;;; This template file is generated by bin/build-config-templ and should not be edited manually.
;;;;
;;;; Install by copying to config.lisp~%~%") (MAPCAR (LAMBDA (SECTION) (FORMAT STR ";;;;;;;;;;;;;;;;;;;~%;;; ~A~%;;;;;;;;;;;;;;;;;;;~%~%" (CAR SECTION)) (MAPCAR (LAMBDA # #) (CDR SECTION))) (QUOTE (("system" # #) ("core" FORGERIE-CORE:*DEBUG* FORGERIE-CORE:*LOG-MAPPING-ERRORS* FORGERIE-CORE:*WORKING-DIRECTORY*) ("phabricator" FORGERIE-PHABRICATOR:*DATABASE-PASSWORD* FORGERIE-PHABRICATOR:*DATABASE-USERNAME* FORGERIE-PHABRICATOR:*REVISIONS-TO-SKIP* FORGERIE-PHABRICATOR:*PHABRICATOR-LOCATION* FORGERIE-PHABRICATOR:*PROJECT-ASSIGNMENT-OVERRIDES* FORGERIE-PHABRICATOR:*REPOSITORY-OVERRIDES* FORGERIE-PHABRICATOR:*PASTES-TO-SKIP* FORGERIE-PHABRICATOR:*USER-OVERRIDES* FORGERIE-PHABRICATOR:*STORAGE-LOCATION* FORGERIE-PHABRICATOR:*CONFIDENTIAL-SPACE-PHIDS* FORGERIE-PHABRICATOR:*INCLUDED-REPOSITORIES* ...) ("gitlab" FORGERIE-GITLAB:*PRIVATE-TOKEN* FORGERIE-GITLAB:*SERVER-ADDRESS* FORGERIE-GITLAB:*DEFAULT-PROJECT* FORGERIE-GITLAB:*SSH-PUBLIC-KEY* FORGERIE-GITLAB:*DEFAULT-GROUP* FORGERIE-GITLAB:*RAILS-CONSOLE-SSH-ARGS* FORGERIE-GITLAB:*MERGE-REQUEST-SUFFIX* FORGERIE-GITLAB:*TICKET-SUFFIX* FORGERIE-GITLAB:*LIMIT-TO-ACTIVE-USERS*))))) #<NULL-LEXENV>)
9: (EVAL-TLF (WITH-OPEN-FILE (STR "config/config.lisp.tmpl" :DIRECTION :OUTPUT :IF-EXISTS :SUPERSEDE) (FORMAT STR ";;;; This template file is generated by bin/build-config-templ and should not be edited manually.
;;;;
;;;; Install by copying to config.lisp~%~%") (MAPCAR (LAMBDA (SECTION) (FORMAT STR ";;;;;;;;;;;;;;;;;;;~%;;; ~A~%;;;;;;;;;;;;;;;;;;;~%~%" (CAR SECTION)) (MAPCAR (LAMBDA # #) (CDR SECTION))) (QUOTE (("system" # #) ("core" FORGERIE-CORE:*DEBUG* FORGERIE-CORE:*LOG-MAPPING-ERRORS* FORGERIE-CORE:*WORKING-DIRECTORY*) ("phabricator" FORGERIE-PHABRICATOR:*DATABASE-PASSWORD* FORGERIE-PHABRICATOR:*DATABASE-USERNAME* FORGERIE-PHABRICATOR:*REVISIONS-TO-SKIP* FORGERIE-PHABRICATOR:*PHABRICATOR-LOCATION* FORGERIE-PHABRICATOR:*PROJECT-ASSIGNMENT-OVERRIDES* FORGERIE-PHABRICATOR:*REPOSITORY-OVERRIDES* FORGERIE-PHABRICATOR:*PASTES-TO-SKIP* FORGERIE-PHABRICATOR:*USER-OVERRIDES* FORGERIE-PHABRICATOR:*STORAGE-LOCATION* FORGERIE-PHABRICATOR:*CONFIDENTIAL-SPACE-PHIDS* FORGERIE-PHABRICATOR:*INCLUDED-REPOSITORIES* ...) ("gitlab" FORGERIE-GITLAB:*PRIVATE-TOKEN* FORGERIE-GITLAB:*SERVER-ADDRESS* FORGERIE-GITLAB:*DEFAULT-PROJECT* FORGERIE-GITLAB:*SSH-PUBLIC-KEY* FORGERIE-GITLAB:*DEFAULT-GROUP* FORGERIE-GITLAB:*RAILS-CONSOLE-SSH-ARGS* FORGERIE-GITLAB:*MERGE-REQUEST-SUFFIX* FORGERIE-GITLAB:*TICKET-SUFFIX* FORGERIE-GITLAB:*LIMIT-TO-ACTIVE-USERS*))))) 3 NIL)
10: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (WITH-OPEN-FILE (STR "config/config.lisp.tmpl" :DIRECTION :OUTPUT :IF-EXISTS :SUPERSEDE) (FORMAT STR ";;;; This template file is generated by bin/build-config-templ and should not be edited manually.
;;;;
;;;; Install by copying to config.lisp~%~%") (MAPCAR (LAMBDA (SECTION) (FORMAT STR ";;;;;;;;;;;;;;;;;;;~%;;; ~A~%;;;;;;;;;;;;;;;;;;;~%~%" (CAR SECTION)) (MAPCAR (LAMBDA # #) (CDR SECTION))) (QUOTE (("system" # #) ("core" FORGERIE-CORE:*DEBUG* FORGERIE-CORE:*LOG-MAPPING-ERRORS* FORGERIE-CORE:*WORKING-DIRECTORY*) ("phabricator" FORGERIE-PHABRICATOR:*DATABASE-PASSWORD* FORGERIE-PHABRICATOR:*DATABASE-USERNAME* FORGERIE-PHABRICATOR:*REVISIONS-TO-SKIP* FORGERIE-PHABRICATOR:*PHABRICATOR-LOCATION* FORGERIE-PHABRICATOR:*PROJECT-ASSIGNMENT-OVERRIDES* FORGERIE-PHABRICATOR:*REPOSITORY-OVERRIDES* FORGERIE-PHABRICATOR:*PASTES-TO-SKIP* FORGERIE-PHABRICATOR:*USER-OVERRIDES* FORGERIE-PHABRICATOR:*STORAGE-LOCATION* FORGERIE-PHABRICATOR:*CONFIDENTIAL-SPACE-PHIDS* FORGERIE-PHABRICATOR:*INCLUDED-REPOSITORIES* ...) ("gitlab" FORGERIE-GITLAB:*PRIVATE-TOKEN* FORGERIE-GITLAB:*SERVER-ADDRESS* FORGERIE-GITLAB:*DEFAULT-PROJECT* FORGERIE-GITLAB:*SSH-PUBLIC-KEY* FORGERIE-GITLAB:*DEFAULT-GROUP* FORGERIE-GITLAB:*RAILS-CONSOLE-SSH-ARGS* FORGERIE-GITLAB:*MERGE-REQUEST-SUFFIX* FORGERIE-GITLAB:*TICKET-SUFFIX* FORGERIE-GITLAB:*LIMIT-TO-ACTIVE-USERS*))))) 3)
11: ((LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) (WITH-OPEN-FILE (STR "config/config.lisp.tmpl" :DIRECTION :OUTPUT :IF-EXISTS :SUPERSEDE) (FORMAT STR ";;;; This template file is generated by bin/build-config-templ and should not be edited manually.
;;;;
;;;; Install by copying to config.lisp~%~%") (MAPCAR (LAMBDA (SECTION) (FORMAT STR ";;;;;;;;;;;;;;;;;;;~%;;; ~A~%;;;;;;;;;;;;;;;;;;;~%~%" (CAR SECTION)) (MAPCAR (LAMBDA # #) (CDR SECTION))) (QUOTE (("system" # #) ("core" FORGERIE-CORE:*DEBUG* FORGERIE-CORE:*LOG-MAPPING-ERRORS* FORGERIE-CORE:*WORKING-DIRECTORY*) ("phabricator" FORGERIE-PHABRICATOR:*DATABASE-PASSWORD* FORGERIE-PHABRICATOR:*DATABASE-USERNAME* FORGERIE-PHABRICATOR:*REVISIONS-TO-SKIP* FORGERIE-PHABRICATOR:*PHABRICATOR-LOCATION* FORGERIE-PHABRICATOR:*PROJECT-ASSIGNMENT-OVERRIDES* FORGERIE-PHABRICATOR:*REPOSITORY-OVERRIDES* FORGERIE-PHABRICATOR:*PASTES-TO-SKIP* FORGERIE-PHABRICATOR:*USER-OVERRIDES* FORGERIE-PHABRICATOR:*STORAGE-LOCATION* FORGERIE-PHABRICATOR:*CONFIDENTIAL-SPACE-PHIDS* FORGERIE-PHABRICATOR:*INCLUDED-REPOSITORIES* ...) ("gitlab" FORGERIE-GITLAB:*PRIVATE-TOKEN* FORGERIE-GITLAB:*SERVER-ADDRESS* FORGERIE-GITLAB:*DEFAULT-PROJECT* FORGERIE-GITLAB:*SSH-PUBLIC-KEY* FORGERIE-GITLAB:*DEFAULT-GROUP* FORGERIE-GITLAB:*RAILS-CONSOLE-SSH-ARGS* FORGERIE-GITLAB:*MERGE-REQUEST-SUFFIX* FORGERIE-GITLAB:*TICKET-SUFFIX* FORGERIE-GITLAB:*LIMIT-TO-ACTIVE-USERS*))))) :CURRENT-INDEX 3)
12: (SB-C::%DO-FORMS-FROM-INFO #<FUNCTION (LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) {10009EACBB}> #<SB-C::SOURCE-INFO {10009EAC83}> SB-C::INPUT-ERROR-IN-LOAD)
13: (SB-INT:LOAD-AS-SOURCE #<SB-SYS:FD-STREAM for "file /opt/forgerie/bin/build-config-tmpl" {10009E8DA3}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
14: ((FLET SB-FASL::THUNK :IN LOAD))
15: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (FLET SB-FASL::THUNK :IN LOAD) {7F55B563774B}> #<SB-SYS:FD-STREAM for "file /opt/forgerie/bin/build-config-tmpl" {10009E8DA3}>)
16: ((FLET SB-FASL::LOAD-STREAM :IN LOAD) #<SB-SYS:FD-STREAM for "file /opt/forgerie/bin/build-config-tmpl" {10009E8DA3}> NIL)
17: (LOAD #<SB-SYS:FD-STREAM for "file /opt/forgerie/bin/build-config-tmpl" {10009E8DA3}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST T :EXTERNAL-FORMAT :DEFAULT)
18: ((FLET SB-IMPL::LOAD-SCRIPT :IN SB-IMPL::PROCESS-SCRIPT) #<SB-SYS:FD-STREAM for "file /opt/forgerie/bin/build-config-tmpl" {10009E8DA3}>)
19: ((FLET SB-UNIX::BODY :IN SB-IMPL::PROCESS-SCRIPT))
20: ((FLET "WITHOUT-INTERRUPTS-BODY-11" :IN SB-IMPL::PROCESS-SCRIPT))
21: (SB-IMPL::PROCESS-SCRIPT "/opt/forgerie/bin/build-config-tmpl")
22: (SB-IMPL::TOPLEVEL-INIT)
23: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
24: ((FLET "WITHOUT-INTERRUPTS-BODY-1" :IN SB-IMPL::START-LISP))
25: (SB-IMPL::START-LISP)
unhandled condition in --disable-debugger mode, quitting
```