clang-tools package is missing dependency on perl package

Bug #2064173 reported by Alex Henrie
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
llvm-toolchain-18 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps to reproduce:

1. `docker run -it ubuntu:24.04`

2. `apt-get update -y`

3. `DEBIAN_FRONTEND=noninteractive apt-get install -y clang-tools`

4. `scan-build`

Expected result: Help text is printed

Actual result:

Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at /usr/bin/scan-build line 16.
BEGIN failed--compilation aborted at /usr/bin/scan-build line 16.

`sudo apt-get install -y perl` fixes it.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: clang-tools-18 1:18.1.3-1
Uname: Linux 6.8.7-arch1-2 x86_64
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CloudBuildName: ubuntu-oci:minimized
CloudSerial: 20240423
Date: Mon Apr 29 21:57:29 2024
ProcEnviron:
 PATH=(custom, no user)
 TERM=xterm
SourcePackage: llvm-toolchain-18
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alex Henrie (alexhenrie24) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.