Package Details: sourcetrail 2024.8.2-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: 2024-08-21 14:46 (UTC)

Dependencies (20)

Required by (0)

Sources (1)

Pinned Comments

xiota commented on 2024-06-20 03:07 (UTC) (edited on 2024-08-21 14:54 (UTC) by xiota)

After 2023.11, patching is required to build on Arch. Switched to a secondary repo to make this easier.

  • The main branch contains license and description of the fork.
  • 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 unstable and not meant for use.

Please observe the following when flagging or commenting:

  • Flag for standard packaging issues, like depends updates.
  • Comment to report bugs and identify commits that potentially fix them.
    • Do not paste large blocks of text. Use a pastebin.
  • 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. If an upstream bug is introduced, you will be stuck with it until the next resync.

Previous versions/requirements:

  • current version requires clang 18 and Qt6.
  • 2024.7.3 requires clang 18 and Qt6. (snapshot)
  • 2024.6.1 requires clang 17 and Qt6. (snapshot)
  • 2023.11 requires clang 14 and Qt5. (snapshot)

Latest Comments

1 2 3 4 Next › Last »

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 2024-08-21 14:54 (UTC) by xiota)

After 2023.11, patching is required to build on Arch. Switched to a secondary repo to make this easier.

  • The main branch contains license and description of the fork.
  • 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 unstable and not meant for use.

Please observe the following when flagging or commenting:

  • Flag for standard packaging issues, like depends updates.
  • Comment to report bugs and identify commits that potentially fix them.
    • Do not paste large blocks of text. Use a pastebin.
  • 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. If an upstream bug is introduced, you will be stuck with it until the next resync.

Previous versions/requirements:

  • current version requires clang 18 and Qt6.
  • 2024.7.3 requires clang 18 and Qt6. (snapshot)
  • 2024.6.1 requires clang 17 and Qt6. (snapshot)
  • 2023.11 requires clang 14 and Qt5. (snapshot)

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.