Bug 256297 - devel/llvm12 Reporter.py not installed
Summary: devel/llvm12 Reporter.py not installed
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brooks Davis
Depends on:
Reported: 2021-05-31 15:58 UTC by Poul-Henning Kamp
Modified: 2021-07-16 18:00 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (brooks)


Note You need to log in before you can comment on or make changes to this bug.
Description Poul-Henning Kamp freebsd_committer 2021-05-31 15:58:15 UTC
Tried the scan-build, but the scan-view fails because it cannot find Reporter.py
Comment 1 Brooks Davis freebsd_committer 2021-06-02 22:35:46 UTC
Someone did some cleanup upstream removing Reporter.py without noticing that scan-build still requires it. That change was partially reverted to fix scan-build and the change has been cherry-picked into the release branch to be included in 12.0.1.  I'll look at updating the port to 12.0.1rc1 which contains the fix.

As a workaround, you could probably use the scan-view from an earlier llvm or swipe Reporter.py from one of them and put in the corresponding location in your ${LOCALBASE}/llvm12 tree.
Comment 2 commit-hook freebsd_committer 2021-07-16 18:00:48 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1d5b2f98a4186c8ed4ba8e5524651412cd16868d

commit 1d5b2f98a4186c8ed4ba8e5524651412cd16868d
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2021-07-16 18:00:30 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2021-07-16 18:00:30 +0000

    devel/llvm12: Update to 12.0.1 release

    This release restores Reporter.py required for scan-build. [0]

    Correct missing renames of lit modules. [1]

    Remove no-op LLD_LINK option.

    PR:             256297 [0], 257123 [1]
    Reported by:    phk [0], Derek Schrock <dereks@lifeofadishwasher.com> [1]

 devel/llvm12/Makefile  | 12 +++++-------
 devel/llvm12/distinfo  |  6 +++---
 devel/llvm12/pkg-plist |  1 +
 3 files changed, 9 insertions(+), 10 deletions(-)