clang: missing symbolic links #7
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ports/opt#7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When running scan-build of clang suite it fails because it expects analyzers in different paths.
I need to to install symlinks (since at least .4 update of clang, 'not using it that often)
ln -s /usr/lib/clang/ccc-analyzer /usr/bin/
ln -s /usr/lib/clang/c++-analyzer /usr/bin/
If that's so, you should report a bug upstream. I have never had an issue with it like it is.
The package is broken without the symbolic links, if it worked for you, you never used it.
$ scan-build make -f s-postgray.makefile CC=clang
scan-build: 'ccc-analyzer' does not exist at '/usr/bin/ccc-analyzer'
I have never said that I used that tool, I said the port works for what I want from it and that if it belongs in the bindir, this ticket belongs upstream, not here.
In addition, the way that you express yourself makes it sound like it has been in /usr/bin, but going through the git history reads to me like it never was. [1]
Distros that ship it seem to have it live in libexecdir [2,3], exactly like we do - therefor, for me, this is a no and stays a no if you don't have any better arguments. Please go seek help upstream.
1:
2: https://src.fedoraproject.org/rpms/clang/blob/rawhide/f/clang.spec#_606 (libexec dir)
3: https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-devel/clang/clang-18.1.8.ebuild (no special move so.. libexec dir?)