Guillaume Le Vaillant <[email protected]> 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: signature.asc
Description: PGP signature

Reply via email to