Bug 270702 - math/fricas: invoke a debugger interactively
Summary: math/fricas: invoke a debugger interactively
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-08 12:45 UTC by Thierry Thomas
Modified: 2023-04-08 12:45 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2023-04-08 12:45:08 UTC
When building math/fricas, a debugger is invoked, and the build cannot continue:

[00:00:23] [01] [00:00:00] Building math/fricas | fricas-1.3.8

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

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE      ] Retry calling IN-PACKAGE.
  1: [USE-VALUE     ] Call specified function.
  2: [RETURN-VALUE  ] Return specified values.
  3: [RETURN-NOTHING] Return zero values.
  4: [RETRY         ] Retry EVAL of current toplevel form.
  5:                  Ignore error and continue loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  6: [ABORT         ] Abort loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  7:                  Exit debugger, returning to top level.

("undefined function" "BOOTTRAN")
0] 0

While evaluating the form starting at line 77, column 0
  of #P"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp":

debugger invoked on a SB-INT:SIMPLE-STREAM-ERROR @21A00904 in thread
#<THREAD "main thread" RUNNING {1001DE0003}>:
  couldn't read from #<SB-SYS:FD-STREAM for "the terminal" {1001DDC533}>:
    Input/output error

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

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT   ] Reduce debugger level (to debug level 1).
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2: [CONTINUE] Ignore error and continue loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  3:            Abort loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  4:            Exit debugger, returning to top level.
While evaluating the form starting at line 77, column 0
  of #P"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp":

debugger invoked on a SB-INT:SIMPLE-STREAM-ERROR @21A00904 in thread
#<THREAD "main thread" RUNNING {1001DE0003}>:
  couldn't read from #<SB-SYS:FD-STREAM for "the terminal" {1001DDC533}>:
    Input/output error

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

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT   ] Reduce debugger level (to debug level 1).
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2: [CONTINUE] Ignore error and continue loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  3:            Abort loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  4:            Exit debugger, returning to top level.
While evaluating the form starting at line 77, column 0
  of #P"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp":

debugger invoked on a SB-INT:SIMPLE-STREAM-ERROR @21A00904 in thread
#<THREAD "main thread" RUNNING {1001DE0003}>:
  couldn't read from #<SB-SYS:FD-STREAM for "the terminal" {1001DDC533}>:
    Input/output error

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

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT   ] Reduce debugger level (to debug level 1).
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2: [CONTINUE] Ignore error and continue loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  3:            Abort loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  4:            Exit debugger, returning to top level.
While evaluating the form starting at line 77, column 0
  of #P"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp":

debugger invoked on a SB-INT:SIMPLE-STREAM-ERROR @21A00904 in thread
#<THREAD "main thread" RUNNING {1001DE0003}>:
  couldn't read from #<SB-SYS:FD-STREAM for "the terminal" {1001DDC533}>:
    Input/output error

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

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT   ] Reduce debugger level (to debug level 1).
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2: [CONTINUE] Ignore error and continue loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  3:            Abort loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  4:            Exit debugger, returning to top level.
While evaluating the form starting at line 77, column 0
  of #P"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp":

debugger invoked on a SB-INT:SIMPLE-STREAM-ERROR @21A00904 in thread
#<THREAD "main thread" RUNNING {1001DE0003}>:
  couldn't read from #<SB-SYS:FD-STREAM for "the terminal" {1001DDC533}>:
    Input/output error

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

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT   ] Reduce debugger level (to debug level 1).
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2: [CONTINUE] Ignore error and continue loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  3:            Abort loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  4:            Exit debugger, returning to top level.
While evaluating the form starting at line 77, column 0
  of #P"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp":

debugger invoked on a SB-INT:SIMPLE-STREAM-ERROR @21A00904 in thread
#<THREAD "main thread" RUNNING {1001DE0003}>:
  couldn't read from #<SB-SYS:FD-STREAM for "the terminal" {1001DDC533}>:
    Input/output error

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

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT   ] Reduce debugger level (to debug level 1).
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2: [CONTINUE] Ignore error and continue loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  3:            Abort loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  4:            Exit debugger, returning to top level.
While evaluating the form starting at line 77, column 0
  of #P"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp":

debugger invoked on a SB-INT:SIMPLE-STREAM-ERROR @21A00904 in thread
#<THREAD "main thread" RUNNING {1001DE0003}>:
  couldn't read from #<SB-SYS:FD-STREAM for "the terminal" {1001DDC533}>:
    Input/output error

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

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT   ] Reduce debugger level (to debug level 1).
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2: [CONTINUE] Ignore error and continue loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  3:            Abort loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  4:            Exit debugger, returning to top level.
While evaluating the form starting at line 77, column 0
  of #P"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp":

debugger invoked on a SB-INT:SIMPLE-STREAM-ERROR @21A00904 in thread
#<THREAD "main thread" RUNNING {1001DE0003}>:
  couldn't read from #<SB-SYS:FD-STREAM for "the terminal" {1001DDC533}>:
    Input/output error

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

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT   ] Reduce debugger level (to debug level 1).
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2: [CONTINUE] Ignore error and continue loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  3:            Abort loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  4:            Exit debugger, returning to top level.
While evaluating the form starting at line 77, column 0
  of #P"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp":

debugger invoked on a SB-INT:SIMPLE-STREAM-ERROR @21A00904 in thread
#<THREAD "main thread" RUNNING {1001DE0003}>:
  couldn't read from #<SB-SYS:FD-STREAM for "the terminal" {1001DDC533}>:
    Input/output error

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

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT   ] Reduce debugger level (to debug level 1).
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2: [CONTINUE] Ignore error and continue loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  3:            Abort loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  4:            Exit debugger, returning to top level.
Help! 11 nested errors. SB-KERNEL:*MAXIMUM-ERROR-DEPTH* exceeded.
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1001DE0003}>
0: ("undefined function" "BOOTTRAN")
1: (SB-INT:SIMPLE-EVAL-IN-LEXENV (BOOT::IN-PACKAGE "BOOTTRAN") #<NULL-LEXENV>)
2: (EVAL-TLF (BOOT::IN-PACKAGE "BOOTTRAN") 11 NIL)
3: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (BOOT::IN-PACKAGE "BOOTTRAN") 11)
4: ((LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) (BOOT::IN-PACKAGE "BOOTTRAN") :CURRENT-INDEX 11)
5: (SB-C::%DO-FORMS-FROM-INFO #<FUNCTION (LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) {1001DC327B}> #<SB-C::SOURCE-INFO {1001DCDA53}> SB-C::INPUT-ERROR-IN-LOAD)
6: (SB-INT:LOAD-AS-SOURCE #<SB-INT:FORM-TRACKING-STREAM for "file /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp" {1001DC1753}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
7: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<SB-INT:FORM-TRACKING-STREAM for "file /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp" {1001DC1753}> NIL)
8: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {828BAF7EB}> #<SB-INT:FORM-TRACKING-STREAM for "file /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp" {1001DC1753}> NIL #<SB-INT:FORM-TRACKING-STREAM for "file /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp" {1001DC1753}>)
9: (LOAD "fricas-package.lisp" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
10: (SB-INT:SIMPLE-EVAL-IN-LEXENV (LOAD "fricas-package.lisp") #<NULL-LEXENV>)
11: (EVAL (LOAD "fricas-package.lisp"))
12: (INTERACTIVE-EVAL (LOAD "fricas-package.lisp") :EVAL NIL)
13: (SB-IMPL::REPL-FUN T)
14: ((LAMBDA NIL :IN SB-IMPL::TOPLEVEL-REPL))
15: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<FUNCTION (LAMBDA NIL :IN SB-IMPL::TOPLEVEL-REPL) {828BAFC1B}>)
16: (SB-IMPL::TOPLEVEL-REPL T)
17: (SB-IMPL::TOPLEVEL-INIT)
18: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
19: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
20: (SB-IMPL::%START-LISP)

debugger invoked on a SIMPLE-ERROR @21A00904 in thread #<THREAD "main thread" RUNNING {1001DE0003}>: Maximum error nesting depth exceeded

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

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT   ] Reduce debugger level (to debug level 1).
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2: [CONTINUE] Ignore error and continue loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  3:            Abort loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  4:            Exit debugger, returning to top level.
Help! ERROR-ERROR is 2 levels deep. Will try to reset the IO streams and disable debugger hooks.
Help! 11 nested errors. SB-KERNEL:*MAXIMUM-ERROR-DEPTH* exceeded.
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1001DE0003}>
0: ("undefined function" "BOOTTRAN")
1: (SB-INT:SIMPLE-EVAL-IN-LEXENV (BOOT::IN-PACKAGE "BOOTTRAN") #<NULL-LEXENV>)
2: (EVAL-TLF (BOOT::IN-PACKAGE "BOOTTRAN") 11 NIL)
3: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (BOOT::IN-PACKAGE "BOOTTRAN") 11)
4: ((LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) (BOOT::IN-PACKAGE "BOOTTRAN") :CURRENT-INDEX 11)
5: (SB-C::%DO-FORMS-FROM-INFO #<FUNCTION (LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) {1001DC327B}> #<SB-C::SOURCE-INFO {1001DCDA53}> SB-C::INPUT-ERROR-IN-LOAD)
6: (SB-INT:LOAD-AS-SOURCE #<SB-INT:FORM-TRACKING-STREAM for "file /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp" {1001DC1753}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
7: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<SB-INT:FORM-TRACKING-STREAM for "file /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp" {1001DC1753}> NIL)
8: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {828BAF7EB}> #<SB-INT:FORM-TRACKING-STREAM for "file /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp" {1001DC1753}> NIL #<SB-INT:FORM-TRACKING-STREAM for "file /wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp" {1001DC1753}>)
9: (LOAD "fricas-package.lisp" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST :ERROR :EXTERNAL-FORMAT :DEFAULT)
10: (SB-INT:SIMPLE-EVAL-IN-LEXENV (LOAD "fricas-package.lisp") #<NULL-LEXENV>)
11: (EVAL (LOAD "fricas-package.lisp"))
12: (INTERACTIVE-EVAL (LOAD "fricas-package.lisp") :EVAL NIL)
13: (SB-IMPL::REPL-FUN T)
14: ((LAMBDA NIL :IN SB-IMPL::TOPLEVEL-REPL))
15: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<FUNCTION (LAMBDA NIL :IN SB-IMPL::TOPLEVEL-REPL) {828BAFC1B}>)
16: (SB-IMPL::TOPLEVEL-REPL T)
17: (SB-IMPL::TOPLEVEL-INIT)
18: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
19: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
20: (SB-IMPL::%START-LISP)

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

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT   ] Reduce debugger level (to debug level 1).
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2: [CONTINUE] Ignore error and continue loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  3:            Abort loading file "/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.lisp".
  4:            Exit debugger, returning to top level.
Help! ERROR-ERROR is 3 levels deep. Will try to THROW this thread to the toplevel.
[00:01:28] [01] [00:01:05] Finished math/fricas | fricas-1.3.8: Failed: build
[00:01:28] Stopping 1 builders
[00:01:29] Creating pkg repository
Creating repository in /tmp/packages: 100%
Packing files for repository: 100%
[00:01:30] Committing packages to repository: /usr/local/poudriere/data/packages/14amd64-default/.real_1680957846 via .latest symlink
[00:01:30] Removing old packages
[00:01:30] Failed ports: math/fricas:build
[14amd64-default] [2023-04-08_14h42m35s] [committing:] Queued: 1  Built: 0  Failed: 1  Skipped: 0  Ignored: 0  Fetched: 0  Tobuild: 0   Time: 00:01:28
[00:01:30] Logs: /usr/local/poudriere/data/logs/bulk/14amd64-default/2023-04-08_14h42m35s
[00:01:30] Cleaning up
[00:01:30] Unmounting file systems