Bug 256297

Summary: devel/llvm12 Reporter.py not installed
Product: Ports & Packages Reporter: Poul-Henning Kamp <phk>
Component: Individual Port(s)Assignee: Brooks Davis <brooks>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (brooks)
brooks: merge-quarterly+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Poul-Henning Kamp freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 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(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-08-11 20:03:02 UTC
A commit in branch 2021Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4bb3c89d4f9f88369982636fdf76dc8ae2943a27

commit 4bb3c89d4f9f88369982636fdf76dc8ae2943a27
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2021-08-11 20:01:09 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2021-08-11 20:01:09 +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]

    (cherry picked from commit 1d5b2f98a4186c8ed4ba8e5524651412cd16868d)

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