FS#68682 - [cowsay] Missing Acme::Cow module

Attached to Project: Arch Linux
Opened by Martin Rys (C0rn3j) - Friday, 20 November 2020, 09:30 GMT
Last edited by T.J. Townsend (blakkheim) - Wednesday, 20 September 2023, 03:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
T.J. Townsend (blakkheim)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
Many of the cowfiles include Acme::Cow, but that does not seem to be required/installed, so cowsay will fail with:

cowsay: Can't locate Acme/Cow.pm in @INC (you may need to install the Acme::Cow module) (@INC contains: /usr/lib/perl5/5.32/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.32/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.32/core_perl /usr/share/perl5/core_perl) at /usr/share/cows/Example.pm line 5.
BEGIN failed--compilation aborted at /usr/share/cows/Example.pm line 5.


Additional info:
cowsay 3.04-2

Steps to reproduce:
cowsay -f /usr/share/cows/Frogs.pm bork
This task depends upon

Closed by  T.J. Townsend (blakkheim)
Wednesday, 20 September 2023, 03:03 GMT
Reason for closing:  Fixed
Comment by BH (braderhart) - Monday, 22 February 2021, 02:22 GMT
A consultant is a person who borrows your watch, tells you what time it is, pockets the watch, and sends you a bill for it.
Comment by Felix Salazar (phollox) - Tuesday, 22 June 2021, 09:44 GMT
this also affects cowfortune, also part of community.

The missing perl package is not on CPAN. Google reveals several several modules named Acme::cows, from different developers. So installing this dependency CORRECTLY will require a bit of digging. It's easier to ban the .pm files or use a `fortune | cowsay -f $(find /usr/share/cows -type f -name "*.cow")`
Comment by Emanuele Torre (emanuele6) - Saturday, 30 July 2022, 11:10 GMT
If we can't find that Acme::Cow package, we could at least make this
package not install the cows that depend on it for the time being so
that cowfortune can actually be used.

Something like this should do:

grep -Zlr 'Acme::Cow' -- "$pkgdir"/usr/share/cows | xargs -0r rm --
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.
Comment by Mister Bungos (bungus) - Monday, 21 August 2023, 08:15 GMT
This is still an active issue, mister bugbot :)

Loading...