[Bug 266689] devel/xeus-cling: unable to use it
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Sep 2022 18:15:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266689
Bug ID: 266689
Summary: devel/xeus-cling: unable to use it
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: lbartoletti@FreeBSD.org
Flags: maintainer-feedback?(yuri@freebsd.org)
Assignee: yuri@freebsd.org
yuri,
I tried cling in a jupyter notebook with the port but I'm unable to use it, I
get this error everytime:
```
[I 2022-09-28 20:10:06.996 ServerApp] Kernel started:
228e29a8-4173-4a3a-974e-7bac61368176
input_line_2:1:10: fatal error: 'cling/Interpreter/RuntimeUniverse.h' file not
found
#include "cling/Interpreter/RuntimeUniverse.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assertion failed: ((DC->hasExternalVisibleStorage() || Pos != Map->end()) &&
"no lookup entry for decl"), function removeDecl, file
/wrkdirs/usr/ports/lang/cling/work/src/tools/clang/lib/AST/DeclBase.cpp, line
1362.
[I 2022-09-28 20:10:10.010 ServerApp] AsyncIOLoopKernelRestarter: restarting
kernel (1/5), new random ports
input_line_2:1:10: fatal error: 'cling/Interpreter/RuntimeUniverse.h' file not
found
#include "cling/Interpreter/RuntimeUniverse.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assertion failed: ((DC->hasExternalVisibleStorage() || Pos != Map->end()) &&
"no lookup entry for decl"), function removeDecl, file
/wrkdirs/usr/ports/lang/cling/work/src/tools/clang/lib/AST/DeclBase.cpp, line
1362.
[I 2022-09-28 20:10:13.027 ServerApp] AsyncIOLoopKernelRestarter: restarting
kernel (2/5), new random ports
input_line_2:1:10: fatal error: 'cling/Interpreter/RuntimeUniverse.h' file not
found
#include "cling/Interpreter/RuntimeUniverse.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assertion failed: ((DC->hasExternalVisibleStorage() || Pos != Map->end()) &&
"no lookup entry for decl"), function removeDecl, file
/wrkdirs/usr/ports/lang/cling/work/src/tools/clang/lib/AST/DeclBase.cpp, line
1362.
[I 2022-09-28 20:10:16.071 ServerApp] AsyncIOLoopKernelRestarter: restarting
kernel (3/5), new random ports
input_line_2:1:10: fatal error: 'cling/Interpreter/RuntimeUniverse.h' file not
found
#include "cling/Interpreter/RuntimeUniverse.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assertion failed: ((DC->hasExternalVisibleStorage() || Pos != Map->end()) &&
"no lookup entry for decl"), function removeDecl, file
/wrkdirs/usr/ports/lang/cling/work/src/tools/clang/lib/AST/DeclBase.cpp, line
1362.
[I 2022-09-28 20:10:19.106 ServerApp] AsyncIOLoopKernelRestarter: restarting
kernel (4/5), new random ports
input_line_2:1:10: fatal error: 'cling/Interpreter/RuntimeUniverse.h' file not
found
#include "cling/Interpreter/RuntimeUniverse.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assertion failed: ((DC->hasExternalVisibleStorage() || Pos != Map->end()) &&
"no lookup entry for decl"), function removeDecl, file
/wrkdirs/usr/ports/lang/cling/work/src/tools/clang/lib/AST/DeclBase.cpp, line
1362.
[W 2022-09-28 20:10:22.152 ServerApp] AsyncIOLoopKernelRestarter: restart
failed
```
How to reproduce:
Launch a c++ kernel and try this function:
```
int add(int a, int b) {
return a + b;
}
```
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.