Please note, that there is now an open issue here https://github.com/petermost/Sourcetrail/issues/9
Search Criteria
Package Details: sourcetrail 2023.11-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/sourcetrail.git (read-only, click to copy) |
---|---|
Package Base: | sourcetrail |
Description: | Interactive source explorer for C/C++ and Java |
Upstream URL: | https://github.com/petermost/Sourcetrail |
Licenses: | GPL-3.0-only |
Submitter: | jetm |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 23 |
Popularity: | 0.000000 |
First Submitted: | 2017-04-12 15:18 (UTC) |
Last Updated: | 2024-03-15 08:42 (UTC) |
Dependencies (18)
- boost-libs (boost-libs-gitAUR)
- clang14
- java-runtime (jre10AUR, jre12AUR, server-jreAUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, amazon-corretto-18AUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, jdk-android-studioAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre19-openjdkAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, amazon-corretto-20-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk20-graalvm-ee-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-lite-binAUR, mandrel-binAUR, jdk8AUR, jre8AUR, jdk17-zulu-prime-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre17-jetbrainsAUR, jre21-jetbrainsAUR, jre21-jetbrains-gitAUR, jdk8-perfAUR, zulu-jdk-fx-binAUR, jdk8-openj9-binAUR, zulu-jre-fx-binAUR, jdk-temurinAUR, amazon-corretto-22-binAUR, jdk22-graalvm-binAUR, zing-8-binAUR, zing-21-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, liberica-jdk-8-full-binAUR, zulu-21-binAUR, zulu-8-binAUR, zulu-11-binAUR, zulu-17-binAUR, jdk21-temurinAUR, jdk17-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk8-temurinAUR, jreAUR, jdkAUR, jre-ltsAUR, jre17AUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk11-temurinAUR, jdk17-openj9-binAUR, liberica-jdk-21-full-binAUR, jdk17-jetbrains-binAUR, jdk21-jetbrains-binAUR, jre-jetbrainsAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk)
- llvm14-libs
- qt5-svg (qt5-svg-gitAUR)
- sqlite (sqlite-fossilAUR)
- tinyxml (tinyxml-gitAUR)
- boost (boost-gitAUR) (make)
- catch2 (catch2-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- gendesk (make)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (make)
- jdk-openjdk (jdk16-adoptopenjdkAUR, jdk-temurinAUR, zing-21-binAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR) (make)
- lld (llvm-rocm-gitAUR, llvm-gitAUR) (make)
- llvm14 (make)
- maven (mvnvmAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR) (make)
Required by (0)
Sources (1)
PeterM commented on 2024-05-28 13:54 (UTC)
PeterM commented on 2024-05-27 12:00 (UTC) (edited on 2024-05-27 12:04 (UTC) by PeterM)
Hi,
I'm the maintainer of the referenced Sourcetrail clone.
Regarding the linker errors: libclang-dev needs to be installed.
So for building the last/current commit
https://github.com/petermost/Sourcetrail/tree/b61ed988fffca66c1df189c3b27947737e213b18
these packages need to be installed, as described here:
https://github.com/petermost/Sourcetrail/tree/b61ed988fffca66c1df189c3b27947737e213b18#system-build
I maintain the 'System' build specifically for Linux distributions, so let me know via
https://github.com/petermost/Sourcetrail/issues
about any issues you might have.
PS: Sorry for the primitive formatting, but I couldn't find any help/documentation for that.
xiota commented on 2024-03-15 08:44 (UTC)
Fails to link with clang/llvm 16-17. Numerous linker errors:
/usr/bin/ld: cannot find -lclangASTMatchers: No such file or directory
/usr/bin/ld: cannot find -lclangFrontend: No such file or directory
/usr/bin/ld: cannot find -lclangSerialization: No such file or directory
...
MarsSeed commented on 2024-03-14 14:00 (UTC)
Current OOD flag is wrong. But as llvm15 and related packages have been dropped from repo, I recommend to update to a newer commit version from master, which works with llvm16. It is the 7th commit since release v2023.11 (e0262bb) that contains the compatibility update for the latter:
https://github.com/petermost/Sourcetrail/compare/2023.11...master
MarsSeed commented on 2022-05-24 14:46 (UTC)
It's unfortunate that this project was shut down in Dec 2021.
It's unknown if the community will maintain it long-term. For now, there's already a fork that fixes a compile error for llvm-13:
fsimonis commented on 2021-11-24 11:12 (UTC)
@Un1Gfn I fixed the UI freezing issue. The fix was recently released:
https://github.com/CoatiSoftware/Sourcetrail/releases/tag/2021.4
zkm2fw commented on 2021-05-25 15:20 (UTC) (edited on 2021-05-25 15:23 (UTC) by zkm2fw)
Building from source succeeds (CXX ok, Java/Python not tested), but the UI freezes a lot.
Your binary packages does NOT have this issue.
@jetm Try building from source if you may. Do you get a responsive UI?
dkasak commented on 2021-01-16 11:20 (UTC) (edited on 2021-01-16 11:32 (UTC) by dkasak)
I'm trying to index a Python project with the latest version (2020.4.35) and I'm getting errors like these for each source file:
command ""/opt/sourcetrail/bin//../share/data/python/SourcetrailPythonIndexer" index --source-file-path="PATH_TO_SOURCE_FILE" --database-file-path="PATH_TO_DB_FILE"" returned code "255" with message "File not found or resource error occurred.".
I've replaced the source file and database file paths with PATH_TO_SOURCE_FILE
and PATH_TO_DB_FILE
in the above message, but they appear to be correct (so the error shouldn't be related to that).
Interestingly, running that command manually succeeds.
UPDATE: Ah, this is an upstream bug, see: https://github.com/CoatiSoftware/Sourcetrail/issues/1129
jetm commented on 2021-01-12 19:58 (UTC)
@fsimonis: yes, you're right. Sourcetrail can be built now from scratch. I have verified it. Thanks!
The next problem is to figure out which files are required to be packaged. I can get the Sourcetrail binary, but there are many more files that should be packaged too. The CMake has not a make install
entry. At upstream, Sourcetrail is doing the Linux packaging in a no standard way [1].
[1] https://github.com/CoatiSoftware/Sourcetrail/blob/master/setup/Linux/createPackages.sh
I need more time to finish that part. I will work at it in next days
Pinned Comments