Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Muttprint perl runtime error
To:
Aric Gregson <aorchid@mac.com>
Cc:
ports@openbsd.org
Date:
Thu, 25 Sep 2025 08:38:33 +0100

Download raw body.

Thread
On 2025/09/24 18:10, Aric Gregson wrote:
> Hello,
> 
> Running muttprint (inst:muttprint-0.73p2) from Neomutt I receive a runtime error:
> 
> "Attempt to call undefined import method with arguments
> ("tmpdir") via package "File::Spec" (Perhaps you forgot to load
> the package?) at /usr/local/bin/muttprint line 50"
> 
> I have found another person noting this at
> <https://aur.archlinux.org/packages/muttprint> and it suggests
> that there is a patch available for it.

I've just committed a fix for this. The AUR patch isn't enough because
it will break when writing a logfile in some cases.

Some of the other patches might also be useful (from AUR, two_edge.patch
and regex.patch) but I've left that for now.