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

Abort after realpath issue #489

Open
onli opened this Issue Aug 16, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@onli

onli commented Aug 16, 2018

I want to help by documenting our gitter conversion in a proper issue.

I first had issues compiling bedrock that I documented in #488 and solved with the hints from #320. Btu after a seemingly successful compilation I get an abort, even when just running ./bedrock -clean. This is the log, it seems to start failing at realpath:

Aug 15 21:44:23 [bedrock] xxxxxx (SQLite.cpp:51) SQLite [sync] [eror] Couldn't resolve pathname for: node0.db_

This is the gcc used:

onli@Fallout:~$ gcc --version
gcc (Funtoo 7.3.1) 7.3.1 20180425
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

It is possible that using gcc 6 might fix this, but it would be better if bedrock could also be compiled with gcc 7.

@quinthar

This comment has been minimized.

Show comment
Hide comment
@quinthar

quinthar Sep 12, 2018

Contributor

Hm, gcc 6 doesn't fix this either. I'm escalating internally to help get this resolved. Thanks for your patience!

Contributor

quinthar commented Sep 12, 2018

Hm, gcc 6 doesn't fix this either. I'm escalating internally to help get this resolved. Thanks for your patience!

@quinthar

This comment has been minimized.

Show comment
Hide comment
@quinthar

quinthar Sep 12, 2018

Contributor

Actually this seems to deal with it not handling the case of no existing file. Running touch bedrock.db is a temporary work around, but really the -clean flag is just broken (because it can't start without an existing file). The solution is to make -clean create a file from scratch if one doesn't already exist.

Contributor

quinthar commented Sep 12, 2018

Actually this seems to deal with it not handling the case of no existing file. Running touch bedrock.db is a temporary work around, but really the -clean flag is just broken (because it can't start without an existing file). The solution is to make -clean create a file from scratch if one doesn't already exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment