[Bug 291532] sysutils/hw-probe: Fix 'Can't locate LWP/UserAgent.pm' error when uploading results
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Dec 2025 00:09:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291532
Bug ID: 291532
Summary: sysutils/hw-probe: Fix 'Can't locate LWP/UserAgent.pm'
error when uploading results
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: danfe@FreeBSD.org
Reporter: dtxdf@freebsd.org
CC: danfe@FreeBSD.org
Assignee: danfe@FreeBSD.org
Flags: maintainer-feedback?(danfe@FreeBSD.org)
Attachment #266047 maintainer-approval?(danfe@FreeBSD.org)
Flags:
CC: danfe@FreeBSD.org
Created attachment 266047
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266047&action=edit
hw-probe.diff
Description:
When running 'hw-probe -all -upload', the following error appears when hw-probe
attempts to upload the results:
```
Can't locate LWP/UserAgent.pm in @INC (you may need to install the
LWP::UserAgent module) (@INC entries checked:
/usr/local/lib/perl5/site_perl/mach/5.42 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.42/mach /usr/local/lib/perl5/5.42) at
/usr/local/bin/hw-probe line 2645.
```
Installing p5-LWP-UserAgent-Cached fixes this issue.
QA:
* portlint:
- WARN: Makefile: [19]: USE_* seen before USES. According to the
porters-handbook, USES must appear first.
- WARN: Makefile: [34]: possible direct use of command "grep" found. use
${GREP} instead.
* testport: (poudriere: stable/15-n281400-0db8e36b2baa, amd64, DOCS tested):
- Notice: You have some Perl modules as dependencies but you do not have
devel/p5-Module-CoreList installed, the perlcore QA check gets better results
when using it, especially with older Perl versions.
--
You are receiving this mail because:
You are the assignee for the bug.