Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Apr 2023 12:45:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270702] math/fricas: invoke a debugger interactively
Message-ID:  <bug-270702-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270702

            Bug ID: 270702
           Summary: math/fricas: invoke a debugger interactively
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: thierry@FreeBSD.org
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org

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.l=
isp".
  6: [ABORT         ] Abort loading file
"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.l=
isp".
  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.l=
isp".
  3:            Abort loading file
"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.l=
isp".
  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.l=
isp".
  3:            Abort loading file
"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.l=
isp".
  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.l=
isp".
  3:            Abort loading file
"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.l=
isp".
  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.l=
isp".
  3:            Abort loading file
"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.l=
isp".
  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.l=
isp".
  3:            Abort loading file
"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.l=
isp".
  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.l=
isp".
  3:            Abort loading file
"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.l=
isp".
  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.l=
isp".
  3:            Abort loading file
"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.l=
isp".
  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.l=
isp".
  3:            Abort loading file
"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.l=
isp".
  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.l=
isp".
  3:            Abort loading file
"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.l=
isp".
  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-LEXEN=
V>)
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.li=
sp"
{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.li=
sp"
{1001DC1753}> NIL)
8: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREA=
M-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.li=
sp"
{1001DC1753}> NIL #<SB-INT:FORM-TRACKING-STREAM for "file
/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.li=
sp"
{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-LEXEN=
V>)
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 threa=
d"
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.l=
isp".
  3:            Abort loading file
"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.l=
isp".
  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-LEXEN=
V>)
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.li=
sp"
{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.li=
sp"
{1001DC1753}> NIL)
8: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREA=
M-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.li=
sp"
{1001DC1753}> NIL #<SB-INT:FORM-TRACKING-STREAM for "file
/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.li=
sp"
{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-LEXEN=
V>)
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.l=
isp".
  3:            Abort loading file
"/wrkdirs/usr/ports/math/fricas/work/fricas-1.3.8/src/lisp/fricas-package.l=
isp".
  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: bui=
ld
[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 .la=
test
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=
=20
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270702-7788>