FS#53035 - [perl-libwww] error Can't locate Try/Tiny.pm

Attached to Project: Arch Linux
Opened by Eli Schwartz (eschwartz) - Monday, 20 February 2017, 21:36 GMT
Last edited by Antonio Rojas (arojas) - Monday, 20 February 2017, 22:17 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After my latest pacman -Syu of testing, the following perl utility failed to work: https://github.com/grawity/code/blob/master/net/getpaste

With the error:
```
Can't locate Try/Tiny.pm in @INC (you may need to install the Try::Tiny module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/vendor_perl/LWP/Protocol.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/LWP/Protocol.pm line 11.
Compilation failed in require at /usr/share/perl5/vendor_perl/LWP/UserAgent.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/LWP/UserAgent.pm line 13.
Compilation failed in require at /home/eschwartz/bin/getpaste line 13.
BEGIN failed--compilation aborted at /home/eschwartz/bin/getpaste line 13.
```

Checking the svntogit history, I see perl-try-tiny was added as a *checkdepends*, but from the error message and looking at the differences in the two package versions, it appears that "Try::Tiny" is used in more than just the test suite... installing perl-try-tiny caused everything to work again.
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 20 February 2017, 22:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  perl-libwww 6.19-2

Loading...