Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

DXR on GCC

15 views
Skip to first unread message

Paulo Matos

unread,
Jan 13, 2017, 3:31:59 AM1/13/17
to dev-stati...@lists.mozilla.org
Hello,

I am attempting to DXR the gcc project source code and I am running into
some trouble, where if I start with a simple config like so:
dxr@4f706be47625:/code$ cat <<EOT >> dxr.config
> [DXR]
> enabled_plugins = buglink
>
> [gcc]
> source_folder = /code/gcc
> build_command =
>
> [[buglink]]
> name = GCC Bugzilla
> url = https://gcc.gnu.org/bugzilla/
> EOT


I get a bunch of errors during indexing:
dxr@4f706be47625:/code$ dxr index --config dxr.config
Starting tree 'gcc'.
/home/dxr/dxr/dxr/vcs.py:256: UserWarning: Your git remote is not
supported yet. Please use a GitHub remote if you would like version
control navigation links to show.
warn("Your git remote is not supported yet. Please use a "
Running pre_build [####################################] 100%
Running post_build [####################################] 100%
Indexing folders [####################################]
Indexing files [------------------------------------] 0%A worker
failed while indexing
/code/gcc/libstdc++-v3/testsuite/23_containers/unordered_multiset/final_hash.cc:
...

And once dxr indexing stops and I run dxr serve --all I see in the browser:
"Not Found

No such tree as gcc"

I assume something terrible happened during indexing. Is there a way to
enable debug logs or something?

Kind regards,

--
Paulo Matos
0 new messages