Package Details: sourcetrail 2025.1.0-1

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)

Required by (0)

Sources (1)

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.

  • 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.

Latest Comments

1 2 3 4 5 Next › Last »

xiota commented on 2025-01-02 14:47 (UTC)

@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.

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.