Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Not fully usable on FreeBSD #1184

Open
p-kraszewski opened this issue Jun 10, 2021 · 0 comments
Open

Not fully usable on FreeBSD #1184

p-kraszewski opened this issue Jun 10, 2021 · 0 comments

Comments

@p-kraszewski
Copy link

p-kraszewski commented Jun 10, 2021

I know FreeBSD is not supported, but...

Running a binary version via Linuxlator

  • Application itself starts and runs properly (menus, options, graphics, browsing, etc)
  • 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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant