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

[Question] Log lines 25 #103

Open
jcs090218 opened this issue Nov 29, 2024 · 3 comments
Open

[Question] Log lines 25 #103

jcs090218 opened this issue Nov 29, 2024 · 3 comments

Comments

@jcs090218
Copy link
Member

I'm trying to package a Common Lisp app and it prints the error, see https://github.com/jcs090218/nur/actions/runs/12081949233/job/33692062227#step:7:356.

So my question is: I want to see more than 25 lines; how can I do that? 🤔

@fgaz
Copy link
Collaborator

fgaz commented Nov 29, 2024

You can add the -L option to the nix command. We should probably add it to the template too

@jcs090218
Copy link
Member Author

I've tried jcs090218/nur@f0c173c, but doesn't seem to work. 🤔

@Pandapip1
Copy link

You can try running it locally:

  gavin  ~   10:11  
 nix build github:jcs090218/nur/f0c173c82f48d442b166e19e0687ce0ef9e5b3ad#qob-cli --print-build-logs 
qob-cli> Running phase: unpackPhase
qob-cli> unpacking source archive /nix/store/ywx63g5f0bcfngz1cnygwkvpbp6s9mq5-source
qob-cli> source root is source
qob-cli> Running phase: patchPhase
qob-cli> Running phase: updateAutotoolsGnuConfigScriptsPhase
qob-cli> Running phase: configurePhase
qob-cli> no configure script, doing nothing
qob-cli> Running phase: buildPhase
qob-cli> build flags: SHELL=/nix/store/a1s263pmsci9zykm5xcdf7x9rv26w6d5-bash-5.2p26/bin/bash build
qob-cli> Building...
qob-cli> sbcl --noinform --script './scripts/build.lisp'
qob-cli> While evaluating the form starting at line 7, column 0
qob-cli>   of #P"/build/source/scripts/_prepare.lisp":
qob-cli> Unhandled SB-INT:SIMPLE-FILE-ERROR in thread #<SB-THREAD:THREAD tid=37 "main thread" RUNNING
qob-cli>                                                 {10004C8113}>:
qob-cli>   Couldn't load "~/quicklisp/setup.lisp": file does not exist.
qob-cli> Backtrace for: #<SB-THREAD:THREAD tid=37 "main thread" RUNNING {10004C8113}>
qob-cli> 0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SB-INT:SIMPLE-FILE-ERROR "~@<Couldn't load ~S: file does not exist.~@:>" {1003560B23}> #<unused argument> :QUIT T)
qob-cli> 1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SB-INT:SIMPLE-FILE-ERROR "~@<Couldn't load ~S: file does not exist.~@:>" {1003560B23}>)
qob-cli> 2: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-FILE-ERROR "~@<Couldn't load ~S: file does not exist.~@:>" {1003560B23}>)
qob-cli> 3: (ERROR SB-INT:SIMPLE-FILE-ERROR :PATHNAME "~/quicklisp/setup.lisp" :FORMAT-CONTROL "~@<Couldn't load ~S: file does not exist.~@:>" :FORMAT-ARGUMENTS ("~/quicklisp/setup.lisp"))
qob-cli> 4: (LOAD "~/quicklisp/setup.lisp" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
qob-cli> 5: (SB-INT:SIMPLE-EVAL-IN-LEXENV (LOAD "~/quicklisp/setup.lisp") #<NULL-LEXENV>)
qob-cli> 6: (EVAL-TLF (LOAD "~/quicklisp/setup.lisp") 1 NIL)
qob-cli> 7: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (LOAD "~/quicklisp/setup.lisp") 1)
qob-cli> 8: ((LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) (LOAD "~/quicklisp/setup.lisp") :CURRENT-INDEX 1)
qob-cli> 9: (SB-C::%DO-FORMS-FROM-INFO #<FUNCTION (LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) {7FFFEFAAE9EB}> #<SB-C::SOURCE-INFO {1001CE3173}> SB-C::INPUT-ERROR-IN-LOAD)
qob-cli> 10: (SB-INT:LOAD-AS-SOURCE #<SB-INT:FORM-TRACKING-STREAM for "file /build/source/scripts/_prepare.lisp" {10004CA863}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
qob-cli> 11: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<SB-INT:FORM-TRACKING-STREAM for "file /build/source/scripts/_prepare.lisp" {10004CA863}> NIL)
qob-cli> 12: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {7FFFEFAAEDAB}> #<SB-INT:FORM-TRACKING-STREAM for "file /build/source/scripts/_prepare.lisp" {10004CA863}> NIL #<SB-INT:FORM-TRACKING-STREAM for "file /build/source/scripts/_prepare.lisp" {10004CA863}>)
qob-cli> 13: (LOAD "scripts/_prepare.lisp" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
qob-cli> 14: (SB-INT:SIMPLE-EVAL-IN-LEXENV (LOAD "scripts/_prepare.lisp") #<NULL-LEXENV>)
qob-cli> 15: (EVAL-TLF (LOAD "scripts/_prepare.lisp") 0 NIL)
qob-cli> 16: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (LOAD "scripts/_prepare.lisp") 0)
qob-cli> 17: ((LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) (LOAD "scripts/_prepare.lisp") :CURRENT-INDEX 0)
qob-cli> 18: (SB-C::%DO-FORMS-FROM-INFO #<FUNCTION (LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) {7FFFEFAAF3DB}> #<SB-C::SOURCE-INFO {1001CE2773}> SB-C::INPUT-ERROR-IN-LOAD)
qob-cli> 19: (SB-INT:LOAD-AS-SOURCE #<SB-SYS:FD-STREAM for "file /build/source/./scripts/build.lisp" {10004C8FC3}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
qob-cli> 20: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<SB-SYS:FD-STREAM for "file /build/source/./scripts/build.lisp" {10004C8FC3}> NIL)
qob-cli> 21: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {7FFFEFAAF79B}> #<SB-SYS:FD-STREAM for "file /build/source/./scripts/build.lisp" {10004C8FC3}> NIL #<SB-SYS:FD-STREAM for "file /build/source/./scripts/build.lisp" {10004C8FC3}>)
qob-cli> 22: (LOAD #<SB-SYS:FD-STREAM for "file /build/source/./scripts/build.lisp" {10004C8FC3}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
qob-cli> 23: ((FLET SB-IMPL::LOAD-SCRIPT :IN SB-IMPL::PROCESS-SCRIPT) #<SB-SYS:FD-STREAM for "file /build/source/./scripts/build.lisp" {10004C8FC3}>)
qob-cli> 24: ((FLET SB-UNIX::BODY :IN SB-IMPL::PROCESS-SCRIPT))
qob-cli> 25: ((FLET "WITHOUT-INTERRUPTS-BODY-" :IN SB-IMPL::PROCESS-SCRIPT))
qob-cli> 26: (SB-IMPL::PROCESS-SCRIPT "./scripts/build.lisp")
qob-cli> 27: (SB-IMPL::TOPLEVEL-INIT)
qob-cli> 28: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
qob-cli> 29: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
qob-cli> 30: (SB-IMPL::%START-LISP)
qob-cli> unhandled condition in --disable-debugger mode, quitting
qob-cli> make: *** [Makefile:11: build] Error 1
error: builder for '/nix/store/xwg4ajxwyb1npkm5v3r530cj5m23190n-qob-cli-0.1.4.drv' failed with exit code 2;
       last 25 log lines:
       > 9: (SB-C::%DO-FORMS-FROM-INFO #<FUNCTION (LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) {7FFFEFAAE9EB}> #<SB-C::SOURCE-INFO {1001CE3173}> SB-C::INPUT-ERROR-IN-LOAD)
       > 10: (SB-INT:LOAD-AS-SOURCE #<SB-INT:FORM-TRACKING-STREAM for "file /build/source/scripts/_prepare.lisp" {10004CA863}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
       > 11: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<SB-INT:FORM-TRACKING-STREAM for "file /build/source/scripts/_prepare.lisp" {10004CA863}> NIL)
       > 12: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {7FFFEFAAEDAB}> #<SB-INT:FORM-TRACKING-STREAM for "file /build/source/scripts/_prepare.lisp" {10004CA863}> NIL #<SB-INT:FORM-TRACKING-STREAM for "file /build/source/scripts/_prepare.lisp" {10004CA863}>)
       > 13: (LOAD "scripts/_prepare.lisp" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
       > 14: (SB-INT:SIMPLE-EVAL-IN-LEXENV (LOAD "scripts/_prepare.lisp") #<NULL-LEXENV>)
       > 15: (EVAL-TLF (LOAD "scripts/_prepare.lisp") 0 NIL)
       > 16: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (LOAD "scripts/_prepare.lisp") 0)
       > 17: ((LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) (LOAD "scripts/_prepare.lisp") :CURRENT-INDEX 0)
       > 18: (SB-C::%DO-FORMS-FROM-INFO #<FUNCTION (LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) {7FFFEFAAF3DB}> #<SB-C::SOURCE-INFO {1001CE2773}> SB-C::INPUT-ERROR-IN-LOAD)
       > 19: (SB-INT:LOAD-AS-SOURCE #<SB-SYS:FD-STREAM for "file /build/source/./scripts/build.lisp" {10004C8FC3}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
       > 20: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<SB-SYS:FD-STREAM for "file /build/source/./scripts/build.lisp" {10004C8FC3}> NIL)
       > 21: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {7FFFEFAAF79B}> #<SB-SYS:FD-STREAM for "file /build/source/./scripts/build.lisp" {10004C8FC3}> NIL #<SB-SYS:FD-STREAM for "file /build/source/./scripts/build.lisp" {10004C8FC3}>)
       > 22: (LOAD #<SB-SYS:FD-STREAM for "file /build/source/./scripts/build.lisp" {10004C8FC3}> :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
       > 23: ((FLET SB-IMPL::LOAD-SCRIPT :IN SB-IMPL::PROCESS-SCRIPT) #<SB-SYS:FD-STREAM for "file /build/source/./scripts/build.lisp" {10004C8FC3}>)
       > 24: ((FLET SB-UNIX::BODY :IN SB-IMPL::PROCESS-SCRIPT))
       > 25: ((FLET "WITHOUT-INTERRUPTS-BODY-" :IN SB-IMPL::PROCESS-SCRIPT))
       > 26: (SB-IMPL::PROCESS-SCRIPT "./scripts/build.lisp")
       > 27: (SB-IMPL::TOPLEVEL-INIT)
       > 28: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
       > 29: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
       > 30: (SB-IMPL::%START-LISP)
       >
       > unhandled condition in --disable-debugger mode, quitting
       > make: *** [Makefile:11: build] Error 1
       For full logs, run 'nix log /nix/store/xwg4ajxwyb1npkm5v3r530cj5m23190n-qob-cli-0.1.4.drv'.

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

3 participants