FS#69323 - [perl-datetime] dependency version bump required
Attached to Project:
Community Packages
Opened by Vinay S Shastry (shastry) - Thursday, 14 January 2021, 02:21 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 09 June 2021, 05:50 GMT
Opened by Vinay S Shastry (shastry) - Thursday, 14 January 2021, 02:21 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 09 June 2021, 05:50 GMT
|
Details
Description:
DateTime.pm dependencies are newer than packaged. /usr/lib/perl5/5.32/vendor_perl/DateTime.pm: use DateTime::Locale 1.06; use DateTime::TimeZone 2.44; ~/tmp ❯❯❯ pacman -Qi perl-datetime Name : perl-datetime Version : 1.53-1 ... Provides : perl-datetime=1.5300 Depends On : perl-datetime-timezone>=0.59 perl-datetime-locale>=0.41 perl-params-validate>=0.76 perl-math-round perl-namespace-autoclean perl-specio perl-eval-closure perl-params-validationcompiler Steps to reproduce: Noticed this while using Finance::Quote on Gnucash. ~/tmp ❯❯❯ gnc-fq-dump DateTime::TimeZone version 2.44 required--this is only version 2.35 at /usr/lib/perl5/5.32/vendor_perl/DateTime.pm line 17. BEGIN failed--compilation aborted at /usr/lib/perl5/5.32/vendor_perl/DateTime.pm line 17. Compilation failed in require at /usr/share/perl5/vendor_perl/DateTime/Format/Strptime.pm line 9. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/DateTime/Format/Strptime.pm line 9. Compilation failed in require at /usr/share/perl5/vendor_perl/Finance/Quote/IEXCloud.pm line 29. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Finance/Quote/IEXCloud.pm line 29. Compilation failed in require at (eval 103) line 1. BEGIN failed--compilation aborted at (eval 103) line 1. at /usr/bin/gnc-fq-dump line 166. Can't locate object method "methods" via package "Finance::Quote::IEXCloud" at /usr/share/perl5/vendor_perl/Finance/Quote.pm line 120. |
This task depends upon
https://bbs.archlinux.org/viewtopic.php?id=262664
My LaTeX compilation broke
biber --input-directory=/home/developer/xxx-latex-xxxx Arbeit
DateTime::TimeZone version 2.44 required--this is only version 2.35 at /usr/lib/perl5/5.32/vendor_perl/DateTime.pm line 17.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.32/vendor_perl/DateTime.pm line 17.
Compilation failed in require at /usr/share/perl5/vendor_perl/Biber/Date/Format.pm line 6.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Biber/Date/Format.pm line 6.
Compilation failed in require at /usr/share/perl5/vendor_perl/Biber/Constants.pm line 10.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Biber/Constants.pm line 10.
Compilation failed in require at /usr/share/perl5/vendor_perl/Biber/Internals.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Biber/Internals.pm line 7.
Compilation failed in require at /usr/share/perl5/core_perl/parent.pm line 16.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Biber.pm line 5.
Compilation failed in require at /usr/bin/vendor_perl/biber line 17.
BEGIN failed--compilation aborted at /usr/bin/vendor_perl/biber line 17.
$ gnc-fq-dump
Usage: /sbin/gnc-fq-dump [-v] <quote-source> <stock> [<stock> ...]
-v: verbose
Available sources are:
adig aex aiahk alphavantage amfiindia asegr asx aufunds australia bamosz bet bmonesbittburns bourso bse bsero canada canadamutual citywire cominvest cse deka dutch dwsfunds europe fetch_live_currencies fidelity fidelity_direct fidelityfixed financecanada finanzpartner finland fool france ftfunds ftportfolios ftportfolios_direct fundlibrary goldmoney greece hex hu hufund hungary hustock iexcloud indiamutual known_currencies lerevenu maninv morningstar morningstarau morningstarch morningstarjp mstaruk nasdaq nyse nz nzx platinum romania seb_funds sixfunds sixshares stockhousecanada_fund tdefunds tdwaterhouse tiaacref tnetuk troweprice troweprice_direct trustnet tsp tsx uk_unit_trusts ukfunds unionfunds usa usfedbonds vanguard vwd yahoo_json yahoo_yql za za_unittrusts
I see this when running pacman occasionally. Could it be related?
```
(2/2) Warn about old perl modules
error: No package owns /usr/lib/perl5/5.30
WARNING: 205 file(s) in /usr/lib/perl5/5.30 are not tracked by pacman and need to be rebuilt.
-> These were most likely installed directly by cpan or a similar tool.
Run the following command to get a list of these files:
LC_ALL=C find "/usr/lib/perl5/5.30" -type f -exec pacman -Qqo {} + |& sed -n 's/^error: No package owns \(.*\)$/\1/p'
error: No package owns /usr/lib/perl5/5.32
WARNING: 2 file(s) in /usr/lib/perl5/5.32 are not tracked by pacman and need to be rebuilt.
-> These were most likely installed directly by cpan or a similar tool.
Run the following command to get a list of these files:
LC_ALL=C find "/usr/lib/perl5/5.32" -type f -exec pacman -Qqo {} + |& sed -n 's/^error: No package owns \(.*\)$/\1/p'
```
Any help debugging this would be much appreciated.
It wasn't owned by any package and was overshadowing the version provided by perl-datetime (/usr/lib/perl5/5.34/vendor_perl/DateTime.pm)
$ sudo pacman -Qqo /usr/share/perl5/site_perl/DateTime
error: No package owns /usr/share/perl5/site_perl/DateTime
After removing `/usr/share/perl5/site_perl/DateTime`, my `gnc-fq-check` command works as expected.