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

help understanding sertop error #71

Open
affeldt-aist opened this issue Oct 25, 2021 · 1 comment
Open

help understanding sertop error #71

affeldt-aist opened this issue Oct 25, 2021 · 1 comment

Comments

@affeldt-aist
Copy link

The following file test.v:

From mathcomp Require Import all_ssreflect.
From HB Require Import structures.

compiled with the following command:
alectryon --frontend coq+rst --backend webpage test.v

fails with the following error message:

[sertop] Critical Dynlink error The module `Result' is already loaded (either by the main program or a previously-dynlinked library)
test.v:1: (ERROR/3) Coq raised an exception:
  > Anomaly "Uncaught exception Not_found."
  > Please report at http://coq.inria.fr/bugs/.
The offending chunk is delimited by >>>…<<< below:
  > From mathcomp Require Import all_ssreflect.>>>From HB Require Import structures.<<<
Results past this point may be unreliable.
test.v:1: (WARNING/2) Orphaned message for sid b'3':
 >  Anomaly "Uncaught exception Not_found."
 >  Please report at http://coq.inria.fr/bugs/.
make: *** [Makefile:2: alectryon] Error 13

Yet, it succeeds if one removes the line about HB.
(So this does not look like a failure to find the libraries.)

What could be the problem?
(I am using a recently cloned alectryon, Coq 8.13.2, the last opam version of coq-serapi.)

@Zimmi48
Copy link
Collaborator

Zimmi48 commented Oct 25, 2021

This is a SerAPI issue, worth reporting upstream. It can be reproduced within sertop with:

(Add () "From mathcomp Require Import all_ssreflect.")
(Add () "From HB Require Import structures.")

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

2 participants