You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.
There's some heavy problem with indexer - it goes bonkers even with the simplest (a single C file) applications from /usr/src: the primary problem is "Includes? What includes?", especially it ignores explicit #include <sys/cdefs.h>, which ruins any future include (a.k.a. this file needs sys/cdefs.h as a prerequisite). I suppose it might be the case of the way Linuxlator works, potentially shadowing /usr/include with /compat/linux/usr/include, which is an obvious no-no for the source of FreeBSD applications.
EDIT - Workaround: I confirmed, when there was a file in both /usr/include and /compat/linux/usr/include, Sourcetrail is served with Linux version, breaking stuff. I've renamed /compat/linux/usr/include to /compat/linux/usr/include-off and things started to work properly.
Running self-compiled version
Compilation environment
Uses packaged boost 1.72.0
Uses packaged llvm 11.0.1 (which also provides matching clang)
Uses packaged qt 5.15.2_1
Results
For current version 2021.1.30 it starts, but any tool window (new project, edit project) hangs hard.
For the previous version 2021.1 it starts, tool windows work properly, but indexer either hangs hard or just ignores any includes whatsoever.
Is there any way to use the full potential of Sourcetrail on FreeBSD?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I know FreeBSD is not supported, but...
Running a binary version via Linuxlator
/usr/src
: the primary problem is "Includes? What includes?", especially it ignores explicit#include <sys/cdefs.h>
, which ruins any future include (a.k.a. this file needs sys/cdefs.h as a prerequisite). I suppose it might be the case of the way Linuxlator works, potentially shadowing/usr/include
with/compat/linux/usr/include
, which is an obvious no-no for the source of FreeBSD applications.EDIT - Workaround: I confirmed, when there was a file in both
/usr/include
and/compat/linux/usr/include
, Sourcetrail is served with Linux version, breaking stuff. I've renamed/compat/linux/usr/include
to/compat/linux/usr/include-off
and things started to work properly.Running self-compiled version
Compilation environment
boost 1.72.0
llvm 11.0.1
(which also provides matchingclang
)qt 5.15.2_1
Results
2021.1.30
it starts, but any tool window (new project, edit project) hangs hard.2021.1
it starts, tool windows work properly, but indexer either hangs hard or just ignores any includes whatsoever.Is there any way to use the full potential of Sourcetrail on FreeBSD?
The text was updated successfully, but these errors were encountered: