Opened 12 years ago

Closed 12 years ago

#35006 closed defect (fixed)

clang-*: Fix name of scan-view executable inside scan-build

Reported by: eborisch (Eric A. Borisch) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port:

Description

The libexec/llvm-*/bin/scan-build script has embeded in it calls to scan-view.

  • scan-view (within ${prefix}/libexec/llvm-*/bin) is not in path
  • scan-view-mp-* (within ${prefix}/bin) is in path

I'd suggest a replacement should be performed post-destroot on libexec/llvm-*/bin/scan-build:

s/scan-view/scan-view-mp-(rev goes here)/g

This facilitates using scan-build-* -V make

Change History (3)

comment:1 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Status: newassigned

I don't see why this should be necessary. $ScanView should be getting set correctly here:

my $ScanView = Cwd::realpath("$RealBin/scan-view");

$RealBin should be /opt/local/libexec/llvm-<version>/bin

comment:2 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Ah, I see the issue. $RealBin is being set to ${prefix}/libexec/llvm-<version>/libexec/scan-build

comment:3 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.