Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osx-app-deploy-op failed #26

Open
hauter opened this issue Sep 14, 2024 · 5 comments
Open

osx-app-deploy-op failed #26

hauter opened this issue Sep 14, 2024 · 5 comments

Comments

@hauter
Copy link

hauter commented Sep 14, 2024

debugger invoked on a SB-KERNEL::ARG-COUNT-ERROR in thread
#<THREAD tid=259 "main thread" RUNNING {7004F60733}>:
  Error while parsing arguments to DESTRUCTURING-BIND:
    too few elements in
      ()
    to satisfy lambda list
      (FILE DIR):
    exactly 2 expected, but got 0

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

@Shinmera
Copy link
Owner

Please also post the resulting backtrace.

@hauter
Copy link
Author

hauter commented Sep 14, 2024

(defsystem "ltk-app"
  :version "0.0.1"
  :author ""
  :license ""
  :depends-on (#:ltk)
  :defsystem-depends-on (:deploy)
  ;; :build-operation "deploy-op"
  :build-operation "osx-app-deploy-op"
  :build-pathname "ltk-app"
  :entry-point "ltk-app:main"
  :components ((:module "src"
                :components
                ((:file "main"))))
  :description "")
* (ql:quickload :ltk-app)
To load "ltk-app":
  Load 1 ASDF system:
    ltk-app
; Loading "ltk-app"

(:LTK-APP)
* (asdf:make :ltk-app)

debugger invoked on a SB-KERNEL::ARG-COUNT-ERROR in thread
#<THREAD tid=259 "main thread" RUNNING {7004F60733}>:
  Error while parsing arguments to DESTRUCTURING-BIND:
    too few elements in
      ()
    to satisfy lambda list
      (FILE DIR):
    exactly 2 expected, but got 0

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY                        ] Retry ASDF operation.
  1: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
                                     configuration.
  2:                                 Retry ASDF operation.
  3:                                 Retry ASDF operation after resetting the
                                     configuration.
  4: [ABORT                        ] Exit debugger, returning to top level.

(SB-C::CHECK-DS-LIST #<unavailable argument> #<unavailable argument> #<unavailable argument> #<unavailable argument>)

@hauter
Copy link
Author

hauter commented Sep 14, 2024

BTW, the operation deploy-op works and can generate the .app file.

@Shinmera
Copy link
Owner

That's not the backtrace. Please type backtrace in the debugger and post the output.

@hauter
Copy link
Author

hauter commented Sep 14, 2024

Backtrace for: #<SB-THREAD:THREAD tid=259 "main thread" RUNNING {7004F60733}>
0: (SB-C::CHECK-DS-LIST #<unavailable argument> #<unavailable argument> #<unavailable argument> #<unavailable argument>)
1: ((:METHOD ASDF/ACTION:OUTPUT-FILES (DEPLOY:OSX-APP-DEPLOY-OP ASDF/SYSTEM:SYSTEM)) #<DEPLOY:OSX-APP-DEPLOY-OP > #<ASDF/SYSTEM:SYSTEM "ltk-app">) [fast-method]
2: ((LAMBDA NIL :IN ASDF/ACTION:OUTPUT-FILES))
3: (ASDF/SESSION:CONSULT-ASDF-CACHE (ASDF/ACTION:OUTPUT-FILES #<DEPLOY:OSX-APP-DEPLOY-OP > #<ASDF/SYSTEM:SYSTEM "ltk-app">) #<FUNCTION (LAMBDA NIL :IN ASDF/ACTION:OUTPUT-FILES) {7007CE800B}>)
4: ((:METHOD ASDF/PLAN:NEEDED-IN-IMAGE-P (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<DEPLOY:OSX-APP-DEPLOY-OP > #<ASDF/SYSTEM:SYSTEM "ltk-app">) [fast-method]
5: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
6: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
7: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {7007CF1033}> #<DEPLOY:OSX-APP-DEPLOY-OP > #<ASDF/SYSTEM:SYSTEM "ltk-app"> T)
8: (ASDF/PLAN:MAP-DIRECT-DEPENDENCIES #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "ltk-app"> #<FUNCTION (LAMBDA (ASDF/PLAN::O ASDF/PLAN::C) :IN ASDF/PLAN:TRAVERSE-ACTION) {7007CE66AB}>)
9: ((LAMBDA NIL :IN ASDF/PLAN:TRAVERSE-ACTION))
10: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
11: (ASDF/PLAN:TRAVERSE-ACTION #<ASDF/PLAN:SEQUENTIAL-PLAN {7007CF1033}> #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "ltk-app"> T)
12: ((LAMBDA NIL :IN ASDF/PLAN:MAKE-PLAN))
13: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "ltk-app"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-method]
14: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "ltk-app">)
15: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
16: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) #<ASDF/OPERATE:BUILD-OP > #<ASDF/SYSTEM:SYSTEM "ltk-app">) [fast-method]
17: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) #<unused argument> #<unused argument> ASDF/OPERATE:BUILD-OP :LTK-APP)
18: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
19: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/OPERATE:BUILD-OP :LTK-APP) [fast-method]
20: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<FUNCTION (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {700911012B}> :OVERRIDE T :KEY NIL :OVERRIDE-CACHE T :OVERRIDE-FORCING NIL)
21: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
22: (ASDF/SESSION:CALL-WITH-ASDF-SESSION #<FUNCTION (LAMBDA NIL :IN ASDF/OPERATE:OPERATE) {700911009B}> :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
23: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/OPERATE:BUILD-OP :LTK-APP) [fast-method]
24: (ASDF/OPERATE:MAKE :LTK-APP)
25: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF/OPERATE:MAKE :LTK-APP) #<NULL-LEXENV>)
26: (EVAL (ASDF/OPERATE:MAKE :LTK-APP))
27: (INTERACTIVE-EVAL (ASDF/OPERATE:MAKE :LTK-APP) :EVAL NIL)
28: (SB-IMPL::REPL-FUN NIL)
29: ((LAMBDA NIL :IN SB-IMPL::TOPLEVEL-REPL))
30: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<FUNCTION (LAMBDA NIL :IN SB-IMPL::TOPLEVEL-REPL) {10079048B}>)
31: (SB-IMPL::TOPLEVEL-REPL NIL)
32: (SB-IMPL::TOPLEVEL-INIT)
33: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
34: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
35: (SB-IMPL::%START-LISP)

Sorry, I am not proficient in Common Lisp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants