Skip to content

SparQ execution error with Debian Testing, kernel 5.19.0, g++ 12.2.0, and SBCL 2.2.3 #9

@johanmazelanssi

Description

@johanmazelanssi

My configuration is the following: Debian Testing with kernel 5.19.0, g++ 12.2.0, and SBCL 2.2.3.
I use the SparQ version from the master branch from this repository.

I am trying to use constraint reasoning and quantify.

  • Constraint reasoning (works after some file trickery)
    The command I want to execute is: sparq constraint-reasoning allen check-consistency "((i0 b i2) (i0 o i1) (i1 o i2))".
    I get this error message:
    ; processing (SHADOWING-IMPORT (QUOTE #))
    ; processing (DEF-TOOL ("translate" # ...) ...)
    ; processing (DEF-TOOL ("translate" # ...) ...)
    ; processing (DEF-TOOL ("translate" # ...) ...)
    ; processing (REQUIRE :GEOMETRY ...)
    ; processing (DEF-TOOL ("qualify" # ...) ...)
    ; processing (DEF-TOOL ("qualify" # ...) ...)
    ; processing (DEF-TOOL ("nop") ...)
    ; processing (DEF-TOOL ("cdc-reasoning" # ...) ...)
    ; processing (DEF-TOOL ("cdc-reasoning" # ...) ...)
    ; processing (DEF-TOOL ("cdc-reasoning" # ...) ...)
    ; processing (DEF-TOOL ("cdc-reasoning" # ...) ...)
    ; processing (DEF-TOOL ("translate" # ...) ...)
    ; processing (DEF-TOOL ("translate" # ...) ...)
    ; processing (DEF-TOOL ("prune" # ...) ...)
    ; processing (DEF-TOOL ("quantify" # ...) ...)
    ; processing (DEF-TOOL ("quantify" # ...) ...)
    ; processing (DEF-TOOL ("quantify" # ...) ...)
    ; processing (DEF-TOOL ("quantify" # ...) ...)
    An unhandled internal error occured - developer's fault, sorry. Error = Couldn't load #P"$DIRECTORY/SparQ/Lib/extensions.fasl": file does not exist.
    The extensions.fasl file is actually created in the repository where I launched sparq. If I copy this file to SparqQ/Lib and then launch the same command again, I get this error:
    An error occured: No matching command found or erroneous input. Suggestions:
    constraint-reasoning (1) check-consistency
    (1): Couldn't load #P"/home/jmazel/hdd_storage/research/experimentations/protocol_reassembly/policy/sparq_debug/SparQ/Calculi/allen.fasl": file does not exist.
    The allen.fasl file is again actually created in the repository where I launched sparq. If I copy this file to SparqQ/Calculi and then laucnh the same command again, it works.

  • Quantify (does not work)
    The command I want to execute is: sparq quantify allen "((i0 o i1))".
    I get the same two errors as "sparq costraint-reasonning [...]", and then, get this error:
    ; processing (DEFUN PC-MODEL ...)
    ; processing (DEFUN SYMNAMEEQ ...)
    ; processing (DEFUN ALLEN-MODEL ...)
    ; processing (DEFUN CARDIR-MODEL ...)
    ; processing (DEFUN BLOCK-ALGEBRA-MODEL ...)
    An unhandled internal error occured - developer's fault, sorry. Error = Couldn't load #P"/home/jmazel/hdd_storage/research/experimentations/protocol_reassembly/policy/sparq_debug/SparQ/Lib/quantifier.fasl": file does not exist.
    If I copy this file to SparqQ/Lib and then launch the same command again, I get this error:
    An error occured: No matching command found or erroneous input. Suggestions:
    print
    help <optional: [SYMBOL]>

SparQ works on Debian Stable with kernel 5.10.0, g++ 10.2.1, and SBCL 2.1.1.
So I suspect that my error are linked to the distinct version of g++ and SBCL.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions