@catHeadCoffee The code in that file at those lines is several years old. If this is an Arch Linux specific issue, please open an issue at the repo this package builds from to explain the symptoms. Otherwise, please confirm whether the petermost fork is affected and report there.
Search Criteria
Package Details: sourcetrail 2025.1.0-1
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/xiota/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: | 2025-01-13 04:14 (UTC) |
Dependencies (20)
- boost-libs
- clang18
- llvm18-libs
- qt6-5compat
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-svg
- sqlite (sqlite-fossilAUR)
- tinyxml (tinyxml-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (make)
- jdk-openjdk (jdk16-adoptopenjdkAUR, zing-21-binAUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR) (make)
- lld18 (make)
- llvm18 (make)
- maven (mvnvmAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- patchelf (patchelf-gitAUR) (make)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, 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, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk8-temurinAUR, zulu-21-binAUR, jre8AUR, jdk8AUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, jreAUR, jdkAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, jdk-openj9-binAUR, zulu-11-binAUR, jdk8-graalvm-ee-binAUR, jdk8-dragonwell-extendedAUR, java-openjdk-binAUR, zulu-17-fx-binAUR, zulu-23-binAUR, jdk21-jetbrains-binAUR, jre11AUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, jre17AUR, openjdk-zulu-ca-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk21-graalvm-ee-binAUR, jdk8-openj9-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) (optional)
- python (python37AUR, python311AUR, python310AUR) (optional)
Required by (0)
Sources (1)
xiota commented on 2025-01-02 14:47 (UTC)
catHeadCoffee commented on 2025-01-02 13:09 (UTC) (edited on 2025-01-02 13:10 (UTC) by catHeadCoffee)
sourcetrail/src/sourcetrail/src/lib/data/search/SearchIndex.cpp
454 // first letter
455 if (index == 0)
456 {
457 firstLetterScore += firstLetterBonus;
! 458 } else if (index >= text.size() || index >= text.size() - 1) {
+ 459 continue;
+ 460 }
The character here is out of bounds. need fix.
jacek2v commented on 2024-07-07 06:14 (UTC) (edited on 2024-07-07 06:14 (UTC) by jacek2v)
@xiota super thanks :)
So, sorry for the unnecessary confusion
xiota commented on 2024-07-07 05:05 (UTC) (edited on 2024-07-07 05:08 (UTC) by xiota)
@jacek2v This package was updated for clang 18 shortly after Nudin's comment. I've updated the pinned comment with info about clang requirements.
jacek2v commented on 2024-07-07 04:59 (UTC) (edited on 2024-07-07 05:01 (UTC) by jacek2v)
@xiota yea, thanks. I noted.
I wrote a message because for @Nudin it didn't compile with clang18. And it didn't compile with clan17.
Or maybe it's fixed for clang18?
BTW: I have clan lag in manjaro :)
xiota commented on 2024-07-07 04:56 (UTC) (edited on 2024-07-07 05:04 (UTC) by xiota)
@jacek2v Arch has switched to clang 18, as Nudin noted. If you are using a distro that lags behind, wait a few weeks before rebuilding or switch to the unstable/testing repos, which are updated more frequently.
Alternatively, you can build the previous version (2024.6.1), which is the last one supporting clang 17. Here's a link to the snapshot.
jacek2v commented on 2024-07-07 04:40 (UTC) (edited on 2024-07-07 04:46 (UTC) by jacek2v)
I have clang17 and it doesn't compile either (error below). I think the problem is in the config file.
-- Found tinyxml 2.6.2
CMake Error at CMakeLists.txt:201 (find_package):
Could not find a configuration file for package "Clang" that is compatible
with requested version range "18.1...<19.0".
The following configuration files were considered but not accepted:
/usr/lib/cmake/clang/ClangConfig.cmake, version: 17.0.6
/lib/cmake/clang/ClangConfig.cmake, version: 17.0.6
clang version:
extra/clang 17.0.6-2 (41.4 MiB 198.0 MiB) (Installed)
BTW: sourcetrail has support for clang18
C++ packages:
Clang (18.1.3):
clang-18
libclang-18-dev
Nudin commented on 2024-07-06 21:17 (UTC)
Arch switched to clang 18, so this cannot be built anymore (needs clang17).
xiota commented on 2024-06-20 03:07 (UTC) (edited on 2025-01-02 17:54 (UTC) by xiota)
After 2023.11
, patching is required to build on Arch. This package uses a secondary repo to make managing changes easier.
- The
main
branch contains license and repo description. - The
petermost
branch is synced with the petermost fork. - Patches are applied in branches, with names similar to
arch-2024.8.2
wip
,-broken
, and other branches are not meant for use.
Please observe the following when flagging or commenting:
- Flag for standard packaging issues, like depends updates and typos.
- Comment to report bugs that are fixed upstream.
- Do not paste large blocks of text. Use a pastebin.
- For other problems, please use the github issue tracker. Problems that are not Arch-specific may be referred further upstream.
- Flag to request resync with upstream:
- Wait about a month after the last update.
- Avoid requesting mere version bumps. Package versions and tags may not match.
- I recommend not requesting resync just to resync to avoid introducing new bugs.
Previous versions and requirements.
- current version requires clang 18 and Qt6.
- 2024.7.3 requires clang 18 and Qt6.
- 2024.6.1 requires clang 17 and Qt6.
- 2023.11 requires clang 14 and Qt5.
Pinned Comments
xiota commented on 2024-06-20 03:07 (UTC) (edited on 2025-01-02 17:54 (UTC) by xiota)
After
2023.11
, patching is required to build on Arch. This package uses a secondary repo to make managing changes easier.main
branch contains license and repo description.petermost
branch is synced with the petermost fork.arch-2024.8.2
wip
,-broken
, and other branches are not meant for use.Please observe the following when flagging or commenting:
Previous versions and requirements.