all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Help updating CLOG
@ 2024-09-06 13:57 Roman Scherer
  2024-09-09 12:43 ` Guillaume Le Vaillant
  0 siblings, 1 reply; 4+ messages in thread
From: Roman Scherer @ 2024-09-06 13:57 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1: Type: text/plain, Size: 815 bytes --]


Hello Guix,

I would like to update the CLOG [1] package in Guix to version 2.3. Clog
is a Common Lisp package and has several ASDF systems, clog, clog/docs
and clog/tools.

I packaged the dependencies of CLOG and the clog and clog/docs ASDF
systems. But now I'm stuck with clog/tools ASDF system. When building
it, the build system tries to compile a file from a dependency
(clog-ace, which I added to the inputs), but fails to write a FASL file
in the store.

I don't understand why that is happening and I'm not a Common Lisp
expert. I tried multiple things, like commenting out some ASDF systems,
deleting files, etc, but no luck so far.

Can some Common Lisp expert help me with this, please?

I attached the build log, and the patches I have so far.

Thanks, Roman.

[1] https://github.com/rabbibotton/clog


[-- Attachment #1.2: BUILD-LOG.txt --]
[-- Type: text/plain, Size: 25335 bytes --]

phase `copy-source' succeeded after 0.0 seconds
starting phase `configure'

warning: collision encountered:
  /gnu/store/cfzwm4yq78c39iqxlr146jr2lk1rl09c-ld-wrapper-0/bin/ld
  /gnu/store/pqai4n95zn5wdw430gslb00sb967jdg8-binutils-2.41/bin/ld
warning: choosing /gnu/store/cfzwm4yq78c39iqxlr146jr2lk1rl09c-ld-wrapper-0/bin/ld
phase `configure' succeeded after 0.2 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
Invoking sbcl: "/gnu/store/qhjivbf0fsgn62n4yy7xznwbzx7lf50l-sbcl-2.4.7/bin/sbcl" "--non-interactive" "--eval" "(require :asdf)" "--eval" "(asdf:initialize-source-registry (list :source-registry (list :tree (uiop:ensure-pathname \"/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools\" :truenamize t :ensure-directory t)) :inherit-configuration))" "--eval" "(asdf:load-system \"clog/tools\")"
This is SBCL 2.4.7, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
WARNING: System definition file #P"/gnu/store/qw7ib0vmbxbr2h2swvqaqw7kkxl1sz30-sbcl-hunchentoot-1.3.0-1.7686239/share/common-lisp/sbcl/hunchentoot/hunchentoot.asd" contains definition for system "hunchentoot-test". Please only define "hunchentoot" and secondary systems with a name starting with "hunchentoot/" (e.g. "hunchentoot/test") in that file.
WARNING: System definition file #P"/gnu/store/qw7ib0vmbxbr2h2swvqaqw7kkxl1sz30-sbcl-hunchentoot-1.3.0-1.7686239/share/common-lisp/sbcl/hunchentoot/hunchentoot.asd" contains definition for system "hunchentoot-dev". Please only define "hunchentoot" and secondary systems with a name starting with "hunchentoot/" (e.g. "hunchentoot/test") in that file.
WARNING: System definition file #P"/gnu/store/jspggykcrjd6w086ni1wbzsmz7mmcbrs-sbcl-parse-float-0.0.0-2.3074765/share/common-lisp/sbcl/parse-float/parse-float.asd" contains definition for system "parse-float-tests". Please only define "parse-float" and secondary systems with a name starting with "parse-float/" (e.g. "parse-float/test") in that file.
WARNING: System definition file #P"/gnu/store/pbz28xy7i2l2f3qa5lchqrdapa6fsz7a-sbcl-cl-template-0.0.1-0.46193a9/share/common-lisp/sbcl/cl-template/cl-template.asd" contains definition for system "cl-template-tests". Please only define "cl-template" and secondary systems with a name starting with "cl-template/" (e.g. "cl-template/test") in that file.
WARNING: redefining CL-ISAAC:RAND32 in DEFUN
WARNING: redefining CL-ISAAC:RAND64 in DEFUN
WARNING:
   bare references to struct types are deprecated. Please use (:POINTER
                                                               (:STRUCT
                                                                SQLITE3)) or (:STRUCT
                                                                              SQLITE3) instead.
WARNING:
   bare references to struct types are deprecated. Please use (:POINTER
                                                               (:STRUCT
                                                                SQLITE3-STMT)) or (:STRUCT
                                                                                   SQLITE3-STMT) instead.
WARNING: redefining DEFTYPE type to be a class: DBI.ERROR:<DBI-ERROR>
WARNING: redefining DEFTYPE type to be a class: DBI.ERROR:<DBI-WARNING>
WARNING: redefining DEFTYPE type to be a class: DBI.ERROR:<DBI-INTERFACE-ERROR>
WARNING:
   redefining DEFTYPE type to be a class: DBI.ERROR:<DBI-UNIMPLEMENTED-ERROR>
WARNING: redefining DEFTYPE type to be a class: DBI.ERROR:<DBI-DATABASE-ERROR>
WARNING: redefining DEFTYPE type to be a class: DBI.ERROR:<DBI-DATA-ERROR>
WARNING:
   redefining DEFTYPE type to be a class: DBI.ERROR:<DBI-OPERATIONAL-ERROR>
WARNING: redefining DEFTYPE type to be a class: DBI.ERROR:<DBI-INTEGRITY-ERROR>
WARNING: redefining DEFTYPE type to be a class: DBI.ERROR:<DBI-INTERNAL-ERROR>
WARNING:
   redefining DEFTYPE type to be a class: DBI.ERROR:<DBI-PROGRAMMING-ERROR>
WARNING:
   redefining DEFTYPE type to be a class: DBI.ERROR:<DBI-NOTSUPPORTED-ERROR>
WARNING:
   redefining DEFTYPE type to be a class: DBI.ERROR:<DBI-ALREADY-COMMITED-ERROR>
WARNING:
   redefining DEFTYPE type to be a class: DBI.ERROR:<DBI-ALREADY-ROLLED-BACK-ERROR>
WARNING: redefining DEFTYPE type to be a class: DBI.DRIVER:<DBI-DRIVER>
WARNING: redefining DEFTYPE type to be a class: DBI.DRIVER:<DBI-CONNECTION>
WARNING: redefining DEFTYPE type to be a class: DBI.DRIVER:<DBI-QUERY>
WARNING: redefining IRONCLAD:BLOCK-LENGTH in DEFGENERIC
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/asdf-ext.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/asdf-ext-tmpGHU3ALSV.fasl
; compilation finished in 0:00:00.002
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-connection.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-connection-tmpAAURSO1.fasl
; compilation finished in 0:00:00.011
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-connection-websockets.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-connection-websockets-tmp5GEXGEG5.fasl
; compilation finished in 0:00:00.031
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-tmpAR3FSGEY.fasl
; compilation finished in 0:00:00.013
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-system.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-system-tmpJAIDFZTC.fasl
; compilation finished in 0:00:00.009
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-utilities.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-utilities-tmp8V3J6PE9.fasl
; compilation finished in 0:00:00.010
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-base.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-base-tmp9V47YWQF.fasl
; compilation finished in 0:00:00.093
WARNING: redefining CLOG:PARENT in DEFGENERIC
WARNING: redefining CLOG::CONNECTION-ID in DEFGENERIC
WARNING: redefining CLOG:HTML-ID in DEFGENERIC
WARNING: redefining CLOG::CONNECTION-DATA-MUTEX in DEFGENERIC
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-element.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-element-tmp9BN22RMA.fasl
; compilation finished in 0:00:00.120
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-jquery.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-jquery-tmp1CXFJSK9.fasl
; compilation finished in 0:00:00.003
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-body.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-body-tmpX4BRKI0R.fasl
; compilation finished in 0:00:00.002
WARNING: redefining CLOG:WINDOW in DEFGENERIC
WARNING: redefining CLOG:HTML-DOCUMENT in DEFGENERIC
WARNING: redefining CLOG:LOCATION in DEFGENERIC
WARNING: redefining CLOG:NAVIGATOR in DEFGENERIC
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-document.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-document-tmpQ371UGST.fasl
; compilation finished in 0:00:00.012
WARNING: redefining CLOG:DOCUMENT-ELEMENT in DEFGENERIC
WARNING: redefining CLOG:HEAD-ELEMENT in DEFGENERIC
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-window.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-window-tmp2OWI3Q7U.fasl
; compilation finished in 0:00:00.071
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-location.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-location-tmp9KKTJMYV.fasl
; compilation finished in 0:00:00.009
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-navigator.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-navigator-tmpJU0JWO19.fasl
; compilation finished in 0:00:00.005
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-style.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-style-tmpZX2WN8N4.fasl
; compilation finished in 0:00:00.008
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-element-common.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-element-common-tmpOU81XRV0.fasl
; compilation finished in 0:00:00.154
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-form.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-form-tmpY2ML9CFA.fasl
; compilation finished in 0:00:00.117
WARNING: redefining CLOG:DISABLEDP in DEFGENERIC
WARNING: redefining (COMMON-LISP:SETF CLOG:DISABLEDP) in DEFGENERIC
WARNING: redefining CLOG:VALUE in DEFGENERIC
WARNING: redefining (COMMON-LISP:SETF CLOG:VALUE) in DEFGENERIC
WARNING: redefining CLOG:MINIMUM in DEFGENERIC
WARNING: redefining (COMMON-LISP:SETF CLOG:MINIMUM) in DEFGENERIC
WARNING: redefining CLOG:MAXIMUM in DEFGENERIC
WARNING: redefining (COMMON-LISP:SETF CLOG:MAXIMUM) in DEFGENERIC
WARNING: redefining CLOG:URL-SRC in DEFGENERIC
WARNING: redefining (COMMON-LISP:SETF CLOG:URL-SRC) in DEFGENERIC
WARNING: redefining CLOG:ALT-TEXT in DEFGENERIC
WARNING: redefining (COMMON-LISP:SETF CLOG:ALT-TEXT) in DEFGENERIC
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-multimedia.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-multimedia-tmpX2JYJDQE.fasl
; compilation finished in 0:00:00.029
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-canvas.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-canvas-tmpOPCILR65.fasl
; compilation finished in 0:00:00.077
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-webgl.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-webgl-tmpRV9F8A9A.fasl
; compilation finished in 0:00:00.089
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-panel.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-panel-tmpK2ZAJT4I.fasl
; compilation finished in 0:00:00.026
WARNING: redefining CLOG:CENTER-PANEL in DEFGENERIC
WARNING: redefining CLOG:TOP-PANEL in DEFGENERIC
WARNING: redefining CLOG:LEFT-PANEL in DEFGENERIC
WARNING: redefining CLOG:BOTTOM-PANEL in DEFGENERIC
WARNING: redefining CLOG:PANEL-BOX in DEFGENERIC
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-tree.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-tree-tmpUX5S4ADN.fasl
; compilation finished in 0:00:00.016
WARNING: redefining CLOG:TREE-ROOT in DEFGENERIC
WARNING: redefining CLOG:INDENT-LEVEL in DEFGENERIC
WARNING: redefining CLOG:TOGGLE-STATE in DEFGENERIC
WARNING: redefining CLOG:TREE-ITEM in DEFGENERIC
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-presentations.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-presentations-tmp10401X32.fasl
; compilation finished in 0:00:00.008
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-data.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-data-tmpZ7CBRM0G.fasl
; compilation finished in 0:00:00.018
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-dbi.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-dbi-tmp9OZEQ0G2.fasl
; compilation finished in 0:00:00.032
WARNING: redefining CLOG:DATABASE-CONNECTION in DEFGENERIC
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-auth.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-auth-tmpB2JTL1W9.fasl
; compilation finished in 0:00:00.005
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-web.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-web-tmpP3BI68WQ.fasl
; compilation finished in 0:00:00.093
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-web-dbi.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-web-dbi-tmpQDARA81Z.fasl
; compilation finished in 0:00:00.050
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-web-themes.lisp" (written 01 JAN 1970 12:00:00 AM):

; file: /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-web-themes.lisp
; in: DEFUN DEFAULT-THEME
;     (EQ CLOG-WEB::PAGE :BLOG-COMMENT)
;
; note: deleting unreachable code


; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-web-themes-tmpYEMMM7SE.fasl
; compilation finished in 0:00:00.012
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-gui.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-gui-tmp73HU0RPK.fasl
; compilation finished in 0:00:00.166
; compiling file "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools/source/clog-helpers.lisp" (written 01 JAN 1970 12:00:00 AM):

; wrote /gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/lib/common-lisp/sbcl/clog-tools/source/clog-helpers-tmpIO5N7K88.fasl
; compilation finished in 0:00:00.012
Unhandled SB-INT:SIMPLE-FILE-ERROR in thread #<SB-THREAD:THREAD tid=25 "main thread" RUNNING
                                                {1001850703}>:
  Error opening #P"/gnu/store/5rhkkvvl5qc9yq9m72ypfrmq27hfq656-sbcl-clog-ace-0.1.0-0.61f3c2e/lib/common-lisp/sbcl/clog-ace/clog-ace-tmpCM21U60Z.fasl":

    Permission denied

Backtrace for: #<SB-THREAD:THREAD tid=25 "main thread" RUNNING {1001850703}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SB-INT:SIMPLE-FILE-ERROR "Error opening ~S" {100C683AD3}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SB-INT:SIMPLE-FILE-ERROR "Error opening ~S" {100C683AD3}>)
2: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-FILE-ERROR "Error opening ~S" {100C683AD3}>)
3: (ERROR SB-INT:SIMPLE-FILE-ERROR :PATHNAME #P"/gnu/store/5rhkkvvl5qc9yq9m72ypfrmq27hfq656-sbcl-clog-ace-0.1.0-0.61f3c2e/lib/common-lisp/sbcl/clog-ace/clog-ace-tmpCM21U60Z.fasl" :MESSAGE "Permission denied" :FORMAT-CONTROL "Error opening ~S" :FORMAT-ARGUMENTS (#P"/gnu/store/5rhkkvvl5qc9yq9m72ypfrmq27hfq656-sbcl-clog-ace-0.1.0-0.61f3c2e/lib/common-lisp/sbcl/clog-ace/clog-ace-tmpCM21U60Z.fasl"))
4: (SB-IMPL::FILE-PERROR #P"/gnu/store/5rhkkvvl5qc9yq9m72ypfrmq27hfq656-sbcl-clog-ace-0.1.0-0.61f3c2e/lib/common-lisp/sbcl/clog-ace/clog-ace-tmpCM21U60Z.fasl" 13 "Error opening ~S" #P"/gnu/store/5rhkkvvl5qc9yq9m72ypfrmq27hfq656-sbcl-clog-ace-0.1.0-0.61f3c2e/lib/common-lisp/sbcl/clog-ace/clog-ace-tmpCM21U60Z.fasl")
5: (SB-IMPL::%OPEN-ERROR #P"/gnu/store/5rhkkvvl5qc9yq9m72ypfrmq27hfq656-sbcl-clog-ace-0.1.0-0.61f3c2e/lib/common-lisp/sbcl/clog-ace/clog-ace-tmpCM21U60Z.fasl" 13 NIL :CREATE)
6: (OPEN #P"/gnu/store/5rhkkvvl5qc9yq9m72ypfrmq27hfq656-sbcl-clog-ace-0.1.0-0.61f3c2e/lib/common-lisp/sbcl/clog-ace/clog-ace-tmpCM21U60Z.fasl" :DIRECTION :IO :ELEMENT-TYPE :DEFAULT :IF-EXISTS NIL :IF-DOES-NOT-EXIST :CREATE :EXTERNAL-FORMAT :UTF-8 :CLASS SB-SYS:FD-STREAM)
7: (UIOP/STREAM:CALL-WITH-TEMPORARY-FILE #<FUNCTION (FLET "BEFORE197" :IN UIOP/STREAM::GET-TEMPORARY-FILE) {1001E1149B}> :WANT-STREAM-P NIL :WANT-PATHNAME-P T :DIRECTION :IO :KEEP T :AFTER NIL :DIRECTORY #P"/gnu/store/5rhkkvvl5qc9yq9m72ypfrmq27hfq656-sbcl-clog-ace-0.1.0-0.61f3c2e/lib/common-lisp/sbcl/clog-ace/" :TYPE "fasl" :PREFIX "clog-ace-tmp" :SUFFIX NIL :ELEMENT-TYPE NIL :EXTERNAL-FORMAT NIL)
8: (UIOP/LISP-BUILD:COMPILE-FILE* #P"/gnu/store/5rhkkvvl5qc9yq9m72ypfrmq27hfq656-sbcl-clog-ace-0.1.0-0.61f3c2e/share/common-lisp/sbcl/clog-ace/clog-ace.lisp" :OUTPUT-FILE #P"/gnu/store/5rhkkvvl5qc9yq9m72ypfrmq27hfq656-sbcl-clog-ace-0.1.0-0.61f3c2e/lib/common-lisp/sbcl/clog-ace/clog-ace.fasl" :EXTERNAL-FORMAT :UTF-8 :WARNINGS-FILE NIL)
9: (ASDF/LISP-ACTION:PERFORM-LISP-COMPILATION #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "clog-ace" "clog-ace">)
10: ((SB-PCL::EMF ASDF/ACTION:PERFORM) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "clog-ace" "clog-ace">)
11: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
12: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "clog-ace" "clog-ace">) [fast-method]
13: ((:METHOD ASDF/PLAN:PERFORM-PLAN (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {1001860453}>) [fast-method]
14: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
15: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {1001860453}>) [fast-method]
16: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "clog/tools"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method]
17: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "clog/tools">)
18: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
19: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "clog/tools">) [fast-method]
20: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/LISP-ACTION:LOAD-OP "clog/tools")
21: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
22: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<FUNCTION (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {100186019B}> :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
23: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "clog/tools") [fast-method]
24: (ASDF/OPERATE:LOAD-SYSTEM "clog/tools")
25: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF/OPERATE:LOAD-SYSTEM "clog/tools") #<NULL-LEXENV>)
26: (EVAL (ASDF/OPERATE:LOAD-SYSTEM "clog/tools"))
27: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(require :asdf)") (:EVAL . #<(SIMPLE-ARRAY CHARACTER (260)) (asdf:initialize-source-registry (list :source-registry (list :tree (uiop:ensure-pathname "/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools" ... {1001AB6DEF}>) (:EVAL . "(asdf:load-system \"clog/tools\")") (:QUIT)))
28: (SB-IMPL::TOPLEVEL-INIT)
29: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
30: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
31: (SB-IMPL::%START-LISP)

unhandled condition in --disable-debugger mode, quitting
;
; compilation unit aborted
;   caught 1 fatal ERROR condition
;   printed 1 note
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "/gnu/store/qhjivbf0fsgn62n4yy7xznwbzx7lf50l-sbcl-2.4.7/bin/sbcl" arguments: ("--non-interactive" "--eval" "(require :asdf)" "--eval" "(asdf:initialize-source-registry (list :source-registry (list :tree (uiop:ensure-pathname \"/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools\" :truenamize t :ensure-directory t)) :inherit-configuration))" "--eval" "(asdf:load-system \"clog/tools\")") exit-status: 1 term-signal: #f stop-signal: #f>
phase `build' failed after 2.5 seconds
command "/gnu/store/qhjivbf0fsgn62n4yy7xznwbzx7lf50l-sbcl-2.4.7/bin/sbcl" "--non-interactive" "--eval" "(require :asdf)" "--eval" "(asdf:initialize-source-registry (list :source-registry (list :tree (uiop:ensure-pathname \"/gnu/store/56kncl3nzl05wlk3ld8flkhl6p3lvb5q-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools\" :truenamize t :ensure-directory t)) :inherit-configuration))" "--eval" "(asdf:load-system \"clog/tools\")" failed with status 1
build process 12 exited with status 256
note: keeping build directory `/tmp/guix-build-sbcl-clog-tools-2.3-1.f736bfa.drv-6'
builder for `/gnu/store/x87y399i8a7b0zz15k8pm5fl4q8kyhwf-sbcl-clog-tools-2.3-1.f736bfa.drv' failed with exit code 1
build of /gnu/store/x87y399i8a7b0zz15k8pm5fl4q8kyhwf-sbcl-clog-tools-2.3-1.f736bfa.drv failed
Could not find build log for '/gnu/store/x87y399i8a7b0zz15k8pm5fl4q8kyhwf-sbcl-clog-tools-2.3-1.f736bfa.drv'.
guix build: error: build of `/gnu/store/x87y399i8a7b0zz15k8pm5fl4q8kyhwf-sbcl-clog-tools-2.3-1.f736bfa.drv' failed

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.3: 0001-gnu-sbcl-lack-Update-to-35d3a8e.patch --]
[-- Type: text/x-patch, Size: 3073 bytes --]

From f13330c7098514e800eb82eb3b14fafe76fcf5d0 Mon Sep 17 00:00:00 2001
Message-ID: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
From: Roman Scherer <roman@burningswell.com>
Date: Sat, 3 Aug 2024 12:38:45 +0200
Subject: [PATCH 1/8] gnu: sbcl-lack: Update to 35d3a8e.

* gnu/packages/lisp-xyz.scm (sbcl-lack): Update to 35d3a8e.

Change-Id: Ib9f9fba91b45e7b973e2bae5b35e74fd53d387ff
---
 gnu/packages/lisp-xyz.scm | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 64ffd93e60..df36a3ebdb 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18397,8 +18397,8 @@ (define-public cl-kons-9
 ;;   (sbcl-package->ecl-package sbcl-kons-9))
 
 (define-public sbcl-lack
-  (let ((commit "abff8efeb0c3a848e6bb0022f2b8b7fa3a1bc88b")
-        (revision "1"))
+  (let ((commit "35d3a8e03cab9204eec88c7dfe4d5366fc2ea922")
+        (revision "2"))
     (package
       (name "sbcl-lack")
       (version (git-version "0.1.0" revision commit))
@@ -18410,25 +18410,36 @@ (define-public sbcl-lack
                (commit commit)))
          (file-name (git-file-name "lack" version))
          (sha256
-          (base32 "1avh4ygcj9xcx4m17nj0wnxxaisk26w4ljs2bibzxaln24x7pi85"))))
+          (base32 "1yrhhzn8ywdjxwpaxzlnsm2lslhy45r89brn8gh5n08mdyjlp4l2"))))
       (build-system asdf-build-system/sbcl)
       (native-inputs
        (list sbcl-prove))
       (inputs
        `(("circular-streams" ,sbcl-circular-streams)
+         ("cl-base64", sbcl-cl-base64)
+         ("cl-isaac" ,sbcl-cl-isaac)
+         ("dbi" ,sbcl-dbi)
          ("http-body" ,sbcl-http-body)
          ("ironclad" ,sbcl-ironclad)
          ("local-time" ,sbcl-local-time)
          ("quri" ,sbcl-quri)
-         ("trivial-mimes" ,sbcl-trivial-mimes)))
+         ("trivial-mimes" ,sbcl-trivial-mimes)
+         ("trivial-rfc-1123" , sbcl-trivial-rfc-1123)))
       (arguments
        '(#:asd-systems '("lack"
+                         "lack-component"
+                         "lack-middleware-accesslog"
+                         "lack-middleware-auth-basic"
+                         "lack-middleware-backtrace"
+                         "lack-middleware-csrf"
+                         "lack-middleware-mount"
+                         "lack-middleware-session"
+                         "lack-middleware-static"
                          "lack-request"
                          "lack-response"
-                         "lack-component"
+                         "lack-session-store-dbi"
                          "lack-util"
-                         "lack-middleware-backtrace"
-                         "lack-middleware-static")
+                         "lack-util-writer-stream")
          ;; XXX: Component :CLACK not found
          #:tests? #f))
       (home-page "https://github.com/fukamachi/lack")

base-commit: d4fbd1ab341de85c1e5c77e0f7adc5aae056be15
-- 
2.45.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.4: 0002-gnu-Add-sbcl-print-licenses.patch --]
[-- Type: text/x-patch, Size: 2261 bytes --]

From 799cf113123a9dff4f2202023e9fd320ddedabdb Mon Sep 17 00:00:00 2001
Message-ID: <799cf113123a9dff4f2202023e9fd320ddedabdb.1725630024.git.roman@burningswell.com>
In-Reply-To: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
References: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
From: Roman Scherer <roman@burningswell.com>
Date: Sat, 3 Aug 2024 12:52:38 +0200
Subject: [PATCH 2/8] gnu: Add sbcl-print-licenses.

* gnu/packages/lisp-xyz.scm (sbcl-print-licenses): New variable.

Change-Id: I62b6655a560e37218e2f056065cd4523b4c0916f
---
 gnu/packages/lisp-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index df36a3ebdb..571ba385a1 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -23834,6 +23834,34 @@ (define-public ecl-ppath
 (define-public cl-ppath
   (sbcl-package->cl-source-package sbcl-ppath))
 
+(define-public sbcl-print-licenses
+  (let ((commit "3949663318fb736f4ee660e3aa810875187d531c")
+        (revision "0"))
+    (package
+      (name "sbcl-print-licenses")
+      (build-system asdf-build-system/sbcl)
+      (version (git-version "0.1.0" revision commit))
+      (home-page "https://github.com/vindarel/print-licenses/")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url home-page)
+               (commit commit)))
+         (file-name (git-file-name "cl-print-licenses" version))
+         (sha256
+          (base32 "14i6r6mf16dlj1g4xk0alg2912y3wy0qbfpyvvgsgxkkar63cmi5"))))
+      (inputs (list sbcl-alexandria sbcl-iterate))
+      (synopsis "Print licenses used by a Common Lisp project")
+      (description "Print licenses used by a Common Lisp project and its dependencies.")
+      (license license:bsd-2))))
+
+(define-public ecl-print-licenses
+  (sbcl-package->ecl-package sbcl-print-licenses))
+
+(define-public cl-print-licenses
+  (sbcl-package->cl-source-package sbcl-print-licenses))
+
 (define-public sbcl-printv
   (let ((commit "e717a7fe076dae861a96117b2f9af29db8d2294d")
         (revision "2"))
-- 
2.45.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.5: 0003-gnu-Add-sbcl-s-base64.patch --]
[-- Type: text/x-patch, Size: 2425 bytes --]

From 06b12bc7aebd6c326ab6ed23baaf11a395509481 Mon Sep 17 00:00:00 2001
Message-ID: <06b12bc7aebd6c326ab6ed23baaf11a395509481.1725630024.git.roman@burningswell.com>
In-Reply-To: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
References: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
From: Roman Scherer <roman@burningswell.com>
Date: Sat, 3 Aug 2024 13:22:53 +0200
Subject: [PATCH 3/8] gnu: Add sbcl-s-base64.

* gnu/packages/lisp-xyz.scm (sbcl-s-base64): New variable.

Change-Id: I58e64470d98696ec722350465159a48581c2a1df
---
 gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 571ba385a1..5437b32c9f 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -25277,6 +25277,38 @@ (define-public cl-rutils
 (define-public ecl-rutils
   (sbcl-package->ecl-package sbcl-rutils))
 
+(define-public sbcl-s-base64
+  (let ((commit "ed473e220133ca0e8b5b96618ea2972dec9de6cd"))
+    (package
+      (name "sbcl-s-base64")
+      (version (git-version "0.1.0" "0" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/svenvc/s-base64")
+               (commit commit)))
+         (file-name (git-file-name "cl-s-base64" version))
+         (sha256
+          (base32 "0zrr8zhnkdy97c5g54605nhjlf7fly79ylr1yf6wwyssia04cagg"))))
+      (build-system asdf-build-system/sbcl)
+      (home-page "https://github.com/svenvc/s-base64")
+      (synopsis
+       "Common Lisp package to encode and decode base64")
+      (description
+       "This package provides a Common Lisp implementation of Base64 encoding
+and decoding.  Base64 encoding is a technique to encode binary data in a
+portable, safe printable, 7-bit ASCII format.  The package is used as a
+building block in a number of other open source projects e.g. the KPAX web
+development framework.")
+      (license license:bsd-3))))
+
+(define-public cl-s-base64
+  (sbcl-package->cl-source-package sbcl-s-base64))
+
+(define-public ecl-s-base64
+  (sbcl-package->ecl-package sbcl-s-base64))
+
 (define-public sbcl-s-sysdeps
   ;; No release since 2013.
   (let ((commit "7f8de283b7fbd8b038fdf08493063a736db36ce7")
-- 
2.45.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.6: 0004-gnu-sbcl-clog-Update-to-2.3-build-only-clog-module.patch --]
[-- Type: text/x-patch, Size: 2283 bytes --]

From 258fa0d89e61d981152fed2cebe54a3255581367 Mon Sep 17 00:00:00 2001
Message-ID: <258fa0d89e61d981152fed2cebe54a3255581367.1725630024.git.roman@burningswell.com>
In-Reply-To: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
References: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
From: Roman Scherer <roman@burningswell.com>
Date: Sat, 3 Aug 2024 14:39:28 +0200
Subject: [PATCH 4/8] gnu: sbcl-clog: Update to 2.3 & build only clog module.

* gnu/packages/lisp-xyz.scm (sbcl-clog): Update to 2.3 & build only clog module.

Change-Id: If5109e183dc95a2179df0af63b31a390ad6d481a
---
 gnu/packages/lisp-xyz.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 5437b32c9f..57ae869201 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10864,7 +10864,7 @@ (define-public ecl-clobber
 (define-public sbcl-clog
   (package
     (name "sbcl-clog")
-    (version "1.2")
+    (version "2.3")
     (source
      (origin
        (method git-fetch)
@@ -10873,12 +10873,14 @@ (define-public sbcl-clog
              (commit (string-append "v" version))))
        (file-name (git-file-name "cl-clog" version))
        (sha256
-        (base32 "0f4i6571nm0j704zgnh60sc9slifs11byb2gs8gamqjcfh931dap"))))
+        (base32 "175zb93kxnxv0hr8435mkm94fqhjq51wq55ybd55kcyk5y5h2xaf"))))
     (build-system asdf-build-system/sbcl)
     (inputs
      (list sbcl-3bmd
            sbcl-alexandria
+           sbcl-atomics
            sbcl-bordeaux-threads
+           sbcl-cl-pass
            sbcl-cl-ppcre
            sbcl-cl-sqlite
            sbcl-cl-template
@@ -10890,11 +10892,12 @@ (define-public sbcl-clog
            sbcl-lack
            sbcl-mgl-pax
            sbcl-parse-float
+           sbcl-print-licenses
            sbcl-quri
            sbcl-trivial-open-browser
            sbcl-websocket-driver))
     (arguments
-     '(#:asd-systems '("clog" "clog/docs" "clog/tools")
+     '(#:asd-systems '("clog")
        #:phases (modify-phases %standard-phases
                   (add-after 'unpack 'fix-symbol-name
                     (lambda _
-- 
2.45.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.7: 0005-gnu-Add-sbcl-clog-docs.patch --]
[-- Type: text/x-patch, Size: 2140 bytes --]

From 460630003ebfc7f1c7fd2d46dfb030741713a99f Mon Sep 17 00:00:00 2001
Message-ID: <460630003ebfc7f1c7fd2d46dfb030741713a99f.1725630024.git.roman@burningswell.com>
In-Reply-To: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
References: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
From: Roman Scherer <roman@burningswell.com>
Date: Sat, 3 Aug 2024 14:41:49 +0200
Subject: [PATCH 5/8] gnu: Add sbcl-clog-docs.

* gnu/packages/lisp-xyz.scm (sbcl-clog-docs): New variable.

Change-Id: I60faf369adb0368ef4f0deb862cd6cda829d02d3
---
 gnu/packages/lisp-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 57ae869201..c477ee76e7 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10920,6 +10920,36 @@ (define-public cl-clog
 (define-public ecl-clog
   (sbcl-package->ecl-package sbcl-clog))
 
+(define-public sbcl-clog-docs
+  (package
+    (inherit sbcl-clog)
+    (name "sbcl-clog-docs")
+    (version "2.3")
+    (inputs
+     (list sbcl-3bmd
+           sbcl-clog
+           sbcl-colorize
+           sbcl-print-licenses))
+    (arguments
+     '(#:asd-systems '("clog/docs")
+       #:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'fix-symbol-name
+                    (lambda _
+                      (substitute* "source/clog-docs.lisp"
+                        (("clog:@CLOG-MANUAL")
+                         "clog::@CLOG_MANUAL")))))))
+    (synopsis "Common Lisp Omnificent GUI documentation")
+    (description
+     "This package provides the documentation for CLOG, a Common Lisp web
+framework for building GUI applications.")
+    (license license:bsd-3)))
+
+(define-public cl-clog-docs
+  (sbcl-package->cl-source-package sbcl-clog-docs))
+
+(define-public ecl-clog-docs
+  (sbcl-package->ecl-package sbcl-clog-docs))
+
 (define-public sbcl-clop
   (let ((commit "c0c3fe7efa5ac95ba1644febfb2c2acab757fcda")
         (revision "0"))
-- 
2.45.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.8: 0006-gnu-Add-sbcl-clog-ace.patch --]
[-- Type: text/x-patch, Size: 2206 bytes --]

From 9770124e18a390d4c52d578c8b8ba9d403c5adf2 Mon Sep 17 00:00:00 2001
Message-ID: <9770124e18a390d4c52d578c8b8ba9d403c5adf2.1725630024.git.roman@burningswell.com>
In-Reply-To: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
References: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
From: Roman Scherer <roman@burningswell.com>
Date: Sat, 3 Aug 2024 14:46:15 +0200
Subject: [PATCH 6/8] gnu: Add sbcl-clog-ace.

* gnu/packages/lisp-xyz.scm (sbcl-clog-ace): New variable.

Change-Id: I44656df42eed06285ab3a66044ec682fef006ac4
---
 gnu/packages/lisp-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index c477ee76e7..4a61fe747b 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10861,6 +10861,36 @@ (define-public cl-clobber
 (define-public ecl-clobber
   (sbcl-package->ecl-package sbcl-clobber))
 
+(define-public sbcl-clog-ace
+  (let ((commit "61f3c2e48402e043738b3079271f64a3b515af28")
+        (revision "0"))
+    (package
+      (name "sbcl-clog-ace")
+      (build-system asdf-build-system/sbcl)
+      (version (git-version "0.1.0" revision commit))
+      (home-page "https://github.com/rabbibotton/clog-ace")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url home-page)
+               (commit commit)))
+         (file-name (git-file-name "cl-clog-ace" version))
+         (sha256
+          (base32 "0bwg0b04ff0dgm9k6fw976amdz0s35lss3nv5ywznx9plahi5s5h"))))
+      (inputs (list sbcl-clog))
+      (arguments '(#:asd-systems '("clog-ace")))
+      (synopsis "CLOG Plugin for the ACE Editor")
+      (description "This package provides a CLOG Plugin for the ACE Editor, a
+high performance code editor for the web.")
+      (license license:bsd-2))))
+
+(define-public cl-clog-ace
+  (sbcl-package->cl-source-package sbcl-clog-ace))
+
+(define-public ecl-clog-ace
+  (sbcl-package->ecl-package sbcl-clog-ace))
+
 (define-public sbcl-clog
   (package
     (name "sbcl-clog")
-- 
2.45.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.9: 0007-gnu-Add-sbcl-clog-terminal.patch --]
[-- Type: text/x-patch, Size: 2324 bytes --]

From 7d8cf1e64f162475057cd904b52fb8d8c71f854c Mon Sep 17 00:00:00 2001
Message-ID: <7d8cf1e64f162475057cd904b52fb8d8c71f854c.1725630024.git.roman@burningswell.com>
In-Reply-To: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
References: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
From: Roman Scherer <roman@burningswell.com>
Date: Sat, 3 Aug 2024 14:47:27 +0200
Subject: [PATCH 7/8] gnu: Add sbcl-clog-terminal.

* gnu/packages/lisp-xyz.scm (sbcl-clog-terminal): New variable.

Change-Id: I51bf455cd2846ccab2521c8cb451a3aab0318090
---
 gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 4a61fe747b..189280ed0b 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10891,6 +10891,38 @@ (define-public cl-clog-ace
 (define-public ecl-clog-ace
   (sbcl-package->ecl-package sbcl-clog-ace))
 
+
+(define-public sbcl-clog-terminal
+  (let ((commit "304e3308e050abe0184ecc904cd039986e54b34f")
+        (revision "0"))
+    (package
+      (name "sbcl-clog-terminal")
+      (build-system asdf-build-system/sbcl)
+      (version (git-version "0.1.0" revision commit))
+      (home-page "https://github.com/rabbibotton/clog-terminal")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url home-page)
+               (commit commit)))
+         (file-name (git-file-name "cl-clog-terminal" version))
+         (sha256
+          (base32 "1pvrja8fvdzqmiqzl23lb7665vcpx9lhwxahns81wlykkyx7cjd5"))))
+      (inputs (list sbcl-clog))
+      (arguments '(#:asd-systems '("clog-terminal")))
+      (synopsis "CLOG Plugin for jQuery Terminal")
+      (description "This package provides a CLOG Plugin for jQuery Terminal,
+an Open Source JavaScript library for creating command line interpreters in
+your applications.")
+      (license license:bsd-2))))
+
+(define-public cl-clog-terminal
+  (sbcl-package->cl-source-package sbcl-clog-terminal))
+
+(define-public ecl-clog-terminal
+  (sbcl-package->ecl-package sbcl-clog-terminal))
+
 (define-public sbcl-clog
   (package
     (name "sbcl-clog")
-- 
2.45.2


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.10: 0008-WIP-gnu-Add-sbcl-clog-tools.patch --]
[-- Type: text/x-patch, Size: 12554 bytes --]

From ad9d96df031133b5e206295924cbe5a0fef96c4f Mon Sep 17 00:00:00 2001
Message-ID: <ad9d96df031133b5e206295924cbe5a0fef96c4f.1725630024.git.roman@burningswell.com>
In-Reply-To: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
References: <f13330c7098514e800eb82eb3b14fafe76fcf5d0.1725630024.git.roman@burningswell.com>
From: Roman Scherer <roman@burningswell.com>
Date: Thu, 22 Aug 2024 21:50:52 +0200
Subject: [PATCH 8/8] WIP gnu: Add sbcl-clog-tools.

* gnu/packages/lisp-xyz.scm (sbcl-clog-tools): New variable.

Change-Id: I05bec4f2360637339db3038c1550c90fccd26fc2
---
 gnu/packages/lisp-xyz.scm | 261 ++++++++++++++++++++++++++++----------
 1 file changed, 193 insertions(+), 68 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 189280ed0b..accaa4b5ed 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10924,57 +10924,74 @@ (define-public ecl-clog-terminal
   (sbcl-package->ecl-package sbcl-clog-terminal))
 
 (define-public sbcl-clog
-  (package
-    (name "sbcl-clog")
-    (version "2.3")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/rabbibotton/clog")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name "cl-clog" version))
-       (sha256
-        (base32 "175zb93kxnxv0hr8435mkm94fqhjq51wq55ybd55kcyk5y5h2xaf"))))
-    (build-system asdf-build-system/sbcl)
-    (inputs
-     (list sbcl-3bmd
-           sbcl-alexandria
-           sbcl-atomics
-           sbcl-bordeaux-threads
-           sbcl-cl-pass
-           sbcl-cl-ppcre
-           sbcl-cl-sqlite
-           sbcl-cl-template
-           sbcl-clack
-           sbcl-closer-mop
-           sbcl-colorize
-           sbcl-dbi
-           sbcl-hunchentoot
-           sbcl-lack
-           sbcl-mgl-pax
-           sbcl-parse-float
-           sbcl-print-licenses
-           sbcl-quri
-           sbcl-trivial-open-browser
-           sbcl-websocket-driver))
-    (arguments
-     '(#:asd-systems '("clog")
-       #:phases (modify-phases %standard-phases
-                  (add-after 'unpack 'fix-symbol-name
-                    (lambda _
-                      (substitute* "source/clog-docs.lisp"
-                        (("clog:@CLOG-MANUAL")
-                         "clog::@CLOG_MANUAL")))))))
-    (home-page "https://github.com/rabbibotton/clog")
-    (synopsis "Common Lisp Omnificent GUI")
-    (description
-     "This package provides a Common Lisp web framework for building GUI
+  (let ((commit "f736bfa4e4c934affd3218c59541a1ed4ad061f7")
+        (revision "1"))
+    (package
+      (name "sbcl-clog")
+      ;; (version "2.3")
+      (version (git-version "2.3" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/rabbibotton/clog")
+               (commit commit)))
+         (file-name (git-file-name "cl-clog" version))
+         (sha256
+          (base32 "0bb9fxpzn1fc3902nkb16ikdp1vvisq4kzh2dgyj5nr45s22sn5b"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       (list sbcl-3bmd
+             sbcl-alexandria
+             sbcl-atomics
+             sbcl-bordeaux-threads
+             sbcl-cl-pass
+             sbcl-cl-ppcre
+             sbcl-cl-sqlite
+             sbcl-cl-template
+             sbcl-clack
+             sbcl-closer-mop
+             sbcl-colorize
+             sbcl-dbi
+             sbcl-hunchentoot
+             sbcl-lack
+             sbcl-mgl-pax
+             sbcl-parse-float
+             sbcl-print-licenses
+             sbcl-quri
+             sbcl-trivial-open-browser
+             sbcl-websocket-driver))
+      (arguments
+       '(#:asd-systems '("clog")
+         #:phases (modify-phases %standard-phases
+                    ;; (add-after 'unpack 'disable-asdf-systems
+                    ;;   (lambda _
+                    ;;     (substitute* "clog.asd"
+                    ;;       (("\\(asdf:defsystem #:clog/docs")
+                    ;;        "#+(or)(asdf:defsystem #:clog/docs")
+                    ;;       (("\\(asdf:defsystem #:clog/tools")
+                    ;;        "#+(or)(asdf:defsystem #:clog/tools"))))
+                    (add-after 'unpack 'delete-files
+                      (lambda _
+                        (for-each delete-file-recursively
+                                  '(".github"
+                                    "clogframe"
+                                    "demos"
+                                    "doc"
+                                    "source/clog-docs.lisp"
+                                    "templates"
+                                    "test"
+                                    "tools"
+                                    "tutorial")))))))
+      (home-page "https://github.com/rabbibotton/clog")
+      (synopsis "Common Lisp Omnificent GUI")
+      (description
+       "This package provides a Common Lisp web framework for building GUI
 applications.  CLOG can take the place, or work along side, most cross platform
 GUI frameworks and website frameworks.  The CLOG package starts up the
 connectivity to the browser or other websocket client (often a browser embedded
 in a native template application).")
-    (license license:bsd-3)))
+      (license license:bsd-3))))
 
 (define-public cl-clog
   (sbcl-package->cl-source-package sbcl-clog))
@@ -10983,28 +11000,60 @@ (define-public ecl-clog
   (sbcl-package->ecl-package sbcl-clog))
 
 (define-public sbcl-clog-docs
-  (package
-    (inherit sbcl-clog)
-    (name "sbcl-clog-docs")
-    (version "2.3")
-    (inputs
-     (list sbcl-3bmd
-           sbcl-clog
-           sbcl-colorize
-           sbcl-print-licenses))
-    (arguments
-     '(#:asd-systems '("clog/docs")
-       #:phases (modify-phases %standard-phases
-                  (add-after 'unpack 'fix-symbol-name
-                    (lambda _
-                      (substitute* "source/clog-docs.lisp"
-                        (("clog:@CLOG-MANUAL")
-                         "clog::@CLOG_MANUAL")))))))
-    (synopsis "Common Lisp Omnificent GUI documentation")
-    (description
-     "This package provides the documentation for CLOG, a Common Lisp web
+  (let ((commit "f736bfa4e4c934affd3218c59541a1ed4ad061f7")
+        (revision "1"))
+    (package
+      (name "sbcl-clog-docs")
+      (version (git-version "2.3" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/rabbibotton/clog")
+               (commit commit)))
+         (file-name (git-file-name "cl-clog" version))
+         (sha256
+          (base32 "0bb9fxpzn1fc3902nkb16ikdp1vvisq4kzh2dgyj5nr45s22sn5b"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs
+       `(("clog" ,sbcl-clog)))
+      (inputs
+       (list sbcl-3bmd
+             sbcl-clog
+             sbcl-colorize
+             sbcl-print-licenses))
+      (arguments
+       '(#:asd-systems '("clog/docs")
+         #:asd-operation "compile-system"
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'disable-asdf-systems
+             (lambda _
+               (substitute* "clog.asd"
+                 (("\\(asdf:defsystem #:clog\\s+")
+                  "#+(or)(asdf:defsystem #:clog\n")
+                 (("\\(asdf:defsystem #:clog/tools")
+                  "#+(or)(asdf:defsystem #:clog/tools"))))
+           (add-after 'unpack 'fix-symbol-name
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (substitute* "source/clog-docs.lisp"
+                 (("clog:@CLOG-MANUAL")
+                  "clog::@CLOG_MANUAL"))))
+           (add-after 'unpack 'fix-load-path
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (substitute* "source/clog-docs.lisp"
+                 (("\\(load \"([^\"]+)\"\\)" _ source)
+                  (string-append
+                   "(load (namestring (asdf:system-relative-pathname "
+                   (if (member source '("source/clog-docs.lisp"))
+                       ":clog/tools" ":clog")
+                   " \"" source "\")))"))))))))
+      (home-page "https://github.com/rabbibotton/clog")
+      (synopsis "Common Lisp Omnificent GUI documentation")
+      (description
+       "This package provides the documentation for CLOG, a Common Lisp web
 framework for building GUI applications.")
-    (license license:bsd-3)))
+      (license license:bsd-3))))
 
 (define-public cl-clog-docs
   (sbcl-package->cl-source-package sbcl-clog-docs))
@@ -11012,6 +11061,82 @@ (define-public cl-clog-docs
 (define-public ecl-clog-docs
   (sbcl-package->ecl-package sbcl-clog-docs))
 
+(define-public sbcl-clog-tools
+  (let ((commit "f736bfa4e4c934affd3218c59541a1ed4ad061f7")
+        (revision "1"))
+    (package
+      (name "sbcl-clog-tools")
+      ;; (version "2.3")
+      (version (git-version "2.3" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/rabbibotton/clog")
+               (commit commit)))
+         (file-name (git-file-name "cl-clog" version))
+         (sha256
+          (base32 "0bb9fxpzn1fc3902nkb16ikdp1vvisq4kzh2dgyj5nr45s22sn5b"))))
+      (build-system asdf-build-system/sbcl)
+      (propagated-inputs (list sbcl-clog))
+      (inputs
+       (list sbcl-3bmd
+             sbcl-cl-indentify
+             sbcl-clog
+             sbcl-clog-ace
+             sbcl-clog-terminal
+             sbcl-definitions
+             sbcl-parenscript
+             sbcl-plump
+             sbcl-s-base64
+             sbcl-slime-swank
+             sbcl-trivial-main-thread))
+      (arguments
+       '(#:asd-systems '("clog/tools")
+         #:phases (modify-phases %standard-phases
+                    ;; (add-after 'unpack 'disable-asdf-systems
+                    ;;   (lambda _
+                    ;;     (substitute* "clog.asd"
+                    ;;       (("\\(asdf:defsystem #:clog\\s+")
+                    ;;        "#+(or)(asdf:defsystem #:clog\n")
+                    ;;       (("\\(asdf:defsystem #:clog/docs")
+                    ;;        "#+(or)(asdf:defsystem #:clog/docs"))))
+                    ;; (add-after 'unpack 'delete-files
+                    ;;   (lambda _
+                    ;;     (for-each delete-file-recursively
+                    ;;               '(".github"
+                    ;;                 "clogframe"
+                    ;;                 "demos"
+                    ;;                 "doc"
+                    ;;                 "templates"
+                    ;;                 "test"
+                    ;;                 "tutorial"
+                    ;;                 ;; "source"
+                    ;;                 ))
+                    ;;     ;; (substitute* "source/asdf-ext.lisp"
+                    ;;     ;;   ((".*defclass.*") ""))
+                    ;;     ;; (for-each (lambda (file)
+                    ;;     ;;             (when (not (member file '("source/asdf-ext.lisp")))
+                    ;;     ;;               (delete-file-recursively file)))
+                    ;;     ;;           (find-files "source" ".*"))
+                    ;;     ))
+                    )))
+      (home-page "https://github.com/rabbibotton/clog")
+      (synopsis "Common Lisp Omnificent GUI")
+      (description
+       "This package provides a Common Lisp web framework for building GUI
+applications.  CLOG can take the place, or work along side, most cross platform
+GUI frameworks and website frameworks.  The CLOG package starts up the
+connectivity to the browser or other websocket client (often a browser embedded
+in a native template application).")
+      (license license:bsd-3))))
+
+(define-public cl-clog-tools
+  (sbcl-package->cl-source-package sbcl-clog-tools))
+
+(define-public ecl-clog-tools
+  (sbcl-package->ecl-package sbcl-clog-tools))
+
 (define-public sbcl-clop
   (let ((commit "c0c3fe7efa5ac95ba1644febfb2c2acab757fcda")
         (revision "0"))
-- 
2.45.2


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: Help updating CLOG
  2024-09-06 13:57 Help updating CLOG Roman Scherer
@ 2024-09-09 12:43 ` Guillaume Le Vaillant
  2024-09-12 17:24   ` Roman Scherer
  2024-09-12 17:31   ` Roman Scherer
  0 siblings, 2 replies; 4+ messages in thread
From: Guillaume Le Vaillant @ 2024-09-09 12:43 UTC (permalink / raw)
  To: Roman Scherer; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

Hi.

It looks like the "clog/docs" and "clog/tools" systems are defined in
the "clog.asd" file in the sbcl-clog package and also in the
sbcl-clog-docs and sbcl-clog-tools packages. This may be the cause of
the issue.

I suppose you separated "clog/docs" and "clog/tools" systems in their
own packages to break the dependency cycles
  "clog/tools" -> "clog-ace" -> "clog"
and
  "clog/tools" -> "clog-terminal" -> "clog"

However "clog/docs" is not in the cycles, so I think you could build
it directly in the sbcl-clog package with
  #:asd-systems '("clog" "clog/docs")
and also updating the 'delete-files' phase not to remove the files
required by "clog/docs".

Now, concerning the "clog/tools" system, I would try to delete things
related to it from the sbcl-clog package, and remove the things not related
to it from the sbcl-clog-tools package. So the sbcl-clog-tools package
would only have the "tools" directory and a ".asd" file containing only
the definition of the "clog/tools" system.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Help updating CLOG
  2024-09-09 12:43 ` Guillaume Le Vaillant
@ 2024-09-12 17:24   ` Roman Scherer
  2024-09-12 17:31   ` Roman Scherer
  1 sibling, 0 replies; 4+ messages in thread
From: Roman Scherer @ 2024-09-12 17:24 UTC (permalink / raw)
  To: Guillaume Le Vaillant; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1775 bytes --]

Guillaume Le Vaillant <glv@posteo.net> writes:

Hi Guillaume,

thanks for your help. I tried what you suggested and I'm combining clog
and clog/docs now. I pushed it here: https://github.com/r0man/guix/tree/clog

But I'm not sure I'm much further. Now I'm seeing the following error
when I try to build the sbcl-clog-tools package:

  Component #:CLOG not found, required by #<SYSTEM "clog/tools">

I added sbcl-clog to its inputs, but somehow asdf can't find the
system. I saw this error in one of my previous experiments as well.

Any idea why sbcl-clog-tools can't find the clog system? I believe the
sbcl-clog package is more or less fine, since I can build sbcl-clog-ace,
another package that uses the clog system.

Thanks, Roman.

> Hi.
>
> It looks like the "clog/docs" and "clog/tools" systems are defined in
> the "clog.asd" file in the sbcl-clog package and also in the
> sbcl-clog-docs and sbcl-clog-tools packages. This may be the cause of
> the issue.
>
> I suppose you separated "clog/docs" and "clog/tools" systems in their
> own packages to break the dependency cycles
>   "clog/tools" -> "clog-ace" -> "clog"
> and
>   "clog/tools" -> "clog-terminal" -> "clog"
>
> However "clog/docs" is not in the cycles, so I think you could build
> it directly in the sbcl-clog package with
>   #:asd-systems '("clog" "clog/docs")
> and also updating the 'delete-files' phase not to remove the files
> required by "clog/docs".
>
> Now, concerning the "clog/tools" system, I would try to delete things
> related to it from the sbcl-clog package, and remove the things not related
> to it from the sbcl-clog-tools package. So the sbcl-clog-tools package
> would only have the "tools" directory and a ".asd" file containing only
> the definition of the "clog/tools" system.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Help updating CLOG
  2024-09-09 12:43 ` Guillaume Le Vaillant
  2024-09-12 17:24   ` Roman Scherer
@ 2024-09-12 17:31   ` Roman Scherer
  1 sibling, 0 replies; 4+ messages in thread
From: Roman Scherer @ 2024-09-12 17:31 UTC (permalink / raw)
  To: Guillaume Le Vaillant; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 8698 bytes --]

Guillaume Le Vaillant <glv@posteo.net> writes:

I forgot to attach the log of the error:

starting phase `configure'

warning: collision encountered:
  /gnu/store/cfzwm4yq78c39iqxlr146jr2lk1rl09c-ld-wrapper-0/bin/ld
  /gnu/store/pqai4n95zn5wdw430gslb00sb967jdg8-binutils-2.41/bin/ld
warning: choosing /gnu/store/cfzwm4yq78c39iqxlr146jr2lk1rl09c-ld-wrapper-0/bin/ld
phase `configure' succeeded after 0.2 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
Invoking sbcl: "/gnu/store/qhjivbf0fsgn62n4yy7xznwbzx7lf50l-sbcl-2.4.7/bin/sbcl" "--non-interactive" "--eval" "(require :asdf)" "--eval" "(asdf:initialize-source-registry (list :source-registry (list :tree (uiop:ensure-pathname \"/gnu/store/8m3q4rprirby1884dx3slzkgsplc2xv0-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools\" :truenamize t :ensure-directory t)) :inherit-configuration))" "--eval" "(asdf:load-system \"clog/tools\")" 
This is SBCL 2.4.7, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
Unhandled ASDF/FIND-COMPONENT:MISSING-DEPENDENCY in thread #<SB-THREAD:THREAD tid=27 "main thread" RUNNING
                                                              {1001890003}>:
  Component #:CLOG not found, required by #<SYSTEM "clog/tools">

Backtrace for: #<SB-THREAD:THREAD tid=27 "main thread" RUNNING {1001890003}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK Component #:CLOG not found, required by #<SYSTEM "clog/tools"> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* Component #:CLOG not found, required by #<SYSTEM "clog/tools">)
2: (INVOKE-DEBUGGER Component #:CLOG not found, required by #<SYSTEM "clog/tools">)
3: (ERROR ASDF/FIND-COMPONENT:MISSING-DEPENDENCY :REQUIRED-BY #<ASDF/SYSTEM:SYSTEM "clog/tools"> :REQUIRES #:CLOG)
4: (ASDF/FIND-COMPONENT:RESOLVE-DEPENDENCY-NAME #<ASDF/SYSTEM:SYSTEM "clog/tools"> #:CLOG NIL)
5: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/SYSTEM:SYSTEM "clog/tools"> #<FUNCTION (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10085EC81B}>)
6: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
7: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
8: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {10085DDBE3}> #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/SYSTEM:SYSTEM "clog/tools"> T)
9: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "clog/tools" "clog-db-admin"> #<FUNCTION (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10085EC6AB}>)
10: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
11: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
12: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {10085DDBE3}> #<ASDF/LISP-ACTION:PREPARE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "clog/tools" "clog-db-admin"> T)
13: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "clog/tools" "clog-db-admin"> #<FUNCTION (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10085EAA2B}>)
14: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
15: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
16: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {10085DDBE3}> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "clog/tools" "clog-db-admin"> T)
17: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "clog/tools"> #<FUNCTION (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {10085E8D2B}>)
18: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
19: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
20: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {10085DDBE3}> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "clog/tools"> T)
21: ((LAMBDA NIL :IN ASDF/PLAN:MAKE-PLAN))
22: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "clog/tools"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method]
23: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "clog/tools">)
24: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
25: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "clog/tools">) [fast-method]
26: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/LISP-ACTION:LOAD-OP "clog/tools")
27: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
28: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<FUNCTION (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {1006A29BFB}> :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
29: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-OP "clog/tools") [fast-method]
30: (ASDF/OPERATE:LOAD-SYSTEM "clog/tools")
31: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF/OPERATE:LOAD-SYSTEM "clog/tools") #<NULL-LEXENV>)
32: (EVAL (ASDF/OPERATE:LOAD-SYSTEM "clog/tools"))
33: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:EVAL . "(require :asdf)") (:EVAL . #<(SIMPLE-ARRAY CHARACTER (260)) (asdf:initialize-source-registry (list :source-registry (list :tree (uiop:ensure-pathname "/gnu/store/8m3q4rprirby1884dx3slzkgsplc2xv0-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools" ... {10018B037F}>) (:EVAL . "(asdf:load-system \"clog/tools\")") (:QUIT)))
34: (SB-IMPL::TOPLEVEL-INIT)
35: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
36: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
37: (SB-IMPL::%START-LISP)

unhandled condition in --disable-debugger mode, quitting
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "/gnu/store/qhjivbf0fsgn62n4yy7xznwbzx7lf50l-sbcl-2.4.7/bin/sbcl" arguments: ("--non-interactive" "--eval" "(require :asdf)" "--eval" "(asdf:initialize-source-registry (list :source-registry (list :tree (uiop:ensure-pathname \"/gnu/store/8m3q4rprirby1884dx3slzkgsplc2xv0-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools\" :truenamize t :ensure-directory t)) :inherit-configuration))" "--eval" "(asdf:load-system \"clog/tools\")") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `build' failed after 0.2 seconds
command "/gnu/store/qhjivbf0fsgn62n4yy7xznwbzx7lf50l-sbcl-2.4.7/bin/sbcl" "--non-interactive" "--eval" "(require :asdf)" "--eval" "(asdf:initialize-source-registry (list :source-registry (list :tree (uiop:ensure-pathname \"/gnu/store/8m3q4rprirby1884dx3slzkgsplc2xv0-sbcl-clog-tools-2.3-1.f736bfa/share/common-lisp/sbcl/clog-tools\" :truenamize t :ensure-directory t)) :inherit-configuration))" "--eval" "(asdf:load-system \"clog/tools\")" failed with status 1
build process 12 exited with status 256
note: keeping build directory `/tmp/guix-build-sbcl-clog-tools-2.3-1.f736bfa.drv-4'
builder for `/gnu/store/cm08av6vwzmxwa9m1gdc32z22abm921y-sbcl-clog-tools-2.3-1.f736bfa.drv' failed with exit code 1
build of /gnu/store/cm08av6vwzmxwa9m1gdc32z22abm921y-sbcl-clog-tools-2.3-1.f736bfa.drv failed
Could not find build log for '/gnu/store/cm08av6vwzmxwa9m1gdc32z22abm921y-sbcl-clog-tools-2.3-1.f736bfa.drv'.
guix build: error: build of `/gnu/store/cm08av6vwzmxwa9m1gdc32z22abm921y-sbcl-clog-tools-2.3-1.f736bfa.drv' failed


> Hi.
>
> It looks like the "clog/docs" and "clog/tools" systems are defined in
> the "clog.asd" file in the sbcl-clog package and also in the
> sbcl-clog-docs and sbcl-clog-tools packages. This may be the cause of
> the issue.
>
> I suppose you separated "clog/docs" and "clog/tools" systems in their
> own packages to break the dependency cycles
>   "clog/tools" -> "clog-ace" -> "clog"
> and
>   "clog/tools" -> "clog-terminal" -> "clog"
>
> However "clog/docs" is not in the cycles, so I think you could build
> it directly in the sbcl-clog package with
>   #:asd-systems '("clog" "clog/docs")
> and also updating the 'delete-files' phase not to remove the files
> required by "clog/docs".
>
> Now, concerning the "clog/tools" system, I would try to delete things
> related to it from the sbcl-clog package, and remove the things not related
> to it from the sbcl-clog-tools package. So the sbcl-clog-tools package
> would only have the "tools" directory and a ".asd" file containing only
> the definition of the "clog/tools" system.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-12 17:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-06 13:57 Help updating CLOG Roman Scherer
2024-09-09 12:43 ` Guillaume Le Vaillant
2024-09-12 17:24   ` Roman Scherer
2024-09-12 17:31   ` Roman Scherer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.