Package Details: sourcetrail 2025.4.1-2

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: 24
Popularity: 0.31
First Submitted: 2017-04-12 15:18 (UTC)
Last Updated: 2025-05-03 03:15 (UTC)

Dependencies (22)

Required by (0)

Sources (1)

Pinned Comments

xiota commented on 2024-06-20 03:07 (UTC) (edited on 2025-02-02 07:22 (UTC) by xiota)

After 2023.11, patching is required to build on Arch. This package uses a secondary repo to make managing changes easier. Further details in the readme.

Please observe the following when flagging or commenting:

  • Flag for standard packaging issues, like depends updates and typos.
  • Comment for issues requiring explanation or debugging.
    • Do not paste large blocks of text. Use a pastebin.
    • Consider using the github issue tracker.
    • Problems that are not Arch-specific may be referred further upstream.

Versions associated with major requirement changes.

  • 2025.2.0 – clang 19, Qt6.
  • 2024.7.3 – clang 18, Qt6.
  • 2024.6.1 – clang 17, Qt6.
  • 2023.11 – clang 14, Qt5.

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

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-02-02 07:22 (UTC) by xiota)

After 2023.11, patching is required to build on Arch. This package uses a secondary repo to make managing changes easier. Further details in the readme.

Please observe the following when flagging or commenting:

  • Flag for standard packaging issues, like depends updates and typos.
  • Comment for issues requiring explanation or debugging.
    • Do not paste large blocks of text. Use a pastebin.
    • Consider using the github issue tracker.
    • Problems that are not Arch-specific may be referred further upstream.

Versions associated with major requirement changes.

  • 2025.2.0 – clang 19, Qt6.
  • 2024.7.3 – clang 18, Qt6.
  • 2024.6.1 – clang 17, Qt6.
  • 2023.11 – clang 14, Qt5.

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.

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