[build2] [bug] Failed assertion with hacky repository/package

Klaim - Joël Lamotte mjklaim at gmail.com
Thu May 31 19:54:54 UTC 2018


Hi,

First: now that there is a mirror on github, should we report bugs there?
If yes, 1. in which repository's issue list? it seems hard to decide when
tools use each others,
           because one could pass wrong data to the other so the source is
not where there is the crash.
           2. consider only having one issue list for the whole project?
using tags
                to have an idea of the identified tools involved.
           3. I believe
If no, consider closing all the issue pages and clarify where to report
issues.

Now with the issue, it's an assertion failure happening when I try to build
a repository that I put online for the occasion:
https://github.com/Klaim/build2-chaiscript-2
I just created a new package with  `bdep new` (in an empty one)
and hacked (probably very wrongly) to try to build like in this repository:
https://github.com/Klaim/build2-pkg-chaiscript

Anyway the scripts are probably all wrong but the issue is that I get an
assertion.

Here is what I see:

PS G:\perso\experiments\actorsim> git clone
https://github.com/Klaim/build2-chaiscript-2.git oups
Cloning into 'oups'...
remote: Counting objects: 31, done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 31 (delta 1), reused 31 (delta 1), pack-reused 0
Unpacking objects: 100% (31/31), done.
PS G:\perso\experiments\actorsim> cd oups
PS G:\perso\experiments\actorsim\oups> bdep init -C ../build-msvc cc
config.cxx=cl
initializing in project G:\perso\experiments\actorsim\oups\
created configuration G:\perso\experiments\actorsim\build-msvc\ 1
default,forwarded,auto-synchronized
synchronizing:
  new chaiscript/6.0.0
Assertion failed: p.empty (), file
G:\perso\build2\build2-toolchain-0.7\libbutl-0.7.0\libbutl\filesystem.cxx,
line 2143
error: process b terminated abnormally: stack buffer overrun



A. Joël Lamotte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20180531/281b7b75/attachment.html>


More information about the users mailing list