Skip to content

Build issue, x86_64, Fedora #102

@clementblaudeau

Description

@clementblaudeau

After getting the latest sbcl,

> sbcl --version
SBCL 2.5.10

I tried doing ./configure then ./make.

> ./configure
checking build system type... x86_64-pc-linux-gnu
checking pvspath... found "/home/username/PVS/pvs.in"
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for ld... ld
checking for ar... ar
checking for ranlib... ranlib
checking for grep... grep
checking for mkdir... mkdir
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for tar... tar
checking for rm... rm
checking for curl... curl
checking for git... git
checking for sbcl... sbcl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pvs
config.status: creating pvsio
config.status: creating proveit
config.status: creating provethem
config.status: creating pvs-get-patches
config.status: creating doc/api/Makefile
config.status: creating doc/user-guide/Makefile
config.status: creating doc/language/Makefile
config.status: creating doc/language/pvs-doc.el
config.status: creating doc/prover/Makefile
config.status: creating lib/registry.conf

However, it stops on this error :

make[1]: Leaving directory '/home/username/PVS/src/BDD/ix86_64-Linux'
error output:
../mu_interface.c: In function ‘mu___modelcheck_formula’:
../mu_interface.c:217:14: error: too many arguments to function ‘modelcheck_formula’; expected 0, have 1
  217 |    mcvalue = modelcheck_formula(fml);
      |              ^~~~~~~~~~~~~~~~~~ ~~~
../mu_interface.c:206:18: note: declared here
  206 |    extern BDDPTR modelcheck_formula();
      |                  ^~~~~~~~~~~~~~~~~~
../mu_interface.c: In function ‘bdd___bdd_sum_of_cubes’:
../mu_interface.c:235:14: error: too many arguments to function ‘bdd_sum_of_cubes’; expected 0, have 2
  235 |    mcvalue = bdd_sum_of_cubes (f, irredundant);
      |              ^~~~~~~~~~~~~~~~  ~
../mu_interface.c:224:20: note: declared here
  224 |    extern BDD_LIST bdd_sum_of_cubes();
      |                    ^~~~~~~~~~~~~~~~
../mu_interface.c: At top level:
../mu_interface.c:240:8: error: conflicting types for ‘modelcheck_formula’; have ‘struct bdd *(struct _Formula *)’
  240 | BDDPTR modelcheck_formula (Formula fml)
      |        ^~~~~~~~~~~~~~~~~~
../mu_interface.c:206:18: note: previous declaration of ‘modelcheck_formula’ with type ‘struct bdd *(void)’
  206 |    extern BDDPTR modelcheck_formula();
      |                  ^~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:22: mu_interface.o] Error 1

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
                                     completing load for #<MODULE "pvs" "bddlib">.
  1: [ACCEPT                       ] Continue, treating
                                     completing load for #<MODULE "pvs" "bddlib">
                                     as having been successful.
  2:                                 Retry ASDF operation.
  3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
                                     configuration.
  4:                                 Retry ASDF operation.
  5:                                 Retry ASDF operation after resetting the
                                     configuration.
  6: [CONTINUE                     ] Ignore runtime option --eval "(asdf:operate :program-op :pvs)".
  7: [ABORT                        ] Skip rest of --eval and --load options.
  8:                                 Skip to toplevel READ/EVAL/PRINT loop.
  9: [EXIT                         ] Exit SBCL (calling #'EXIT, killing the process).

(PVS::MAKE-IN-PLATFORM #<unavailable argument> #<unavailable argument> #<unused argument>)
   source: (ERROR "Failure in ~a:~%output:~%~a~%error output:~%~a" MAKE-CMD
                  OUT-STR ERR-STR)
0] 

I'm on Fedora 42

Linux hostname 6.16.10-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Oct  2 19:23:55 UTC 2025 x86_64 GNU/Linux

Am I missing something on the installation instructions ? Do you have a workaround for this issue ?

On a more general note, I'd like to continue working on a project started with pvs7.1-allegro, should I try using pvs8-sbcl or will I run into incompatibilities ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions