Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2022 18:15:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266689] devel/xeus-cling: unable to use it
Message-ID:  <bug-266689-7788@https.bugs.freebsd.org/bugzilla/>

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

            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 !=3D Map->end())=
 &&
"no lookup entry for decl"), function removeDecl, file
/wrkdirs/usr/ports/lang/cling/work/src/tools/clang/lib/AST/DeclBase.cpp, li=
ne
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 !=3D Map->end())=
 &&
"no lookup entry for decl"), function removeDecl, file
/wrkdirs/usr/ports/lang/cling/work/src/tools/clang/lib/AST/DeclBase.cpp, li=
ne
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 !=3D Map->end())=
 &&
"no lookup entry for decl"), function removeDecl, file
/wrkdirs/usr/ports/lang/cling/work/src/tools/clang/lib/AST/DeclBase.cpp, li=
ne
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 !=3D Map->end())=
 &&
"no lookup entry for decl"), function removeDecl, file
/wrkdirs/usr/ports/lang/cling/work/src/tools/clang/lib/AST/DeclBase.cpp, li=
ne
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 !=3D Map->end())=
 &&
"no lookup entry for decl"), function removeDecl, file
/wrkdirs/usr/ports/lang/cling/work/src/tools/clang/lib/AST/DeclBase.cpp, li=
ne
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

--=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-266689-7788>